Executable to disconnect - 8525, TyTN, MDA Vario II, JasJam General

Does anyone know of an executable file to disconnect a GPRS/3g connection.
i.e one click on the exe will disconnect the active connection. But I specifically want to create a shortcut to this exe so I can call this within another program.
thanks

Related

Internet Connection Problems

Hi All
I cannot get my application to create a GPRS connection when it starts. For example when Pocket IE starts it requests a GPRS connection and a new connection is created. I somehow cannot get that programatically using J2ME - java application. I cannot call the connection manager api from within j9.
I was wondering does anyone know of a simple exe programme that I can call which will create a GPRS connection.
There are many resources detailing how to create a GPRS connection
http://www.pocketpcdn.com/articles/conn_mgr.html
But I am stuck as how to do it as I only know Java.

Missing Bluetooth file trasnfer in WM2005 JASJAR

File Explorer does not support Bluetooth file trasnfer , I am using JAS/JAR running WM2005. AM I missing something?
there is a registry change you can make to add support for this - see http://wiki.xda-developers.com/index.php?pagename=Universal_Registry under To change the ability to receive files via Bluetooth (OBEX)
i've not tried this myself, though!
If you don't mind spending on 3rd party software then Resco File Explorer may be your best set and they now have a WM5 compatible version.
Likewise to transfer from your PC to the phone your windows PC file explorer should manage it provided your device is paired. But don't forget to turn on the bluetooth on the device and also the "accept all incoming beams" as this is often confused as being mandatory for IR transfers only.
Kind Regards
access is denied
when i try to change values it give me error of access is denied, can anybody help me
failed
followed all the changes mentioned in this post and try to send a file to my PC. It recognizes my PC but when i click on tap to send...it tries for a few seconds and then gives a status saying failed
I think it is at your PC end, and I have had similar problems depending on the bluetooth setup that I had on the pc, I could activesync on bluetooth, but not send files, yet on an alternative machine I could do both. They were running different bluetooth dongles and thus settings and drivers.

ActiveSync every 5 minute

Hi, new to the form. This is a useful place!
Am with O2 Mini S, 1.5.70, AS 4.1, XP sp1, Oulook 2k3.
Does anyone notice AS runs every 5 minutes? I first tried the Add Server Source hack by WM5 Axim users, but didn't work. I couldn't find any registry entry that relates to the sync frequency.
Apart from suffering the unplug usb and wizzard freeze problem seen here. AS syncs every 5 minutes really annoys me. I need to rely on AS's tcp via bluetooth to use networking on the device and AS is heavy weight process.
So far, I have some solutions:
1. kill the wce* processes, which leaves the device connected (TCP stack still works, USB charges) but AS on the desktop says disconnected. Your wizzard's AS will still TRY to sync every 5 minutes, but it'll return quickly because the desktop ain't listening. But remember to double click AS on your desktop when you need to sync stuff again.
2. Replace the useless MS bluetooth stack with the widcomm stack taken from the Atom? Then use the PAN profile for connection. Disconnect PAN and run AS via bt from the device when needed. (But PAN on PC is not always possible as company laptops will almost certainly not allow internet connection sharing, never mind allowing you to have BT PAN enabled in the first place)
So afterall, does anyone know how to re-enable manual syncing? Some registry hack? AS 4.x is such a big step backward, I already have to disable firewall and VPN service from my company laptop when connecting, AS 3.8 was so much better when I was with an ipaq or SP3i. May be a sticky with enough post on it to get M$' to fix AS.
There are numerous threads relating to AS 4.1 and starting every x mins .... Please try to search next time....
Anyway, the simplest way is to create a dummy server entry in AS (On the mobile device) then when creating it uncheck all the "MAIL / NOTES / ..." entries in the advanced section. Once the Server has been created you can modify the server sync to set it to never.
For more info have a look through this forum for other threads on AS 4.1.
sorry if that has been talked about alot before, I suspected it. But I did a search before and couldn't find related stuff on this site, plenty of firewall/VPN stuff found which I also had a problem with...
The Add Server Source hack has been widely referenced in the dell Axim WM5 forums. As I mentioned, it didn't work for me, my ROM is very recent, as the phone is new for two weeks. I couldn't find any entry in the device registry that suggests it will run at any schedule! Although I can see peak time settings...etc but none of the scheduling options in registry.
Am really wondering if this is a problem with the specific ROM.
Yeah, I aplogise, am I bad, didn't read all your post....
Have you got any other apps that try to update regularly like Weather plugins etc?
I can agree with humps on that.
I've got a new k-jam and tried to stop AS4.1 from syncing when not connected to pc, by creating a fake server then through options setting it to manual sync.
No luck however as it still comes up in the list of running programs whenever i check :evil:
fix for constantly syncing when USB-connected
Sorry in advance if this isn't the right place for this.
I was so mad about Activesync 4.5 re-syncing during two out of every five minutes when connected via USB that I implemented a workaround that might prove useful to others as well. The result is that you can click an icon on your desktop computer and instantly change whether your handheld willl connect to its partnership for syncing or as a guest for doing other work (or just charging). Most of my data syncs wirelessly with an Exchange server anyway, and MightySync and PocketController function independent of the ActiveSync partnership. Ah, the peace ;-)
Here are the steps:
1. Change HKLM\Software\Microsoft\Windows CE Services\GuestOnly to "1".
2. Export HKCU\Software\Microsoft\Windows CE Services\Partners\[your device's partnership key] to a .reg file with name like "partnership.reg".
3. Create a batch file or script to stop WCESMGR, import the .reg file (regedit /s = silent) and restart WCESMGR. Name it like "partnership.bat".
4. Make a copy of the .reg file, edit it to *delete* the reg info (place a minus sign inside the beginning bracket of each key/subkey name), and name it like "guest.reg".
5 Create a new batch file or script to stop WCESMGR, import the guest.reg file and restart WCESMGR. Name it like "guest.bat".
6. When you execute "guest.bat," your device's partnership is deleted, and with the "GuestOnly" key enabled and no partnership found, ActiveSync will connect it as a guest without asking. After you execute "partnership.bat," ActiveSync will be ready to recognize your device on connection and sync.
7. Now, create a batch file or script that allows you to choose which .bat to execute, so you have one thing to click to go back and forth between connection types.
As will be obvious, I'm not a programmer AT ALL. I use pskill to clobber WCESMGR, and CHOICE.EXE copied form Server 2003 to choose connection type. It could be done more elegantly...but it sure works.
Only caveat: Later changing of syncing settings might require re-export of .reg key and recreate/edit of.reg-delete file.

Problem with Internet Passthru via ActiveSync

I had all this working until I did the new Cingular 8125 update, and at the same time I updated ActiveSync 4.2 ... But I don't think it is necessarily one of these causing it ... could be emoze install.
Whenever I try to go to anything on the internet (mail, browser, other apps) while connected to ActiveSync I am blocked. I didn't use to have this problem.
From the browser, if I try to enter a URL I get the following: "The page you are looking for cannot b found due to unknown error 0x80072f78."
Everything works from GPRS/EDGE, but not while connected to ActiveSync.
- ActiveSync is set for connection to "Automatic" (I tried both My Work and Internet)
Any ideas?
I have the same problem
I have the same problem as well.
Me too!
As soon as you connect your phone to active sync it will automatically use your computer's internet connection as the default, so bt and/or gprs will be disabled, this feature is by design unfortunately...
If you connect your phone just to charge it or take remote control with something like SOTI Pocket Controller then disable the USB connection within active sync and make a TCP/IP connection for SOTI Pocket Controller if necessary.
That is the problem... Activesync isn't serving as that Conduit anymore. Before the latest firmware release it would pass the connection through and you would use your laptop/desktop PC as the internet connection and override the GPRS or other network settings.
Now, when you connect to Activesync, it is returning an error. This seems to be a problem in either the Activesync 4.2 or 8125 new release. The problem starts as soon as you load these. Nothing else loaded, etc.
Anyone have any ideas on this? It is troubling as my automatic updates no longer work when I am syncing and aren't there now when I disconnect.
I also use this for demos showing mobile web sites.
Please help!
I have the same problem..anyone can help
Directly from Microsoft:
"To all those who have had problems with connecting to the internet from the device when upgrading from ActiveSync 4.1 to 4.2:
ActiveSync version 4.2 made a change to how it interacts with the Windows networking stack to use Layered Service Providers (LSPs) on outgoing Desktop-Pass-Through connections. This allows for improved compatibility in environments where connections to the internet must be passed through these LSPs (ISA Proxy is one such example).
Unfortunately, it appears this change has caused some issues for a small segment of users who have LSPs that interfere with ActiveSync communication.
There is a registry key fix which will essentially remove this change.
Please download and rename the attached text file with the .txt extension to the .reg extension. In other words, change the file LSPvalue.txt to LSPvalue.reg. Afterwards, please double click on the newly renamed .reg file and click on the "Yes" button.
This should resolve your issues.
Thanks,
Edington
--
Edington Watt
Windows Mobile Platform
Microsoft Corp."
Here is the reg patch. It works...
I had the same issue. I didn't apply that registry patch but I did change something in activesync. I did "File" > "Connection Settings" and in the drop down on the bottom that says "This computer is connected to" the default is "Automatic". I set it to "The Internet" and I've gotten connectivity ever since.
That did it! You rock!!
BTW, I tried the other suggested fix of the connection settings, which did not work. The registry patch is the only fix I know of that works!
beachside said:
That did it! You rock!!
BTW, I tried the other suggested fix of the connection settings, which did not work. The registry patch is the only fix I know of that works!
Click to expand...
Click to collapse
for me, the activesync-settings change worked, no reg patch needed.
so it is at least worth a try...
m.
Ghaled said:
There is a registry key fix which will essentially remove this change.
Please download and rename the attached text file with the .txt extension to the .reg extension. In other words, change the file LSPvalue.txt to LSPvalue.reg. Afterwards, please double click on the newly renamed .reg file and click on the "Yes" button.
This should resolve your issues.
Thanks,
Here is the reg patch. It works...
Click to expand...
Click to collapse
I sync my PDA with two PC's (home and office). Shall I install the .reg in both the computers, ore the home one is enough? I don't have administrative rights on my office computer
Hi guys, currently encountering this problem. i can access to the internet but can't access msn messenger. can anybody pls help?
Still having problems connecting...
applied the reg patch, even rebooted & tried changing the connection setting to Internet. Still not working... anyone have any other ideas?
Ghaled said:
Directly from Microsoft:
"To all those who have had problems with connecting to the internet from the device when upgrading from ActiveSync 4.1 to 4.2:
ActiveSync version 4.2 made a change to how it interacts with the Windows networking stack to use Layered Service Providers (LSPs) on outgoing Desktop-Pass-Through connections. This allows for improved compatibility in environments where connections to the internet must be passed through these LSPs (ISA Proxy is one such example).
Unfortunately, it appears this change has caused some issues for a small segment of users who have LSPs that interfere with ActiveSync communication.
There is a registry key fix which will essentially remove this change.
Please download and rename the attached text file with the .txt extension to the .reg extension. In other words, change the file LSPvalue.txt to LSPvalue.reg. Afterwards, please double click on the newly renamed .reg file and click on the "Yes" button.
This should resolve your issues.
Thanks,
Edington
--
Edington Watt
Windows Mobile Platform
Microsoft Corp."
Here is the reg patch. It works...
Click to expand...
Click to collapse
Thanks for the activesync fix
Thanks, the patch worked. It worked on active sync before but i reinstalled it and something must've happened.
internet pass-through wm6 activesync 4.5
I had same problem!
Now I solved unticing in ppc
start>settings>usb to PC
This changes the type of connection LAN to ???
Now have internet through my desktop
Good luck to all
I have the same problem
I have the same problem
Applied the Reg but problem remains!
I applied the reg file, and ensured that the regiwtry key was added to my PC. restarted both the PC & PPC. But unf the problem still there.
Any one can help?

how to start a program on a PC from the PDA

Hi,
I need to start a program on my PC from my XDA (connected by ActiveSync 4.5). I'm running Windows Mobile 5. How could this be done?
Regards, Gerrit
therminal services
and vnc
are 2 ways to do it
I don't want to see the PC's screen on my PDA (will be very slow anyway). I just need to be able to start a program (for example "notepad.exe") on the PC. I don't have to see the program on my PDA. It just has to run on the PC. That's all!
Regards, Gerrit
I think it is only possible to start an application on the device
from desktop with RAPI. The other way is not possible with
ActiveSync. You can write your own server that runs on the desktop
and a client on the ppc. Then send commands from pda client
to the server that starts then your application.
Houser
Hello Hauser,
Problem is that the command has to be possible both with ActiveSync (cable) and when syncing with GPRS/UMTS (wireless). Could this be done with RAPI?
Regards, Gerrit
If you use GPRS then you cannot use ActiveSync.
ActiveSync is only possible if you connect via USB.
RAPI can only be used from a desktop application to communicate with
the pocket pc, copy files, start applications on the PPC,...
So what do you want to do exactly with your app?
Houser
when connected to the pc using activesync or wifi or bluetooth PEN
make a normal network connection
and it should be transparent for the applications as they just see the connection
Hi Houser,
1. My PDA application exports lines from a PDA database to .CSV files.
2. On my PC I have to run an import & conversion program to load the exported lines into a server database
3. My PDA has to import other (new) files into the PDA's relational database
With USB syncing this works fine. I now have to run the PC's program manually. I want to control the whole process now from my PDA.
That's all...
Regards, Gerrit
If I remember right, a drive symbol is mounted on "My Computer" when Active Sync connects the device, right? So has anyone already tried to use an autorun enrty (autorun.inf like on CDs) on the PocketPC?
broekhuis said:
Hi Houser,
1. My PDA application exports lines from a PDA database to .CSV files.
2. On my PC I have to run an import & conversion program to load the exported lines into a server database
3. My PDA has to import other (new) files into the PDA's relational database
With USB syncing this works fine. I now have to run the PC's program manually. I want to control the whole process now from my PDA.
That's all...
Regards, Gerrit
Click to expand...
Click to collapse
So ok.
I would do this as follows:
1) Write a desktop application that uses ActiveSync RAPI to start you PDA export application
2) Then in your desktop app use RAPI to copy the file from PDA to desktop
3) In your desktop app start the import & conversion program with the file from the pda
4) If you want to import a file to the PDA database you can copy with RAPI to pda and then start with RAPI the pda import application
So I would not go on searching how to start a app on desktop from pda. Let the desktop application handle it.
Houser
Hi,
Problem is that a technician on location (at a customer or at home) should be able to synchronise, without going to the office. In other words: the PDA is the device that starts the communication process, not the PC! This is also what is so problematic...
Regards, Gerrit
about autorun on the pda then i dont think it will work havent made the test
but modile devices like
gmail drive
digicams
and such dont get drive letters
and i think only devices which get drive letters can use
autostart because those other devices dont seem to be "really" connected untill one click on them
you could write a service for the pc which would be listening for a network connection from the pocketpc
you could make it so it would run any applications you told it
you could give it a parth and arguments
then as soon as you got a network connections by what ever means your pda could start sending commands to the pc which it would then execute as in start programs
of cause it does require you to code a bit of c++ or .net but not tooo complex stuff if one is a programmer
Two points:
The PDA is not mounted as a drive, ActiveSync controls all access to it (even though it is integrated in the explorer) so autorun.inf can not work.
Redugar is right, for you purpose - accessing the PC directly and by remote, you need a little server app on the PC. Just use windows sockets to listen to a connection.
On the PPC side you can use the constant ppp_pear when the device is synced to get the PC address and the regular IP (I assume you have a static IP) for access via GPRS.
I did something like this a couple of years back - a server on the PC that checks a page for updates and provides them to a device when it connects and asks for them.
salling software
You might want to look into this company http://www.salling.com/Clicker/windows/scripts.php
http://www.salling.com/forums/viewforum.php?f=15&sid=45e42aa57aeb994b7b02e8ab12dc1794
Their software controls programs such as PowerPoint, WMP etc, might be a script out there that you could modify to open any program. Connects via BT and WiFi. Works real nice with my wizard with my MCE Dell running Toshiba BT Software.
About Salling Clicker..
anothersmith said:
You might want to look into this company http://www.salling.com/Clicker/windows/scripts.php
http://www.salling.com/forums/viewforum.php?f=15&sid=45e42aa57aeb994b7b02e8ab12dc1794
Their software controls programs such as PowerPoint, WMP etc, might be a script out there that you could modify to open any program. Connects via BT and WiFi. Works real nice with my wizard with my MCE Dell running Toshiba BT Software.
Click to expand...
Click to collapse
Yeah. Salling Clicker is a great software for starting or ending programs on your pc using bluetooth or wifi! the first time i installed the software,i was amazed and i played a prank on my sister.she thought that there was something wrong with the computer because it started itunes/powerdvd on its own... and i was in the other room controlling my pc..hahaha...
i've Been looking for a "script" that'll allow you to open any file/program (so are a lot of people who use salling clicker)..been following it up and As far as i know, there is still no Salling Clicker "script" that allows you to open any program on your pc.. you have to make a "script" specific to the program you want to start/control/stop.
Houser said:
If you use GPRS then you cannot use ActiveSync.
ActiveSync is only possible if you connect via USB.
RAPI can only be used from a desktop application to communicate with
the pocket pc, copy files, start applications on the PPC,...
So what do you want to do exactly with your app?
Houser
Click to expand...
Click to collapse
What?
ActiveSync can work through Bluetooth or Infrared as well.
Also, why go through all of this trouble? Run an SSH server on the PC. SSH into the PC.
C:\Documents and Settings\Administrator> start "C:\Program Files\My Program Path\My Program.exe"
Doesn't this do what you want?

Categories

Resources