[Windows Mobile Apps and Games] Xiou:
Eureka!

Just downloaded mortscript I fiddled with it enough to create this script works like a charm. This will edit the registry as well as keep the connection alive! PAPPL this should also fix your dropouts. I'm new here so I don't know how to upload anything so I can't upload the script but basically here are the instructions.

Download and install MortScript

here's a more direct link http://www.sto-helit.de/index.php?module=download&action=view&entry=65

http://www.pocketpcfreewares.com/en/index.php?soft=1448

(if the link doesn't work goto www.pocketpcfreeware.com and search for mortscript)

copy paste this script to notepad and save as KeepSharing.mscr (notice the extention this lets mortscript recognise as a script):

RegWriteString "HKLM", "\Comm\ConnectionSharing", "PrivateInterface", "TIACXWLN1"

While ( wndExists( "Internet Sharing" ))

If regKeyEqualsDWord "HKLM", "\Comm\InternetSharing\Status", "Enabled", 0

SendLeftSoft ( "Internet Sharing" )

EndIf

EndWhile

transfer to ppc phone.

steps to use it:

turn off wifi

click on internet sharing

(you can use either usb or bluetooth doesn't matter which)

click on connect

this will establish data connection

run the script by clicking on the script file

(this will edit the registry once then it sends connects by sending left softkey whenever it detects a disconnect)

now turn on wifi

(if this is not done last the connected clients won't connect properly to the internet)

end of steps enjoy! *by the way, if you copy any script directly to the start menu it gets treated as a program which you can map to a button or to an app launcher

So anyways there you have it. The script basically will stay alive until the internet sharing window is turned off essentially terminating sharing, so the script is not really on an endless loop. If by some chance there is an error and you get an error screen that keeps popping up just end all programs it will end the script as well. If you want to test the script press disconnect and you'll see the left softkey activate to connect again.

in the near future I'll be adding a script that will be running checking to see for the existance of the internet sharing window and execute the script also I think I'll make this script edit the registry and select usb by default also.

Yeah I guess I could make just one script and put a shortcut on the start menu not the start up menu mind you, which will do everything including a shutoff of wifi if it is not already off with a delay before starting it up for sharing.

let me know if anyone's interested

and fluxist thanks a million for sharing your discovery I am proud to contribute to it

adding an updated script ...

So anyways I built a new script still in the same spirit but just cuts the step of having to click on internet sharing at all. Again only to be used after you get the wifi settings correct. Reason is I don't think mortscript can do multiline values such as 168.192.1.1 but oh well maybe some can experiment there.

so here's the steps:

turn off wifi

run script by clicking on the script

turn on wifi

that's it!

name of script is Share&KeepSharing

here's the script:

Run( "\Windows\IntShrUI.exe" )

WaitFor( "Internet Sharing", 15)

SendLeftSoft ( "Internet Sharing" )

While ( wndExists( "Internet Sharing" ))

If regKeyEqualsDWord "HKLM", "\Comm\InternetSharing\Status", "Enabled", 0

SendLeftSoft ( "Internet Sharing" )

EndIf

If not regKeyEqualsString "HKLM", "\Comm\ConnectionSharing", "PrivateInterface", TIACXWLN1"

RegWriteString "HKLM", "\Comm\ConnectionSharing", "PrivateInterface", "TIACXWLN1"

EndIf

EndWhile