What 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 ArticleGet Access table record count using criteria
Need some help please. Running Excel VBA, I want to get the number of records in an Access table where the records have a certain value in a field and return that count to Excel. Thanks for any help.
View Article[RESOLVED] Question: How to make graphical buttons disabled
I'm making a game that uses images for the buttons. I can make the pressed and unpressed image but I do not know how to make the disabled image. Seems like I saw an app or a Windows feature that can...
View ArticleThe future?
This is a request for info and opinions (I'm sure there are many of the latter). Hearing that vb6 'support' (which I imagine means no vb6 runtime included with the o/s) will be available after Windows...
View Articlecopy and rename the multiple files
there are number of files in a folder the folder may be in any drive. and i want to copy that files + rename that files to next folder in next drive. How it is possible? Any suggestions? regards cjan
View ArticleHow many users logged on to windows7 machine?
Due to windows 7 remote desktop behavior, many users can be logged on to a system. They wont log off the machine and simply they will disconnect. This leads to problem when next user log in. So how to...
View ArticlePrintForm- runtime error: VB6
The following pertains to the code which I wrote for printing a form. Being a very basic application, I used the PrintForm function. ---------- Private Sub cmdprint_Click() If MsgBox("This will print...
View Article[RESOLVED] How To: Know if Combo1 was clicked on
I have a combo box which has several list items in it. User selects from combo box to process certain things. There are times, however, I need the combo box disabled. OK, no problem here. Problem is I...
View Articlecheck sanitary code
This link check a sanitary code... http://www.confesercenti.gr.it/servi...cefiscale2.asp Use this fantasy code in Codcie Fiscale: MPRSVR54C26F838T press button: ESTRAI DATI and get the value in: Data...
View Article[RESOLVED] Ongoing vb 6 timer problem
I had a previous qustion about a timer not working correctly http://www.vbforums.com/showthread.p...work-correctly and found a fix by adding both the sound and label rotation into the timer. my fix has...
View ArticleUnderstanding Vb code problem
Hi everybody, I'm new in forum. Please help me to understanding 3rd line of the program. Private Sub Command1_Click() Text1.Text = " " Send = Chr(5) + "00WSS0106%MX00001" + Chr(4) MSComm1.Output = Send...
View ArticleInconsistent? Runtime Error 5
Hi, I have a strange problem. As an example, (x) = the results of a long equation and ends up = -5.22150298374801 In a given situation (but not always), if I try to calculate x ^ (1/3), I get Code:...
View ArticleDatePicker show Calendar?
Can I force the date picker to show/display the calendar without the user clicking its dropdown button? any method or command? by the way I'm using date picker instead of monthview for a reason thank you
View Articlewebbrowser problem
How can I make the cursor pointer to be on default without changing. I notice that every webbrowser events made there is a corresponding change in the mouse cursor pointer
View Articlenot upload picture in database
i try unload picture in database but i failed how upload image save in database i see picture in picture box i used adodbc conn used i used this code Dim sFileName1 Set rs = con.Execute("SELECT * FROM...
View ArticleDeleting Folds after 6 months
HI all Could Someone help me with my project please basically my VB coding is putting images in to folders but I only want to keep the last 6months of images and for it to delete the say January folder...
View Article