473,326 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

View Code instead of View Designer on doubleclick in Solution Explorer

Hi,

When you double click on a form in the Solution Explorer, it will show that
form in the Designe Mode. Is there a way to change this, so it will switcvh
to the 'Code Mode'?

Is this possible or not?

thanks a lot!

Pieter
Jul 21 '05 #1
3 2776
I don't you can change double click to take you to the
code view. But you can configure the double click to take
you to either the HTML View or the Designer View:

In Visual Studio, select Tools->Options from the menu bar.
Select the HTML Designer tab.
Here you choose to either start in see HTML or Designer
view.

To go directly to the code you can right-click the file in
the Solution Explorer and then select "View Code" from the
floating menu.

Jon Paugh
-----Original Message-----
Hi,

When you double click on a form in the Solution Explorer, it will show thatform in the Designe Mode. Is there a way to change this, so it will switcvhto the 'Code Mode'?

Is this possible or not?

thanks a lot!

Pieter
.

Jul 21 '05 #2
If you want to go to code mode by default, do the following:

1) Right click on the form
2) Choose "Open With"
3) Select "Csharp editor"
4) Choose "set as default"

--
Eric Gunnerson

Visit the C# product team at http://www.csharp.net
Eric's blog is at http://weblogs.asp.net/ericgu/

This posting is provided "AS IS" with no warranties, and confers no rights.
"DraguVaso" <pi**********@hotmail.com> wrote in message
news:3f**********************@news.skynet.be...
Hi,

When you double click on a form in the Solution Explorer, it will show that form in the Designe Mode. Is there a way to change this, so it will switcvh to the 'Code Mode'?

Is this possible or not?

thanks a lot!

Pieter

Jul 21 '05 #3
Great! You're a hero! hehe :-)

"Eric Gunnerson [MS]" <er****@online.microsoft.com> wrote in message
news:OU**************@TK2MSFTNGP09.phx.gbl...
If you want to go to code mode by default, do the following:

1) Right click on the form
2) Choose "Open With"
3) Select "Csharp editor"
4) Choose "set as default"

--
Eric Gunnerson

Visit the C# product team at http://www.csharp.net
Eric's blog is at http://weblogs.asp.net/ericgu/

This posting is provided "AS IS" with no warranties, and confers no rights. "DraguVaso" <pi**********@hotmail.com> wrote in message
news:3f**********************@news.skynet.be...
Hi,

When you double click on a form in the Solution Explorer, it will show

that
form in the Designe Mode. Is there a way to change this, so it will

switcvh
to the 'Code Mode'?

Is this possible or not?

thanks a lot!

Pieter


Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Lou Stein | last post by:
Here is the steps I took to produce this problem with VS2003 1. Create a Windows Application. Place a DataGrid control on a the Windows form. Name the control dgCustomers. Set the CaptionText...
10
by: Curt Emich | last post by:
I'm trying to create a dataset. I start by creating a connection. Then I create and configure a data adapter. Finally, I select "generate dataset" after right-clicking on the data adapter. It...
2
by: DC | last post by:
Hi, this is somehow related to the fact that the main class in my .cs file inherits from another file: the VS .Net 2003 thinks it is best to open this file in designer mode then and also adds a...
1
by: Hyun Chang Lee | last post by:
I have created a 'smart device appication" project. (C#) and added a component class. I expected the component designer shows, but I couldn't see. And there is no menu item like 'view designer'...
19
by: Alan Silver | last post by:
Hello, I have been developing ASP.NET with a text editor so far (better way to learn initially), and have now been trying Visual Web Developer. I want to create a project for an existing site...
1
by: Director - Minvent | last post by:
Hi, I am trying to work out the easiest way to add some things to a treeview. I have got a list of the priviliged names for each of the computers e.g. ...
3
by: DraguVaso | last post by:
Hi, When you double click on a form in the Solution Explorer, it will show that form in the Designe Mode. Is there a way to change this, so it will switcvh to the 'Code Mode'? Is this...
6
by: Ryan | last post by:
I have 2 forms, Form1.vb and Form2.vb. In Solution Explorer, Form2.vb no longer shows a Form icon nor do I have the option to open Form2.vb in the main explorer window where usually I have the...
0
by: ralph sanchez | last post by:
Using Visual Basic 2005 (Express Edition), I've developed an XML schema on my computer for use with a project that I'm working on with a coworker. On his system, using the same version of visual...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.