Re: More dialer stuff

2004-03-16 Thread paolo
I need the MySQL library to connect to a MySQL database from the revolution
engine posted on a linux server. Where can I find it? I found the
libmysql.dll for windows ... what about the library for Linux?

ciao Paolo



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: More dialer stuff

2004-03-05 Thread Alejandro Tejada
Hi Developers,
 
Check this handler too, based in the function
published
by Ken Ray. It get the COM ports from the Registry
for some modems in my system, but it needs 
more testers that confirms that the key 
AttachedTo is always present for modems in 
every windows 98 machine.

Look in google for AttachedTo to get more
results on this particular registry key.

on mouseUp
repeat with i = 0 to 5
put
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Modem\000
 i  \model into tRegLoc

put queryRegistry(tRegLoc) into tComPort

replace null with  in tComPort -- strips nulls

if tComPort  empty then

put tComPort  return after qwe

put
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Modem\000
 i  \AttachedTo into tRegLoc

put queryRegistry(tRegLoc) into tComPort

replace null with  in tComPort -- strips nulls

if tComPort is empty then put COM info not available
 return after qwe else put tComPort  return
after qwe

end if

end repeat

if qwe =  then

answer No modem available.

else

answer Modem(s) available:   return  qwe

end if

end mouseUp
 
al

=
Visit my site:
http://www.geocities.com/capellan2000/
Search the mail list:
http://mindlube.com/cgi-bin/search-use-rev.cgi

__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: More dialer stuff

2004-03-04 Thread Ken Ray
Ken,

This works in WinXP (both Home and Pro) - I haven't tested it in other
Windows flavors:

on mouseUp
  put GetCOMPort() into tCOMPort
  if tCOMPort =  then
answer No modem available.
  else
answer Modem connected at:   tCOMPort
  end if
end mouseUp

function GetCOMPort
  put HKEY_LOCAL_MACHINE\Software\Microsoft\Ras\Tapi
Devices\Unimodem\Address into tRegLoc
  put queryRegistry(tRegLoc) into tComPort
  replace null with  in tComPort  -- strips nulls
  return tComPort
end GetCOMPort


Can someone test this is other Windows OS'es and let me know if this
works reliably?

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/ 


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Ken Norris
 Sent: Wednesday, March 03, 2004 9:01 PM
 To: [EMAIL PROTECTED]
 Subject: Re: More dialer stuff
 
 
 Hi Martin
 
  Date: Wed, 03 Mar 2004 22:52:03 +
  From: Martin Baxter [EMAIL PROTECTED]
  Subject: Re: More dialer stuff
  
  open file COM3: for write
  write ATDT  dNumber  return to file COM3
  
  dialled my internal winmodem OK -- (XP)
 -
 Thanks so much. That's what's I needed to see.
 
 What's left is to find a way to query XP for the com port 
 that has the modem connected to it. My ISP says I can find it 
 on my Win system, but that won't help a user that doesn't 
 have a clue what to look for. Any suggestions?
 
 TIA,
 Ken N
 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED] 
 http://lists.runrev.com/mailman/listinfo/use- revolution
 


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


More dialer stuff

2004-03-03 Thread Ken Norris
Howdy,

On my Mac, this works fine:

I have a button and a field

on mouseUp
  dial fld 1
end mouseUp

on dial dNumber -- function by Sjoerd Op 't Land
   open file modem: for write
   write ATDT  dNumber  return to file modem:
end dial dNumber

...will it work the same in Windows? Can someone check for me?

Also, what's a good way to detect if the phone has been picked up so I can:

 close modem file

...via script.

TIA,
Ken N.



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More dialer stuff

2004-03-03 Thread Roger . E . Eller
 ...will it work the same in Windows? Can someone check for me?

According to the docs, modem: is only for MacOS. For a PC, you have to 
substitute COM1: - COM4:

I tried, but it gave errors. My modem is internal and on COM3. I am not 
near an analog phone line, so I couldn't test thoroughly... sorry.

~Roger

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More dialer stuff

2004-03-03 Thread Martin Baxter
 ...will it work the same in Windows? Can someone check for me?

According to the docs, modem: is only for MacOS. For a PC, you have to
substitute COM1: - COM4:

I tried, but it gave errors. My modem is internal and on COM3. I am not
near an analog phone line, so I couldn't test thoroughly... sorry.

~Roger

open file COM3: for write
write ATDT  dNumber  return to file COM3

dialled my internal winmodem OK -- (XP)

Martin


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution