all groups > visual studio .net ide > june 2004 > threads for june 8 - 14, 2004
Filter by week: 1 2 3 4 5
How do I add a new project item to a folder? (using DTE)
Posted by Mr. Mountain at 6/14/2004 6:56:48 PM
I have been using the following C# code to add new items to a project (this
is in the context of Visual Studio automation)
using EnvDTE;
....
project.ProjectItems.AddFromFile(fileName);
//OR this:
project.ProjectItems.AddFromFileCopy(fileName);
However, I now have the requirement to add t... more >>
HTML AutoFormatting (with an actual question)
Posted by Michael J. Mooney at 6/14/2004 1:53:19 PM
I have resigned myself that to the undeniable fact the VS.NET (2003) will
attempt to reformat my HTML tags, making my code almost completely
indecipherable, any time I switch to the Design tab.
Of course, this is ridiculous. However, since it quite simply cannot be
solved, my approach is to N... more >>
using wwwroot as your application/project root
Posted by darrel at 6/14/2004 1:11:15 PM
OK, I'm having a brain fart on this one.
I'm getting a dreaded " Could not load type" type error on my application
and a bit of research indicates that this could mean anything from a corrupt
DLL to a corupt IIS. So, after having tried many different suggestions, I'm
just going to delete my pr... more >>
BUG: 'Go to Definition' in C# goes to wrong overloaded method
Posted by Tom McDonnell at 6/13/2004 7:10:57 PM
Right clicking a method call, and selecting 'Go to Definition' in C#
navigates to the wrong method if the method is overloaded.
So if you have two methods:
DoSomething() { ... }
DoSomething(string name) { ... }
And a call to invoke a method:
object.DoSomething("Car");
The 'Go to Defini... more >>
vi emulation for VS.NET?
Posted by Darryl A. J. Staflund at 6/13/2004 1:54:56 PM
Hi there,
Does anyone know if there is a VS.NET plugin that brings vi keyboard
emulation capabilities to VS.NET? I have found a similar plug-in for emacs
but none for vi so far.
Thanks for your help.
Darryl Staflund
... more >>
Change the position of form1 in windows forms designer window
Posted by FGTerry at 6/13/2004 12:14:01 PM
Hi,
I've recently decided to try to become familiar with .NET programming, and I'm currently working with VB.NET. My problem is that when I start a new project and the form designer window comes up, Form1 in Form1.vb[Design] appears in the upper left of the design window and I cannot change its ... more >>
C# XML documentation question
Posted by Jeff Johnson [MVP: VB] at 6/11/2004 2:47:20 PM
When you type /// in the editor in a C# source file, a comment block is
created as soon as the last slash is typed. Is the format of the output
(i.e., the generated template) hard-coded into the IDE or does the IDE call
a macro which generates the output? I'm hoping it's the latter, because I'd
... more >>
sn.exe does not support wildchars
Posted by Sunny at 6/11/2004 12:47:04 PM
Huh, I was surprised. Why I can not use:
sn -R *.dll mykey.snk
Is there something special behind this limitation?
Thanks
Sunny... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
"Command Window" now has a caret on every new line, no longer usable, please help
Posted by AndrewV at 6/11/2004 7:44:09 AM
Greetings,
My "Command Window" (Ctrl+Alt+A) now has a ">" caret prefix all new line. As
a result, I can't use the "Command Window" to enter expression or check out
variables. I must have entered a wrong short cut key somehow to alter the
"Command Window" behavior.
Have been pulling every la... more >>
Web Form Inheritance Error (Non-Abstract Superclass)
Posted by Scott Simms at 6/10/2004 6:15:01 PM
Implementing the page controller pattern in Visual Studio 2003 cause the Web Forms Designer to give the following error.
"The file could not be loaded into the Web Forms Designer. … The class 'App.Web.Client.Common.UI.BasePage' could not be loaded."
Specifically the code behind page inh... more >>
Please MS fix this ^%$^%$ thing
Posted by Lloyd Sheen at 6/10/2004 6:14:38 PM
The latest in a long long .... long list of IDE problems.
In ASP.NET designer. Add a button. Go to properties to change the text.
If you go their to quickly (hard to figure why) it keeps setting the focus
to somewhere else (most likely background processing in the designer). So
keystrokes g... more >>
Shortcut for enumeration?
Posted by Michel Walsh at 6/10/2004 5:22:48 PM
Hi,
Under VS6-VB6, when a method got a parameter that is a member of an
enumeration, the enumeration appears as a list, immediately, while, with VS
2003-C#, it seems we FIRST have to type the enumeration name:
(under a form):
this.SetStyle(
at that point, in VB6, we cou... more >>
Custom Wizard Engine problem (C#)
Posted by Mr. Mountain at 6/10/2004 3:55:34 PM
Hi,
I am building a custom wizard engine in C# following the example in
"Mastering Visual Studio.NET" by Griffiths, Flanders and Sells (pg 304).
Unfortunately, I'm having several problems that the book isn't helping me
overcome. (It is a good book, but O'Reilly hasn't made code available and so
... more >>
Setup project and dependencies
Posted by Sunny at 6/10/2004 3:10:54 PM
Hi,
I have Outlook addin, created with the help of the Extensibility wizard.
This wizard also created a setup project.
Now my solution contains 6 projects, which outputs assemblies, used by
my addin.
So far, so good. My problem is that in the dependencies list of the
setup project, the ... more >>
can't get dte.ExecuteCommand("Tools.Shell", sn.exe...) to work
Posted by Mr. Mountain at 6/10/2004 2:32:31 PM
I'm trying to implement the Wizard example in "Mastering Visual Studio.NET"
(pg 301) for creating a project with a strongly named assembly. In the
script I need to call "sn.exe -k keyFile".
I have tried every variation of dte.ExecuteCommand("Tools.Shell... that I
can think of and I always get ... more >>
creating popup menu
Posted by omayma gouda via .NET 247 at 6/10/2004 1:23:49 PM
(Type your message here)
--------------------------------
From: omayma gouda
I'm developing an add-in for VS.NET. I would like to
create my own popup menu attached to the popup menu
displaying when user right-clicks on a project. How can I
do this in details pleas??
--------------------... more >>
disappearing windows
Posted by Peter Carlson at 6/9/2004 6:18:39 PM
vs.net 7.1.3088
I'll have say 10 or so open source windows in the "center" of the layout.
After running a debugging session, I'll come back and some of them will be
closed. Not sure exactly when they close, but it certainly is very
agravating - constantly having to go back and re-open them.
... more >>
VS no longer saves keyboard settings (mappings)
Posted by DotNetED at 6/9/2004 3:23:21 PM
I have a strange problem with Visual Studio. It began with VS 2002, I was
able to use CTRL+SPACE as my Edit.AutoCompleteWord for years and suddenly
one day it was no longer possible (I can only tie it to the installation of
Microsoft Office 2003). Since that moment only ALT+RIGHT ARROW can be use... more >>
How do I rename a resource?
Posted by Finn Arildsen at 6/8/2004 5:27:52 PM
I'm an experienced user of VC6 but I'm new to VS7. I have not been able
to figure out how to rename a resource, e.g. an icon. When I create a new
icon, it gets the name IDI_ICON1 -- but how do I rename it to the name I
want to give it??
Thanks in advance.
Finn
... more >>
Possible Bug when adding Typed DataSet to Form
Posted by John Rusk at 6/8/2004 4:51:05 PM
Hi
I'm trying to drop a typed dataset onto a form. I choose DataSet from the toolbox and drop it on the form. Then, in the Add DataSet Wizard, I choose Typed Dataset, choose "Referenced Datasets" from the list, and then choose the dataset that I want. (The dataset is from another project in my ... more >>
DevStudio locks up loading solution.
Posted by Simon Jefferies at 6/8/2004 3:28:29 PM
Hello,
I'm getting a strange problem where when I load up my solution that has
three projects:-
a managed C++ .NET, one C++ lib, and a VB library.
It locks up and doesn't load completely, I have to do the following to work
around it.
Rename the vcproj file, load the solution, rename ... more >>
Going to a line number after a file opens
Posted by arenatr at 6/8/2004 7:16:03 AM
I'm going to integrate with MSVS .Net. I'm essentially goign to be executing from a command prompt, and I'm using the following code
msdev [solution] [file] ex- MyMacr
MyMacro is pretty simple, it really just contains one command to go to a line number
ExecuteCommand "GoTo
But in this confi... more >>
|