[HELP] Problem running my app at startup
First of all: I'm using Windows 7. I have a program which copies itself to the startup folder. Then I reboot my pc but it doen't run. May be becouse I need administrator privileges. I've tried with a...
View Article[VB6] Dynamically add CalendarControl
Hi, I'm using VB6 and I want to dynamically add Codejock Xtreme Calendar ActiveX to one of SSTab control tabs. Here's my code. Code: Dim WithEvents CalendarControl1 As CalendarControl Then in...
View ArticleBrowseFolder function - 'BIF_RETURNONLYFSDIRS' variable not defined
This is the code for the BrowseFolder function Private Declare Function SHBrowseForFolder Lib "SHELL32.DLL" Alias "SHBrowseForFolderA" (lpBrowseInfo As BROWSEINFO) As Long 'ITEMIDLIST Private Declare...
View ArticlePopulating listbox with results from SQL query
HI All, The code below, populates a listbox with data from the field "calibrator". Code: Data1.Refresh While Not Data1.Recordset.EOF list1.AddItem Data1.Recordset("calibrator").value...
View ArticleSQL in VB
Hi, In my program i select a value from a database i.e select name_f from owner where owner_id=text10.text What i need to do is: for each name_f select employed from employment where name=name_f(name...
View ArticlePermission Denied When Trying To Delete A File
I'm using the following code to copy some lines from file into a new file. After all the correct lines are copied, I delete the old file. This was working just fine last week. But suddenly it's not...
View ArticleVB6 on Windows 7 - Referencing Objects
Hi there, We have a rather large VB6 system that needs to be "tweaked" to run on windows 7 machines. Have managed to run the project in the IDE and have successfully compiled and run the system....
View Articlewinsock data arrival help urgent
text2 proxy text3 port Code: Private Sub Command5_Click() Text4.Text = "" Winsock1.Close Winsock1.Connect Text2, Text3 End Sub Code: text1.text = list1.text ' list1 items to test Code: Private Sub...
View Articlewinsock sock4/5 or socket1 -sock4/5 help
how do i conntect to sock4/5 server with winsock or socket1 winsock.close winsock.remotehost ? or what is it please
View Article[RESOLVED] Using an if then state with a text box with 2 possible ifs??
Hi there! I am finishing up a program and I have a textbox called choiceTXT.text In this box, I have the user type in something, and if what the user types in, is what the program is looking for, a...
View ArticleCheck OCX / DLL is the registry?
Hello I need help with the program. You do not know how to test whether a file such as "richtx32.ocx" registered in the pc? (in the registry) Is there any api function or something similar? thanks:duck:
View ArticleSubmenu for Toolbar1
Dear all, Attachment 93943Is there option for submenu in toolbar in vb form? as attached. thanks vb-kid Attached Images
View ArticlePDF data in VB6
Dear Friends... i hv 2500 pdf files in one folder of 2,02GB size. (Eg:- sk001.pdf, sk002.pdf, sk003.pdf ...etc). I want to make a vb application where user can select a perticular pdf files from...
View ArticleMDI Child Move
Hi Guys Can anybody help me trying to detect in the Parent MDI form if one of it's child forms has moved? I have overridden WinProc in the MDI parent and can catch the windows messages, but can't see...
View ArticleShowing DTPicker Calender Year drop down
I used DTPicker control for selecting the date in my application. When i click on the picker control its drop down the calender and if I click the year in top near with month it shows the up down...
View ArticleWorking with UserDialog
Hi All, The following code, while a bit sloppy at the moment, calls a form for agents to enter consumer information. I want to make it populate automatically if data exists in the files already. Help....
View ArticleType mismatch : array or user-defined type expected
Hello everyone , i'm came up with an error: Compile error Type mismatch : array or user - defined type expected when i was trying to process such code : in module i have : Code: Public type book...
View Article[RESOLVED] ListView Question
How do I loop through the items in a ListView to find a particular item and then delete that item from the ListView>
View ArticleHELP ME to use multiple tables by SQL statement to make reports
there are 2 tables in my database and i want to use both of them to make a report. but i don't get the result that i want. problems occurred like repeating same record number of times and it always...
View Article[RESOLVED] Strange character problem
Hi, I have a string that my program gets from another application. The string has what appears to be question marks in it, but they are not.. they are just outputted as question marks for some reason....
View Article