Search:
Type: Posts; User: Doomguy0505
Search:
Search took 0.18 seconds.
-
You posted no code, but if you wanted a new line, you use vbCrLf
eg.
Text1.Text = "1" & vbCrLf & "2"
-
For some reason the main function is excluded from this rule.
And you can correct it by adding return 0; after the system("PAUSE")
-
When I try to compile my application with mingw32 I get a bazillion errors
http://paste.ubuntu-nl.org/22565/
Here is the source code, just type in "bash cross-config.sh"
...
-
I got .NET 2.0 on my windows 98 machine, but you need to install IE6 from Windows Update first. The installer should be called dotnetfx.exe
-
Why did Microsoft decide to change this directory location anyway?
-
How do you get operators in VB6 classes?
-
Wouldn't it be better written like this?
Public Function StringArray(ParamArray Strings() As Variant) As String
StringArray = Strings
End Function
-
You should use http://art.gnome.org/themes/metacity/501 with GNOME if you want a Windows XP look.
-
People who are dependant on BASIC languages?
-
So I guess vector is a pos?
-
I've found this problem with creating difference_types when the type is a typename definition (I've also tried class), is there anyway around it?
expected ';' before 'k'
'k' was not declared...
-
I think he wants to resolve a hostname to an ip address
-
I got notepad's current hWnd (with Spy++) and got rid of its menu bar :D :D :D
-
Option 1
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private StopSleep As Boolean
Private Sub Form_Load()
Me.Show
Dim i As Long
For i = 1 To 30000
If StopSleep...
-
"""" is the same as chr(34)
" "" " is the same as " " & Chr(34) & " "
.Text = Replace(.Text, """", " "" ")
-
You should have set up partitions when you had the chance, which is when you install Windows XP (it lets you use ghost without a disk so you don't have to reformat either)...
-
You might want to use FreeFile otherwise you'll get an error if file buffer 1 is already being used by your program.
Dim FB As Integer, strBuffer As String
FB = FreeFile
Open Filename For Input...
-
Replace Command1_Click with whatever name you like
Sub Command1_Click()
Dim v As Variant, fname As String
fname = """" & App.Path & "\ipcfg.txt"""
Shell "cmd.exe /c ipconfig |find...
-
You need to use the 2 double quotes escape sequence to put "s in strings. You should use command.com if it doesn't exist.
Sub GetGateway()
On Error GoTo DosWindows
Shell "cmd.exe /c ipconfig...
-
Why would you use comma's as decimals anyway?
Dim i As Long
i = 20
MsgBox Len(i)
I guess coertion explains why 20 is 4 characters long?
-
Download the source code for doom builder (www.doombuilder.com or www.codeimp.com) and look at the "clsConfiguration.cls" file and then look how the configuration files are structured better than...
-
Val() is a more foolproof version of CDbl()
PS: Val() > CInt() (Doubles can be larger than 32767)
Dim dTest As Double, iTest As Integer
dTest = 32768.1131241
MsgBox dTest
iTest = 32768.1131241...
-
I found an alternative way to make shortcuts without any dlls whatsoever.
I made this shortcut on my desktop with notepad
[InternetShortcut]
URL=G:\MyDocs\Fspace.exe
IconIndex=0...
-
You're lucky, you can still open help files, IE7 stuffed my installation of XP up.
-
The IDE will crash if i type in code like this:
ReDim Some(0 To 1).Aa(1)
-
MsgBox Asc("Char goes here")
MsgBox Chr$(1) ' VB equivalent of "\1"
-
Err.Clear is a shorter way instead of setting Err.Number to 0
-
This class can store information from an ini into memory rather than the API calls where you constantly open and close the same file over and over. It also does not require to load from a file, eg....
-
The code you're using makes the textbox get focus when you go from tab 0 to another tab.
Private Sub tabSettings_Click(PreviousTab As Integer)
Select Case tabSettings.Tab
Case 0...
-
I don't know how to play or end it, but this code would begin the movie and end it after 30 seconds if the code to play and stop the movie was added.
Public EndMode As Boolean
Private Sub...
-
Create a Timer control and set the "Interval" property to 1000.
If you wanted it to start at 10:30 PM then you would use (replace the Timer1 with the name of the Timer)
Private Sub...
-
If the control was missing, you would get an error.
-
Dim FB As Integer, FileData As String
FB = FreeFile
Open thefile For Binary Access Read Lock Write As #FB
FileData = Space$(LOF(FB))
Get #FB, 1, FileData
Close #FB
If InStr(1, FileData,...
-
This program quickly makes manifest files if you have forgotten how to do it and don't want to search over the internet for tutorials. I made this because I'm too lazy to look for the XP styles...
-
These are an alternative to databases and are more effective than ini files because they can have newlines and carriage returns.
EDIT: Reading bug fixed
Here's the code
<?php
function...
-
You just canceled out that reason with your last post.
-
I'm making a program which is based on scripting and I want the users (who aren't likely to have vb6 or any vb) to be able to make distributable versions of their scripts as exes so that the people...
-
How can I make a program which writes data to an executable file, without corrupting it. And how can I read that data with the target app. If this is possible. This is so that I can change hardcoded...
-
Yes. One to support those arguments
EDIT: I found out a way, here it is if you're interested
to test it you need microsoft scripting runtime enabled
Public Function SolveCommands(ByVal...
-
So that blah.php?var1=aa&var2=bb would return a value (preferably a dictionary object) with the object with a value called var1 set to "aa" and var2 set to "bb". Also to work out the % hex codes
|
Click Here to Expand Forum to Full Width
|