While it certainly may not be the best method, this is one technique that will work:
rc% = Shell("cmd.exe /c Notepad.exe C:\Documents and Settings\%username%\Desktop\scrape.txt",1)
Here's the function I use to accomplish that:
Function CalcDate() AS String
'******************************************************************************
' Calculate Sixty days from today's date...
I'm well familiar with this problem. The problem disappeared a few years ago when we got Lexmark printers. However, we were recently refreshed with HP printers and the problem has come back again. If you comb through Attachmate's website, they will tell you to upgrade to a newer version to...
I ended up parsing the info the old fashion way. However, I'm still interested to know whether the VBS method can be used in Extra Basic somehow because it would just be cool and much cleaner.
Sub Main
Dim sysInfo as Object
Dim position as Integer, position2 as Integer, length as...
I started off trying to get the following VBS code working in Extra Basic.
Dim strGreeting
Set Shell = WScript.CreateObject("WScript.Shell")
Set oInfo = WScript.createObject("ADSystemInfo")
Set LDAPUsr = GetObject("LDAP://" & oInfo.UserName)
strGreeting = "Hello " & LDAPUsr.FirstName & " " &...
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.