Posts
 
Reputation
Joined
Last Seen
Ranked #503
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
~144.60K People Reached
Favorite Tags

205 Posted Topics

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
17K
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
679
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
301
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
163
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
859
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
182
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
160
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
102
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
195
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
177
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
76
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
130
Member Avatar for Michael_Knight

I’m not anti-social; I’m just not user friendly (Geek Quote)

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
185
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
136
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
208
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
142
Member Avatar for Umee001

I don't get you. To load the image opened in openFileDialog and set it as pictureBox's image, you can simpl use: [CODE] Image img = Image.FromFile(Chosen_File); pictureBox1.Image = img; [/CODE]

Member Avatar for Umee001
0
187
Member Avatar for MARKAND911

You can use DrawToBitmap(): [CODE] Bitmap panelImage = new Bitmap(panel1.Width, panel1.Height); panel1.DrawToBitmap(panelImage, panel1.ClientBounds); // Show the image of the panel in a pictureBox pictureBox1.Image = panelImage; [/CODE] Thanks

Member Avatar for farooqaaa
0
84
Member Avatar for drake10k

Check these: [url]http://www.farooqazam.net/screen-capture-application-using-c-sharp/[/url] [url]http://www.farooqazam.net/screen-capture-class-for-c-sharp/[/url] Thanks

Member Avatar for drake10k
0
305
Member Avatar for farooqaaa

I am working on a 2d breakout game but I am having problem with the collision. Currently the game is working good with a normal box collision for the ball and the brick. But for making the ball speed negative/positive I need collision for different sides. Image: [URL="http://i.imgur.com/KSKDN.gif"]http://i.imgur.com/KSKDN.gif[/URL] In the …

Member Avatar for farooqaaa
0
133
Member Avatar for aliskov
Member Avatar for ddanbe
0
299
Member Avatar for ITStrawberry

Check this: [url]http://www.farooqazam.net/crop-image-c-sharp-and-vb-net/[/url]

Member Avatar for farooqaaa
0
100
Member Avatar for farooqaaa

How to pass an array of struct as a function parameter? This is not working: [CODE] struct Person { char* name; int age; Person(char* name, int age) { this->name = name; this->age = age; } } struct XYZ { int count; Person* people[]; XYZ(int count, Person* people[]) { this->count = …

Member Avatar for farooqaaa
0
259
Member Avatar for sathya8819

This will help: [url]http://www.codeproject.com/KB/selection/dotnetcolorpicker.aspx[/url] Thanks

Member Avatar for dotmeatpack
0
136
Member Avatar for abdelhakeem

I recommend this free book: "What the C or C++ Programmer Needs to Know About C# and the .NET Framework" [url]http://www.charlespetzold.com/dotnet/index.html[/url]

Member Avatar for abdelhakeem
0
131
Member Avatar for terence193

Ene Uran, I can't get that joke... Whats does this mean: "I've got you both beat. My dad's real good because he works for the city. He gets off work at 17:00 and is already home by 13:30!"

Member Avatar for vegaseat
0
885
Member Avatar for progcomputeach

I don't know any good C# apps. But I do like [URL="http://www.capturist.com"]Capturist[/URL] - my first C# app. Download it from: [url]www.capturist.com[/url] Thanks

Member Avatar for farooqaaa
0
69
Member Avatar for virusisfound

You can set image from anywhere using the BackgroundImage property. Here's an example: [CODE] this.BackgroundImage = Image.FromFile(@"C:\images\wallpaper.jpg"); [/CODE]

Member Avatar for hirenpatel53
0
119
Member Avatar for googles_go~

You can all the lines by using a while loop and checking for EndOfStream bool: [CODE] while(!reader.EndOfStream) { line = reader.ReadLine(); } [/CODE]

Member Avatar for jonsca
0
137
Member Avatar for anishps

Better post in the [B][URL="http://www.daniweb.com/forums/forum18.html"]ASP.NET Forum[/URL][/B] and also wrap your code in [code ] tag.

Member Avatar for farooqaaa
0
120
Member Avatar for litlemaster

I am not much good with queries but try putting a single quote around the variable: [CODE]SqlCeDataAdapter adp = new SqlCeDataAdapter("select * from gmembers where GID = '"+current_group"'", con);[/CODE]

Member Avatar for Geekitygeek
0
98
Member Avatar for nssltd

The al() method requires 2 strings as parameters. Call it like this; [CODE]al("password", "name");[/CODE] And it will work.

Member Avatar for nick.crane
0
149
Member Avatar for IDC_Sharp
Member Avatar for farooqaaa
0
80
Member Avatar for Cap'nKirk

Check these tutorials: [url]http://www.vcskicks.com/custom_shape_form_region.php[/url] [url]http://www.vcskicks.com/custom_shape_form_transperancy.html[/url] Thanks

Member Avatar for Cap'nKirk
0
97
Member Avatar for ramgude.amol

Your code is alright. Check these: [url]http://www.google.com/search?rlz=1C1_____enPK381PK381&sourceid=chrome&ie=UTF-8&q=Application+failed+to+inialise+properly+0x000007b[/url] Thanks

Member Avatar for farooqaaa
0
118
Member Avatar for Cap'nKirk

Import [i]System.Runtime.InteropServices[/i] namespace: [icode]using System.Runtime.InteropServices;[/icode] You can use [I]InternetGetConnectedState()[/I] API method to get the connection state: [CODE] // API Function [DllImport("wininet.dll")] private extern static bool InternetGetConnectedState(out int Description, int ReservedValue); // A Method for checking the state public static bool IsConnected() { int Description; return InternetGetConnectedState(out Description, 0); } [/CODE] …

Member Avatar for farooqaaa
0
195

The End.