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

Help with code

I have a Family Tree program that I update every once in a while. I compile it and then send it off to family members. Because windows 7 uses VirtualStore to retain files, is ther a code I can write...

View Article


Select Then Update Data In Access Database

My Database: relationship Table: friend column: id,name,class,total -1,Michael,A,1 -2,Jack,B,2 -3,Samuel,C,3 -4,Bella,B,2 I have connection module,so the code just: Code: Dim Rsfriend As New...

View Article


Windows 8 + VB6 + No CTRL-BREAK

Help!! I've got VB6 running on Windows 8 on a Del Inspiron 17R laptop. No BREAK key. No Scroll Lock key. No Pause key. So no way I could send a CTRL-BREAK key combo. I managed to do a key remap thing...

View Article

Populate combobox from access database

I have inserted the data object onto my form and linked them to the combo box but I need to click right and left on the data object to move through the different database items. I instead would like...

View Article

Create fields in Existing table through Code

Hi How we can create new fields in existing table through Coding . IF fields already exists then it should not create else it should create . Thanks

View Article


Switch between worksheets

Hi everyone , I'm developpe an application in VB6 with a database in excel .All the functions work fine, one last thing is that I want to include a search function to look up for a word in every...

View Article

Storing different data types in the same memory space.

I am writing an application to read a motor controller via a serial MODBUS interface. Numeric data is transmitted in IEEE 754 single-precision format, so I have to store each data value in memory as 4...

View Article

Outlook Express Compacting Issue

As we all know Outlook Express needs to periodically compact its database for proper operation. However, I have recently discovered a very disturbing issue regarding the compacting process in Outlook...

View Article


How to get last 4 digits from a textbox to a label?

Hi, I have a text fields which holds 8 digit numbers. And I want to take last 4 digits and show it in a label. How can I do it? Thanks in advance for any help. Ex: In a Text Box : "12345678" Result in...

View Article


Date validation in combo boxes

There are three combo boxes in my program used to input the date (cboMonth, cboDay, and cboYear). Code: Private Function DateParse() 'refresh combobox values cboMonth.Clear cboDay.Clear cboYear.Clear...

View Article

need help cant get taskmanager after this

this is what i used and now locked out of taskmanager everytime i try and get taskmanager its hidden and no icon show up in taskbar Code: Private Type NOTIFYICONDATA cbSize As Long hWnd As Long uId As...

View Article

MIDI receive User Control Callback problem

I'm trying to create a User Control that receives MIDI and then generates an event whenever MIDI is received. It's hacked from simple demos I've found online (which I know work). The problem is that I...

View Article

problem in database

when connected the database (access 2007) with vb6 program- displaying the following message (unreconganized database format ---path of the database)

View Article


VB6 and Office 2007 and Later

I have the following problem. I'm using VB6 to open a Word document and before I open the document I add mergefields. These fields can be put on the document, and saved, so later in the process I can...

View Article

Time format in DataGrid

I use the code below to populate a DataGrid. It does everything it should, it's just that I have a formatting problem. grTimeMon, grTimeTue etc are DateTime and hold the time of a class. If, for...

View Article


Listbox Multiselect Property

Can the Multiselect Property be changed during program execution from none to simple? :confused:

View Article

System tray menu error ?(vb6)

I WANT TO HAVE A POP MENU IN APPLICATION I USE THE Code: Public Declare Function SetWindowLongA Lib "user32" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long Public Declare...

View Article


Socket Close Question

When a connection to a server is closed by the client the Socket_Close() event of the server is fired. Why is this event repeatedly fired over and over again for the same socket index if I am debugging...

View Article

Resize Form & Controls For Screen Size - VB6

Hi I´m trying to follow this tutorial: http://www.dreamincode.net/forums/to...reen-size-vb6/ In his tutorial he says: "That's all the code you need for your form and control resizing based on the users...

View Article

bonnie need your help thanks

hi need your help in this you posted in code bank i needed few more please here is the current code posted by bonnie in other thread:) Code: 'Paste into a blank Form Option Explicit Private Declare...

View Article
Browsing all 21709 articles
Browse latest View live


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