1,302 Posted Topics
Re: Assume you've parent node and its child two nodes with text ([url]www.microsoft.com[/url] and [url]www.daniweb.com[/url]) From treeview event handler, double click on NodeMouseClick [code=vb.net] Private Sub treeView1_NodeMouseClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.TreeNodeMouseClickEventArgs) Handles treeView1.NodeMouseClick webBrowser1.Url = New Uri("http://" + e.Node.Text) End Sub [/code] | |
Re: If you saved this bitmap on client's HDD, what the result, also black? | |
Re: Learn how to add Media Player component to your windows form application. | |
Re: Welcome back kischi, This is C# forum not ASP.NET, try to move your thread there [url]http://www.daniweb.com/forums/forum18.html[/url] | |
Re: mmmm, just take a look [code=c#] bool Validate(string username, string password) { //you're code } //button login event handler void onClick_btnLogin(object sender, EventArgs e) { if(Validate(txtUserName.Text, txtPassword.Text)) { Form2 form2 = new Form2().Show(); this.Hide(); //to hide login form } else { //invalid username or password } } [/code] | |
Re: In regular windows you can switch between parent and child windows, on the other hand you can't. | |
Re: You just didn't try right outer join [code=SQL] SELECT master.id AS [Master ID], master.field1 AS [Master field], child.field1 AS [Child Field] FROM child RIGHT OUTER JOIN master ON child.masterid = master.id [/code] | |
Re: Mark your thread a solved, and try to search on your problems and search more then search more and more if you don't get an answer come with your question, sooner you'll be great programmer :) | |
Re: Set the property SelectedIndex to the item's index you want it to be the default... Say we want to show the 6th item In form load handler add this piece of code [code=c#] comboBox1.SelectedIndex = 5; [/code] | |
Re: You can use Random class or let's database increment id column automatically. | |
Re: You should have integral value decreases each time tick [code=C#] int tik = 30; private void timer1_Tick(object sender, EventArgs e) { if (tik >= 0) label1.Text = (tik--).ToString(); else label1.Text = "Stopped"; } [/code] | |
Re: [url]http://www.codeproject.com/KB/database/CompactAndRepair.aspx[/url] | |
Re: Web development forum help better, move your thread there :) | |
Re: What I've understood from your question you need to know which button clicked (and it's not work Probably with huge number of buttons) I've better scenario is to Create ONE event handler for Button Click and assign this handler to all buttons. I've 10 buttons with text say (1....10) [code=c#] … | |
Re: This occurs with English text?? or Arabic\Indian or non-English text? | |
Re: Look, object (application, controls, textbox, combobox, etc...) data saved in machine memory, so when your application closed all its data removed. To do your scenario, to add an item then close the application, and when you start it again, you find this item, you should have data repository (SQL Server, … | |
Re: do you mean to assign html script to i.e. richtextbox on a web page from another web page or sending html email to email address? | |
Re: you can pass a value to select statement like 'select column1 from table where column2 = @varaible' and return it in object if this object is null so it not exists else it exists and using if you can direct your code... | |
Re: I can't debug your code right now, but I recommend to transfer data from different data repositories to SQL Server is to use SQL Server Integration Service which in SQL Server Business Intelligence Studio. through it your can transfer\cleans\custom your data. | |
Re: You can bind data in ListBox by some criteria, and in ComboBox selected index changed event handler re-bind the data into ListBox. search in [url]http://msdn.com[/url] you'll find a lot of exampls... | |
Re: My friend wrote a post about to show display flax movie in windows form by C# take a look [url]http://fci-h.blogspot.com/2007/06/how-to-play-flash-swf-inside-c.html[/url] | |
Re: He should know your IP through configuration settings, and ports he could random port number and try to connect if failed generate another one. | |
Re: Yes, you can, if you running on Windows Vista be sure to run this on administrative mode. Please include any error message appears. | |
Re: [quote] first text should contain 6 digit.. [/quote] What do you mean by text??! plain text or textbox, please clarify.. | |
Re: My answer is: "Merge replication" [url]http://msdn.microsoft.com/en-us/library/ms152746(SQL.90).aspx[/url] To check if mine fits you take a look on [url]http://msdn.microsoft.com/en-us/library/ms152531(SQL.90).aspx[/url] | |
| |
Re: Front end: ASP.NET, JSP, Servlets, etc... Back end: SQL Server, Oracle, MySQL, etc... I don't know what do you need please, specify your questions. | |
| |
Re: If your machine which hosts SQL Server has static IP, you can connect it without need to VPN, using normal connection string, and instead of machine name you can write the IP. Another way is to ask in Network forums [url]http://www.daniweb.com/forums/forum13.html[/url] they may have a solution around VPN | |
Re: To explain DDanbe answer, DateTime is value type which means can't be null to make it accepts null you should add nullable flavor "DateTime?" | |
Re: Use Visual Studio Click Once Installer. New project->Other Project Types->Setup and Depolyment->Setup Wizard | |
Re: Check with (Map Quest) technical support, they may have solution regarding this, or (Map Quest) has minimal prerequisites, your web server must meet. | |
Re: Add the output assembly of WPF application to class library project references. | |
Re: To make a user control dragable or moveble on your forum you should make it using 3 event handlers 1- on mouse click 2- on mouse move 3- on mouse release first on mouse click begin assgining the location of the control to the x, y of mouse once user … | |
Re: for those tasks, I recommend to use MATLAB it helps a lot and has a lot of built in algorithms and toolbox you can use, use its funcationality then make your work as dll and call it from C# application | |
Re: I didn't fully understand you, however have you .config file has some resources used by your code, like connection string, etc... try to deploy your project on XP machine and see if error raises or not. Keep me updated with your problem. | |
Re: First take your textbox's text in string apply your regular expression pattern to extract your interseting part in that string. | |
Re: Can't!! Your question has words "OR" this means you've to use a branched code... | |
Re: Yes, according to your .net security, you don't give the user permissions to access protected resources, configure it from Control panel->Administrative tools->Microsoft .NET Framework 2.0 Configuration. You may need to configure the zone of the application, work around this you'll solve this problem :) | |
Re: That's surely because you select to output for example 2 or more .exe, which each of which depends on same dll, so windows installed get the 2 .exe + the depended dll, so it warns you about that, don't worry at all, your work is good | |
Re: Ok, I'll help you regards this, but first tell me it's Windows application or web-based application?! | |
Re: Has permission to write on this directory?! | |
Re: plot sheet, I'll give an example look at [url]http://fci-h.blogspot.com/2008/05/how-to-make-your-controls-moveable.html[/url] | |
Re: Are you sure that the connection string is correct? | |
Re: DirectX has facilities to develop networking games.. |
The End.