| View previous topic :: View next topic |
| Author |
Message |
noveltech Contributor

Joined: 16 Sep 2002 Posts: 105
|
Posted: Tue Oct 15, 2002 4:36 pm Post subject: SCR in VDS Window |
|
|
is there way to open a scr in the vds window?
all feedback welcomed and invited!
NT |
|
| Back to top |
|
 |
Vic D'Elfant Past Contributor


Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Tue Oct 15, 2002 7:16 pm Post subject: |
|
|
I don't think that you can open a screensaver IN a vds window.....
But try 'custom extensions' at the vdsworld site.
http://www.vdsworld.com/index.php?page=custom&extend=1
Greetings and good luck,
Vic _________________ phpBB Development Team |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Tue Oct 15, 2002 8:37 pm Post subject: |
|
|
If you know the screensaver's window title or class,
you might try resizing/positioning it over a VDS
window. One problem though... VDS commands
(such as WINDOW POSITION) often simulate
keystrokes that will prevent or stop a screensaver
anyway.
If you have a screensaver in VDS (or whatever)
that only uses mouse movement and selected or no
keystrokes to stop, it might be easier. But I assume
you want to be able to view any screensaver...
What exactly are ya tryin' to do?
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
noveltech Contributor

Joined: 16 Sep 2002 Posts: 105
|
Posted: Tue Oct 15, 2002 9:20 pm Post subject: Thanks Mac |
|
|
Thanks Mac for asking!
| Quote: | | What exactly are ya tryin' to do? |
I am trying to find a "work a round" for the below
code that hangs if not connected to the internet.
I would much prefer to get below code to work...it would be simpler?
DN = Domain Name
Ping works great if connected using DN...but stops prog "too long" if not!
I substituted IP address for DN...receiving false feedback on retcode!
DN stops PING if not connected to internet.
IP address returns false info...states connected if Cat 5
is disconnected from HUB
| Code: |
RunH ping.exe -n 209.15.9.40,wait
%%output = @retcode()
if @equal(%%output,0)
info Return code was @retcode()
info This computer is off-line
else
info Return code was @retcode()
info This computer is connected to the Internet
end
stop
|
|
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Oct 15, 2002 10:48 pm Post subject: |
|
|
If you are receiving false readings, try another IP Address. Some IP's and Domain Names will refuse to respond to ping as a security precaution. Your code worked for me.
Try running command.com and type "ping www.domainname.com" to find the IP Address, then try that. But make sure you use a domain that is not refusing pings.
Hope this helps.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Tue Oct 15, 2002 11:16 pm Post subject: |
|
|
Actually, @retcode() doesn't seem to be very dependable
on my system...
I'd try using PING on a www address and pipe the output
to a text file, something like this (limit to 1 ping):
RUNZ command /c PING.EXE www.vdsworld.com -n 1 > c:\ping.txt, WAIT
then load C:\PING.TXT to a list and use @match() to
check for "unknown host". This lets ya know it's NOT
connected (unless the site is down). I guess ya could try
a second site as a safety check if the first one isn't found...
Just a thought.
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Tue Oct 15, 2002 11:32 pm Post subject: |
|
|
Here's an example that seems to work on my system:
| Code: |
LIST CREATE, 1
RUNZ command /c ping.exe www.vdsworld.com -n 1 > c:\ping.txt, WAIT
LIST LOADFILE, 1, c:\ping.txt
if @match(1, "Unknown host")
INFO Not connected...
else
INFO Connected...
end
|
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Tue Oct 15, 2002 11:53 pm Post subject: |
|
|
For the screensaver thing try vdswnd.dll, have to do some dad stuff, can't elaborate ;-(
Time to offline |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Tue Oct 15, 2002 11:56 pm Post subject: |
|
|
BTW, I'm still tryin' to connect the screensaver question
with being connected to the internet... 8O  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
|