[RESOLVED] Combine two processes
Hi, I am trying to combine the function to search the registry with one I use to detect whether or not an app has crashed. Both the code work individually but if I combine them I receive a "File Not...
View Articleformat date on sql server 2005
I have this date field on database on this format "m/dd/yyyy h:mm:ss AM" My question is what create query format so to accommodate this date field format ?
View ArticleVb6 sql insert
Hi I have the code below, I'm trying to check first if the textboxes have values then insert values into database but I get debug error, please help. If txtSalary.Text <> " " & txtmCover...
View ArticleChange icon over multiple projects
Hi all We have a legacy system that comprises a few hundred vb6 projects. Due to corporate re-branding we now need to change the application ICON across all of these projects. Short of opening each...
View Article[RESOLVED] Get File size from a running process? from a constant name given
Hi. I 'm stuck with this I can get the process path with this code: Code: Option Explicit   'General Declarations     Private Const PROCESS_QUERY_INFORMATION As Long = (&H400) Private Const...
View Article[RESOLVED] Datagrid binding issue
I've been working with an old project that was originally done in VB5 using DAO, DAO Data controls and a Access 97 MDB My goal is to move it to VB6, ADO and no data controls The issue is with a form...
View Articleneed help about ADODB Paging
I need help about record paging. I have some basic codes but not sufficient. Code: Dim pCount As Integer Dim page As Integer Set rs = New ADODB.Recordset   rs.CursorLocation = adUseClient...
View ArticleHow to open a new excel sheet and save as new excel
Imports Microsoft.Office.Interop Public Class Form2 Private Property newinfo As Object Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim...
View ArticleNeed to get this
How can I achieve Click events to fill the Listview items through Modules for this sample project ..
View ArticleHow do I reference a control in a UC from the Parent
In my Parent Form code I want to reference a controls that is in the User Control. Example In UC I have a Label control called "Label" I would like to simply reference that label in my Form code like...
View ArticleLeft and Right Mouse click on object
I'm using both Left and Right mouse down for controls. The problem I'm having is on Right Mouse down because it shows a popup menu box. How can I avoid this from popping up?
View Article[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 Articlehow 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[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 ArticleLooking 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 ArticleMember 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 ArticlePing 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 ArticleVB6 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 ArticleAdding 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