Search:
Type: Posts; User: Al42
Search:
Search took 0.84 seconds.
-
Bad idea - if you Dim ... As New, you can't Set = Nothing.
Dim
Then Set = New
-
ADSL modem (NOT routing modem) to a switch or hub with 5 (or more) ports.
Use one port for each of your IP addresses - either directly to a server or to a router to serve a number of desktops.
...
-
Download an image for either GPartEd live CD or a Linux Live CD (GPartEd is included in most Linux distros). You don't need a working hard drive to boot wither one.
GPartEd will partition a drive...
-
What are you using for DNS on your computer? Your router's address or your provider's DNS server's address? The router can use either, but if the computer is pointed at your provider's server, it...
-
In VB6 you can just put the application (or a shell to it) in Form_QueryUnload, can't you? Or have I gone temporarily brain dead?
-
Welp ...
A direct strike would fry everything - computer, room, house ...
An induced spike from a nearby strike could toast the CMOS chip, or a modem or some other single component, without...
-
Unless the text will be huge records, you don't need to chunk it. Just INSERT records with the text to save it to the database and SELECT the records you want to retrieve it from the database.
-
Try these changes:
Declaring it doesn't open it.
-
I've been tearing my hair (what little is left) out on this one:
We have a RDB7 (VAX) database that I have to access from our web site. I have the name of the database, legitimate logins, etc,...
-
You can't open a port that doesn't exist - that's how you test for existing ports, by opening them and trapping the error. It sounds as if the port you think you have isn't really the port you have....
-
It depends on the text being sent, but generally it would be:
'assume Text is the text from the mc
Select Case(Text)
Case "G" 'the mc sent "G"
'code to change the shape color to...
-
The only thing you need to "break out of" is a loop. An If statement either executes or it doesn't.
-
Read this excellent tutorial on interfacing VB with Excel.
-
I think you're telling us that the computer is saying something like 1 > 2, and that can't happen. If memory isn't being corrupted, and you're stopping on cpr changing, and the computer stops on cpr...
-
What were the pixels drawn ON? Some other form? The desktop?
-
If it's a formula, just post the formula. Explaining math in English sometimes just doesn't work
All you've said so far is that if the first 2 meet some formula when compared to the second 2, the...
-
You'll have to tell us the algorithm or formula that the generated one is created by.
-
Make your form on top.
Draw the picture on your form.
-
Use Select Case
Select Case UCase(Text1.Text)
Case "HELLO"
'call the function for hello
Case "OPEN"
'call the function for open
Case 'etc.
End Select
-
Use the KeyDown or KeyUp event.
-
Just a slight change
Dim i As Long
Open "c:\ComboBox.txt" For Output As #1
For i = 0 To Combo1.ListCount - 1
Combo1.ListIndex = i
Write #1,...
-
Are you doing any memory manipulation? Copying or moving data in memory? Or anything else that can corrupt a variable?
-
If InStr(text, "hey") > 0 Then
'etc.
End If
-
Multi-threaded code in VB6?
-
You just need a "save data to MySQL database" function? That's trivial enough, maybe even a single line of code, depending on the data to be saved.
-
It's basically a front end to a database. Decide on which database you'll be using and design the database. Then make the user interface, according to what you'll have to show:
User's profile
All...
-
You could create a rule in Outlook to either move a copy of the email (for all incoming emails) to a folder, or to run a script (that would append the email to some file).
-
If it has a number you can connect to it. If you don't know the port number you can't.
-
Select the fields you want from Table1 and Table2 into Table3.
-
Proxomitron will do what you want, regardless of the browser you use.
-
What do you mean by "function"? Call a VB function?
-
Dim i As Long
Open "c:\ComboBox.txt" For Output As #1
For i = 0 To Combo1.ListCount - 1
Combo1.ListIndex = i
Print #1, Combo1.List(Combo1.ListIndex)
Next
Write #1,...
-
Hack gave you the code to iterate through the combobox items.
-
Then each line (or database record) would need two words - the one you type and the one you want the program to respond with:
hello goodbye
open close
etc.
Find the first one and display the...
-
Since the template is always the same, why store it for every letter? Store the DATA for each letter in a single record (each item in a field) and recreate the letter with code at run time, using...
-
Hellomy, if you want Name(0) = "name" and Name(1) = "Hello", you're going to have to hard code it. Split only works if there's a common string in each element - like
str = "My Name Is Hellomy"...
-
It sounds as if the string could be getting longer than the maximum string length (or maximum textbox text length) (which is pretty long, but not infinite).
-
It should be <, as in
If myvar < -500 Then Stop
-
Replace(a, "0", "") allocates string space for the "", Replace(a, "0", vbNullString) doesn't. (Faster and uses less memory.)
-
Are you calling Openconnection before you call ActiveReadServer? BTW, ActiveUpdateServer should be
Public Sub ActiveUpdateServer(Query)
cnnMain.Execute Query
End SubAlso, declare your objects...
|
Click Here to Expand Forum to Full Width
|