 |
|
 |
Hi,
Is there a simple way or shortcut (if so, what is it ) to open the files/ move to the "next" file containing definitions of a particular partial class?
Currently I'm using "Find All References" when right-clicking the partial class name. If there is a better way, I'd like to find out.
Googling didn't yeild any results for this so I suspect the functionality does not exist.
Thanks.
CCC solved so far: 2 (including a Hard One!)
37!?!! - Randall, Clerks
|
|
|
|
 |
|
 |
Hi,
this seems to work:
1. right-click on the class name X and choose "Go to definition"; this brings you to the X constructor.
2. move up in that file to the class statement
3. right-click on that class name X there and choose "Go to definition"; this puts the "partial class X" locations in the "Find symbol results" pane, where they are clickable.
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
 |
|
 |
Thanks
CCC solved so far: 2 (including a Hard One!)
37!?!! - Randall, Clerks
|
|
|
|
 |
|
 |
you're welcome.
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
 |
|
 |
This is driving me up the wall and I can't find a solution. The C# code editor property places #region directives, but #if/else/endif directives always jump to the beginning of the line instead of the current indentation level.
What gives? Any way to change the default??
|
|
|
|
 |
|
 |
Mike Marynowski wrote: #if/else/endif directives always jump to the beginning of the line instead of the current indentation level.
I always think that is the best way, so you can clearly see where some code may be parsed out by the preprocessor.
|
|
|
|
 |
|
 |
I disagree. It just looks stupid when you have code indented 5 or 6 tabs (i.e. deep in a nested loop) and the compiler directives are at the beginning of the line. It becomes difficult to see what lines are even affected at that point.
Seeing what code is parsed out is easy because visual studio grays out and collapses the region.
Either way it just looks messy...I much rather have them indented like the region tags.
|
|
|
|
 |
|
 |
Mike Marynowski wrote: I disagree. It just looks stupid
Yes, but these things are just based on personal preference; as with most things there is no right and wrong.
|
|
|
|
 |
|
 |
Of course...I'm not suggesting your wrong...just disagreeing that it is better and citing my reasons.
|
|
|
|
 |
|
 |
Mike Marynowski wrote: just disagreeing that it is better and citing my reasons.
My bad; my original wording should have said "my preference" rather than "best".
|
|
|
|
 |
|
 |
I've created a Crystal Reports report in a Visual Studio 2003 project and I'd like to preview it without running the project everytime. Is there a way to do this?
|
|
|
|
 |
|
 |
Hello All,
Visual Studio is behaving kind of strange, the problem occurred when we refactored our solution, we just organized our xslt style sheets and placed them in a separate folder but the changes we made to them doesn't reflect unless and until we move them to their previous location. Are we missing something?
AliAmjad(MCP)
First make it Run THEN make it Run Fast!
|
|
|
|
 |
|
 |
So I just rebooted. Before the reboot, I was running VS 2008 just fine. After the reboot, I get the dreaded "Cannot find one or more components. Please reinstall the application."
I've not uninstalled anything that VS might shout at. I hate this. I hate VS. I hate MS.
Any clues?
EDIT - a clarification: VS tells me absolutely nothing more than the above Cannot find one or more components. Please reinstall the application.
--
Time you enjoy wasting is not wasted time - Bertrand Russel
modified on Monday, November 2, 2009 4:25 AM
|
|
|
|
 |
|
 |
Johann Gerell wrote: I get the dreaded "Cannot find one or more components. Please reinstall the application."
Johann Gerell wrote: Any clues?
Well without giving us a clue, no. What components is it complaining about?
|
|
|
|
 |
|
 |
Thanks for the reply - I wouldn'thave asked the question if VS had given me any clue whatsoever in the first place...
It tells me absolutely nothing more than "Cannot find one or more components. Please reinstall the application."
I was hoping someone had seen it recently due to some mysterious behind-the-back auto-update of some important file when Windows update kicked in some night or so.
--
Time you enjoy wasting is not wasted time - Bertrand Russel
|
|
|
|
 |
|
 |
Johann Gerell wrote: It tells me absolutely nothing more than "Cannot find one or more components. Please reinstall the application."
My apologies.
Usually when a poster says this, it means they did not read the error message, and could not be bothered to rerun the test to reproduce it. I've not had this with any of my own systems.
|
|
|
|
 |
|
 |
No problem. I've had my share of questionees not giving enough background, so I can recognise your standpoint.
--
Time you enjoy wasting is not wasted time - Bertrand Russel
|
|
|
|
 |
|
 |
Problem solved. See parallel post.
--
Time you enjoy wasting is not wasted time - Bertrand Russel
|
|
|
|
 |
|
 |
Problem Solved.
Found http://social.msdn.microsoft.com/forums/en-US/vssetup/thread/76713427-0daa-4907-a017-633ad258a5af[^] with the title "Cannot find one or more components" Error When Executing Visual Studio 2008.
I looked in my Explorer and found an empty C:\WINDOWS\WinSxS\x86_Microsoft.VC90.ATL_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_353599c2 with modification time this morning.
Smells Windows auto-update...
I copied atl90.dll from a parallell directory and then it worked. But I still hate MS.
--
Time you enjoy wasting is not wasted time - Bertrand Russel
|
|
|
|
 |
|
 |
THANK YOU! You put an end to a total of a day's worth of needlessly wasted time.
@MS VS Team: if you are listening (and even if you aren't), change the dialog to tell us which components are missing, or put the list in some kind of easy to find log file.
|
|
|
|
 |
|
 |
hi guys,
i've done some research about being able to display a database schema represented by graphical objects such as tables, join lines in a windows form but so far could not find appropriate information.
in my visual c# project, i need to accomblish to retrieve database schema information and display it using graphical components on a win-form, and (if possible) i want to be able to modify their contents on GUI side. Actually , i wonder how i can succeed to imitate "Microsoft Access Relationship Window" where users can add tables to view and make joins between different two fields by dragging and dropping lines on each other.
An example screenshot here:
http://z.about.com/w/experts/Using-MS-Access-1440/2009/02/Relationships_1.jpg[^]
Which component(s) do i need to use in Visual Studio (C# or VB)?
Thanks for your reply.
|
|
|
|
 |
|
 |
ismail.baygin wrote: how i can succeed to imitate "Microsoft Access Relationship Window"
This application took several years of development and many developers, do you have that available?
only two letters away from being an asset
|
|
|
|
 |
|
 |
i didnt mean the whole MS Access but only its visualisation solution to database schemas as in Relationship window.
I know that it is possible to draw table figures and relationship lines by using graphics methods but i believe that there must be a shortcut way to do this such as a toolbox component, or add-on... etc.
|
|
|
|
 |
|
 |
ismail.baygin wrote: i didnt mean the whole MS Access
Nor did I. I think you fail to realize the scope of the tool you want to emulate and build.
only two letters away from being an asset
|
|
|
|
 |
|
 |
Dear Mark, MS Access was just an example to be more clear about how my product will look like at the end.
I am very clear about the scope of the tool, and my steps to reach it are very definite. But, there are some programmatic barriers which i need to overcome first like graphical representations of tables and relationships. i just didnt want to tell the whole thing but only a part of it to be more specific.
If you 've ever used a CASE tool (probably you've) like PowerDesigner in which you can drag and drop entity objects to a diagram and draw lines between them. I want to build a similiar and more simple application like PD.
But i didnt know how to draw these objects in a win-form.
If you want to help me about the issue, i will be appreciated.
If you mean this kind of work also requires many years and developers , i must say "wow". but i dont think so.
Thanks.
|
|
|
|
 |