Wayne Pfeffer's Q&A profile
Visual Studio How to call ResolveAssemblyReference on other projects in the same solution
Hi I have integrated mylanguage in vs.net and want to get the intellisence of project of mylanguage in any other referenced project without building the other project. To do this i have to call ResolveAssemblyReference on other projects in the same solution. Plz suggets how can i do the above thing. Thanks Jimmy Hello Jimmy, You could call ResolveAssemblyReference on other projects, it can be achieve this way: - Get the ...Show All
Visual C# Type.GetType Problem
The following is my code to get type from AssemblyQualifiedName. //Full Qualified Name Work Type type = Type.GetType("System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"); //Partail Qualified Name Work type = Type.GetType("System.Int32, mscorlib"); //Full Qualified Name Work type = Type.GetType("System.Windows.Forms.DataGridView, System.Windows.Forms, Version=2.0.0.0, Culture=ne ...Show All
.NET Development How to get a free port ?
I would like to get a free port for an application. I do not care which port it is. Ingo Rammer in a 2001 post provided a hacky solution to this issue. I would like to know if there is cleaner (threadsafe etc.) solutions available Will .Net 2.0 provides a native helper to solve this issue Thanks in advance, Joannes what you describe is a discovery mechanism. remoting doesn't and will likely never have ...Show All
Windows Forms Find the physical drives on the machine
Hi I have a windows C# application. I want to find the physical drives on the machine. The code below gives me the logical drives like A:\ and other mapped drives. But I need those drives that physicall exist on the machine.... foreach ( String RootDirectoryName in Environment .GetLogicalDrives()) { DirectoryInfo dirinfo = new DirectoryInfo (RootDirectoryName); } There is no function ...Show All
Visual C# escape \t
hi, I've been using c# for a short time and there is a little thing a don't understand: if I write this line (where outputLabel is a label in a form) outputLabel.Text = "hi\teveryone"; the tab is not displayed correctly (there is not blank space, I see a strange character) if I use \t in a messageBox as in: MessageBox.Show("hi\teveryone"); everything is OK and I see: hi everyone why I use visual C ...Show All
Smart Device Development nativewindow in compact framework available??
I want to select a date from datetimepicker. If I use eventhandler valuechanged, it goes nuts. So I found to control if the date was changed with the eventhandlers DropDown and closeup but these are not available in Compact framework. for the eventhandlers I found this solution http://blog.opennetcf.org/ayakhnin/PermaLink.aspx guid=4069b90f-f53f-4726-8790-36a9d3830aed e DateTimePicker control in the .NetCF v2 doesn't implement DropDown and Cl ...Show All
Visual C# style and height/width
What's the difference between this two property style="width:100%" width="100%" Thx http://msdn.microsoft.com/library/default.asp url=/workshop/author/dhtml/reference/properties/width_2.asp ...Show All
Visual Studio Team System How can I easily close multiple workitems at once
Is there a way to select multiple work items and set there state to "closed" all at once Excel is the way to go for modifying work items in bulk. You don't have to close the file though. You can hit the Publish button in the toolbar to get the changes back into TF Work Item Tracking. Buck ...Show All
.NET Development Using consumer side SoapExtensionAttribute in Beta 2 consuming Java WebServices
I have runnning and perfectly working SoapExtension project in the web application solution. The WebServices servers are a "BlackBox" to me. I'm trying to: 1. Add an attribute to the SoapExtension. 2. Set a few values in SoapHeader's elements catching them in the AfterSerialize context of the ProcessMessage override. 3. The XPath, value, key, token and operation are supoosed to be extracted from the attribute. I sa ...Show All
Visual Studio How to specify Class Namespaces? (VS 2005 Beta 2)
I have the following directory structure in my project: src DAO DAOFactory ImplASA ImplMSSQL CriteriaFactory ImplASA ImplMSSQL I am trying to create a new class diagram however, when I add a new class or a new interface I can only specify the class name, not the namespace so all the source files are created at the SRC level. Am I missing something Should I not be able to tell CD which package I want each class to reside in Tha ...Show All
Windows Forms How to identify the acutal row ?
I have an dataset with some tables in it. I'm binding one of the tables ("Accounts") to a ListBox, set the DisplayMember and ValueMember. Everything works fine. When i klick on the Listbox, i change the Itemindex and maybe somewhere the ac ...Show All
.NET Development Framework 2.0
How can I obtain a copy of the SDK on disc At 56kb, 14 hours is just too long. Thanks Roger J Dyckman (nospam ) adept@accutek.net(nospam ) Hello Roger, I believe you can order it on cd from http://microsoft.order-2.com/developertools/ Hope that helps, Stephen [Microsoft CLR - Security: Developer] http://blogs.msdn.com/stfisher ...Show All
Visual C++ Non-recompile Save
Does an option exist where I can save a file without having it recompile since the last save Every so often I know I will add a comment or make some tiny syntactic change in some header that's included into 100 source files and then all of those have to recompile even though the change I made to the file will produce the exact same obj files as the previous compile. If this doesn't already exist it would be nice... [edit] Better yet just add so ...Show All
Visual Basic Word color
I how do you code the textbox that so only some words are differnt colors With a textbox you can't. You can do it with a RichTextBox. ...Show All
Visual Studio Problem using DTE80a.olb
Hi, I have migrated my code from .NET2003 to .NET2005. I used DTE.tlb, it gave me build error. However i got sudgestion from VSIP developer to use DTE.olb. But now I can see that this file is not present in VS2005. I used DTE80a.olb as I read in forums that this is just renamed form of DTE.olb. The build is successful but at run time, I get error CreatCustomeProject error at the time of clicking finish of Application settings page and project is ...Show All
