Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


.NET Compact Framework replacement for VB's shell

Posted on 2004-10-25
Medium Priority
Last Modified: 2007-12-19
Hi Experts,

I have a .NET application that runs on PocketPC and CE.NET devices. I am checking to see whether the device was hard reset (system time < last time program ran) and if this is the case i want to execute the control panel to change the system date and time using " ctlpnl.exe \windows\cplmain.cpl,13 ". The problem is that I cannot find the API call that replaces VB's Shell() in .NET or at least another method of executing an outside application on the Compact Framework.


Owen W.
Question by:owigg
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 34

Expert Comment

ID: 12398239
did you try microsoft.VisualBasic.Shell ??


Author Comment

ID: 12406033
Thanks Dave, yeah I did, Its not supported in the Compact Framework.
LVL 34

Accepted Solution

flavo earned 375 total points
ID: 12406085
if you want to open a file in the default app maybe try


Author Comment

ID: 12418968
System.Diagnostics.Process isnt part of the Compact Framework either but thankfully the OpenNETCF Smart Device Framework has implemented the missing class. Thanks Dave.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question