Content Type
Profiles
Forums
Events
Everything posted by gunsmokingman
-
Need help! installing vista beta2 5384 error msg
gunsmokingman replied to davidtaoca's topic in Windows Vista
1:\ Just make a folder on any drive 2:\ Mount the image 3:\ Copy the entire contents of the dvd to the folder 4:\ Then start the install. -
5384 is Beta 2, builds released before that where Beta 1, the Beta 2 refence where just place holders and nothing more.
-
It on connect and I am downloading right now, the build is vista_5384.4_x86fre_client-LB2CFRE_EN_DVD.iso
-
Help with Ping VB Script
gunsmokingman replied to mc134's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I will try my best to help you to get it working. I think I see where you are getting a error You have 2 of these but one only has quotes around it. -
Help with Ping VB Script
gunsmokingman replied to mc134's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I didnt touch any of the excel stuff. I only change what I listed. Try to Dim all the objects also as this is a good practice. There may be more objects to dim but you can add them this is just a example. I notice that you have two of these, If you Dim the Object you only need One. Also move the Const to the top of the script just below the On Error Resume Next To find out where the script is failing comment out the On Error Resume Next and see where it fails as the script runs. -
Help with Ping VB Script
gunsmokingman replied to mc134's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Thanks, glad I was able to help. Sorry I completly missed that I just look at it quickly and must of missed that. -
Help with Ping VB Script
gunsmokingman replied to mc134's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
You do not need to make this Object Five time, as they are the same Use the Dim and make it once If you place this at the top of the script then you need it only once I would change this I change this Your code with the changes I have listed -
Windows scripting host
gunsmokingman replied to acovich's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I agree my writing style does lack on a consitance format. To quote you, as I seen that you have help alot also. -
Windows scripting host
gunsmokingman replied to acovich's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I do not pretend that is how he posted the code and it does not work. Me if I posted a code that was not working it would be complete as it sits the loop will not work. Here a example of a loop at work and it code complete. -
Windows scripting host
gunsmokingman replied to acovich's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
You are wrong as the script he posted produced this error, this is with the correction you made. Why do you think I posted those links, I do have a pretty good understanding of VBS and the code posted does not work, because the loop is wrong. -
Windows scripting host
gunsmokingman replied to acovich's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
First problem is the loop it will not work. go to here While...Wend Statement or here Do...Loop Statement -
I have no idea if this will help you I spent 5 minutes reading the link provided and this is the script I came up with. I do not know if WMI can be used during a install, never tried it. I have tested this so there are no run time errors. I have it so you can manually add the key, but I have left some comment out section that can be used to automate the process. Save As ActivateXP.vbs
-
No since it question about Windows XP. and since a mod replied already then it is in the correct form.
-
That's fantastic, thanks a million for your help With the script encoder from MS I can distribute the file to whoever I want and they won't see the admin password I have another question: What kind of objet I have to create to empty a folder? If i replace File = "c:\test.txt" byt File = "c:\*.txt", the script does not delete the files in my folder. Alphaz VBS does not accept wild cards but here a script that should in theory should delete all the text files All you have to do is make sure that Dim FolderName : FolderName = "C:\" the Green text is the correct Drive this also can be "C:\Some_Folder"
-
You cannot delete the file because you are using the wrong object for it. The changes I made are This means the window is hidden and it will not go on to the next until it finished 1:\ WshShell.Run "runas /user:USERNAME", 0, True Added the correct object to delete the file 2:\ Set Fso = CreateObject("Scripting.FileSystemObject") Change the File name to a varible 3:\ File = "c:\test.txt"
-
Here is a link to a article on how to uae the run as in a script. If you use the encoder then the script will be encoded and harder to edit. Hey, Scripting Guy!
-
[question] Startup/shutdown GP scripts have no network
gunsmokingman replied to ProClub's topic in Windows XP
I do not know if this will help you but it shows how to run a script using the run as Hey, Scripting Guy! -
Embedded WMP Player
gunsmokingman replied to gunsmokingman's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I have updated my Mini Player 1:\ Added a mock slide control for the volume, I will be adding a real slider to this later. 2:\ Change the layout and background colors MiniPlayerGsm_v1.exe -
Help with Ping VB Script
gunsmokingman replied to mc134's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I made the VBS script make a HTA and I have it run threw a array like you would need to on a network, I used 127.0.01 three times as the array. I have attached the VBS script in a rar file for you. -
Help with Ping VB Script
gunsmokingman replied to mc134's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Here is a VBS script that uses WMI to ping computers, just make a list of ip and another loop for the script to run threw. I have only tested this on my computer as i do not have a network to test it on. This was tested on XP and I do not know if it works on other Windows versions. -
Here is a HTA that uses the WMP object embedded into it. This is scripted in JS script it some thing I did as a learning project, it plays some music that I have on my site, plays WMP playlist that it can find on your computer, and it has 2 Radio station that play 8 different music types. GsmWMPMiniPlayer.txt if you want to read the code I have made some changes, to HTA 1:\ Change the Buttons, using Webdings text for them I also added Fast Foward Button 2:\ Added more popup text for the control buttons 3:\ Added a text display that show how long left in the song being played 4:\ Made some minor JS script code changes GsmWMPMiniPlayer_V1.txt if you want to read the code Here is a SFX file of the Mini Media Player, On the new version that I posted I forgot to add the fast foward routine it now been fixed. Newer version in lower post.
-
My Vb.net App
gunsmokingman replied to gunsmokingman's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I am redoing the app in separeate forms so I can keep all the code separate, then I will post that here. That will make it easy for you to read. I will post this in a couple of days.