Convert &H8000 from vb6 to vb.net
I have the following line of code in vb6 dim x a Integer x = &H8000 After converting it to vb.net (using vs2008 wizard) it becomes: dim x as short x = &H8000 but there's an error that...
View ArticleVS 2013 Using the Mail.to function
I have a small and simple mail app, and I'm using the Mail.to.add function right now to add an E-mail. However, instead of typing the value in the code, is there not a way to add the item through...
View ArticleProcedure or function 'SP_LOGIN' expects parameter '@ID', which was not...
Hi I am new in VB .NET and I congratulate you and thank you for everything you do for the community of programmers . I have a little problem passing parameters to a stored procedure in SQL SERVER 2008...
View ArticleInternet Explorer Control
This is my first time posting. Please forgive any mistakes, I am trying to do it correctly. I am using Microsoft Visual Studio 2015. I am trying to is Internet Explorer to open a database here at my...
View ArticleNeed expert help with a type initializer that is throwing an exception
I have a brand-new recode of a sizable VB program that is the offspring of an ancestor that has been around since about VB4.0 and Office 97. The recoded version, with all-new forms, has 0 errors and 0...
View ArticleVS 2013 How do edit a text file?
I'm trying to read a text file, scan for a line if it contains specific words, and replace it with another line. My code is below. It seems that I am unable to assign StreamReader and StreamWriter to...
View ArticleReading and Writing to a text file
Hi , I'm trying to find a line in a text file containing a specific word and replacing it with another line while keeping the rest of the text file the same. I need to do this recursively until all...
View ArticleVS 2010 Please Help!!! Using Text Box to RUN EXECUTABLE FILES
Hello there! I'm a new bee in VB programming... I really need to finish my first project... Please help me.... I need to execute a file which will be written in the text box after clicking execute...
View ArticleVS 2015 Base-64 Error!
Everytime I try to run this, it tells me that I got a base-64 error. Please help! SOURCE ATTATCHED HERE
View Articlecreate new worksheet is two files have the same name
hi if anyone can help i would appreicate it. i am processing lots of rows of data and each one saves a new workbook with a file name that is taken from the data. my question? is it possible that if two...
View ArticleVS 2010 Help with datagridview images issue, please.
I have a datagridview (grdDetails) with 5 columns, 4 of them are text columns and the last one (colImage) is an image column. The issue I'm having is that only the first row shows the correct icon...
View ArticleDatagrid ---- not a datagridview
I have populated a DATAGRID (NOT A DATAGRIDVIEW) with parent/child data using the TableStyles collections and specifying TWO datagridtableStyles. Parent is called Car_Data and child is called Doc_Data....
View ArticleVS 2010 Unminify JS and CSS with vb.net
What i am trying to do is use a textbox to unminify js and css, but the problem is that i don't really know how to go about getting the textbox to read the external code. Also should i be using VB.NET...
View ArticleOpen one sheet in excel file use .net
I want to use vb.net to open one sheet in excel file, like sheet3 in data.xlsx, also then I can write to this file, so how to do this with vb.net?
View ArticleDatagrid View not updating records after deleting
I've a simple form for testing purpose. I'm using sql queries to insert, delete and add new record. I'm facing problem in "Delete" command. Delete command works and deletes the record in the database...
View ArticleVS 2013 "\" and "/" in path
I was wondering is it possible to code such that the program is able to recognise both "/" and "\" in paths such as folder path, file path, etc. For example when the user types C:/Test/Test1 or...
View ArticleVS 2015 [RESOLVED] ComboBox DrawItem is not working
Hi there, I have a form with combobox, here is my code. I want to change fonts of drop down but CboOemNumber.DrawItem is not fired with i type in combobox. In General Declaration Code: Imports...
View ArticleVS 2010 xml writer
hii i want to write a single line of xml in a xml document through vb. can anyone please tell me how? my document should contain: <customer>something</customer> please help thanks
View ArticleHow can I drag and drop an image from one picturebox to another?
I have an mdi application with 2 child forms that each have a picturebox. I also have a class in my project describing an item object. I'm having trouble figuring out 2 things. 1. Once I paint an...
View ArticleVS 2015 Want to show form when form load is complete
Hi there, I have a form with Functions, to initialize it i placed it in form load event. Code: Call MakeFormUnSizeable() Call SetRegionalDate() Call OpenGlobalTable()...
View Article