473,503 Members | 1,858 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Inbuilt Functionality to Open any file with its assocaited Application in pocket PC

1 New Member
Hi,
Is there and Inbuilt Functionality or API that I can use to Open any file with its assocaited Application in pocket PC or WIN Mobile (in C#.NET).
For ex:
1. If there is Image file(JPG or BMP), if user clicks it, It automaticaly opens up In Image\Picture Viewer.
2. If there is Word(*.doc), if user clicks it It automaticaly opens up In Word applcaition, same is the case with Excel(*.xls) and so on.

If there is any API(Inbuilt functionality) that I can use or DO I need to write my own code to invoke the relevant Executable assocaited with a particular application and how to do it.

Regards,
Gurtej
Sep 22 '08 #1
1 1678
markmcgookin
648 Recognized Expert Contributor
Hi there,

I think this is what you are looking for:

Expand|Select|Wrap|Line Numbers
  1. string cabFile = @"Program Files\MyApp\myFileName.jpg";
  2. Process opener = new Process();
  3. opener.StartInfo.FileName = cabFile;
  4. opener.StartInfo.Verb = "Open";
  5. opener.StartInfo.UseShellExecute = true;
  6. opener.Start();
  7.  
Hope this helps,

Mark
Sep 24 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1028
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
8
4811
by: Krishnan Margabandhu | last post by:
I'm writing a Pocket PC app that will run when a device is first powered on. I want this program to get some data from the user and invoke a CAB file to install a software on the device. How do I...
1
2727
by: M O J O | last post by:
Hi, I've developed a Windows VB.Net CRM application for my company. I need my own CRM application to be able to replicate it's calendar with my Pocket PC 2003 Outlook calendar. Understand...
2
1774
by: Jasmina | last post by:
I am working on an application that will do file exchange (send/receive) between Pocket PC and PC (laptop) via IrDA. I am using VB .NET. On the Pocket PC side I use System.Net.IrDA and...
8
7725
by: A_PK | last post by:
Hi, I am using VB.net to develop my application. I understand that to get CE App Manager to install applications, I have to specify an INI file where I run it. Since I am using VB.net. So I need...
3
2373
by: AAA | last post by:
Hi, how could I deploy all my CF, SQLCE and my applicaiton .CAB file to pocket pc... I am now only able to run the msi setup file and install my application to my pocket pc, but I need to intall...
0
956
by: mrajsenkumar | last post by:
Hi I am creating application in pocket pc 2003SE. I want retrive pocket pc contacts into my application. i am working in vs2005. i am new in pocket pc. so anybody help me. how to map outlook...
1
1914
by: shakthi | last post by:
Hi I created an online Mobile application using .net 2.0 on server side and another offline application on mobile client using .net compact framework 2.0. I packaged my offline application to CAB...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7460
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.