Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / December 2005

Tip: Looking for answers? Try searching our database.

How to get "data" onto an emulated PPC

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sam Malone - 30 Dec 2005 15:01 GMT
I'm writing an app for a PPC which will use data transferred from a PC when
cradled. The program to put the data onto the PPC is written and works but
I'd like to develop and test the app (that will run on the PPC) using a PPC
emulator. Everything about that (using VS2003) is easy except getting the
data onto the emulated PPC. I (so far) haven't figured out how to let the
app on the emulator get at the same data that the real PPC will use. Am I
being particularly dense? Is this something that can be done or will I have
to test on the real PPC?

Thanks,
  Bob
Sam Malone - 30 Dec 2005 15:20 GMT
Ah HAH!! I just figured it out.
I simply added the data files to my "Project" and when I run the app in
debug mode deployed to the emulator, it copies them there for me.

If there's a better, more intelligent way, please feel free to enlighten me.

TKS

> I'm writing an app for a PPC which will use data transferred from a PC
> when cradled. The program to put the data onto the PPC is written and
[quoted text clipped - 7 lines]
> Thanks,
>   Bob
Ginny Caughey [MVP] - 30 Dec 2005 17:56 GMT
Sam,

That's the easiest way, and I use it a lot for testing.

Signature

Ginny Caughey
.NET Compact Framework MVP

> Ah HAH!! I just figured it out.
> I simply added the data files to my "Project" and when I run the app in
[quoted text clipped - 16 lines]
>> Thanks,
>>   Bob
Dick Grier - 30 Dec 2005 19:27 GMT
I agree with Ginny, that's what I do... You can map a drive and folder to
the emulator file system, and use that (which I have done, too).

Dick

Signature

Richard Grier  (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2  (391 pages) published July 2004.  See
www.mabry.com/vbpgser4 to order.

Chris Tacke, eMVP - 30 Dec 2005 15:32 GMT
The emulator allows you to set up a folder (through the Setting menu) on the
host PC as a "shared" folder.  It will show up as an installed storage card
on the emulator.

Signature

Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF?  Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate

> I'm writing an app for a PPC which will use data transferred from a PC
> when cradled. The program to put the data onto the PPC is written and
[quoted text clipped - 7 lines]
> Thanks,
>   Bob
Sam Malone - 30 Dec 2005 21:38 GMT
I'd like to try this method (the shared folder). I've looked at the emulator
Setting menu (at least I think I have) and see nothing there to so as you
suggest. I used the "Setting" menu on the emulated PPC itself (as if I we
holding a PocketPC in my hand). Is that what you mean?

Thanks,
 Bob

> The emulator allows you to set up a folder (through the Setting menu) on
> the host PC as a "shared" folder.  It will show up as an installed storage
[quoted text clipped - 11 lines]
>> Thanks,
>>   Bob
<ctacke/> - 31 Dec 2005 02:11 GMT
Nope, it's part of the emulator engine.

- Launch Emulator
- From File menu choose Configure
- On the General tab, at the bottom is a filed called 'Shared Folder' fill
that in with a PC folder path

-Chris

> I'd like to try this method (the shared folder). I've looked at the
> emulator Setting menu (at least I think I have) and see nothing there to
[quoted text clipped - 19 lines]
>>> Thanks,
>>>   Bob
Sam Malone - 31 Dec 2005 12:15 GMT
My apologies if I'm being particularly dense but I still can't find it.
We are talking about VS2003 are we?
If so, I guess I'm going to need very explicit instructions on how to get to
what it is you're referring to.

Thanks, again

> Nope, it's part of the emulator engine.
>
[quoted text clipped - 28 lines]
>>>> Thanks,
>>>>   Bob
<ctacke/> - 31 Dec 2005 12:47 GMT
No, I'm talking about Studio 2005 and the WM 50 emulator

-Chris

> My apologies if I'm being particularly dense but I still can't find it.
> We are talking about VS2003 are we?
[quoted text clipped - 35 lines]
>>>>> Thanks,
>>>>>   Bob
<ctacke/> - 31 Dec 2005 13:04 GMT
Under the PPC 2003 emulator in Studio '03 follow these steps:

1. Share a folder on your PC
2. In File Explorer on the emulator select File -> Open
3. Enter \\MyComputerName and hit Enter
4. Enter your username/password for your PC
5. Save if you wish

You'll now see the shared PC folder(s)

-Chris

> My apologies if I'm being particularly dense but I still can't find it.
> We are talking about VS2003 are we?
[quoted text clipped - 35 lines]
>>>>> Thanks,
>>>>>   Bob
Sam Malone - 31 Dec 2005 14:00 GMT
MUCH better. Still not good but we're probably getting a lot closer.

I did as you instructed (below) and now I can (using File Explorer) "browse"
the content of that shared PC folder.
I have no idea how my program (running on the emulated PPC) would "see" that
data so I tried using the File Explorer to copy/paste it from the shared PC
folder to the folder on the PPC where the exectable of my app is.

That produced the following error:

Cannot copy XXXXXXX (where XXXXXXX is the name of the file without its PC
extension)
Executable and resource files in ROM cannot be copied.

The file I'm trying to copy is an XML file

> Under the PPC 2003 emulator in Studio '03 follow these steps:
>
[quoted text clipped - 49 lines]
>>>>>> Thanks,
>>>>>>   Bob

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.