How 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 ArticleVB6 Event Threading
I ran a simple test to confirm that VB6 form events are not threaded. I had event "A" initiate event "B". Event "B" would wait a period of time (looping on DoEvents) before displaying a message. If...
View Articlesort by characters within cell
I have a column that contains an ID number in the form of "AA123-123456". I'd like to put a combox in the sheet with some code behind it that will sort the whole sheet by this column using either the...
View Articleimport data from SQL to excel, and paste as text
I have an excel spreadsheet with a column that contains an ID# in the form AA12. There is also an access database with this same information. I'd like to design an "update" button, that will check the...
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 ArticleAnti virus programs assumes my application as containing virus
Hello friends. I wrote a program which is working properly. My program is also checking new versions from my server and download it to local driver of users. But most anti virus programs assumes my...
View ArticleDifferent filename formats from Command$ function
I am using the Command$ function to obtain the path of a file when the user clicks on it. On my usual laptop, running Win XP, the path is given in the Long Filename format eg "C:\Program Files\Common...
View ArticleUsing Command Button to reset excel form
I am trying to create a button which will reset my excel sheet and highlight the cells which need to be selected/edited, whilst ignoring blank cells and formulated cells. At the moment the 1st part of...
View ArticleEvent driven applications
This is more of a curiosity question. For VB6 applications that are purely event-driven, where and what is the code that's executed while waiting for an "Event"? Also is the "DoEvents" function a hook...
View ArticleString formula to Double
Hi guys! Let's say I have this: Code: Private Sub Command1_Click() Dim a As String Dim b(2) As Double b(0) = Me.Text1.Text b(1) = Me.Text2.Text a = "b(0) + b(1)" b(2) = a Me.Text3.Text = b(2) End Sub...
View Article