There are better ways to do this. This one is an example of getting an already loaded web page, copying the inner text to the clipboard and posting it to an empty already opened Notepad. It's a module using a Sub Main.
I have to question whether or not you might want to just create a text...
LOL Looks like you typed at the same time I did.
For XP you should use this.
Public Declare Function RegCreateKeyEx Lib "advapi32.dll" Alias "RegCreateKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal Reserved As Long, ByVal lpClass As String, ByVal dwOptions As Long, ByVal...
Remove the backslash:
RegKey = "\FirstSubKey\Item1"
RegKey2 = "\SOFTWARE\SecondSubKey\Item2"
Change to:
RegKey = "FirstSubKey\Item1"
RegKey2 = "SOFTWARE\SecondSubKey\Item2"
And you cannot create a new Subkey directly under HKLM
RegKey = "FirstSubKey\Item1" Won't work.
cenderawasih,
Hi. Yes it is and again, it works for me.
I started at text1(2) and the count was fine.
Text1(0) and Text1(1) do not exist or are hidden? If they don't exist, I can't think of what may be doing this other than having invisible characters in a text box. Starting...
I don't know. It works for me.
You have an array of text boxes. Three. Plus another text box which shows the total number of characters in the text box array.
Were the text boxes empty to begin with? Are they multiline and is it possible the text is being typed on the second line and not...
Hi Tony,
You're welcome. I would. That way you are sure it runs.
In the Programs>Startup folder.
This is one of the last startup items to load.
Or add it to one of the run keys in the registry. You would have to test to see how it does in those earlier stages of bootup.
Mo
Hi,
If you are still reading, yes there is. It is very easy if you use WMI to do it. Which OS are ypou using? If Win98 then you will need to download and install WMI. Otherwise, it is installed from Win ME on up.
Here's a vbs which will monitor the creation of new processes and pop a...
Please copy the bold to notepad. Name as filters.bat Double click on filters.bat to run this dos file. This file will export a registry key I would like to see. It will open the results in a file called filters.txt
Please copy and paste the contents of filter.txt to a reply here.
regedit...
Here's an example of looping through a listbox to check which items are selected.
Dim i%
For i = 0 To List1.ListCount - 1
If List1.Selected(i) = True Then
MsgBox "yes"
Else
MsgBox "no"
End If
DoEvents
Next i
Find the shortcut to VB on the start menu. Right click and choose properties. On the property page set " Start In" to the folder you want to use.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.