Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6636069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:08:16+00:00 2026-05-25T23:08:16+00:00

I’ve got a .NET CF (C#) mobile application that I run on a windows

  • 0

I’ve got a .NET CF (C#) mobile application that I run on a windows emulator. This application uses a sqlce database, and also is controlled by a number of config-like files. I frequently need to change back and forth between different debugging environments – i.e. I need different versions of the database as well as the config files – b/c the application is being used differently in each of the environments.

My initial thought was to use different emulators for different environments, but this doesn’t seem very convenient. I could use the standard emulator for one environment and the professional environment in another, but sooner or later, I’ll run out of emulator types. My VS solution (2008, btw) has something like 30 projects – so, I’d have to change the emulator type for each of the projects, which doesn’t really help.

Another idea I had was to write a simple winforms or console app which could switch-out the environments for me (on the same emulator). That is, the app could copy the db and config files from some archive location on my machine, and when I switch to a new environment, it could copy the db from the emulator so that I’d always have the latest state archived. The problem I ran into with this is that there doesn’t seem to be a way to access the file system of the activesync-connected emulator in code. Sure, I can see everything in Windows Explorer, but it doesn’t seem available from code b/c the emulator doesn’t have a drive letter.

Has anyone else been in a similar situation, and how have you dealt with it? I’d really like to get the second approach working (b/c then I could keep archives of my test data), but really anything that means I no longer have to manually copy these dbs + config files back and forth (in Windows Explorer) would help. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:08:17+00:00Added an answer on May 25, 2026 at 11:08 pm

    You should be able to save multiple copies of the emulator. The procedure below is how we do it. You could also use the same emulator instance with a local folder mounted on \Storage Card, and just swap out different files before staring your debugging. I’d go with the first option as there’s less chance of screwing up, and less work in the long run.

    1. In Visual Studio, select Tools > Options…, select Device Tools–Devices from the tree.

    2. Select the emulator of choice from the Show devices for platform: drop down; select for example Pocket PC 2003 SE Emulator from the list and click the Save As… button.

    3. Enter in the Save As dialog and click OK button.
    4. Select from the Devices: list, and click the Properties… button.
    5. In the Properties dialog, click the Emulator Options… button.
    6. In the General tab, check Specify RAM size:, Shared folder: enter C:\Storage Card. IMPORTANT! Be sure to create a C:\Storage Card folder on your drive before launching the emulator. (optional) In the Display tab, check Skin radio and enter path to you skin Click OK button.

    7. To target the emulator for your project, select from the Target Device dropdown in the Device toolbar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I've got a string that has curly quotes in it. I'd like to replace
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
i got an object with contents of html markup in it, for example: string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.