Parsing data, which is better??
Hello guys, You who have years of experience, how do you think? Which built-in function is fast performing? Mid, or Instr? Because Sometimes we are able to use both of them to parse some Data. I used...
View ArticleEdit a text file
I am trying to edit a textfile: Open the textfile, find the item I need and then replace the new item(line) to the file. Until now I have got this: Code: Open "C:\TextFile.txt" For Input As #1 While...
View ArticleAdding some form of scheduler to a VB6 program to inform a user when jobs are...
Hi all. Im currently using Visual Basic 6 to develop a preventative maintenance program for a beef production plant here in Ireland. The program consists of a Work Order (list of jobs to that have to...
View ArticleRandom Access Record lenght
I have logs written as a random access files. The len is 256 and the data is 80 bytes/characters per record. I am trying to get VB to start at the beginning of the file and read each 80 bit section in...
View ArticleVB6 controls in Windows 7
I have an old vba macro using mshflxgrd controls which worked fine since 2004 in windows 2000 and window XP. Now when installed in Windows 7 it crashes as it says the control is not licensed. Theonly...
View Articlesimple question
Why won't intcounter add 1? Code: Option Explicit Dim intcounter As Integer Private Sub Command1_Click() intcounter = intcounter + 1 End Sub
View ArticleBringing PowerPoint Show - .ppsm to front
Hi gents I'm wrinting some VB6 code, where i open a powerpont presentation show, which works great under debug mode, but as soon as I build the .exe and run the software, the ppsm file is behind the...
View Article[HELP] Winsock problem. Please help me
Hi guys, I have a game server, that people can connect using winsock indexes. But in another section of the game, the user get disconnect of Winsock Index 1, and get connected to Winsock Index 2 For...
View ArticleCross platform VB7 interpreter
This is just an idea I've had. I always liked the VB6 style syntax better than the class based syntax of VB.NET. I would really like to see a cross platform interpreter that is VB6 compatible and also...
View Articlehow to prevent data loss on networked environment
I am planning to implement to check the network availability first then begin trans and commit trans. I would like to ask for your suggestion on how to prevent data loss upon saving/updating/deleting...
View ArticleRow cannot be located for updating , ?? please help ,
Hi All I make this connection between MySQL database and my VB6 application in database this column , ID----Name-----USERID---- some time i need to change all userID number column , this code i write...
View ArticleWinsock + VB6 + UNIX
Can someone help me in sending data to Unix using Winsock through VB6. I am able to connect but not able to send any commands to Unix. Any help is highly appreciated. Thanks in Advance Below is my code...
View Articlerandom numbers rnd randomize rng etc...
Hi, havent programmed in over 10 yrs... What im trying to accomplish is a random number with an actual % to roll... ie... If I have 100 entries or 1000 entries I want an actual 1% , 10%, 25% chance to...
View ArticleHow do I get rid of this Error Message for only one EXE forever!!
Hello I am writing an Application EXE File that uses two VB6 COM OCX Files and I wish to remove this type of Error Message, everytime I run my Application. The Error Message in question, is below in...
View Articleuser picture1 with treeview , no imagelist
ok is it possible to load image to treeview using picture1 , normall we use imagelist fine but wat about picturebox . picturebox will hold avatar image, using imagelist is just permenant icons that...
View Article[Help] Data Execution Prevention
Hello, I am using Virtual machines for testing my application under different OS. In XP i am getting Data Execution Prevention Error. Please tell me how can I add my application in the Data Execution...
View ArticleSimple formatting problem
Hi guys! How to say: Code: .Text Like "-#" & Separator(&HE) & "##" Thanks a lot!
View ArticleHi how do i desable mouse and enable mouse and how do i open exes and can I...
Hi, how do i disable mouse and enable mouse and how do i open exes through my vb6.0 project and can I link my vb.net project to vb6.0. thanks everyone for your help.:wave:
View ArticleDataGrid update DB not working as it should
I have a DataGrid which is bound to an ADODC and it allows updates. The database consists of different tables and the SQL for this ADODC is "SELECT stID, stName, grID, grName FROM tblStudent, tblGroup...
View ArticleLog in time to a remote server
Hello ! I'm continuously logged in to a remote server in order to handle some incoming files on a subdirectory. When I manually open this directory to check for files to process, it takes about 7 to 8...
View Article