[Q] SD card path - Windows Mobile Development and Hacking General

Hi,
I created an app that reads a csv file from storage card. This file should be created with excel from a PC and saved to the connected device's storage card with a macro.
My problem is that I can't find which path I sould use from the excel macro to directly save it to the SD.
Can you please help?
Thanks

You can't do it directly. Although Explorer shows your mobile device as being accessible from ‘My Computer’, in reality it is using ActiveSync to get at it. Without ActiveSync installed there is no 'Mobile Device' visible.
From a command line there is no direct method to get to your device, but you can do it indirectly in a two-step process.
Firstly, download and install the Windows Mobile Developer Power Tools - WindowsMobilePowerToys.msi from here
One of the utilities in the above is CECopy. It runs as a command line program using “DEV:” to represent your mobile device. The two steps now become:-
1.) Save your spread sheet to the hard disk as C:\TEST.XLS for example, then use:-
2.) CECOPY C:\TEST.XLS DEV:\Storage Card\TEST.XLS
It should do the trick, I have just tested it on WinMo 6.1 and it works a treat! It goes without saying that ActiveSync must be installed on the PC and the mobile device connected. Good Luck!
Code:
C:\PROGRA~1\WI1C69~1\CECopy>cecopy readme.txt dev:\readme.txt
Connected.
Syncing from <readme.txt> to <dev:\readme.txt>
"readme.txt" Copying (New) ... 2/2 k ok
C:\PROGRA~1\WI1C69~1\CECopy>

It worked fine, thank you

Related

Problem downloading from PC to storage card

Hi All,
Newbie here so please be nice :wink:
I have only had my XDA Mini for a few weeks now and have just tried to copy files from the PC straight to the storage card via Activesync. I open Activesync and click on 'File' then 'Explore'. The explorer window opens but I get this message...
"Critical communications services have failed to start. Try resetting the mobile device, and then connect again."
I have reset the mini and rebooted my PC many times but it has made no difference. What does it mean and how do I fix this problem?
I believe this is an issue with the built in XP firewall... Install another firewall, disable the built-in one and try again.
Hi,
I have the problem as well from time to time. As an alternative I found out, that you can place files in \My document\<Device name>_Syncronised Files (or similar, sorry I use the german version). If you acitivate ActiveSync feature of syncing files, these files will be transfered to the device. You cannot access the memory card this way but at least you can transfer files even if the 'Explore' funtion is not working.
regards
marco
Thanks Guys.
Marco, I have been downloading via My Documents without any problems. The problem here is that I am limited to the memory on my device. I need to download straight to the Storage Card as the files are larger then the internal memory.
Sunoke, ill try the Firewall thing and see how I go.

Can't Copy Files From 9100 To PC

Hello all!
Many days now i have a problem which i can't solve after all my tries.
I own a Qtek 9100 with the WWE 1.6.7.1 Rom and the ActiveSync v4.1.0 (Build 4841). The problem is that i can't cut or copy files from the ppc to pc.
Neither the files are in main memory nor in the storage card. When i choose to copy the progress bar is shown and the little blue cubes go till end but then no file/s in the pc.
Vice versa-from pc to ppc-there isn't any problem.
Please enlight me!
TIA
Have you tried to disable the software firewall (if you have one) before connecting the ppc to the pc?
That helped me.
Foxtrot
I don't have a firewall. Don't even the Windows' one.
Anyone that can help?
bill_viper said:
Hello all!
Many days now i have a problem which i can't solve after all my tries.
I own a Qtek 9100 with the WWE 1.6.7.1 Rom and the ActiveSync v4.1.0 (Build 4841). The problem is that i can't cut or copy files from the ppc to pc.
Neither the files are in main memory nor in the storage card. When i choose to copy the progress bar is shown and the little blue cubes go till end but then no file/s in the pc.
Vice versa-from pc to ppc-there isn't any problem.
Please enlight me!
TIA
Click to expand...
Click to collapse
I am experiencing this same problem on my desktop. However, I can copy fine to my laptop.
I am still trying to find out what exactly is causing it. Uninstalling & reinstalling ActiveSync did not help. However, I have found that it is copying the files from my Wizard to a temp folder on the PC. It is just not moving it from the temp folder to the true destination. If it helps at all, the temp folder is "C:\DOCUMENTS AND SETTINGS\<username>\LOCAL SETTINGS\TEMP\_PEGEX~1" (replace "<username>" with your Windows login username). For now, I try to copy a file & let ActiveSync put it into that folder, then I go to that folder and move it to where I want it.
Thanx for the reply shdwphnx but there isn't any folder with the name _PEGEX~1. I searched in TEMP for anything similar folder but no luck.
I uninstalled/reinstall activesync, did a firmware upgrade to ppc but still nothing.
I've found a solution for this problem in this site. Here it is:
If you are having problems with partial synchronizations or missing notes, try re-registering the OLE32.dll. This is done by clicking on "Start" and then select "Run". Then in the box for the Run Command and type: Regsvr32.exe %Windir%\System32\Ole32.dll
Download the latest version of Activesync v 4.5 and run on winxp.secondly check your usb cable connectivity of the phone with your pc.

missing sync problem with mac osx

my device just came in yesterday!
tried to establish the sync with osx
and the missing sync kept telling me cann't istall missingsync.cab to my athena!
anyone who can provide the missingsync.cab file?
also tried my hermes but works perfectly!
It in the Missing Sync for Windows Mobile.app file on your Mac. Go to the Missing Sync for Windows Mobile.app icon in your Applications/Missing Sync for Windows Mobile folder. - right click and 'Show Package Contents'
Then click on Contents/Resources folder. MissingSync.CAB is in there. Take a copy or drag it to your desktop with the alt key pressed. You then have to get it onto your device - either with an sd card or via bluetooth. Run it and it will install. You will also want to look at this thread.
http://forum.xda-developers.com/showthread.php?t=301542
Hope this helps,
Russ

file transfer xperia to winXP

hello,
i have a problem: I'm not able to copy files from my X1 to WinXP.
I have the cellphone USB connected and activeSync is on, which allows me to browse through my x1 folders. But everytime i try to copy/paste files (to backup) to my computer, a message says copy&convert files but then i get nothing but an empty folder on my pc.
Anyone who knows how to fix the issue??
thx for any help,
greetings!
asnowcappedromance said:
hello,
i have a problem: I'm not able to copy files from my X1 to WinXP.
I have the cellphone USB connected and activeSync is on, which allows me to browse through my x1 folders. But everytime i try to copy/paste files (to backup) to my computer, a message says copy&convert files but then i get nothing but an empty folder on my pc.
Anyone who knows how to fix the issue??
thx for any help,
greetings!
Click to expand...
Click to collapse
I have the same problem too,need help!! anyone knows how to fix this?thanks for any help.
Have you tried disabling file conversion?
Go to Activesync on PC then click Tools -> Advanced Tools -> Edit File Conversion Settings and uncleck the tick box.
If you are trying to copy files from the memory card then the best way is to put the device in Disk Drive mode. Connect device then click Start->Settings->Connection tab->USBtoPC->Disk Drive
I encountered this the other day, I think you can only copy files from the SD card to PC on the phone using active sync.
If however, if you want to copy files from your phone's internal memory, to your PC, i used a differnt program to do this, think it was either called 'My Mobiler' or 'Jeyo Mobile something' so try those programs!
I find ActiveSync to be an extremely poor program, I recommend using 3rd party apps to get full control over your phone!
I tried to use 3rd party application such as my mobiler, still encounter the same problem,any other ways?what the main problem that make this happen?help anyone?

[SOLVED] HTC Touch - retrieve contacts with broken touch screen

Hi,
I have googled for several hours and found a lot of solutions, but there's always one step, which I can't pass through!
The situation is: HTC touch, everything is working, display is working, but the touch control doesn't.
The problem is that phone connects to pc as hard drive. So I don't have access to ActiveSync - when usb is connected it shows internet sharing tab. Because I cannot control anything via touchscreen, I can't get in any settings ... so options like sync with outlook, mymobiler ... are not able to be used.
I created .cab which should change registry entry to show connection type selection when usb plugged, but I can't confirm installation (is there a way to create cab which is installed without confirmation)- I can control the phone with cursor button and red/green buttons - so I can use some programs like tot. commander ... but I can't input any values, i can't access any options on soft keys ...
Does anybody have some idea ... I'm running out options ...
Thanks
Hard reset seems to be the obvious step.
Edit: sorry, I overlooked your post title, did you consider repairing your lcd or digitizer?
Try to find the program that actually toggles the USB. Some CPL only start a program that does the job finally. In the windows directory search for *usb* with TotalCommander.
Probably also BT connection to ActiveSync could be activated for RemoteAccess?
What happens if you do not have an SD card in the device? Will it fall back from Mass storage to AS?
Total Commander can also copy a reg-file to the registry, but for that you have to be able to select the options in TC - not an option either I think.
You could also use MortScript to write to the registry - must be installed first, however.
Probably there is a program that can map the softkeys to hardkeys?
What about AEButtons+
Thanx for all advices, but:
1. I wasn't thinking the screen, because that's my sister's old phone, and I need to get her PIM into new one (and throw this one against the wall) ... in the end she can manualy rewrite contacts, because listing in people is possible with cursor - but sms, call logs etc. will be lost and I'd like to save her from hours of manual writing hundret of contacts.
2. When connect without SD, no active sync connection or other selection appears - only internet sharing.
3. Copiing file in Total Commander is impossible to finish - by holding down the cursor I get menu (open, copy, send), but to comlete process I'd have to press softkey with 'ok'
4. I cannot establish any bluetooth connction, because it always require the code, which I'm not able to write withou touchscren
5. Mort script is unfortunately not installed
6. AEButtons could be good - but as it comes 'from an unknown publisher' - I have to confirm installation - what I'm not able to ...
... I'm slowly givin' up ... disabled digitizer always brings me into dead end.
I also thought about dump ROM and run it in emulator - but I've never done this and it would probably take more time to learn it then manual rewrite of contacts ...
What about executing PPCPimbackup on the device? This will save/restore the stuff you need on the device
...unknown publisher, is it?
tobbbie said:
What about executing PPCPimbackup on the device? This will save/restore the stuff you need on the device
...unknown publisher, is it?
Click to expand...
Click to collapse
Right - yes/no ...
When you connect the phone to the pc, do you have access to it´s storage? If yes, just grab the file PIM.VOL. Now, install microsoft emulator and replace this file. Now you can backup (and even sync if you install activesync) with the emulator.
You will need :
device emulator 3 (http://www.microsoft.com/downloads/...af-12e3-4b2f-a394-356e2c2fb114&displaylang=en)
emulator images : http://www.microsoft.com/downloads/...a8-1dd7-426f-a913-4f370a65a582&displaylang=en
bsinclair said:
When you connect the phone to the pc, do you have access to it´s storage? If yes, just grab the file PIM.VOL. Now, install microsoft emulator and replace this file. Now you can backup (and even sync if you install activesync) with the emulator.
You will need :
device emulator 3 (http://www.microsoft.com/downloads/...af-12e3-4b2f-a394-356e2c2fb114&displaylang=en)
emulator images : http://www.microsoft.com/downloads/...a8-1dd7-426f-a913-4f370a65a582&displaylang=en
Click to expand...
Click to collapse
Man! You're my (resp. my sister's) savior! I don't have access to storage, but I've used total commander - copy to clipboard / paste from clipboard on sdcard and that allowed me to download it. Now I tried to replace pim.vol in new device - Topaz with lates Energy ROM - sms are not restored, but contacts and calendar are ... thats 90% what I needed!
Anyway I'm going to try emulator to get those sms ... but I'm sutisfied for now!!!
Changing to [Solved]
THANX!
The sms should be in cemail.vol, but I can't reach it ... the clipboard unfortunately doesn't work for this file, but sms weren't the main goal ...
You're welcome buddy. I always use the emulator for this kind of thing as it is safer, will not hurt my phone.
dajbyco said:
Man! You're my (resp. my sister's) savior! I don't have access to storage, but I've used total commander - copy to clipboard / paste from clipboard on sdcard and that allowed me to download it. Now I tried to replace pim.vol in new device - Topaz with lates Energy ROM - sms are not restored, but contacts and calendar are ... thats 90% what I needed!
Anyway I'm going to try emulator to get those sms ... but I'm sutisfied for now!!!
Changing to [Solved]
THANX!
Click to expand...
Click to collapse
Dajbyco, could you please explain what you did cause I have exactly the same problem with my brother's phone. The screen is dead on his HTC Touch pro 2 and we need to retreive his contacts and calendar. I've downloaded Total Commander, but I don't know how to access the pim.vol file.
Thank you!
If the Active Sync Connection still works you can do everything remote via PC.
tobbbie said:
If the Active Sync Connection still works you can do everything remote via PC.
Click to expand...
Click to collapse
I can't do anything since I don't see what I do. The screen is black. So I can't reach the Active Sync Connection settings.
You don't need to access the AS settings on the device if it is not in "Mass Media mode". There is a remote management software that allows to see what is on the screen of your device. The only one I know that installs without any device-side confirmations is Everywan: http://www.sparus-software.com/en/download/software/everywan-remote-support,232.html
For accessing the options for Active Sync on the PC you do that directly in AS on the PC. To get best advice, could you tell what your problem is in detail?
So most important question:
Does the device connect to the PC in "Active Sync Mode"?
Same problem - how can I copy to clipboard
dajbyco said:
Man! You're my (resp. my sister's) savior! I don't have access to storage, but I've used total commander - copy to clipboard / paste from clipboard on sdcard and that allowed me to download it. Now I tried to replace pim.vol in new device - Topaz with lates Energy ROM - sms are not restored, but contacts and calendar are ... thats 90% what I needed!
Anyway I'm going to try emulator to get those sms ... but I'm sutisfied for now!!!
Changing to [Solved]
THANX!
Click to expand...
Click to collapse
Hi, I have the same problem. What do you mean you used total commander and copy to clipboard? I have total commander open but when I connect my phone with the computer it does recognise the connection but it doesn't show any storage (shows drive but no access to it). So what can I then copy and how?
Many thanks!!
Petr

Categories

Resources