I'd like to ask if there is a way of replacing some line of text (or even better the range of characters) in the text file directly. I needed to replace first line in the html files (there was a huge amount of them) with the line from another file. So I read the whole file into the ...
When you do a search in windows you can right click on a file and select 'open containing folder', this of course opens explorer to the directory of that file but it also selects the file - does any one know how to open an explorer window by passing the full path of a
I keep getting the following compile error in my code: "Compile Error: Only public user defined types defined in public object modules can be used as parameters or return types for public procedures of class
Using VB6, we have numerous tables that have codes and their related descriptions. We would like to load them into separate combo boxes for each table. We would like to show the user the following:
I'm rather new to VB, and didn't manage to find the solution yet, so any help would be very much appreciated! I made a small VB program, that outputs textual data to a textbox. The data consists of numbers (results of calculations) and textual values (- what do
What does it mean in VB to have the following: x = y = 1 The intention is for x and y to both be assigned the value 1 and I know this doesn't work (in fact neither variable gets the 1). But the compiler accepts
Hi all, In my vb code I return a recordset from a sql database. This recordset contains a variety of fields with varing data types. Some are string and some are integers. As I return the recordset I use the Write command to output the data to a comma seperated text file.
I wanted to practice some Linked List stuff, so I set out to create a linked list. The plan was to create the following: (1) A linked list class in Visual Basic (2) A non-class based linked list using functions in C
I tried to change the size of some child forms in MDIForm1 by using the forms collection. In the following loop, I can read the each form instance's name, but I cannot address a property named "FormType" that I created in child forms to read with Property Get.