How to debug OptionForm.resx

Asked by John

Hi,

I've download the code and see how the application works. In the xibo client installer, there are two application the xibo client and xibo client options. I want to debug OptionForms.resx but I always fail. I change the resource file and choose OptionForms.resx but when I debug, there are errors that "OptionForms.resx is not valid win32 resource file". Do you have some solution for my problems? I'm running visual studio 2010 x86 in Windows 7 64 bit.

Thank you,

John

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Dan Garner
Solved:
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

Look in the main program.cs file and you will see that by passing in a debug parameter (o for example) the application will launch the options for instead of the main xibo window.

Revision history for this message
John (storenglish) said :
#2

I've tried change the project properties -> Debug -> Start Options -> Command Line Arguments and I fill "XiboClient -o". When I save and start debugging, the launched application is still XiboClient. Do I have enter wrong parameters? or do I something wrong?

Thanks.

Revision history for this message
Best Dan Garner (dangarner) said :
#3

There is only 1 application - XiboClient.exe, there are two forms MainForm and OptionsForm... putting "o" in the debug parameters will launch the OptionsForm and not the MainForm.

Revision history for this message
John (storenglish) said :
#4

So I fill wrong parameters, it should be "o". Thank you so much, Dan. It works now.

Revision history for this message
John (storenglish) said :
#5

Thanks Dan Garner, that solved my question.