[RESOLVED] What kind of Form do I need?
The Form cannot be resized but it can be minimized
View ArticleFaster Web SQL update?
I have a program which matches inventory from a local DB to my web SQL. Each record takes .3 seconds to update, and I have between 10K and 40K records. Is there a better/faster way to update the sql...
View Article[RESOLVED] How to detect repeated names in a string of names?
A typical string will look like this: "sam,larry,bill,mary,allen,jim,fred,joe,john" This string is correct in the sense that no names are repeated However, on occasions, the string could look like...
View Articlehow to stop paintpicture clipboard changng category scale in a scatter graph
I have a scatter mschart with fixed X scale and Y scale to max = 20, Min = -20, major division = 5 and minor division = 2. The code also sets Uniformaxes to false. I use the clipboard to print it with:...
View ArticleSaving an array to a textfile, with a small twist.
Hello there! I am working on a newer version of a game, and this newer version allows users to make their own custom games which will be saved into a simple textfile, but while I can save a textbox to...
View Articlehow to use winsock.DLL
hi all. i always have using winsock.ocx that installed by vb6 ! but currently a have to create one exe-file to send data without using winsock.ocx. the only way i found is winsock.DLL ,but i don't...
View Article[RESOLVED] REmoving the bottom item from a listbox
Hi there, I was wondering for testing purposes, say I have a listbox called list1, and I wanted to remove the last line from the listbox, would anyone know how I could do that. I can take the top away...
View Article[RESOLVED] Expected Expression. Optional Arguments
Hi, I hope someone can help me. I'm getting an error whenever I try to do this. Here is my code: Sub emp_filter(Optional ByVal cmbApprove As ComboBox = Nothing, Optional ByVal cmbDept As ComboBox =...
View Article[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 Article