Kevin Herbert's Q&A profile
Visual Studio Adding a New XML TextDocument
Hi, I'm new the extensibililty interfaces and have managed to figure how to dynamically add a new TextDocument to the application's Documents collection. I was wondering how to create a new XML document -- meaning the XML editor is managing the new document window Thanks very much. - Erik If the file contains XML, then the XML editor will automatically detect that it is an XML file and open it. Add a schema reference to the XML ...Show All
Visual Studio Team System Working with multiple team projects in Team Build
Looking at Manish's blog: http://blogs.msdn.com/manishagarwal/archive/2005/12/22/506635.aspx I'm wrestling with the best source control structure to use including when and why to use seperate team projects etc. In the above scenario I cant see why you wouldn't just include the framework libraries in the same team project as your application code, unless that is you want to use a different process methodology for each. Is there any other re ...Show All
Windows Forms How to remove imagemargin in a submenu
I can see how to disable the image margin in a contextmenustrip: ContextMenuStrip1.ShowImageMargin = False but I can't see how to disable the image margin in a submenu!! Any ideas Thanks I don't believe you can. If you did want to do this I'd have to ask why It would provide an inconsistent UI to the user. What if a submenu item had an icon, it wouldn't get displayed. There really sho ...Show All
.NET Development rename xml node
I need to rename an xml node in a large xml document from <Item>Item</Item> to <xItem>Item</xItem>. I have no control over the design of the xml file so I need to do this change when I receive the documents. Any ideas how I can do this with .net Thanks Danny If perf is importent to your app. and you don't need XML loaded into the DOM anyway, you can avoid cashing in XmlDocu ...Show All
.NET Development how to copy excel file from any drive or from any network drive to a desired folder on my computer
hi all, How can i write code in C# to copy excel file from any drive(C,D,E...) or from any network drive to a desired folder on my computer. Can any body tell me is this functionality avalaible in .Net .what api should i use. thanx a lot Try the System.IO namespace. -- Paulo Morgado < Ntech@discussions.microsoft.com > w ...Show All
SQL Server Why i get this strange error ?
"An I/O error occurred while receiving the TDS prelogin response." This error is returned by JDBC when the TCP/IP (1433) port is closed I'm asking the guys that made Sqlserver 2005 JDBC !!! Is better to show "Could not connect to SQL server 2005 !!!" or "Open TCP.IP port !!!!" than this encripted and undocumented error Thanks for not helping and not knowing anything, Microsoft guys ! I am sorry to he ...Show All
.NET Development Using transactions with TableAdapters
I have several table adapters, each with an InsertCommand (among others). I call BeginTransaction before I start calling Update for each adapter. Update results in the InsertCommand being used but I get an exception because the command has no transaction. The commands are private members of the VisualStudio-generated adapter classes so I cannot access them to set their Transaction members. Is there a "proper" way to do this (In case it ...Show All
Windows Forms Microsoft Office COM Documentation?
I am new to interoperating .NET and microsoft office(Words, Excel, and etc.) through COM... where can I find a reference/documentation on how to use the objects and methods provided in these microsoft office COM objects. Thanks! You know,&n ...Show All
SQL Server Export Wizard generates errors
I am trying to export data from my local server to the hosting server. However I get errors when executing it: Validating (Error) Messages Error 0xc0202049: Data Flow Task: Failure inserting into the read-only column "ID". (SQL Server Import and Export Wizard) Error 0xc0202045: Data Flow Task: Column metadata validation failed. (SQL Server Import and Export Wizard) Error 0xc004706b: Data Flow Task: "component " ...Show All
Visual Studio Express Editions Is vc++ 6.0 good
i bought a book on vc++6.0.can i build powerful software applications with that.what is the difference between the vc++6.0 and vc++ 2005.what is the latest released version ya it is for exam 70-016.i don't have internet explorer 7.0 to install the vc++ 2005 express edition.it takes a long time to download by kaushik ...Show All
Windows Forms How to set color of the splitter in SplitContainer control?
Hi, I have a SplitContainer control on the form. I need to set color of the splitter, that even background color of all panels are white, splitter is visible anyways. I cannot find any property, which could do this. Is there is any way to set this Thanks The BackColor does what you want. If you set the individual panels' BackColor values to something, then set the SplitContainer.BackColor propert ...Show All
Smart Device Development Deployment Errors in PDA
Hi, We are gettiing the following Deployment Errors when we are running a PDA application : =================================================== ------ Deploy started: Project: PDA-RSMS, Configuration: Debug Pocket PC ------ Deploying to Pocket PC Device using TCP Connect Transport Error: Cannot establish a connection. Be sure the device is physically connected to the development computer. ...Show All
Visual Studio 2008 (Pre-release) HierarchicalDataTemplate not finding correct public Type
For some reason I can't get my Grid to find my DataType in the datatemplate. I confirmed the assembly was present and accessible via code-behind, but XAML refuses to recognize it, I also tried slapping the Assembly attribute onto the Mapping tag but to no avail. The DataContract type is Franchise in the Log.DataContracts namespace. < Mapping XmlNamespace="Log" ClrNamespace="Log.DataContracts" > < Grid x:Clas ...Show All
SQL Server Cannot see SQL Server 2005 Services in SQL Server Configuration Manager
I cannot see any services within "SQL Server 2005 Services" in SQL Server Configuration Manager. I am new to SQL Server 2005 and recently installed all of the SQL Server 2005 64-bit components on to a Windows 2003 64-bit server. I can create and view databases via SQL Server Management Studio. I can also start and stop the SQL Server service for the default instance via SQL Server Management Studio. But I should be able to start/stop the ...Show All
Windows Forms using FolderBrowser code works in 2000 but not in XP
Selected Path is not being returned. This is an older application using 1.0 lib Public Class getFavClass Inherits System.Windows.Forms.Design.FolderNameEditor Private PathString As String 'avoid public variables. Do this with properties Private&n ...Show All
