Help with WHILE (# AND #) command
Hi, I have a code I've been trying to dechipher and I got stuck with one command... It's simple. WHILE (INP(&H3BD) AND 8) = UPVAL So I know WHILE, I also know INP for input and then &H3BD would...
View Articledropping text
How do i make the code drop the first 10 characters from each line of the source txt? Code: Open "source.txt" For Input As #1 Open "destination.txt" For Output As #2 Do While Not EOF(1) Â Â Line Input...
View ArticleData grid
I am using VB5 and have a data grid on my form. The grid has 3 columns- name, id, test. The number of rows in the grid changes according to the information in the form before it so it does not have a...
View ArticleError prompt
My program reads file from a floppy (old school i know) how do I have the program notify the user that the floppy needs to be inserted if its not instead of the program just crashing?
View ArticleSorting arrays alphabetically
Hi guys! This is a very diffifult task for me so if you have a suggestion, please try to give solution examples insted of explainations. I need something very fantastic. I have three arrays of String,...
View ArticleHow do you connect to a remote PC?
Hey guys, How do you connect to a remote PC in MS ACCESS? I am trying to write a program where I can input a computers name that is on the network in a form, and have it pull that computer up. Not...
View ArticleDoes anybody know what control this is?
Attachment 95653 seeking help if anyone know what data control is this in VB6? please help how to find the data components. thanks Attached Images Â
View Articlehow to detect and eject removable device
I have managed to google on how to detect and eject usb device but when I tried to plug in my removable usb hard drive, it is detected but not ejected. Is there a way to automatically detect and eject...
View ArticleHow do I clear a textbox by just clicking on it? Also, a database(?) related...
Hello! It's my first time to post on this forum, and I'm looking forward to post more as time passes. :) But for now, I would like to ask a couple of questions... First, how do I clear the contents of...
View ArticleImage List - Why can't I upload certain .ico files?
I have an image list control in VB6 which I am trying to upload some vista-style icons to it but it keeps saying "Invalid Picture" although the files are .ico !! I tried another old icon files I had,...
View ArticleWebcam stopped working after VB6 program
Hi all, This is my first post, so hello all. I ran a VB6 Program that switched on my Dell E6320 internal webcam, it seemed to work fine until I closed the program and tried to start the program again....
View Articlememofield in datagrid
I am trying to populate a VB6 datagrid with a access-memofield but the memofield isn't visible in the datagrid. Does anyone has a workaround to make my memofield visible in the datagrid. Thanks in...
View ArticleHelp surrounding a VB program to develop.
Ok, so here's my brief that I've been given for a VB6 project: "Construct a VB program that will allow the creation of a list of 12 monthly electricity readings (the number of units used). The user...
View Articlehow to load diffrent image from one to another form
i m making a project . Private Sub Form_Load() Picture1.Picture = LoadPicture("C:\Documents and Settings\MASTER\Desktop\s3.jpg") cbomodel.AddItem "100" cbomodel.AddItem 101 cbosolution.AddItem "Ringer"...
View ArticleHow to put a UDT inside of a UDT
I have a UDT that is dim'd as an array. Inside this UDT I need another UDT that is also an array. How do I construct this and how do I use this in my program?
View ArticleCorrect VB6 code for popup calendar display location, please help
Hello Expert, I am new in vb 6, Require code correction to prevent current drop down calendar from displaying below the bottom edge of the application. the calendar and the code calling the calendar....
View Articlechat connection test code need help
am trying to make my connection work, please allow me to explain in this fresh project i am trying to load few k's of winsock and have them connect to my chat server to se how many connections it can...
View ArticleHelp with creating a function for pi?
Hi there, I received an assignment asking me to calculate pi with Virtual Basic. We were to select from a number sequence and create a function to calculate the first 50 terms.. The sequence I chose...
View Article[RESOLVED] Date sort in MSFlexGrid problem
Attachment 95727 I have searched the net and forums for the answers, and have tried many, but still can't get this right. I am trying to sort a msflexgrid (grid1) by a column which lists birth dates....
View Article[RESOLVED] Oops Accidently Split Code Window
For some stupid reason I accidently dropped my mouse and the code window split into 2! I tried looking into all the menu options, google, everything and can't put it back the way it was to a single...
View Article