[RESOLVED] SysTreeView32 Expand Root
I am using a 3rd party control which incorporates a SysTreeView32 control. By default, the root of the tree is collapsed and I would like to always have it expanded. I did research, but have hit a...
View ArticleVBA, Access 2007 and Attachment controls and unbound forms
Hi, Haven't done any VBA for a while, but need to create an MS Access database that can have attachments. I've got the attachments fields set up correctly in the database, but I don't know how to...
View ArticleVB6: SQL statement returns no error for duplicate primary key
I use MS Access database. I have a primary key declared and MS Access throwing an error message box when I try to type in a record manually with primary key violation. But the VB6 code catches no error...
View ArticleOpera doesn't accept startup Parameters .
Hi, I cannot start Opera with parameters. When using the code... Code: zz = "C:\Opera\opera.exe" zz = zz & " -newtab " zz = zz & "http://www.opera.com/docs/switches/" Shell zz, vbMaximizedFocus...
View Article[RESOLVED] Opera doesn't accept startup Parameters .
Hi, I cannot start Opera with parameters. When using the code... Code: zz = "C:\Opera\opera.exe" zz = zz & " -newtab " zz = zz & "http://www.opera.com/docs/switches/" Shell zz, vbMaximizedFocus...
View ArticleCount Calls to Every Function / Sub from Control Events
I'm trying to speed up a very large program. I'm finding that by taking a count of one routine called from Picturebox_Paint that that routine is being called 8 times prior to the Picturebox painting...
View ArticleVB6 serial communication
I am doing a project on vb6. I need to take some data from serial port and display it using a text box and label in vb6. But the problem is that the while loop does not run. It just executes every time...
View ArticleHelp Needed - Hijri to Gregorian Date convertion
I need help to convert Hijri Date to Gregorian. That is if i give a Date like "5/28/1435" , it should return its corresponding Gregorian date as "29 March 2014". I tried the following code, but it...
View ArticleMAPI Session Control returns error 48389 when sign on is attempted
Hi, I realise that there have been numerous posts on this subject but none of the answers I've seen fit my question. I'm writing a secure messaging application in VB6.0. As part of the application...
View ArticleCan a Function return an Array
I have several functions that need to return an Arrays. Can this be done without having the array as a ByRef argument in the argument list 'How I do it now: Code: Private Sub SomeSub() Â ' Â ' Â Dim...
View Article[RESOLVED] Help Needed - Hijri to Gregorian Date convertion
I need help to convert Hijri Date to Gregorian. That is if i give a Date like "5/28/1435" , it should return its corresponding Gregorian date as "29 March 2014". I tried the following code, but it...
View ArticleNeed Full Understanding of VarPtr, StrPtr, ObjPtr
What exactly is a pointer? How or why is it used? I would like to understand what a pointer is and why using varptr, strptr, objptr can be faster at finding variants/objects and how does it work behind...
View Article[resolved] want to save and load a text file in vb6 please help!
Hi, Im trying to make a timer for my program, if someone closes the program, when they re-open it I want the timer to continue from where it left of. I have been trying for nearly four hours now and...
View ArticleConverting a text file into individual strings
Hello Guys, I have currently written a program which saves multiple groups of text information in a file. However I am having trouble in finding a way to load an individual piece of a record into a...
View ArticleWeird Form Keypress issue
Hey all, I have an odd issue with my app. Right now I have a form that pauses execution to display some text, then resumes execution by pressing the Space bar, this way: Code: Private Sub...
View Articlehow to use google to convert currency
hey bro, i want a fast project in vb6 without using webbroswer to convert currency in current rate.ex: today 1$ = 59.88 indian ruppee everyday value of curreny change help me thanks in advance
View ArticleVB6 Selected item in Listview to Textbox-not showing in text box
maybe this question has been answered before..but after reading tons of threads that could, i couldn't find anything reliable solution to my problem... Problem: the selected item in the list view is...
View ArticleNeed help (Richtextbox KEYDOWN)
I am having a problem with (Shift + I) keycode to format ITALIC font. when pressing these combination, it also type letter I. What seems to be the problem? Any Help? Code: Private Sub...
View Article[RESOLVED] IS there a more efficient way to copy from a list to a text box array
Hi there! I am working on a listbox that is called StudentList. It has a list of student names, and I recently reordered their names in alphabetical order, and now would like to copy them one by one to...
View Article