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

Counting time ?

Hi you do not know how to add time? I need to calculate the time spent and I only have data in hours, minutes and seconds. The result should be in the format: for example 0 Years, 0 Days, 1 Day, 12...

View Article


Recordset - Add new

Hey, I have three textboxes (text1, text2, text3), and i want to the number in the text box to go into my DB(OrderNo,PartNo,Qty). I have set up the connection to my DB and it's working fine. This is my...

View Article


Webcam video capture using capCreateCaptureWindow & Windows 8.1

I have written this VB6 code to capture video from a webcam and put it into PictureBox0. It works perfectly all the time on Vista but on Windows 8.1 it runs perfectly the first time after boot-up but...

View Article

2 Videos in One Form

Hello good people. I need to create a video project in vb6 where 2 videos will be played in one form. The videos path will be stored in a txt file (path1.txt and path2.txt) for each box/video. each...

View Article

Image may be NSFW.
Clik here to view.

BitBlt issue smearing the image...

VB6 Windows 7 Using BitBlt to move an image which is my map. The idea is to have my character centered (probably animated, but centered nonetheless) and have the map move so that it appears that the...

View Article


Next free index of array?

Hi, I'm printing some account details to a text file, and I'd like it to look like this: Account_Number(INSERT NEXT FREE ACC NUMBER) Username: NamVar Password: PassVar First Name: FirstNameVar...

View Article

DELETE A LOT number of recordset in access database

I use ADO and Vb6 classic. In a table have 4 fileds. the last is a Date1 field.(date format) the records are approx 4.500.xxx(yes milions:() i need a good sql to speed up deletetation of recordset with...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] BitBlt issue smearing the image...

VB6 Windows 7 Using BitBlt to move an image which is my map. The idea is to have my character centered (probably animated, but centered nonetheless) and have the map move so that it appears that the...

View Article


Project Name Change with User Controls

I have a .vbp file containing numerous User Controls The Project Name is G13Menu as defined in the VBP. All is working well - I can compile and run without error. I want to change the Project Name to...

View Article


.vbp project file in W7?

Hi, What is good way to open and update .vbp file code on W7 64 bit? Looks MS Visual Studion express edition don't open this file. Please suggest.... Thanks.

View Article

question about vb6 reference

I created a project with reference to craxddrt.dll however, when I tried to do Package and Distribution wizard, it also asked me for the location of the craxdrt. Why is it?

View Article

Question on Excel with VB 6.

Hello All, I am here looking for some information on Excel integration with VB6. Actually the question is quite generic and I would need you assistance in starting the coding. Now, the scenario is that...

View Article

Search combobox items via inout from textbox? Please help.

I have 200+ items in my combox and a text box and a button. Every item has an id such 220 and 98:3. When the user types a name into the textbox such a Holly, a msgbox needs to appear with the id and...

View Article


Move Picturebox Over Menu

I am currently using a 3rd party menu system (Codejock's CommandBars) and I wanted to do something a bit strange perhaps. When the user enters a certain "mode" in my application, I wanted to position a...

View Article

run-time error 713 application-defined or object-defined error

So, I am posting this on the outside chance that someone may be able to give me some insight/help. I have a vb6 application that is compiled to an exe. It runs on one windows xp machine however, I...

View Article


Y Point Value of for an Elliptical Arc

I'm drawing an Ellipse using API:Arc. I want to find the Y point value where the Arc intersects X. X is known.

View Article

VB6, len of UDT does not change after Redim

Hello! I am confused over the following code snippet: Why does slask and slask2 show the same value? The Redim should (as I understand it..) mean that LenB increases with 1000, but it doesn't... Tia,...

View Article


Randomized Playlist with MMcontrol

Hello good people. I want to create the simplest randomized playlist where I can choose a folder and the MMcontrol will play files randomly from the selected folder (in vb6). When file is played the...

View Article

SAPI Restrict Grammar

I am trying to do something simple, but not quite sure I am doing to the right thing. I am writing an application that translates the user's speech to text using the Microsoft Speech Object Library. I...

View Article

Use VB to communicate in RS232 with a scale

hi ! I'm trying to make a serial communication between a scale and a PC with visual studio 6.5. I have some trouble to start the communication and get the data from the scale.. Thanks

View Article
Browsing all 21266 articles
Browse latest View live