We help IT Professionals succeed at work.

Get  path of my executable file using VB.NET in PocketPC

jaygan
jaygan asked
on
Medium Priority
629 Views
Last Modified: 2010-08-05
Hello,

Can someone help me by providing the code on how to get the path of my program? I basically need to load other files residing in the same directory as the main program.

Thanks!

Regards,
Jay
Comment
Watch Question

Author

Commented:
Thanks for your quick reply.

Unfortunately, Application.StartupPath does not exist for CF.NET. As such, I can't use it in PocketPC :-(
Freelance
Top Expert 2006
Commented:
Hello jaygan,

you could try
----------
source: http://wiki.opennetcf.org/ow.asp?p=CompactFrameworkFAQ/StartupDirectory&a=print&revision=1
----------

hope this helps a bit
bruintje

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Hello bruintje,

Your solution works!

Thanks for your help

Regards,
Jay
Brian MulderFreelance
Top Expert 2006

Commented:
it was not exactly mine but wikis, glad it worked :-)
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.