TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
tim Withers
NA
3
0
Code Skipped at runtime (user login)
Nov 20 2008 5:08 AM
Hello everyone,
Let me start by saying that this is my first C# application, so I don't know all the windows quirks. Secondly, I hope I'm posting in the right forum! Mods: feel free to move this if it's in the wrong spot.
Setup:
VS2008, win XP, .NET 3.5
Brief Description:
I wrote a Windows Form application in VS2008 and used the VS installer. These projects compiled fine. The installer adds a system registry to auto start my application once a user logs in. My application checks if a config.xml file exists on Form_Load(). If it exists, it continues loading the main application. If config.xml doesn't exist, it prompts for values from a user via a windows form. These values are stored into the xml file and the program continues to load.
The Problem:
If the program is ran normally, it runs as expected (prompts only if the xml file is not there). If the program is auto started when the user logs in, the application always prompts for values to place into the config file - even if a xml file exists. I'm stumped on this one.
If anyone has any ideas, I would love to hear them!
-Tim
Reply
Answers (
3
)
Windows form saving
windows mobile application