I'm having some problems reading a string from a binary file in vb.net. If I declare my string in the following way: Dim strFolderName As String then I use the...
Here's a few notes from the help file: If the variable being read into is a string, by default FileGet reads a two-byte descriptor containing the string length...
In the first example, you never initialize the string... in the second example you initialize it to the 50-character string...When did you initialize (set the...
... How can I properly initialize a string in vb.net when I do not know how long to make it in the 1st place? Remember, I am reading data from a file. * * * ...
Dear all; I have been using visual basic .NET 2003. I want to that I have connected to SQL database table and than I have been using "select SQL query" and I...
try this code: Function MyQueryMethod() As System.Data.IDataReader Dim connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data...
hi every body i want to read some vb applications source code but i just have exe file . so i want to convert this vb exe file to source code throught vb...
How do I compile a program in vb.net so that it runs across multiple versions of windows and carries all the files it would need to run so that user will not...
In Visual BASIC 6, there is a part called the Package and Deployment Wizard. It has had several names over the various version of VB. I don't know what they...
This is only partially true. VB Code compiled to P-Code CAN be decompiled with a fair level of success into the original source code. There are a number of...
My school officially teaches Java, but one of my required courses was a "logic" class which used Visual Basic.NET. After taking a semester of both I have...
Chris: May I suggest a completely different series? The "Learn to Program with Visual BASIC" series by John Smiley is written in plain English, non-technical,...
Dear ALL, My Boss asks me to change the color of one Cell in Excel regaring some special conditions. Please let me know how I could do this thruogh a macro?...
Chris: Unfortunately, the best language isn't the one that has the most job openings. This is because the guy who does the hiring is partial to a language...
Hi, I have to use a VB.NET function in a C++ application. In this function, I have to pass a C++ struct like this : C++ ================= ... struct Sproprio_...
My Dear Friends, I need print particular area (eg: A1:G20) and need to print with A4 paper. How can I do this by using Excel VBA Macros? Please Help me. ...
Hello Dears Is there any way vb can help us control external devices such as Motors? I have seen programms in C++ which turn on and off such machines. How can...
... One solution would be to use the parallel port. If you don't want to write your own, there are free/commercial DLL's/Drivers that encapsulate the ...
I'm trying to get vb.net to display tga files in a picturebox, but everytime I try, I get an "out of memory error". This is the line of code that is triggers...
hello, anyone know how to get all the fonts available in our computer? how to show the color template as in the paint program? i need the visual basic codes :(...
I know in vb6 we can't say that an image = a certain file. We have to use the loadfile method. Example: Image1 = loadfile(app.path & "\beautifulPic.jpg") ......
I know, so that's why I used this code: Me.picTileGraphic.Image = Image.FromFile(Me.fdlgOpen.FileName) But it keeps giving me a "System.OutOfMemoryException"...
You are using a binary read routine. This is only for reading a data file into memory. Don't do that. Use my code and it will work. Supposing that your...