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

Timing an event from start to stop and showing the time in 10th/second

I have a sound file. I need to click on button1 to start the sound and also start a timer. Then I click on button2 to stop the sound. When the sound has stopped I need to see how many 10th/seconds have...

View Article


CHECK data file by date

I need to check if \\myserverdir\database.mdb is newest of c:\midir\database.mdb, how to??? in effect i update a recordset in \\myserverdir\database.mdb and before to copy and overwrite in...

View Article


A very tricky problem for me to figure out

I am piss-poor at math which makes certain things difficult for me to figure out. Here's what I am up against. I am trying to move a vertical bar horizontally across a picturebox at a precise as...

View Article

[RESOLVED] My ActiveX Control Object keep on crashing my Browser and how do I...

Hello again, it's me: ThEiMp... I am writing a Webpage that uses an ActiveX Control Object to navigate around the URL of mine, which is right about now on the Internet, too. I have been making some...

View Article

[RESOLVED] Is this the right way

Hi I wonder if this is going to be the way I think Dim strFile As String Dim FileCount As Integer FileCount = 0 strFile = Dir(App.Path & "\backup\backup\PhoneTel.mdb" & Format(Now,...

View Article


problem loading a label on shape control

HIIIIIIIII following is the code of lading a label on the shape control pls check the code & tell me what is the error i want the label to place on shape control as the shape & label should...

View Article

MSHFlexGrid edit problem: textbox won't show

I'm working on a program, which included an "editable" grid (MSHFlexGrid). I borrowed code from a VB book, which told me to superimpose a textbox whenever I click a cell. With MSHFlexgrid1 ' Cancel...

View Article

how do display the last customers entry

hello everyone i have a database with customers that i add each day im trying to figure out how to see the new entries that i add in the same day how many customers i added in the same day like a...

View Article


Global/ public array problem

Hello guys, Im trying to develop a visualizer for a program that i have made before, i made some kind of searcher but one i get an array and try to use it in a different instance it shows an erres, i...

View Article


Help loading into an arry

Hi folks, Long time lurker, about 7 years now? This site has been a great amount of help over the years, but I can't find any answers for this one... Basically, I have a bunch of XML files I have to...

View Article

how to get the data on a text box?

hi, i am trying to get a specific record to a number of textboxes from ms access database. but iam not able to do that. please help me here is the coding which i am trying to do. many thanks Dim cn As...

View Article

Allowing a Visual Basic Application to Accept Drag-and-Drop Files

Tip 86: Allowing a Visual Basic Application to Accept Drag-and-Drop Files May 15, 1995 Abstract Many Windows®-based applications can accept, or process, a file that has been dragged from File Manager....

View Article

hardware key

i am on vb6 and working on small program to get hardware register key on label1.caption when user clickes command button help me plz

View Article


Need two .wav files - one exactly 10 seconds and the other exactly 60 seconds

How can I get a hold of or make two wave files one exactly 10 seconds duration and the other exactly 60 seconds duration. The sound doesn't matter.

View Article

Conversion Problem

I need some help with a Crypto call. According to MSDN, the following C++ call sets the random string from the client: Data.pbData = pClientRandom; Data.cbData = cbClientRandom; CryptSetKeyParam(...

View Article


Having trouble with control array

sorry if this is a noob problem. I have 30 pictures in a control array and i keep getting an error message that says control array element 31 does not exist Private Sub tmrbarrel_Timer() For i = 0 To...

View Article

i need help with my game

I am trying to get an array of images to move in sequence. however when the value of i changes, one the barrel stops rolling and another one starts. how would i get them to continue rolling after the...

View Article


How to play sound from memory using mciSendString API

VB 6 I know how to play sounds from reading a .wav file but I need to be able to play sounds from memory. I want to load a wave file into a byte array and then be able to play from that array using...

View Article

How to import specific data from excel into ms access

Hi experts, I would like to import data from excel into access. For example I have field "Name" in the excel table. Then I want to import all the data under the field into my database (ms access).

View Article

Help Needed Converting VB6 OpenProcess to .Net - Process Execution Speed

I am trying to convert an application from VB6 to VB.net which essentially deploys windows images in a WinPE environment. We are moving from VB6 WinPE 3.0 x86 to VB.Net WinPE 4.0 x64 and our imaging...

View Article
Browsing all 21990 articles
Browse latest View live