Posts
 
Reputation
Joined
Last Seen
Ranked #501
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
95% Quality Score
Upvotes Received
52
Posts with Upvotes
48
Upvoting Members
28
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
18 Commented Posts
~143.14K People Reached
Favorite Tags
Member Avatar for Duki
Member Avatar for Dani
22
17K
Member Avatar for mattyd
Member Avatar for Geekitygeek
Member Avatar for Lee21

No, you don't have to close the other forms manually. This will close all the MdiChildren forms: [CODE]For Each frm As Form In Me.MdiChildren frm.Close() Next[/CODE] You might have been mistaken by using "frmApproval" as the variable name. To better understand how the code works I've changed "frmApproval" for "frm" …

Member Avatar for Mike_25
0
6K
Member Avatar for krishnisilva

Instead of [icode]dgvPAction.Rows[0].Cells[1].Value = adapter.Fill(dt).ToString();[/icode], Use the following code: [CODE] DataGridViewComboBoxColumn comboBox = (DataGridViewComboBoxColumn)dgvPAction.Rows[0].Cells[1].OwningColumn; comboBox.DataSource = dt; [/CODE] Thanks

Member Avatar for yonathansona
-1
2K
Member Avatar for dickersonka

[B]@mrunmayee:[/B] See this post: [url]http://www.daniweb.com/forums/post1201961.html#post1201961[/url] Thanks

Member Avatar for jamespello
1
2K
Member Avatar for debasisdas

[QUOTE]All the flowers of tomorrow are in the seeds of today. [/QUOTE] Great one... I really love that.

Member Avatar for James_28
8
16K
Member Avatar for ryy705

Try using WebRequest instead of HttpWebRequest: [CODE] this.digestAuth = this.GetAuth(); WebRequest request = WebRequest.Create(this.loginUrl); request.Accept = "*/*"; request.UserAgent = this.userAgent; request.Headers.Add("RETS-Version", this.version); request.ProtocolVersion = HttpVersion.Version11; request.Headers.Add("Authorization", this.digestAuth); CredentialCache cache = new CredentialCache(); cache.Add(new Uri(this.loginUrl), "Digest", new NetworkCredential(this.userName, this.password)); request.Credentials = cache; WebResponse response = request.GetResponse(); [/CODE] Thanks

Member Avatar for Kumar_1
0
665
Member Avatar for downtown1933

I think there is validation on that page. There are hidden input fields which generates a hash and it is then used to identify whether the request came from that website or from outside.

Member Avatar for Ketsuekiame
0
300
Member Avatar for oXHutchXo

Okay. Here's your complete game. It does exactly what you want. [B]Here's how it works:[/B] * Use Up key to move forward and Down key to move backward. The car will move forward/backward in the pointed direction. * Use Left key to rotate anti-clockwise and Right key to rotate clockwise. …

Member Avatar for AlickIMAGE
0
159
Member Avatar for vckicks
Member Avatar for GAME

You can use WebRequest. Here's an example: [B][I]Add reference: "using System.Net;"[/I][/B] [CODE] WebRequest request = WebRequest.Create("http://www.google.com"); WebResponse response = request.GetResponse(); System.IO.StreamReader reader = new System.IO.StreamReader(response.GetResponseStream()); textBox1.Text = reader.ReadToEnd(); [/CODE]

Member Avatar for jakemdrew
0
855
Member Avatar for Mr. Magoolachub
Member Avatar for rotten69

Are you sure you have confirmed that both the numbers matches? Can you try changing your method with this (for testing): [code] public string HumanChecker(string str) { string rnd = this.RandomNumberGenerator(); if (str == rnd) { return "You are a human."; } else { return "Number you entered: '" + …

Member Avatar for kplcjl
0
180
Member Avatar for kytro360

SelectedItem property returns an object by default. You will have to convert it to string. [code]RefreshIESettings(listBoxProxies.SelectedItem.ToString());[/code].

Member Avatar for farooqaaa
0
157
Member Avatar for C sharp

I recommend Professional C# 2008: [url]http://www.amazon.com/Professional-2008-Wrox-Guides/dp/0470191376[/url] And here's a list of good C# books: [url]http://msdn.microsoft.com/en-us/vcsharp/aa336795[/url]

Member Avatar for darkelflemurian
-1
138
Member Avatar for shers

Change the [URL="http://i.imgur.com/3OxJW.png"]SizeMode property to "Stretch Image"[/URL] for the picturebox.

Member Avatar for shers
0
99
Member Avatar for techlawsam

And [URL="http://msdn.microsoft.com/en-us/library/system.console.read.aspx"]Read[/URL] is a method in the Console class.

Member Avatar for techlawsam
0
193
Member Avatar for farooqaaa

How to embed a resource programatically? Say you have an exe file located in "C:\test.exe" (to be used as a resource). When I run this app it will check for "test.exe" file and embed into itself. So the next time I run the app it will have the "test.exe" embedded …

Member Avatar for kvprajapati
0
174
Member Avatar for bhagawatshinde

I don't know what you are trying to accomplish. If you want to call the button7_Click() method when button6 is clicked then you can do it like this: [CODE] private void button6_Click(object sender, EventArgs e) { button7_Click(null, null); } [/CODE]

Member Avatar for bhagawatshinde
0
9K
Member Avatar for Wandering

Install [URL="http://cdn.steampowered.com/download/SteamInstall.msi"]Steam[/URL]. [i]Wrong forum, by the way. Post in the [URL="http://www.daniweb.com/community-center/geeks-lounge/6"]Geeks' Lounge[/URL][/i].

Member Avatar for farooqaaa
0
75
Member Avatar for ~s.o.s~
Member Avatar for Serapth
4
3K
Member Avatar for lxXTaCoXxl

I don't really get what you are trying to do. To use Settings first right-click on your project, select Settings and add the required settings. Let's say you have added a string "[COLOR="Green"]storageBoxTxt[/COLOR]" to the settings then this is how you'll use it: [CODE] if (mainTextBox.Text = "") { MessageBox.Show("Please …

Member Avatar for lxXTaCoXxl
0
126
Member Avatar for Michael_Knight
Member Avatar for happygeek
0
1K
Member Avatar for elizabeth mwash

SaveFileDialog only gets the path where the user wants to save, as nick.crane said. You can then use that path to save the file. For instance, if you are using an image then you will have to use `SomeImage.Save(SaveFileDialog.FileName)` to save the image in the path specified by the user …

Member Avatar for JOSheaIV
0
180
Member Avatar for ereruh

You should make Form2 constructor take a ListBox as a parameter and then pass form1's ListBox as a parameter when initiating Form2. An example: When initiating Form2, pass that ListBox as a parameter: [CODE] Form2 form2 = new Form2([B]listBox1[/B]); [/CODE] And edit Form2;s constructor: [CODE] // This will hold the …

Member Avatar for can-inlife
0
132
Member Avatar for Clawsy

These will sure help you: [url]http://www.codeproject.com/KB/cs/RemoteDesktop_CSharpNET.aspx[/url] [url]http://www.codeproject.com/KB/cs/Palantir.aspx[/url] Thanks

Member Avatar for Momerath
0
1K
Member Avatar for OldQBasicer

Put the [I]Exit Sub[/I] after [I]Me.Close[/I] or remove it and it'll work. [CODE] ......... ......... MessageBox.Show("Close form") [B]Me.Close() Exit Sub[/B] [/CODE]

Member Avatar for Mariandi
0
204
Member Avatar for ITStrawberry

Have a look at this thread: [url]http://www.daniweb.com/forums/post1259552.html#post1259552[/url] Thanks

Member Avatar for farooqaaa
0
204
Member Avatar for drake10k

Set the captured image as the form's backgroundImage as bbman said. And when the user has finished drawing you can crop the image like this: [url]http://www.farooqazam.net/crop-image-c-sharp-and-vb-net/[/url]

Member Avatar for farooqaaa
0
138