Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
5
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #746
~30.7K People Reached
Favorite Tags

56 Posted Topics

Member Avatar for jbrock31

Hello everyone. I am trying to work through a programming challenge in my c++ book. I have gotten it to work, but i kind of cheated by looking at the file. I am going to past the entire code so i can be compiled, but the main problem i am …

Member Avatar for samone1228
0
613
Member Avatar for thegreatkk
Member Avatar for George_91

What you will do is set the button to be disabled by default, so when the questions load, it will be disabled already. There are a number of ways you can handle this, but you could handle the CheckChanged event for RadioButtons and then actually check each group on the …

Member Avatar for skatamatic
0
840
Member Avatar for kothaisaravan

> I have c# Application running in my desktop(Windows XP) with Java web services and oracle DB . The Application includes a shipping screen which has a calendar window. When I run the application in my desktop it works fine. > Client uses the same application. We access it through …

Member Avatar for kothaisaravan
0
112
Member Avatar for nicewave

I quickly did a serach and found a bunch of stuff. Below is the link at the top of the search. Seems like what you may be looking for. [Click Here](http://www.c-sharpcorner.com/UploadFile/nipuntomar/contextmenuforgridview01162007124516PM/contextmenuforgridview.aspx)

Member Avatar for nicewave
0
168
Member Avatar for de Source

Above poster is correct use a timespan. Here is an example. Timespan ts = DateTime1 - DateTime2;

Member Avatar for darko444
0
496
Member Avatar for nicewave

All you have to do is set the "AcceptButton" property of the form to that button. This property causes the button_click even to fire when the user presses enter.

Member Avatar for jbrock31
0
121
Member Avatar for cool_zephyr

Seems like there is not a value in the cell, thus the object reference error. Debug and verify there is a value there. Also Mitja's response is important as well.

Member Avatar for vimit
0
587
Member Avatar for techlawsam

This is called overloading, which you can also do with normal methods. This allows the object to be created with one,two, or three parameters. This allows the programmer to choose how to create the object. Below is a link with more information. http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=105

Member Avatar for techlawsam
0
187
Member Avatar for zachattack05

I know you marked this as solved, but you could create a "discontinued table" and move items to it. This will allow for archiving, as well as keeping the "main" table at a smaller size.

Member Avatar for jbrock31
0
97
Member Avatar for james6754

You don't appear to be setting the filter property as Mitja showed you. Is this all the code?

Member Avatar for james6754
0
320
Member Avatar for xanawa

I noticed you also have a date of employment field in this insert... Try making sure both are strings before passing into insert. Otherwise we need to see more code.

Member Avatar for abelLazm
0
220
Member Avatar for goldeneagle217
Member Avatar for leo88

momerath's answer definitely works, but i didn't have a problem using your code, although i altered it slightly. [code] Dictionary<String,Double> sList = new Dictionary<string, double>(); sList.Add("1",1); sList.Add("2", 2); double min; min = sList.Min(m => m.Value); if (min != 0) MessageBox.Show(min.ToString()); [/code]

Member Avatar for leo88
0
7K
Member Avatar for aaronmk2

What is in the file that you are opening? Can you give the data, and i should be able to provide an answer.

Member Avatar for aaronmk2
0
226
Member Avatar for davieJohnson
Member Avatar for xbox221

[CODE] 1. using System; 2. class text 3. { 4. static void Main() 5. { 6. Console.WriteLine("Enter text"); 7. string line = Console.In.ReadLine(); 8. string text = Convert.ToString(line); 9. int i = 0; 10. while (text != .) 11. { 12. line = Console.In.ReadLine(); 13. text = Convert.ToString(line); 14. } …

Member Avatar for xbox221
0
970
Member Avatar for anbuselvanmca

The SaveAs method allows you to pass in a boolean value when calling the method. Do you have any code so far? If so, please post.

Member Avatar for jbrock31
0
174
Member Avatar for DaveTran

Sharath is right. Since you can't do as the first reply suggested, create an "old" copy before passing it to the method you cant access and then compare once getting it back.

Member Avatar for DaveTran
0
6K
Member Avatar for Martje

If by imageBox, you mean PictureBox Control, you can get the location like this. [CODE] string location = pictureBox1.ImageLocation; [/CODE] **EDIT** nevermind i didn't read the question obviously. Let me play around with this for a few and i'll get back with you.

Member Avatar for UsSy
0
128
Member Avatar for james6754

For beginners, i recommend the Murach Books. I read the older ones but Murach's C# 2010 is the way to go. For more advance topics and more details about how things work behind the scenes, I recommend C# 4.0 in A Nuthshell. Again, 4.0 is the newest one, and includes …

Member Avatar for vedro-compota
2
162
Member Avatar for bisiii

[QUOTE=bisiii;1414004]Hello, Do anyone know how to continue the loop to get an average of entered numbers: [code] //Using loop to enter the numbers int Number, counter = 0; // declare here. for (int i = 1; i <= 10; i++) { //Entering ten numbers Console.Write("Enter the number:"); Number += int.Parse(Console.ReadLine()); …

Member Avatar for bisiii
0
146
Member Avatar for tanco
Member Avatar for tanco
0
321
Member Avatar for trippinz

Try [CODE] string fileName = ""; if(e.Data.GetDataPresent(DataFormats.Text)) { fileName = (string)e.Data.GetData(DataFormats.Text); } [/CODE]

Member Avatar for trippinz
0
463
Member Avatar for Navreet

Follow the below link. This is the Microsoft SQL Server Certification. There are numerous other development certifications, but this is what you are looking for i believe. [URL="http://www.microsoft.com/learning/en/us/certification/cert-sql-server.aspx"]MS SQL CERT[/URL]

Member Avatar for jbrock31
0
96
Member Avatar for james6754

Also, instead of making the variable public, you could make it private and then use public properties to control the getting and setting of this variable. This is the preferred object oriented way of doing this as it encapsulates the variable. I understand this is probably an assignment or something …

Member Avatar for jbrock31
0
202
Member Avatar for tcon

[CODE] Dim dtTest As New Date() Dim test As String = "12:52:17 PM 11/16/10" Dim result As Boolean result = Date.TryParse(test, dtTest) Me.Label1.Text = dtTest.ToString [/CODE] This will convert it with the Date first, then the time. Is that ok or do you need the time first?

Member Avatar for Luc001
0
2K
Member Avatar for jtaylor1120
Member Avatar for LevyDee

Have you created the events in your class? When you are creating custom events, you will have to call the events when the action occurs. Give us your code and we can be of better help. In the mean time, take a look at the following link as it explains …

Member Avatar for jbrock31
0
162
Member Avatar for TheDocterd

Also, please provide some of the errors you are getting when importing the text files.

Member Avatar for taylby
0
243
Member Avatar for jbrock31

I am exporting data to an excel file. This works, however, one of my columns doesn't format properly with currency. Through code, how can i make an entire column currency just like when i do it through Excel itself, by going to the format options. I have tried using the …

Member Avatar for jbrock31
0
118
Member Avatar for aliskov

I just posted this in another thread, but Murach's C# 2008 is a great intro to c#. I also have csharpindepth and it is a great book, but it is not for beginner's as you saw on the website. [URL="http://www.amazon.com/Murachs-C-2008-Joel-Murach/dp/1890774464/ref=sr_1_1?ie=UTF8&s=books&qid=1273203137&sr=8-1"]http://www.amazon.com/Murachs-C-2008-Joel-Murach/dp/1890774464/ref=sr_1_1?ie=UTF8&s=books&qid=1273203137&sr=8-1[/URL]

Member Avatar for ddanbe
0
298
Member Avatar for xuele91

Make the class public. By default it is private, which is what you have. namespace drag_and_lock_grid { [B]Public [/B]class Puzzlepiece { But as other posted said you are trying to use a private class in this situation, which is to restrictive.

Member Avatar for nick.crane
0
83
Member Avatar for SiPexTBC

[QUOTE=SiPexTBC;442924]Basically what i'm trying to do is delete an old textfile in place of a new one with the different text that a person types in. this is basically the code: [CODE] string Go = "go to"; System.IO.File.Delete("C:/text.txt"); StreamWriter realm = new StreamWriter("C:/text.txt"); realm.WriteLine(Go); realm.Write(comboBox1.Text); realm.Close(); MessageBox.Show("Done!", "Finished");[/CODE] So, when …

Member Avatar for kvprajapati
0
133
Member Avatar for jbrock31

Hi All, I am trying to help my family stop sucking at managing their available funds and have a "true" available amount so they are up to date at all times on their available funds. Is it possible to get the list of pending charges for any given user for …

Member Avatar for GAME
0
128
Member Avatar for nsutton

Murach's C# 2008 is a very good book a highly recommended. It is a great introduction to C# and object oriented programming. [URL="http://www.amazon.com/Murachs-C-2008-Joel-Murach/dp/1890774464/ref=sr_1_1?ie=UTF8&s=books&qid=1273203137&sr=8-1"]http://www.amazon.com/Murachs-C-2008-Joel-Murach/dp/1890774464/ref=sr_1_1?ie=UTF8&s=books&qid=1273203137&sr=8-1[/URL]

Member Avatar for kvprajapati
0
69
Member Avatar for shallug

Use a static variable and just increment it each time the method is called. [url]http://www.daniweb.com/forums/thread49952.html[/url]

Member Avatar for jbrock31
0
53
Member Avatar for jbrock31

Hello everyone. I am trying to learn css. I download a free web template and have began to modify it a little bit. I feel like I am learning a lot, but I am trying to figure out why I have two vertical lines between two of my div's and …

Member Avatar for jbrock31
0
97
Member Avatar for dougancil

[QUOTE=dougancil;1188495]I'm trying to write code for a page using VB and as I'm new to this, I'm needing some assistance. I have a button on a web page for uploading a .csv file but I also want that button to function as taking people to a destination page as well. …

Member Avatar for jbrock31
0
81
Member Avatar for BlueCharge
Member Avatar for Tucker0

[QUOTE=Tucker0;1114187]Thanks so much its working great but now it only adds the right one the first time then the second time it keeps adding the same entry... I know I got to clear something but not to sure what lol[/QUOTE] the text box?

Member Avatar for Tucker0
0
88
Member Avatar for jbrock31

I have been reading books trying to learn .net on my own. I am working on an exercise that asks me to create a 1MB file. what i have below does work, but it seems to me there would be a more efficeient way. It seems like what i am …

Member Avatar for jbrock31
0
312
Member Avatar for jbrock31

Hello Everyone, Please move to the correct forum, i wasn't sure where to put this. I also posted this to MSDN, but wanted to post here as well. I am using VS 2008 Pro Edition Yesterday i was able to create projects using the Add new Data Source Wizard just …

Member Avatar for kvprajapati
0
127
Member Avatar for axfv
Member Avatar for kritiohri

use data binding. There are many guides or examples on this, but i googled and this is the first result i got. [url]http://www.startvbdotnet.com/ado/Simplebinding.aspx[/url]

Member Avatar for Praniya
0
164
Member Avatar for bondgirl21

Couldn't you use: Pseudocode: if generalcomobobox is soda then comboboxspecific items = sprite, etc. elseif generalcombobox is Juice then comboboxspecific items = apple, etc. you could do this in generalcombo box's SelectedIndexChangedEvent. Hope this helps. Not sure if this is what you need or not. Sorry if off base.

Member Avatar for jbrock31
0
187
Member Avatar for jbrock31

Hello everyone. Can anyone give a link to a good guide/tutorial on how to populate a treeview with the drives of a system. I am able to get the drives listed, but am i having a problem creating the child nodes for the drives and really have never used a …

Member Avatar for jbrock31
0
212
Member Avatar for simonpaul
Member Avatar for jbrock31
0
145
Member Avatar for novadose

[QUOTE=novadose;761058]Or internet explorers, Im making a joke tool (im still learning alot in VB .NET and this was a simple tool to make for me) so far it opens 20 tabs in firefox of one web page, But what i want to do is it to open more firefox or …

Member Avatar for jbrock31
0
322
Member Avatar for jbrock31

Hello everyone. I have been studying VB on my own in prep for my class next semester. I am trying to update a label on form1 from form2. Below is just a "test" example i created to figure out what im doing wrong. It is not the actual project i …

Member Avatar for jbrock31
0
152

The End.