Click here to Skip to main content
15,895,962 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: how to disable BT and WIFI in windows mobile - C# Pin
Russ-T9-Nov-09 21:10
Russ-T9-Nov-09 21:10 
AnswerRe: how to disable BT and WIFI in windows mobile - C# Pin
Joel Ivory Johnson11-Nov-09 5:50
professionalJoel Ivory Johnson11-Nov-09 5:50 
AnswerRe: how to disable BT and WIFI in windows mobile - C# Pin
Joel Ivory Johnson11-Nov-09 12:16
professionalJoel Ivory Johnson11-Nov-09 12:16 
QuestionRemotely Accessing Database on my Desktop PC using Mobile?? Pin
AmbiguousName1-Nov-09 8:45
AmbiguousName1-Nov-09 8:45 
AnswerRe: Remotely Accessing Database on my Desktop PC using Mobile?? Pin
Joel Ivory Johnson9-Nov-09 9:10
professionalJoel Ivory Johnson9-Nov-09 9:10 
GeneralRe: Remotely Accessing Database on my Desktop PC using Mobile?? Pin
AmbiguousName10-Jan-10 5:56
AmbiguousName10-Jan-10 5:56 
QuestionSet Panel ScrollBar width Pin
Vertyg030-Oct-09 11:02
Vertyg030-Oct-09 11:02 
QuestionReactivate running mobile app with arguments Pin
sunit_8226-Oct-09 20:37
sunit_8226-Oct-09 20:37 
Hi ,

I have made a application which on installation(using setup CAB proj) installs two short cuts. One in "programs folder " and other in " start menu". The start menu   shortcut has a command argument as i want a specific part of app to run when application is started from "startmenu" and when started from "Programs folder" i want the app to run in normal mode. Now, both my requirments are working fine as long as application is not already running. If app is already running(in background), and i start it from "start menu", the arguments are not being processed. Here is the code i have written to process the command arguments.

void Main(String[] args)
{
if (args != null && args.Length > 0)
{
if (args[0] == "something")
{
//do something specific
}
else
{
//run the normal mode(default form1).
}

----
so what i want to know is if this Main() method called when the application is already running in background and its reactivated using the short cut in "start menu". If not then while reactivating, which events are fired, and which one i can use to process the command arguments? I have checked that Activated and OnFocus events don't give the command arguments.
Please suggest some solution. Thanx.
Sunit.

s.a.w.

Questionusb connection for pda Pin
hande5425-Oct-09 1:24
hande5425-Oct-09 1:24 
AnswerRe: usb connection for pda Pin
Joel Ivory Johnson8-Nov-09 3:04
professionalJoel Ivory Johnson8-Nov-09 3:04 
GeneralRe: usb connection for pda Pin
hande548-Nov-09 3:43
hande548-Nov-09 3:43 
GeneralRe: usb connection for pda Pin
Joel Ivory Johnson8-Nov-09 9:41
professionalJoel Ivory Johnson8-Nov-09 9:41 
GeneralRe: usb connection for pda Pin
hande549-Nov-09 6:30
hande549-Nov-09 6:30 
QuestionMobile 6 Project Query Pin
mauricemcse24-Oct-09 7:47
mauricemcse24-Oct-09 7:47 
AnswerRe: Mobile 6 Project Query Pin
Joel Ivory Johnson8-Nov-09 3:03
professionalJoel Ivory Johnson8-Nov-09 3:03 
QuestionAnybody working with android yet? Pin
gavindon20-Oct-09 14:22
gavindon20-Oct-09 14:22 
QuestionPhone Book [modified] Pin
George Mwangi17-Oct-09 7:47
George Mwangi17-Oct-09 7:47 
AnswerRe: Phone Book Pin
Richard MacCutchan19-Oct-09 12:11
mveRichard MacCutchan19-Oct-09 12:11 
AnswerRe: Phone Book Pin
George Mwangi20-Oct-09 5:47
George Mwangi20-Oct-09 5:47 
GeneralRe: Phone Book Pin
Richard MacCutchan20-Oct-09 6:12
mveRichard MacCutchan20-Oct-09 6:12 
Question[SOLVED]Embedding large amount of binary data as byte arrays causes TypeLoadException [modified] Pin
joelwms15-Oct-09 11:16
joelwms15-Oct-09 11:16 
AnswerRe: Embedding large amount of binary data as byte arrays causes TypeLoadException Pin
joelwms15-Oct-09 14:16
joelwms15-Oct-09 14:16 
QuestionNovice Mobile Project Pin
mauricemcse15-Oct-09 7:14
mauricemcse15-Oct-09 7:14 
QuestionUser notifications problem with WinCE Pin
Ayman Alterawi15-Oct-09 3:01
Ayman Alterawi15-Oct-09 3:01 
Questionaccess finger print. Pin
solomonope14-Oct-09 8:21
solomonope14-Oct-09 8:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.