PaulR's Q&A profile
.NET Development Populate TreeView with XML "On-Demend"
Hi, I'm using a sample code from MSDN in order to populate a TreeView control with some XML data using XmlDocument and a recursive method: // SECTION 1. Create a DOM Document and load the XML data into it. XmlDocument dom = new XmlDocument(); dom.Load(textBox1.Text); // SECTION 2. Initialize the TreeView control. treeView1.Nodes.Clear(); treeView1.Nodes.Add(new TreeNode(dom.DocumentElement.Name)); TreeNode tNode = new TreeNo ...Show All
Visual Basic converting old PowerBasic for WIN
Is there software to convert a program written in an old version of PowerBasic for Windows to Visual Basic ...Show All
Windows Forms Windows Forms Parking Window
I have a System Tray icon application that is causing my shutdown to hang. I have ShowInTaskbar = False set, but I still see this icon in the Alt-Tab window. I think this is the problem... When I go to shut ...Show All
.NET Development The SqlConnection.ConnectionTimeout Property =0 doesn't cause effect
Hello, I have a stored procedure which returns a resul tset , but it spends more than 15 seconds in process the information and return it. (executing it directly in the QueryAnalizer spends about 36 seconds) I have modified directly the connection string property, but the message exception continues even if the value is 0. ConnectionString: "Data Source=172.17.30.5;Initial Catalog=infoaccess;User Id=user_infoaccess;Passwo ...Show All
Windows Forms Thread Question
Hi folks, I've written a small app that processes a list of files in a copy operation. I put the function to do this into a thread so the GUI of my Form wouldn't freeze up during a copy operation. It all works well except that I need to figure out how to signal the GUI thread to update it contents based on the progress of the copy operation - it displays a progress bar and a filename filed that indicates the file it's currently copying. It do ...Show All
SQL Server Default Values do not show in WinForms.ReportViewer parameters
I have two multivalued comboboxes on my report. One cascades from the choice in the other. In IE or report preview the default values load and show on the form. In the reportviewer control the default value needs to be selected in one which then causes the default value to load in the related combobox. I was hoping to find some custom code for loading the in the report_load event but Custom Code is hard to come by. I just got the Osborne 2005 ...Show All
.NET Development Service don't start: Errorcode 1053
please help. I build the file, and put it into an installshield setup, with the order to install a service. The service is displayed at the Windows Service-list. If I want to start I get Errorcode 1053 Please look at the sourcecode, i use Framework2 namespace Event_Service { public partial class Event_email : ServiceBase { public Event_email() { InitializeComponent(); } static AutoResetEvent sig ...Show All
SQL Server Several Databases, several servers
Hi, I've got a table on my local laptop SQL Server (let's say table "products_local" in local database "homeDB") I also have identical table, named "products" on remote server database "remoteDB" How do I INSERT local table into a remote table Thanx A LOT Well, you've got a couple options: 1) use SSIS if Sql 2005, or DTS if Sql 2000. 2) set ...Show All
Visual C++ Matlab R13 .m file to VC++ library
Hi people ! I want to learn as how to convert Matlab .m files to VC++ library. My intention is to port functions like fft2 and dct2 to VC++. Can anyone give me an idea as how to compile using mcc ( I am confused with the numerous options mcc has !) Moreover ,once when I compiled the .m file and obtained the .hpp and .cpp files and added them to my project; while compiling it was givin lots of linking errors . So if some ...Show All
Visual Studio June Comunity preview - new report viewer?
Is there any changes regarding Report Controls in the June Comunity preview comparing to Beta2 Should I try it ...Show All
Windows Forms how to check if app is alreeady running?
Anyone know how to do this Thanks Deasun Check out this article on creating Single Instance applications in Windows Forms http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwinforms/html/reaworapps1.asp ...Show All
Visual C# choose fonts in a C# application, beginner
Hi, I'm new in C# (and also to programming in general), so I decided to make a really simple text editor. It is simply rich text box with a possibillity to choose fonts and thier size - nothing more. Can someone help me how to make this work. I've tried many things but it doesn't seem to work for me. What I want is a rich text box and two "controlls". 1: to be able to choose fonts from a scroll down list 2: choose size o ...Show All
Visual Studio Team System Copy the content of the source control from one TFS installation to the other
Is there a way to copy the content of the source control (TFS Beta 3 Refresh) of a single project or of all projects from one TFS Server to the other Not just a snapshot - certainly that can be done, but the whole history Thanks, Ognjen Steps here may help: http://blogs.msdn.com/vstsue/articles/500334.aspx http://blogs.msdn.com/vstsue/articles/511396.aspx ...Show All
Visual Studio Team System VS2003 not working with TFS.
Hi, I have downloaded MSSCCI Beta2 to be used with my VS2003. When I try to "Add Solution to Source Control" winthin VS2003, an Error dialog box pop up with this error: Microsoft.TeamFoundation.Client.TeamFoundationServer..ctor(System.String, System.Net.ICredentials) Above is the exact error. I have install TFS on a domain. I have also changed those registries: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACH ...Show All
Visual Studio Is there Noone capable of answering this question on this forum?
I have posted this question on several forums and in several newsgroups including this one. I recieve no answers other than is it a legal copy or is on cd or other such ***. Is there anyone capable of answering the question here, can I install this on my machine or not The same post I have posted everywhere else: I purchased visualstudio .net from the microsoft alliance at my school and can't get it to install on my machine, a celero ...Show All
