Breaking String
Hi I have a weather sensor that gives output on serial port in the following format: $SMWSD,06.9,257,06.4,265,A,R,07.0,267,06.4,275,V,T*45 $SMTHP,+27.0,A,T,80.6,A,H,0998.7,A,P*42...
View Articlegeneral question
1: i have loaded a control name anigif , anigif.ocx, i wonder if i can load image by hitting the command button 2: when i click anigif can i insert the tag into text1 , like normally you will do for...
View Article[RESOLVED] HELP, this is killing me! Language issue? VB6's fault?
I can't believe this. I had this huge error and I couldn't find the cause. Then I went step by step and I found the cause of problems is this: Code: Debug.Print TextContr(10).Visible 'It says: False...
View Article[RESOLVED] If .... Then ...... Else Select Case behaviour incorrect ?
Apologies if I am being stupid but I can't understand why both the Then and Else clauses get processed in the following code :- If MyRs1![MorningRank] = 1 Then G = 1 Else Select Case MyRs1![PP_Places]...
View ArticleCan't get ByRef to work in VB 6.0
I am trying to run this very simple application ( a form and one button ): Public Sub Modify(ByRef b As Integer) b = 167 MsgBox (b) End Sub Private Sub Command1_Click() Dim a As Integer a = 12 Modify...
View ArticleTextbox Question
I would like to use a Textbox for messages but I do not want users clicking on it or manipulating the text in the textbox. I know I can use Lock = True but user can still drag mouse over text and it...
View ArticleLoadPicture says Not Found
I use this: Picture10.Picture = LoadPicture(App.Path & "\XXX.bmp") XXX.bmp does exist in the app.path but LoadPicture says file not found
View ArticleCreateProcessWithLogon Stopped Working
So without warning I started receiving an error on all my machines running code that elevates rights and runs an application. The error is access denied. It is an application that runs at startup. If I...
View Article[RESOLVED] CreateProcessWithLogon Stopped Working
So without warning I started receiving an error on all my machines running code that elevates rights and runs an application. The error is access denied. It is an application that runs at startup. If I...
View ArticleHow can i remote capture and create a live view on a PC using Canon EOS 1000D?
How can i remote capture and create a live view on a PC using Canon EOS 1000D using VB6?
View ArticleSave VB6, PLEASE VOTE FOR VB6
Please follow this link, MS is reviewing an option to continue support for VB6 development, we 12,000 votes Please HELP!! http://visualstudio.uservoice.com/fo...improved-versi
View ArticleAdding something to a listbox so many times depending on the value of a label...
Hi there! I am working on a sort of lottery type prog to demonstrate to students what probability is. Ofcourse it is all in good fun, but I was wondering, if I have a listbox called numList, and a...
View Article[RESOLVED] Going through a listbox and removing all items that are the same.
Hi there all! I am finishing up a game that demonstrates probability to students, and what I have is a listbox that is randomized, then the prog picks an item to add to a label caption. Then it removes...
View Article[RESOLVED] Unable to concatenate two strings
Hi I am new to this forum, and have been out of programming VB for quite some years, so some things are a bit rusty :) But I have a problem concatenating two strings in VB6. Here's what I want to do,...
View Articlevb 6 project
I. created a project to run a canteen but when. I run it gave me alot of errors. I'm stuck n need assistamce..I can upload the zipped project. if u can help
View ArticleHow a file can edit itself after the run?
Hi all. I am trying to create an exe file that can write data in itself. For example i made an exe file by VB6 with name F1.EXE and it's size is 27356 bytes. there is another file including 3 bytes...
View Article[RESOLVED] Winsock Data arrival problem
Hello guys, I have some problems with winsock. I have sample html code located on the server: Code: <table border="1" bordercolor="#FFCC00" style="background-color:#FFFFCC" width="100%"...
View Articledatabase to active directory
HI there! is it possible to get the users from database to become a member of an active directory?or how to add the users from database to the active directory?
View Articlecreate table from template table
I need to create a new table from template. In effect i just have a table named Template into access database, it contain 7 fields and have no records. I need with VB6 and DAO 3.6 to copy the blank...
View ArticleReopened: CreateProcessWithLogon Problems
The problem is when running this from startup/when Windows starts up it fails with Access Denied... I found that if I added code from Karl Peterson if works if I addd a msgbox.. weird.. First off I...
View Article