Executable directory where application is running from?

This is the first post on google so I thought I’d post different ways that are available and how they compare. Unfortunately I can’t figure out how to create a table here, so it’s an image. The code for each is below the image using fully qualified names. My.Application.Info.DirectoryPath Environment.CurrentDirectory System.Windows.Forms.Application.StartupPath AppDomain.CurrentDomain.BaseDirectory System.Reflection.Assembly.GetExecutingAssembly.Location System.Reflection.Assembly.GetExecutingAssembly.CodeBase New … Read more

VS 2008 breakpoint will not currently be hit. No symbols have been loaded for this document

This may be an old question, but I wanted to answer it after I found a solution for this very problem because it was one of the most complete questions asked in regards to this topic. Intro My project is an ASP.NET application, but the base problem will happen on WinForms as well. The problem … Read more

VS2008 Setup Project: Shared (By All Users) Application Data Files?

I have learned the answer to my question through other sources, yes, yes! Sadly, it didn’t fix my problem! What’s that make me — a fixer-upper? Yes, yes! To put stuff in a sub-directory of the Common Application Data folder from a VS2008 Setup project, here’s what you do: Right-click your setup project in the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)