How 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 ArticleHelp with a Treeview problem (moving items to the end)
I have gotten some really good help on this issue, from this forum, especially from Doogle.. Let me start by saying thank you very much. To get this setup. Create a new Project 1)Add 'Microsoft Windows...
View Article[RESOLVED] msflexgrid cell setfocus
I am using textmatrix to input data on the flexgrid. I am trying code how to setfocus on a particular cell and i dont think there is grid.textmatrix(.row,2).setfocus how to do this?
View Articleneed your help client +server security
here is the zip attached please download it and help me fix this. 1: i wasted many hours and its about time i get help 2:i need client to send out a message such as (authme) and when server finds this...
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 Articlehow save and retrieve image in mysql database
I would like to ask for vb6 sample on how save and retrieve image in mysql database. tnx
View ArticleHow to send Email without using MS Outlook?
Hi, I have a code for send/receive email using MS Outlook but the problem is some of my clients are not using MS Outlook so I can't use that code. I try to use CDO's and VBSendMail. CDO's - > It is...
View ArticleChallenge: Pass a NULL Long to a COM Method
I've found a wonky COM object in Windows that was poorly implemented (and I believe this is the reason the documentation suggests that it is not implemented at all). Basically it wants two Longs passed...
View Articlemy friend pc monitor turn on after taking out cmos battery while its turned on
does anybody has solutions please while the pc was on running he took cmos battery out and now the power comes but no monitor picture also dont show bios loading monitor is on idle
View Articlewhat the hell is this
i found this modulel alone in 1 of my folders and i ran the module the project didnt have no forms but this module only this is what happened it auto open picture editor and started to draw on its own...
View Article