Timer function to display HH:MM:SS
I have a field that is in minutes, where the max minutes could be 240-300 I want to display on label1.caption a countdown showing hours:minutes:seconds The user presses a start button to start the...
View ArticleSound and labels rotates no longer work correctly
I have an 80 number keno game and on a win 2 labels rotate up to the amount won at the same time a sound plays at the same time and the sound stops when the labels stop rotating. This has worked in the...
View Article[RESOLVED] ZOrder 0 not doing what I think it should
I have three pictureboxes colored white, red, and blue. The name and Index of the three are: picColor(0) = white picColor(1) = red picColor(2) = blue The three pictureboxes are sitting on top of each...
View ArticleIE11 Webbrowser problem
The code is downloading Youtube videos, and the compiled exe runs well on IE9 and 10, but I upgrade to IE11 yesterday, Win7 x64. I run the program in VB6 with F5 button, the program runs smoothly. But...
View Articlewebbrowser design mode question + help thanks
hello all i have a question for a project am working with i am requesting a little help from you king people thank you. i set my webbrowser to design mode Quote: wb.Document.DesignMode = "On" now what...
View ArticleTransfering data from one database to another where the primary key does not...
I am trying to transfer data from one database to another using adodb recordsets, the destinations tables are virtually the same in structure. I want to be able to transfer the information on the...
View ArticleStop command after 1 min and enable the command after 5 min?
Dear all, I have a problem as following expression I am building the VB code for automatically heater The heater turn on when temperature in room is lower than 17oC. However, I just want it turn on in...
View Article[RESOLVED] DrawTextW & TextWidth problem with UniCode text
Hello, I just spotted a problem with DrawTextW & TextWidth. I have my Custom uniLabel control. It all works fine, until I tested a few greek & bulgarian alphabets. Basically the text gets CUT...
View Article[RESOLVED] Implementation of CRC32 from a string input
Hi all, i need to perform a CRC32 calculation from an input field. I'm programming on excel 2007 (VB 6). For example, =checkCRC32("HELLOWORLD") => should return "f2743d92"...
View Article[Help] Multidimensional array
Q:Write a program to add x and y using multidimensional array and display the result. what does it actually mean? i know how to do if it doesnt use multidimensional array. :confused:
View ArticleAlertable Msg Loop, Async I/O
In order to use the async callbacks (completion routines) with many forms of Windows I/O it is necessary for your program to enter an "alertable wait state." Raymond Chen's The alertable wait is the...
View ArticleHow to toggle 1 and 2
Without using If..Then how do I switch back and forth between 1 and 2 If the value in a 1 I want to make it 2 on exit from sub and if the value is 2 I want to make it a 1 on exit from sub Actually I do...
View Article??? I guess that this is a Visual Basic 6.00 problem, or not???
Hello, me again. I guess that this is a Visual Basic problem or error that I'm having, right about now. So then I will begin with my problem... Problem #1: I have a front end loading console that works...
View ArticlePassing recordset to a function - VB6
I want to have a datagrid printed. I have used the following code. Private Declare Function GetDefaultPrinter Lib "winspool.drv" Alias "GetDefaultPrinterA" (ByVal sPrinterName As String,...
View Articleclick html button
I have this webpage with a buttons for submission and I did not assign them with id or name. I applied this code For Each BTN In HTML.documentElement.getAttribute("BUTTON") but I get object required...
View ArticleWhat is the VB statement that does.......
I think there is a VB statement (seems like I remember from the days of PC Basic) that selects an argument from a series of arguments based on the value of the expression For example: If the expression...
View ArticleIIF not doing what I think it should
In a game I'm working on a player selects a ball (either a white ball or a black ball) and that ball is then highlighted. Now in a sub later on in the game I want to turn off the highlighted ball and...
View ArticleAPI - GetProcessDEPPolicy within VB&
Hello, quick question - how could i implement the function GetProcessDEPPolicy within VB6 / VBA ? http://msdn.microsoft.com/en-us/library/bb736297.aspx i struggle a bit with the vartypes - the goal is...
View Article[RESOLVED] coding problem
I have this webpage with a buttons for submission and I did not assign them with id or name. I applied this code For Each BTN In HTML.documentElement.getAttribute("BUTTON") but I get object required...
View Article[RESOLVED] IIF not doing what I think it should
In a game I'm working on a player selects a ball (either a white ball or a black ball) and that ball is then highlighted. Now in a sub later on in the game I want to turn off the highlighted ball and...
View Article