UltraFine Posted October 20, 2008 Share Posted October 20, 2008 (edited) hi, this program is almost done but*i am using rasdial.exe command to disconnect from internet but i don't know it's command to connect.how to connect to internet (using a DialUp connection)? Edited October 20, 2008 by L0veUK Link to comment Share on other sites More sharing options...
Andreik Posted October 20, 2008 Share Posted October 20, 2008 how to connect to internet?You can be more accurate?Anyway you should read in help file about TCP functions. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
UltraFine Posted October 20, 2008 Author Share Posted October 20, 2008 You can be more accurate?Anyway you should read in help file about TCP functions.Thanks fro the quick reply.there are many TCP functions and i don't know how to use them. also one more problem is that i want to use a PNG in this program instead of bmp but PNG files are not displayed. Link to comment Share on other sites More sharing options...
Andreik Posted October 20, 2008 Share Posted October 20, 2008 Thanks fro the quick reply.there are many TCP functions and i don't know how to use them. also one more problem is that i want to use a PNG in this program instead of bmp but PNG files are not displayed.What exactly suppose to do your script?If you want to use PNG you should use GDI+. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
UltraFine Posted October 20, 2008 Author Share Posted October 20, 2008 What exactly suppose to do your script?i am creating something just like the following program but more advance.*it's a default net connector which connects to internet and disconnect.and now my problem is just to know, how to connect to internet usin a dialUp? Link to comment Share on other sites More sharing options...
Zedna Posted October 20, 2008 Share Posted October 20, 2008 (edited) Look at my AutoDial project. It's in my signature but after server move it's not accessible now so here it's as attachment - see autodial_eng.txt inside ZIP: Look at sources of rnahelpxp.exe - it's my Delphi helper app which is called from my AutoIt's AutoDial project to disconnect/connect/test connection. There are used API functions from RASAPI32.DLL: function RasEnumConnections; external 'RASAPI32.DLL' name 'RasEnumConnectionsA'; function RasHangUp; external 'RASAPI32.DLL' name 'RasHangUpA'; function RasGetConnectStatus; external 'RASAPI32.DLL' name 'RasGetConnectStatusA'; function RasDial; external 'RASAPI32.DLL' name 'RasDialA'; function RasGetErrorString; external 'RASAPI32.DLL' name 'RasGetErrorStringA'; EDIT: Also search for "autodial" or "RasDial" on this forum for more infoAD.ZIP Edited October 20, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
UltraFine Posted October 20, 2008 Author Share Posted October 20, 2008 @ Zedna thanks, i will try it and also search more. thanks once again. Link to comment Share on other sites More sharing options...
Zedna Posted October 20, 2008 Share Posted October 20, 2008 (edited) @ Zednathanks, i will try it and also search more. thanks once again.Also look here: http://www.autoitscript.com/forum/index.ph...st&p=380566and here: http://www.autoitscript.com/forum/index.php?showtopic=49354 Edited October 20, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
oMBRa Posted October 20, 2008 Share Posted October 20, 2008 how do u disconnect from internet with rasdial.exe? Link to comment Share on other sites More sharing options...
Zedna Posted October 20, 2008 Share Posted October 20, 2008 how do u disconnect from internet with rasdial.exe? rasdial connection_name /DISCONNECT Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
UltraFine Posted October 20, 2008 Author Share Posted October 20, 2008 @ Zedna you are really great, thanks for the help once again. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now