Vista development, the do's and don't???

  • Thread starter Thread starter Cartoper
  • Start date Start date
C

Cartoper

OK, it is finally time for me to clean up my application so that it
will run on Vista. Does Microsoft have a web page out there somewhere
that will point me in all the right directions?

One thing the C# program is doing is starting a web server that is
trying to connect to port 80. Right now Vista is throwing up a warning
about the web server, how might I stop that from happening? Conceding
VS2008 needs to run with admin privileges and it does not prompt you,
I am assuming there is a way.
 
Web server or web client?  

Web Server that listens on Port 80.
Can't the user simply give it permission the first time Vista asks?

They can, but my C# program is starting the web server and not when
the C# program first starts.
By the way, the answer has to be: the user *must* give permission after your
program is installed on his computer.  (I think he can say "yes, and don't
ask me again.")  If you could get around this, it would be a security hole.

Well, Vistual Studio 2008 gets around it. I quickly discovered that
Visual Studio 2005 always needs the user to run it as an Administrator
on Vista, which is logical because of the debugging, but Visual Studio
2008 does NOT. During the install of VS2008, it asks the user to run
with Administrator permissions. I was simply hoping to be able to do
the same thing as Microsoft;)
 
Cartoper said:
Web Server that listens on Port 80.

You'll need to write a service.
They can, but my C# program is starting the web server and not when
the C# program first starts.


Well, Vistual Studio 2008 gets around it. I quickly discovered that
Visual Studio 2005 always needs the user to run it as an Administrator
on Vista, which is logical because of the debugging, but Visual Studio
2008 does NOT. During the install of VS2008, it asks the user to run
with Administrator permissions. I was simply hoping to be able to do
the same thing as Microsoft;)

VS2008 doesn't do anything clever there - it's a normal app. You don't
need admin rights to debug programs running as the same user as you.

Alun Harford
 
You'll need to write a service.

Don't you need admin rights to start/stop services?
VS2008 doesn't do anything clever there - it's a normal app. You don't
need admin rights to debug programs running as the same user as you.

Then why does VS2005 require you run it as an administrator?
 
You'll need to write a service.

Don't you need admin rights to start/stop services?
VS2008 doesn't do anything clever there - it's a normal app. You don't
need admin rights to debug programs running as the same user as you.

Then why does VS2005 require you run it as an administrator?

Cartoper
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top