Opening a file from code
Hello I want to open a Autocad dwg file from code in my program. I have a string variable containing the full path and file name. I want to open the Autocad dwg file in an instance of Autocad that is...
View Article[RESOLVED] [VB6]About properties...
Hi all, I've another question for you whereas nobody could help me. First of all, I'd like to know how you would do to pass a param of a property of one class to another class. I'll explain better:...
View Articlemodal form, windows 7 problem
Hello, i made tons of apps in vb6 using this command structure: blah blah... Form5.Show 1 'show some modal dialog, it returns a value for a variable 'UserSelection' Select Case UserSelection Case 1:...
View Articleusing a VB.NET dll in VB6
Hello, I am trying to create a DLL in VB.NET (2012) which I will then use in several existing VB6 applications. I have already built the DLL but I cannot get VB6 to use it! I created a DLL registered...
View ArticleMouse and Keybaord
I need program made in vb6 to detect when mouse and keyboard are connected or not.
View ArticleError Message
Hi, I have changed a data type of a field (fieldsize) from int to Bigint. Now, the problem is it generated the following error: Microsoft VBScript runtime error '800a000d' Type mismatch...
View ArticleMSComctlLib problem
I try to use MSComctlLib, and it is added to the vb6 project and also (I believe) correctly registered in windows. When I compile, I am told that for MSComctlLib.tvwTreelinesPlusMinusPictureText the...
View ArticleDoEvents executed when calling handler events manually??
I have a form with many standard controls on it, buttons, list boxes and a specific list box named List1 and a button Command1. When user presses Command1 button, the program runs of course the...
View ArticleMDI Form problem.
the MDIform scrollbars have a problem when a childForm Added Height in runtime?? it puts the form to new position but not updating the scrollbars?? Causing Spaces ?? in the upper part... thanks !!!
View ArticleSort nodes in a Treeview or ASCII Tab file?
Hello: I have been asked to tackle a task in VB6 that is a little beyond my skills and am hoping someone here can help me out. I have a treeview control and I need to scramble the level based on the...
View ArticleVB6 - Extract 3 grid in single excel file
Hello all I have 3 grids that i would like to extract in 1 single excel sheet but each MSHflexgrid will be paste in different sheets. I would also like to name the sheet by the MSHFlexgrid name. How...
View ArticleHow to open a file in VB6 using app.Path?
When the button is clicked, I want the file to be opened. The file will be in the same directory as the visual basic project. Therefore, I need the code to open the file using "app.Path". Any solutions?
View Articlegenerating rollno and assing it to the textboxes in vb6 with ms-access
i m doing project in admission management system. i want to generate the rollno like 10cs01,10it01,10ee01...according to the department of the students where 10-year;cs,it,ee-dept;01-number.i need...
View ArticleSearch in VB6 or VB.net from excel
Hi ppl!!! Merry Christmas! I'm trying to do an app in VB6, a search in a textbox in Change event I have to do a search in a textbox and returns the result in a Listbox, I've done in VBA from Excel and...
View Articlecalling perl from vb 6.0
Hello.. i'm assigned with a project where i've to call perl script from vb 6.0 program based on values that the vb program generates and collect the perl program values(dnt know where!!).m new to vb...
View Article[RESOLVED] Attaching Sub Form to SMTP Message
I'm having a problem attaching a subform to an e-mail message. Before, I was sending the e-mail through outlook using DoCmd, but recently re-wrote the code to send through an SMTP server in order to...
View ArticleSplit Name function
Can anyone help see where I went wrong in the function below? Function ParseOutNames(FullName As String) As Variant Dim FirstName As String Dim LastName As String Dim MidInitial As String Dim Suffix As...
View Article[VB6] - pointers and bitmaps
i have read several toturials and the autors don't explaint the very important thing:( i understand that the pointers use BRG instead RGB. ok, but how can i compare the colors? Code: Option Explicit...
View Articletable does not exist error with ms access
Hello....:) i connected my vb 6.0 program to ms access 2007 by the following: **Public conn As New ADODB.Connection Public Sub openConn() conn.CursorLocation = adUseServer conn.Open...
View Article[VB6] - resolution by form and not by screen
can i work with resolution by form instead by screen using API? (i have 1 code that works fiine, but it's by screen instead by form:()
View Article