forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


SCR in VDS Window

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
noveltech
Contributor
Contributor


Joined: 16 Sep 2002
Posts: 105

PostPosted: Tue Oct 15, 2002 4:36 pm    Post subject: SCR in VDS Window Reply with quote

is there way to open a scr in the vds window?

all feedback welcomed and invited!

NT
Back to top
View user's profile Send private message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Tue Oct 15, 2002 7:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Oct 15, 2002 8:37 pm    Post subject: Reply with quote

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 Smile

_________________
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
View user's profile Send private message Send e-mail
noveltech
Contributor
Contributor


Joined: 16 Sep 2002
Posts: 105

PostPosted: Tue Oct 15, 2002 9:20 pm    Post subject: Thanks Mac Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Oct 15, 2002 10:48 pm    Post subject: Reply with quote

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. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Oct 15, 2002 11:16 pm    Post subject: Reply with quote

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. Wink

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Oct 15, 2002 11:32 pm    Post subject: Reply with quote

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 Smile

_________________
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
View user's profile Send private message Send e-mail
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Tue Oct 15, 2002 11:53 pm    Post subject: Reply with quote

For the screensaver thing try vdswnd.dll, have to do some dad stuff, can't elaborate ;-(

Time to offline
Back to top
View user's profile Send private message AIM Address
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Oct 15, 2002 11:56 pm    Post subject: Reply with quote

BTW, I'm still tryin' to connect the screensaver question
with being connected to the internet... Confused 8O Wink

_________________
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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group