Link to home
Start Free TrialLog in
Avatar of bear23
bear23

asked on

vb.net change saving method

Is there a way to make vb.net prompt for saves, everytime I close a program it seems to save changes and everytime I run the program it seems to save changes I rather be prompt. Also whn running the program it makes it read-only, is there a way to disable that to make it edittable like in vb6.



Avatar of fds_fatboy
fds_fatboy

The short answer is NO.

.net is requires the source code to be saved before compilation (unlike the VB6 debugger).

It is good practice to save source before any compilation anyway.

As for edit and continue, it is not supported in VB.NET.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/vxgrfeditcontinuevisualcvisualbasic.asp

Microsoft say it will be in a future release. Although this is irritating, it is not really good practice to be hacking round with code when you are in the middle of a debugging run (although we all do it at times).

I got the following q/a from:
http://msdn.microsoft.com/chats/vstudio/vstudio_061703.asp

        Moderator: Ed (Microsoft)
        Q: you know someone has to ask this, may as well be me. is edit and continue going to find its way back with the release after 2003?

        A: Yes, Edit and Continue will be back in a future release. I'm not sure I can say which one yet, but it will be "sooner" rather than "later".

But they've been saying that for the last 3 years or so.
Avatar of bear23

ASKER

yeah, it is coming back, in vb.net 2005. This is such bull, I should have waited to purchase vb.net 2003. I just purchased it last week and then seen that you were able to download vb.net 2005 beta. So I downloaded it and guess what some of the old things that u could do in vb6 but not in vb.net is back in vb.net 2005. That is bull...............
Avatar of bear23

ASKER

There is in fact a Edit and Continue. And it is called just that:

It's what I was looking for: Under - Tools-Options-Debugging-Put a check under the : allow me to edit VB files while debugging. All I wanted to do was edit and continue and this is exactly what I needed.

ASKER CERTIFIED SOLUTION
Avatar of fds_fatboy
fds_fatboy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial