Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21237 articles
Browse latest View live

[RESOLVED] how to add Values from listview to a listbox and calculate the...

i have a listview that gets fiiled each time a purchase is made how do i get does values to display in the listbox and calculate the Total Cash and Items in the listbox? tnx in advanced salsa31

View Article


[RESOLVED] how to delete a record from a table if the date has changed

is there a way to delete a record from a table when the date is changing? i mean if today is 19-11-2013 and i have a record in the table and the next day is 20-11-2013 i want this record to be deleted...

View Article


Looking for some help compiling code

I'll try to keep this quick for you all. I have some software that I need to modify. I have the original .exe (which works fine) plus the source code from the supplier. Now I have modified the source...

View Article

[RESOLVED] INI File

I'm working with an INI file that I use to save and read info for my program. I know how to save and read data for the first element of an array of elements but do not know how to do this for the rest...

View Article

Member or data member not found

Hi, I am using Visual Basic 6 and am having problems hiding a set of buttons. I have 44 buttons in my form6 that need to be hidden when the form is initially loaded. I can't attach the code I am using...

View Article


Ping a website and check internet connection

i have created a function that runs on my desktop that checks my website is up every 1/2 hour The ping works very fast,and puts the results in a listbox but now i want to check to be sure my internet...

View Article

VB6 slowed by a factor of 50 after Win 7 XP mode update about 11/09/13

Has anyone had a problem with VB6 running in Win 7 XP mode after an XP mode update? I have been programming in VB6 running in Win 7 XP mode for over a year I think. On about 11/09/13 a program that has...

View Article

Adding filtered items from excel column to listbox

I am very new to VB. I want to load number of different items in a excel column to list box, Can anyone let me know how we can do it ? Example Sl No Name No. of Visit 1 anand 10 2 naveen 12 3 anand 5 4...

View Article


How to stop a VB6 Timer from a compiled App

Hi, well, i no longer have the source code, but the only modification I want, is to stop a timer so... Did some research, write some code and WORKED on my test PC (XP), BUT, when i wanted in real life...

View Article


how to break for...next statement

helo guys have a good day..any way i have problem im making quiz project but im stuck for loop please any one can help me? example(i have 60 array form loop.. i i can't stop the loop if the user get 5...

View Article

[RESOLVED] User Control property question

I haven't did much in the way of creating user controls in the past but have decided to create a custom text box control to add to a few of my projects. I have a property that is an integer and I want...

View Article

[RESOLVED] How to make a selection box

I have an array of UCs like this: Code: +-------+-------+ |  1  |  2  | +-------+-------+ |  3  |  4  | +-------+-------+ |  5  |  6  | +-------+-------+ |  7  |  8  | +-------+-------+ |  etc  |  etc...

View Article

How to get Current User folder - WIndows 7?

Hi, I know how to get the user's documents folder, but for windows 7, this folder does not contain the users Picture folder and all of those ussual folders, rather these are at the main user folder....

View Article


[RESOLVED] Forcing Scrollbar at bottom

I'm using a VScroll control. The view window shows 4 cells (UCs) in a column. Each cell is 127 pixels high. When the view window has a max of 4 then the scrollbar is fully expanded. As I add new cells...

View Article

Getting Runtime Error 6: Overflow

How do I determine what the variable is that is overflowing. It happens after many hours of running. Obviously VB6 knows but it isn't telling. Is there a trick?

View Article


how to recover document?

I found a virus..this virus infected document word and make them to be .scr (screensaver) extension with word document icon.....if you click infected document then the virus extract himself to be .exe...

View Article

How to use the CoGetObject API function in VB6 ?

Hi all, I have an excel workbook open in excel and I know its full path/Name I want to get a COM pointer to the open workbook from my VB6 application using the CoGetObject API instead of the GetObject...

View Article


Program termination

In the app's main form's Unload event I have this code: Code:     For Each Frm In Forms         Set Frm = Nothing     Next Now, there's a button in the main form that when clicked on shows a second...

View Article

DIFF in hours and minutes

i need to have a diff in hours and minutes from this two time and store result in var Hour_Diff .... how to? example diff time from 00.12 and 14.45 note: return the result in HH.MM format tkx.

View Article

How to solve Run Time Error 3021 when Saved Data first time in Access 2003...

Hi, When i am entered Data in VB form First time and then Click on Save Button then it is show Run Time Error 3021- Either EOF or BOF is True or the Current Record has been Deleted! i am using Access...

View Article
Browsing all 21237 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>