Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+2
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for mitesh.24jain

Mitja Bonca, in regards to your last post with code ([post1792179](#post1792179)), what's the benefit of using those nested using blocks? Can you not simply declare SqlCommand and SqlReader within the first using block? Thanks, signed a c# noob.

Member Avatar for mitesh.24jain
0
205
Member Avatar for Andy90

I think what he's trying to accomplish is: He has a function foo() that does two things when the cursor is moved: displays a MessageBox, and calls setcurspos() to move the cursor on top of the MessageBox. However, because he's calling setcurspos() in foo(), foo() gets called again because the …

Member Avatar for skatamatic
0
209
Member Avatar for crazyjdog

I would do away with all the conversion work you have going on in `Convert.ToInt16(numGuess5.Text)` and the others because it's just unnecessary since they're static. private void numGuess2_CheckedChanged(object sender, EventArgs e) { if (correctAnswer == 2) this.lblOutput.Text = "correct answer"; else this.lblOutput.Text = "incorrect answer"; } and do that for …

Member Avatar for crazyjdog
0
162
Member Avatar for dare599z

Hey, I'm pulling data from a table, and storing it into a DataRow. Per [MSDN](http://msdn.microsoft.com/en-us/library/system.data.datarow(v=vs.110).aspx) , I should be able to get an item from the row simply by `dRow.Item("time")`, but I only get the option of using ItemsArray. Is there any specific reason this would happen? Thanks. Link to …

Member Avatar for dare599z
0
160
Member Avatar for dare599z

Hey all, I've noticed for the past 6 months that my external drive randomly gets files put onto its root, with very ambiguous names. They're all empty (as in 0 bytes), but it's really weird. Today I noticed a huge accumulation. I have a high technical knowledge, but I was …

Member Avatar for jingda
0
114
Member Avatar for dgreene1210

Unrelated to the actual functioning of the code, you'll want to change this little gem: [CODE]scanf("%d %d %d %d" , &num1, &num2, &num3, &num4); [/CODE] The last %d should be %f, otherwise it won't read past the decimal point, and you'll be left with an int. [url]http://www.gidnetwork.com/b-63.html[/url]

Member Avatar for dare599z
0
1K
Member Avatar for anjoz

You're missing one vital line. [CODE]if (inputFile == NULL) {printf("File failed to open."); return 1;};[/CODE] Your file fails to open, and there's where the fault comes in. But there seem to be several other logical problems with this to accomplish your goal. I'm new myself though, so I don't want …

Member Avatar for Narue
-1
544
Member Avatar for dare599z

Hello, I'm re-creating the game Riveter using wxPython. I have all the basic fundamental groundwork done, and now I'm just trying to polish certain aspects. I am, however, having problems removing buttons from the screen. I have a panel, with a vertical sizer inside of it. Inside of that vertical …

Member Avatar for dare599z
0
2K
Member Avatar for dare599z

Hello all, I'm taking a intro computer science course, yet somehow I'm much better at c++ than python. My professor is essentially useless. Can anyone show me how to let these variables persist into global scope? I assumed declaring them globally would make them persist, yet it appears to not. …

Member Avatar for dare599z
0
184
Member Avatar for dare599z

Hi all! I'm a beginner to C++ and wanted to try my skill at creating a decimal to binary converter in the console. I tried two different methods, but I failed at both. My first program was an attempt at being organized and using multiple functions and snaking the output …

Member Avatar for dare599z
2
266