1. PDA identification
- Posted by gwalters Mar 08, 2010
- 1181 views
I'm trying to write software to handle multiple PDA's collecting and submitting data. I have written the software in the XP computer using EU and written the software on the PDA using NS Basic. My problem now is how do identify which of the more than one PDA is sitting the cradle for syncing so I can put/get the data in/from the correct folder. Anyone know how to do this? I've googled around a lot and have no results. No problem with only one PDA but more that one presents this issue.
2. Re: PDA identification
- Posted by DanM Mar 08, 2010
- 1198 views
Give the data collection folder in each pda a different, unique name, then have the xp pgm use those differing folder names to distinguish each pda?
Or, if you're not yourself physically setting up the pda's and can't therefore setup folders with differing names, then have the pda pgm, on first use, create a dummy file with a time-stamped name, assume that no pda user will setup the pgm at exactly the same time, and then have xp pgm route data according to those presumed differing dummy file names?
Dan
3. Re: PDA identification
- Posted by gwalters Mar 08, 2010
- 1152 views
Couple of problems here.
XP cannot access any thing on the PDA. Only ActiveSync does that.
ActiveSync controls the XP folder name for each PDA. Not a problem with that, but I don't know which pda is being sync'ed, or better said sitting in the cradle. I guess I could ask the user which one he has, but I wanted to avoid that as they make mistakes.
Give the data collection folder in each pda a different, unique name, then have the xp pgm use those differing folder names to distinguish each pda?
Or, if you're not yourself physically setting up the pda's and can't therefore setup folders with differing names, then have the pda pgm, on first use, create a dummy file with a time-stamped name, assume that no pda user will setup the pgm at exactly the same time, and then have xp pgm route data according to those presumed differing dummy file names?
Dan
4. Re: PDA identification
- Posted by gwalters Mar 09, 2010
- 1180 views
I found a tip which I dont know what to do with on this link.
http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework/topic64117.aspx
Registry.LocalMachine.OpenSubKey("Ident").GetValue("Name","Unknown").ToString();
Does anyone understand this and can you write a rtn for me to get this info?
5. Re: PDA identification
- Posted by gwalters Mar 09, 2010
- 1170 views
Here's a link to what does the trick. It's not in EU. Does anyone know how to transalate it to EU?
6. Re: PDA identification
- Posted by gwalters Mar 09, 2010
- 1133 views
Let me clarify. I can translate the VB code. Can somewone get the CEutil.h and wrap it so I can use it? It would be a nice addition to the downloads.