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

[RESOLVED] Insert , Update, Delete,Update Cant figure it out

i have 2 tables named Debts & History i have a form that is named Frmorders now there is a comobox named CmbStatus it has 2 things Paid NotPaid i have also Have a form named FrmDebts now if i pick...

View Article


FlexGrid as Parent

Can a cell (if that is what it is called) be a parent of another control? I have a MSFlexGrid and I want to divide it into n number of rows by 2 columns like this: Code: +--------+--------+  |        |...

View Article


compile a form (.frm file)

Hello , To give an intro - am very new to this forum and to the technology VB , C# or .net. I need to make some changes to a existing exe program. Finding it difficult as am new to this technology. The...

View Article

[RESOLVED] Bad DLL Calling Convention Run-time error '49'

Hi, Can someone please explain to me in non-technical what VB "Bad DLL Calling Convention" Means Stack Frame Mismatch means? I am receiving that error if I use Form Code: Option Explicit Private...

View Article

Is there a way to copy items from one listbox to the other?

Hi there everyone! I am working on a small prog where I need to be able to just copy the items from one listbox to another. Would anyone know of a simple way to copy whatever is in list1 into list2?...

View Article


MouseDown on Picturebox that is in a UserControl

My UC has a Picture1 picturebox. If user clicks on this how can I have a method in the parent Form to capture this event?

View Article

[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 Article

format 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 Article


Vb6 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 Article


Change 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

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 Article

need 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 Article


Image may be NSFW.
Clik here to view.

Need to get this

How can I achieve Click events to fill the Listview items through Modules for this sample project ..

View Article

[RESOLVED] How 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 Article


Left 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 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
Browsing all 22012 articles
Browse latest View live


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