all groups > visual studio .net ide > april 2004
Filter by week: 1 2 3 4 5
Iterating project files seems very slow...
Posted by Andrew Hilton at 4/30/2004 2:56:05 PM
Hello,
We have a lot of files in different directories in our project. I wrote a
macro to find and open a source file based on the filename rather than using
the solution explorer. But it's so slow as to be unusable. Is there
something obvious in my code, or is there another way to do this?
... more >>
Getting VS.NET to spit out valid xhtml
Posted by darrel at 4/30/2004 11:54:23 AM
I'm using Dreamweaver for most of my production work. I'm editing some files
that have been edited in VS.net and running into all sorts of headaches in
terms of getting proper xhtml...invalid doctypes, all uppercase tags, no
quotes around entities, etc.
Is there a setting in VS.NET to get it t... more >>
Iterating projects with Enterprise Templates
Posted by Daniel Cazzulino [MVP XML] at 4/29/2004 6:19:38 PM
Hi there,
I'm trying to iterate and retrieve all C# and VB projects in a solution. The
solution has enterprise template projects, so I need to know the constant to
use to compare with teh Project.Kind property, or something like that.
Any help is much appretiated, thanks!
--
Daniel Cazzulin... more >>
Find in Files problem
Posted by Kendrick Kihara via .NET 247 at 4/29/2004 12:58:37 PM
I just installed =2ENET 2003 last week, and I'm fairly certain that=
the "Find in Files" feature was working initially=2E However, it=
is certainly not working now=2E When I try to find any string, it=
immediately returns with "No files were found to look in=2EFind=
was stopped in progress... more >>
Auto indent?
Posted by raykos at 4/29/2004 8:26:03 AM
Hello group
Is there an 'auto indent' for opening and closing braces? If there is, how do I set the spaces to indent
TIA
Ray K.... more >>
Command-Line Building
Posted by georgepwilliamson NO[at]SPAM hotmail.com at 4/29/2004 8:22:03 AM
We have a really large solution that we're working on an automated
build process for. We use the command-line functionality of
devenv.exe to build individual projects.
My question is this, is there a command-line switch that I'm not aware
of that will allow me to build one particular project ... more >>
Web Form Design View and HTML out of sync
Posted by dan NO[at]SPAM astusa.com at 4/29/2004 8:02:54 AM
There has to be some way to get the design view and html to be
synchronized. Can someone please point me in the right direction.
It's just sooooo annoying to click on a control in design view and
then click html view and the cursor not be at the controls code but
instead always go to the top o... more >>
microsoft.visualstudio
Posted by seema medikeri via .NET 247 at 4/29/2004 12:39:44 AM
hi
i am developing an application to transfer files from desktop to pda and vice-versa in visual c#.net . how do i do this? i have tried using microsoft namespace. but i am not able to do it to transfer file from pda to pc.
do u have any such examples?
how do i know about microsoft namespa... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Com Interop
Posted by SR at 4/28/2004 11:56:10 PM
What kind projects can be registered for Com Interop? I noticed that Windows
Applications, ASP.net projects, database projects and blank solutions have
this option disabled.
--
KEITH DAVIS
Systems Support Analyst
County of San Bernardino
mizoguchi42@email.uophx.edu
... more >>
VSS Sql Server integration problem in VS.NET 2003
Posted by Bob at 4/28/2004 5:10:49 PM
I have a server with SQL 2000 and VSS 6d on it. I don't have a problem with
two of the DBs. I added the connections using windows integrated security
and then it promopted me for login, I entered my login and pwd, and it
sucessfully added the connections and showed sotred procedures under sourc... more >>
Where is WebSettings path stored?
Posted by Ken Varn at 4/28/2004 3:43:13 PM
I have looked in .csproj and in .sln file and cannot locate where the
Project/Web Settings/Path is stored. Also looked in csproj.webinfo file and
cannot find it.
I have run out of places to look. Please help.
--
-----------------------------------
Ken Varn
Senior Software Engineer
D... more >>
Building MSIs with VS .NET
Posted by Steve McLellan at 4/28/2004 1:23:50 PM
Hi,
Is there a way to add a file multiple times to an Installer project and get
the MSI compiler not to package that file multiple times? It seems to me
it'd make more sense for it just to set up four locations to install a
single file to, rather than packing the file four times each with its ... more >>
"Check for Updates"
Posted by Bruce Schechter at 4/28/2004 10:42:50 AM
I get an error message each time I try to run "Check for Updates" within
vs.net 2003. From searching the newsgroups, I see this is a well known
issue, but yet nothing I've found clears up the problem for me. Thus, I
continue to ponder the question of how to know if/when there might be an
upd... more >>
Switching back from HTML view doesn't work
Posted by makro NO[at]SPAM online.no at 4/28/2004 2:39:49 AM
Hi!
I have an annoying problem. When I view an apsx page in design view
everything shows up fine. I then switch to HTML view and everything is
still fine. But if I then try to switch back to design view the page
will simply not display. All other windows switch so they are
"prepared" to work ... more >>
Suddenly vs.net will not create new projects
Posted by Bruce Schechter at 4/28/2004 1:15:03 AM
Suddenly, after many months of problem free usage of vs.net 2003 ( version
7.1.3088), when I open the IDE, select "new project", select folder, assign
name ("testcode"), and then click "OK"... I get a dialog box with the
following error message: "The folder 'testcode' isn't accessible. The
... more >>
Using DW with VS.NET
Posted by darrel at 4/27/2004 2:39:53 PM
I'm doing most of my .net work with DreamWeaver, but would like to start
using VS.NET more (but not exclusively).
I've developed some pages (namely user controls) as single-files...in
otherwords, I'm not using code-behind.
When I open these pages in VS.NET, I just get to look at the source c... more >>
IDE bugs
Posted by Ralf B. at 4/27/2004 10:48:32 AM
hi
I know this issue has been discussed before - back in February - but no
solution or bugfix has been
offered so far.
I work on an application with only a few forms. All but one cause no trouble
at all.
the one that causes trouble has a tabcontrol with over 20 tabpages and about
300 co... more >>
VS .NET 2003 crashes on solution close
Posted by Roland Martin at 4/27/2004 6:31:05 AM
I have just added a reference to System.Web.Services within a project and everytime I close the solution VS .NET 2003 crashes, here is the info from the event log (eventID 1000)
Faulting application devenv.exe, version 7.10.3077.0, faulting module cslangsvc.dll, version 7.10.3077.0, fault address ... more >>
Lost my design view?
Posted by raykos at 4/27/2004 4:41:03 AM
Hello all
Don't know what I did, but for this one particular project I can't activate 'View->Designer'. I had the form an
toolbox when I started the project yesterday, but today the form and toolbox(toolbox is there but 'empty') are gone
I've tried other projects and they're OK. But, fo... more >>
Customize Event Handler Names
Posted by Paul Prewett at 4/25/2004 8:54:31 AM
Hello all,
Does anyone know where in the system settings I could go to change the name
of the events that get wired up automatically by VS.NET 2003?
For example, in C#, use any method to auto-create an event handler (dbl
click a button, use the tab trick when manually wiring up events), and ... more >>
args debug parameter
Posted by Gabi at 4/25/2004 1:31:01 AM
Hi All
i used vc6 ide and now i move to .net
i want to debug my project with command line argument (args)
in visual studio i was open the settings and put my argument
where in .net i put the same argument?
Thanks... more >>
Services provided by DTE
Posted by Daniel Cazzulino [MVP XML] at 4/23/2004 5:06:37 PM
Is there a LIST of all services provided by the DTE object through the
IOleServiceProvider interface?
Thanks!
--
Daniel Cazzulino [MVP XML]
Clarius Consulting SA
http://weblogs.asp.net/cazzu
http://aspnet2.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus sy... more >>
Task List
Posted by Hayato Iriumi at 4/23/2004 11:11:06 AM
As I'm debugging my application, I get compilation error, but quite often,
Task List doesn't expand. I end up with having close VS .NET and start it
again. If it's like once or twice a day, I can live with it, but this
happens a few times an hour. Does anyone know how to get around this
problem?... more >>
Asp.net: can not see design preview
Posted by Mahesh at 4/23/2004 6:45:56 AM
Hi,
I am using Visual Studio.NET for creating ASP.NET pages.
This page has a Repeater control, place holder and some
code <%# DataBinder.Eval(Container.DataItem, "Location") %
>.
Here I can not see Design preview of this page because I
am getting error like "Could not open in design v... more >>
Can't Connect to MSDE or Add Data Connections
Posted by Michael Hallquist via .NET 247 at 4/22/2004 9:59:07 PM
I just installed Visual Studio =2ENET 2003, MSDE sp3a, and MDAC=
2=2E8=2E When I try to connect to MSDE in Server Explorer in the=
IDE, my instance shows up with an x through it=2E I can't expand=
the server to view databases or tables=2E Also, when I choose new=
connection by right clicking... more >>
Error during DataAdapter Config Wizard
Posted by Brandon Hurlburt via .NET 247 at 4/22/2004 9:58:20 PM
Every time i put a data adapter on my form, i get the following error after clicking "next"
An unexpected error has occured.
Error Message: Object reference not set to an instance of an object.
Call Stack: at Microsoft.VSDesigner.Data.VS.VsConnectionManager.CheckConnection(Int32 index, ... more >>
Turning off dynamic help inside VS .NET???
Posted by Bob Rock at 4/22/2004 7:18:56 PM
Hello,
is there a way to turn off dynamic help from displaying when clicking F1???
Every time I call help on a word the external MSDN opens up (just as I want)
BUT also the dynamic pane inside the Visual Studio (VS .NET 2003) opens up.
I've looked in the VS options and have found no way to dis... more >>
Commenting Sections
Posted by Drew at 4/22/2004 4:13:36 PM
Is there any way to comment a whole section easily?
Ideally, I'd like to highlight the section I want to comment,
right click and select something like "comment".
Is anything like this available?
Mostly I just want to exclude a section while developing
when I'm feeling too lazy to type /*... more >>
Usage DTE object in WSH
Posted by Vladimir A. Pigin at 4/21/2004 7:18:49 PM
hi all.
please, sorry my little skills and stupid question (and my eanglish too).
i use code like that -
var dte = WScript.CreateObject("VisualStudio.DTE.7.1");
WScript.Echo("open solution: " + SomeFile);
dte.Solution.open(SomeFile);
var ce = dte.Solution.Projects.Item(1).CodeModel.CodeE... more >>
Auto generate comments in every source code page
Posted by Juliet Choy at 4/21/2004 4:17:27 PM
Dear all,
I would like to include a few lines of comment code which are some
copyright statements at the header of every C# source code pages I
created in the project, is it possible to do this so that VS.NET can
generate this comments for me every time I create a new source code page
i... more >>
suggestion box
Posted by Adam J. Schaff at 4/21/2004 3:59:29 PM
I'm looking for an email address or web link where I can send feature
requests for future versions of the VS IDE. Can anyone point me in the right
direction?
... more >>
Changed rescource values are not used
Posted by Jan_Weingärtner at 4/21/2004 1:24:22 PM
Hi,
if i change values in my resx file, the changes are not
used until i reload the solution.
Is there another way to inform the ide, that the resource
was changed?
best regards,
Jan... more >>
Highlight current line?
Posted by pwalessi1 NO[at]SPAM hotmail.com at 4/21/2004 11:33:59 AM
Is it possible to have the IDE change the background color of the line
that the cursor is on? That would be nice.... more >>
Sorting Files in Solution Explorer
Posted by Chris at 4/21/2004 10:20:56 AM
How can one sort the files in the solution explorer by
name?
VC++ 6.0 did this automatically, but VS7.1 keeps them in
the order added.
I've been reading through documentation and searching
online, but I haven't succeded in finding such a feature..
Maybe someone has written a macro to do ... more >>
Property toolwindow
Posted by Bram Hoefnagel at 4/21/2004 9:45:54 AM
Hello is it possible to display my own class properties (thru a treeview) in
the default visual studio 2003 property window?
I've got a reference to the property window, that works. but can't get it
fixed to display my own properties there. So i wondering if it's possible
anyway...
thanx
bra... more >>
problems with web project
Posted by mike b at 4/21/2004 6:51:03 AM
I am attempting to create a simple asp.net project with visual studio.net using the frontpage server extensions on a windows 2003 server. When attempting to open the project I get a forbidden (403) message from the web server and I was only prompted once for login credentials. After the first attem... more >>
Command "Project.UnloadProject" is not available.
Posted by David Merrill at 4/20/2004 7:46:04 PM
In my add-in I had to modify the csproj file directly due to certain properties not being available in Project, VSProject or the Properties collection
However, as the project in question is currently loaded in the IDE I need to reload it
I discovered Project.UnloadProject and Project.ReloadProject... more >>
CPU usage
Posted by Chapel at 4/20/2004 2:16:03 AM
Hello everybody
I`m running Visual Studio 2003 Enterprise Edition on a dual Intel Xeon 2,4 GHz, RAID 0 SCSI system. As you know Xeon procesors have hyperthreading
I am puzzled by the fact that VS is using only 25% of the total CPU power, that is one of the four virtual procesors (half of one real... more >>
Newbie user: my ide crashes upon start
Posted by Earl Takasaki at 4/19/2004 9:46:05 PM
Hi
I just bought VS.NET (academic). Whenever I type a simple: "#include <iostream>" in the IDE, then hit <return>, my entire computer reboots.
Any ideas why? This make the product slightly difficult to use.
:
(I have p4 2.6, ram 768, WinXPPro SD1
Many thanks
Earl Takasaki... more >>
Phantom Build Errors in Task List
Posted by Scott Simms at 4/19/2004 7:46:03 PM
We have a VB.Net solution in Visual Studio 2003 that suffers from phantom build errors whenever a change is made to source code. Source code that is correct and does not report errors will suddenly break and cause errors during background compilation. If the project is rebuilt or if you exit and rel... more >>
How to add new item to context menu in schema designer
Posted by Peter at 4/19/2004 6:41:06 AM
'd like to make such thing
when user clicks right button in schema editor he can select some items in context menu which I add
I know that the same thing can be implemented in VS text editor, but how
I suppose that schema editor also allows to do this
P.S. Sorry for my English.... more >>
Project dependancies
Posted by BigStew at 4/17/2004 10:41:17 PM
Sorry for the basic question, but...
Just started using Visual Studio .Net 2003.
When opening old VC projects, how can I see which .libs the project depends
on?
In Borland C++Builder (sorry) I could achieve this by looking at the
Project->Edit Option Source.
Anyone?
Stew
... more >>
Visual Studio IDTCommandTarget
Posted by Sascha Andres at 4/16/2004 9:21:13 PM
Hi,
I have a Connect class implmenting IDTExtensibility2 and
IDTCommandTarget. My QueryStatus looks like this:
public void QueryStatus(string CmdName,
vsCommandStatusTextWanted NeededText, ref vsCommandStatus
StatusOption, ref object CommandText) {
log.Debug("QueryStatus");
Mes... more >>
Adding an existing folder to a project
Posted by John Lau at 4/16/2004 9:11:58 PM
Hi,
This should be simple, but I'm stumped. I can right click on a project in
the solution explorer and add a new folder, but I can't figure out how to
add an existing folder to a project. When I tried to add an existing item
in an existing folder to a project, and the folder is not already ... more >>
Automation sample ToolWindow Add-Ins (Automation Samples for Visual Studio NET 2002)
Posted by steves at 4/16/2004 9:06:04 PM
Dear Sirs or Madams
this Add-In sample works fine, but i have one problem
In the OnConnection Event of the AddIn (connect.cs) we get the DTE object (OnConnection(object application,...), then the Class VSUserControlHostLib.IVSUserControlHostCtl is created via CreateToolWindow (..) and this object... more >>
compiling dependencies
Posted by dan at 4/16/2004 5:26:02 PM
Regarding VS.NET 2003
I have a solution with two projects in it. One is a C# class library, and the other is a C# win forms app. The winforms app has the class library as a dependency. Compiling the whole solution fails, because the IDE complains that it cannot 'copy the output file [of the clas... more >>
Build always performs a Rebuild
Posted by Bill Rust at 4/16/2004 12:49:29 PM
I have a rather large ATL project that I converted from VC++ 6. Whenever I
build it, VS.NET concludes the whole thing is out of date and rebuilds the
entire project. This happens even immediately following a successful build
of the entire project. Any idea why?
Thanks,
Bill
... more >>
findnextselected & findpreviousselected
Posted by Marc Pelletier at 4/15/2004 8:52:54 PM
Hello all,
Is there any way to stop the above editor functions from rolling over the
end of the file? For example if I repeatedly press the keyboard shortcut
for either function when it gets to the end of the file it starts over at
the opposite end, which I find very confusing.
thanks
... more >>
Copyright????
Posted by Radith at 4/15/2004 6:10:08 PM
Just wondering, how would you insert the copyright symbol into your
projects.
Thankx in advance
Radith Silva
radith@xtra.co.nz
... more >>
Debugger program types
Posted by Steve McLellan at 4/15/2004 2:57:45 PM
Hi,
Is there any way of telling the debugger which program types you want it to
debug? I've just experienced a problem with mixed managed/unmanaged C++
where the debugger wasn't debugging native code and was doing all sorts of
weird stuff in the unmanaged code. By running without debugging and... more >>
|