Start to debug ALWAYS opens the same editor-win

Visual Studio .Net


  • 1. Can ClickOnce Be Used In This Instance......
    Hi there, We are currently in the process of creating a new application that will basically have all the business logic on a central server that will be hit by workstations. The workstations will need some .dll's, etc. installed so there can be integration with some other third party applications. Is ClickOnce suitable for this purpose or can it be used to deliver these components to the client workstations? I'm not really sure what the footprint of the components will be at this point, but I do know there are some limitations to ClickOnce. First, installations occur in an obscure are of the User's profile, correct? Also, this is the only area for file placement, as this method cannot place/write to restricted file system areas as well as the registry and GAC, correct? The other alternatives I see at this point are Group Policy with a packaged .msi containing the necessary components or a third party deployment solution. We would really like to utilize something provided by Microsoft (not SMS) so our end users would not have to absorb the additional cost of a third party solution. At this point, I'm just wondering if ClickOnce should remain on my list of possiblities or not. Any information, thoughts, etc. GREATLY Appreciated! Thanks in advance!!
  • 2. Publishing data from WinForms application to the web
    I am using Visual Studio 2008 w/ VB.NET. For the database, I am using SQL Server 2005. SQL Server 2005 is running on a dedicated server box. I am creating a WinForms application for a client. It is run on any of several employees' desktop PCs. Now, they want to be able to "push" some of the data from the SQL Server database up to a database on a website also SQL Server 2005). This may be done automatically, through some code that runs on the server, or may be initiated by the user. They will also want to be able to "pull" data down from the website. Basically, it would go something like this... 1) Some "event" occurs in WinForms system. For simplicity, let's say that the "event" is that someone clicked on a button in the application. 2) A query is run to pull needed data. 3) Data pulled by the query is "packaged" into a form that can be "pushed" up to the web server. 4) Code on the web server needs to run at some scheduled interval to look for pushed data. 5) If found, "pushed" data needs to be pulled into the database on the web server. This may include deleting or updating existing records, or adding new ones, to any number of tables. Pulling data down from the web server would be similar, but reversed. I would appreciate any insights into a framework or pattern that can be used to accomplish something like this.
  • 3. Configure VS 2005 for ASP.NET single-file mode
    I've read that it is possible to configure Visual Studio 2005 to create single file ASP.NET aspx pages in single file mode. I can't find any documentation on this or any postings. Is it possible? If so, where is it configured?

Start to debug ALWAYS opens the same editor-win

Postby SktsaW5n » Thu, 26 Jul 2007 22:18:11 GMT

i'm using VS2005. Since a few weeks with Vista (every thing very new and 
very up to date), but before with XP the same problem:

Every time i start to debug ('F5'), the same editor-win in the studio opens 

 * All wins in VS are closed.
 * Pressing 'F5'.
 * The application begins loading.
 * A new editor-win with e.g. 'MainForm.h' opens automatically.
 * With my old XP SOMETIMES up to THREE different headers opens autom.
 * Closing the editor-wins reopens them UP TO 3 times!!!
 * The GUI of the application appears.
 * Now i can close and open on my own...

This editor-wins changes from time to time but i don't know when and why...???
Any help /suggestions?

Thanks, Jrgen

Similar Threads:

1.Debug/Start Without Debugging gives IE8 opened with the address bar containing about:blank

I think this is a weid one.

When I do Debug/Start Without Debugging
I get IE8 opened with the address bar containing: about:blank
and the big pane blank.

I close IE that and a new IE opens with the usuall localhost address and a 
correct big pane display.

Can you tell me how to avoid that first IE or why I'm getting it?


2.Debugged app does not always start


I have a very strange problem. I am running VS 2002 on XP Pro.
I have a solution containing several projects.

When I want to debug my application it doesn't always start. Looking at the
output windows, the .NET assemblies get loaded, but when it gets to one of
my assemblies, it hangs. I have to stop debugging, then try again. Sometimes
I have to start my program 20 times before it is launched, other times it
only takes 1-2 attempts.

VS does not crash.
My assemblies do not use a strong key.

Any hints would be apreciated.


3.VS 2005 always starts Firefox when debugging, not IE

During installation of VS2005 Firefox was my default browser. I changed it 
back to IE6 but VS2005 sticks to Firefox when debugging a web site in 
development, whatever I try. How to convince VS2005 to use IE ? If at all, I 
would expect this behaviour the other way around.
The Netherlands

4.Starting debug always builds all projects of solution

Solution probably has about 10 projects in it now. I recall as I started 
this, it would only build projects with updated sources when running 
with debug. Now it builds all projects, even if no sources have changed. 
Did I accidentally bump a setting, or something?

5.Process.Start failes on Win 2000 after showing open file dialog


I have an application that is launching a process (see the code below) to 
perfom some operation on a file. On Windows 2000, if my application first 
uses the OpenFileDialog to open a file on the desktop, Process.Start failes 
with the following exception:

System.ComponentModel.Win32Exception: The system cannot find the file 
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo 
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

The code is roughly as follows:

// here we ask the user to open a file
OpenFileDialog openFileBox = new OpenFileDialog();
openFileBox.Filter = mAddFileFilter.ToString();
openFileBox.FilterIndex = 1;
if(openFileBox.ShowDialog() == DialogResult.OK) {
  inputFilePath  = openFileBox.FileNames;

// later we launch a process to perform an operation on the file
outputFilePath = System.IO.Path.GetTempFileName();
string arguments = "\"" + inputFilePath + "\" \"" + outputFilePath + "\"";
arguments += " /a";
arguments += " /dm1";
arguments += " /DL0";
arguments += " /a1";
arguments += " /h" + progressWindow.ClassId;
string ConverterPath = @"C:\Program Files\foo\bar\converter\go.exe"; // for 
ProcessStartInfo psInfo = new ProcessStartInfo(ConverterPath, arguments);
psInfo.WindowStyle = ProcessWindowStyle.Hidden;
mProcess = Process.Start(psInfo);

The exception is observed on Windows 2000, but never on Windows XP. It works 
fine on Windows 2000 if I never call the OpenFileDialog. I tried setting the 
WorkingDirectory of the ProcessStartInfo instance to the directory that 
contains the process executable, but this does not help.


6. Process.Start failes on Win 2000 after showing open file dialo

7. how to tell editor to use same .Net editor already opened

8. System tray icon does not always show when starting app when Windows starts

Return to Visual Studio .Net


Who is online

Users browsing this forum: No registered users and 23 guest