1,302 Posted Topics

Member Avatar for bharanidharanit

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]

Member Avatar for bharanidharanit
0
340
Member Avatar for Fouly
Member Avatar for Fouly
0
754
Member Avatar for SerogaM
Member Avatar for SerogaM
0
415
Member Avatar for kischi

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]

Member Avatar for kischi
0
95
Member Avatar for SerogaM

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]

Member Avatar for SerogaM
0
78
Member Avatar for SerogaM

In regular windows you can switch between parent and child windows, on the other hand you can't.

Member Avatar for ddanbe
0
118
Member Avatar for thebigo

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]

Member Avatar for Ramy Mahrous
0
117
Member Avatar for polo_coins

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 :)

Member Avatar for SerogaM
0
121
Member Avatar for SerogaM

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]

Member Avatar for Ramy Mahrous
0
163
Member Avatar for Bibin20082008

You can use Random class or let's database increment id column automatically.

Member Avatar for selvaganapathy
0
238
Member Avatar for mr_scooby

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]

Member Avatar for mr_scooby
0
150
Member Avatar for arunasingh
Member Avatar for arunasingh
Member Avatar for AnilKumar_502
Member Avatar for ddanbe
Member Avatar for wallish

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#] …

Member Avatar for Ramy Mahrous
0
212
Member Avatar for nokomoli
Member Avatar for dcparham
Member Avatar for nmakkena

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, …

Member Avatar for ddanbe
0
134
Member Avatar for reallm

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?

Member Avatar for Crisboot
0
311
Member Avatar for aminit

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...

Member Avatar for AnilKumar_502
0
77
Member Avatar for kischi

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.

Member Avatar for Ramy Mahrous
0
510
Member Avatar for SerogaM

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...

Member Avatar for Ramy Mahrous
0
139
Member Avatar for POKEMONMASTER26

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]

Member Avatar for Ramy Mahrous
0
167
Member Avatar for btech_Saurabh
Member Avatar for KillerOfDN

He should know your IP through configuration settings, and ports he could random port number and try to connect if failed generate another one.

Member Avatar for LizR
0
312
Member Avatar for scrypt3r

Yes, you can, if you running on Windows Vista be sure to run this on administrative mode. Please include any error message appears.

Member Avatar for ddanbe
0
147
Member Avatar for jainendra.shah

[quote] first text should contain 6 digit.. [/quote] What do you mean by text??! plain text or textbox, please clarify..

Member Avatar for LizR
0
82
Member Avatar for Ricky80

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]

Member Avatar for Ramy Mahrous
0
94
Member Avatar for Aneesh_Argent
Member Avatar for Flash911

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.

Member Avatar for Ramy Mahrous
0
78
Member Avatar for Biddlesby
Member Avatar for Ramy Mahrous
0
40
Member Avatar for freshfitz

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

Member Avatar for Ramy Mahrous
0
109
Member Avatar for na_atheeq

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?"

Member Avatar for Ramy Mahrous
0
130
Member Avatar for murderotica

Use Visual Studio Click Once Installer. New project->Other Project Types->Setup and Depolyment->Setup Wizard

Member Avatar for Ramy Mahrous
0
112
Member Avatar for sruthireddy

Check with (Map Quest) technical support, they may have solution regarding this, or (Map Quest) has minimal prerequisites, your web server must meet.

Member Avatar for ddanbe
0
276
Member Avatar for shers

Add the output assembly of WPF application to class library project references.

Member Avatar for LizR
0
93
Member Avatar for saurabh singh

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 …

Member Avatar for Ramy Mahrous
0
142
Member Avatar for ZZucker
Member Avatar for diyana

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

Member Avatar for gbertoli3
0
1K
Member Avatar for vckicks

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.

Member Avatar for vckicks
0
115
Member Avatar for kevinlin

First take your textbox's text in string apply your regular expression pattern to extract your interseting part in that string.

Member Avatar for Diamonddrake
0
131
Member Avatar for arupa

Can't!! Your question has words "OR" this means you've to use a branched code...

Member Avatar for arupa
0
180
Member Avatar for dev.cplusplus

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 :)

Member Avatar for santy555
0
98
Member Avatar for sanbal

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

Member Avatar for Ramy Mahrous
0
168
Member Avatar for Sreedeep

Ok, I'll help you regards this, but first tell me it's Windows application or web-based application?!

Member Avatar for JerryShaw
0
565
Member Avatar for inoxmum
Member Avatar for Davidr58

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]

Member Avatar for Ramy Mahrous
0
56
Member Avatar for Elmo_loves_you
Member Avatar for ebiemami

The End.