Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~8K People Reached
Favorite Forums
Member Avatar for wingers1290

Hi, i'm trying to create a program so i can log every person I meet, which i have done quite easily with databases. However i would also like to be able to log each time i meet that same person which is where i can't figure out what to do. …

Member Avatar for wingers1290
0
169
Member Avatar for wingers1290

Hi, I am loading some pictures from a traffic cam website and displaying them in picture boxes but the form freezes because its working too much. Is there any way to speed up the process, here is my code. [code] string[] picURL = new string[9]; picURL[0] = "http://www.nzta.govt.nz/traffic/current-conditions/webcams/webcam-images/cst1.jpg?rnd=0.0822959104552865"; picURL[1] = …

Member Avatar for wingers1290
0
265
Member Avatar for wingers1290

First off thanks to all the members of daniweb for all there help and support, they've been fantastic. I'm on the last stage of my program and i need a little more help. I am using binary serialization to save information, i don't want to use xml because frankly it …

Member Avatar for wingers1290
0
158
Member Avatar for wingers1290

Hi, I have a list box that on form load displays file names inside a directory using this code [code] DirectoryInfo di2 = new DirectoryInfo(path); foreach (FileInfo fi2 in di2.GetFiles()) { listBox1.Items.Add(fi2.Name); } [/code] Which works fine, however i have another function on my form which adds files to the …

Member Avatar for DdoubleD
0
283
Member Avatar for khemalatha

Hi, I created simple exe file that contains month calendar control using framework 3.5 in XP machine and run this exe in vista the month calendar control not fully display, i write the following code to check for OS [Code] if (_operatingSystemName.ToLower().Contains("microsoft® windows vista™") == true) { QuickCalendar quick = …

Member Avatar for ddanbe
0
87
Member Avatar for wingers1290

Hi, this is the final step of my program, so far I've set a button to change the default save location and now the last step is to be able to click on the serialized file and have it open in my form. The problem is I don't know how …

Member Avatar for wingers1290
0
197
Member Avatar for wingers1290

Hi, thanks for all the help with my code so far, I just have one more nagging chink in the chain. This is my code for saving my file which works as expected. [code] Person Bob = new Person(); Bob.CallSign = textBox1.Text; Bob.Freq = textBox2.Text; Bob.Time = textBox3.Text; Bob.fName = …

Member Avatar for wingers1290
0
1K
Member Avatar for wingers1290

Hi, I am using the following code to open a file "Zl2WIN". [code] FileStream filestream2 = new FileStream("ZL2WIN", FileMode.Open); BinaryFormatter bf2 = new BinaryFormatter(); Person JohnDoe = new Person(); JohnDoe = (Person)bf2.Deserialize(filestream2); textBox7.Text = JohnDoe.CallSign; textBox8.Text = JohnDoe.Freq; textBox9.Text = JohnDoe.Time; textBox10.Text = JohnDoe.fName; textBox11.Text = JohnDoe.lName; textBox12.Text = JohnDoe.Country; …

Member Avatar for wingers1290
0
177
Member Avatar for wingers1290

Hi, i've been reading the other thread on serializing and use the following code to serialize the data in a textbox. [code] private void saveToolStripMenuItem_Click(object sender, EventArgs e) { BinaryFormatter binaryFormat = new BinaryFormatter(); Stream fstream = new FileStream("data.dat", FileMode.Create, FileAccess.Write, FileShare.None); binaryFormat.Serialize(fstream, (textBox1.Text)); fstream.Close(); } [/code] This successfully creates …

Member Avatar for wingers1290
0
178
Member Avatar for wingers1290

Hi, This is basically a continuation of my last thread but under a diffrent topic. I want to be able to save basic information entered in my application as a .'help' file for example, when i open that file te information will be viewed in my application. Any ideas?

Member Avatar for ddanbe
0
164
Member Avatar for wingers1290

Hi, I am writing a program to store basic information such as name and address but i want to be able to store this information as a separate file. So for example i could fill out the Name as 'Mary' and then save this as an executable file which I …

Member Avatar for sknake
0
249
Member Avatar for suhasinishinde

Hello, Can anyone help me out i need a code to generate button at runtime having its text displayed from database using array concept. in my store procedure i have id and description and i need to display the description on runtime generated button. Thanks, suhasini

Member Avatar for Geekitygeek
0
347
Member Avatar for wingers1290

Hi, I am extremly new to C# and whilst I have a basic understanding some of the more complex answers require ample explaining. What i am trying to do is use data stored in an microsoft access database and also write to it from the c# program, i do not …

Member Avatar for kvprajapati
0
73
Member Avatar for wingers1290

Hi, i am using this code to show form2 in my program, [code] Form2 form = new Form2(); form.Show(); [/code] however when i want to use the on load event to change a labels name nothing happens, i suspect because it isnt loading just showing, does anyone have a solution …

Member Avatar for wingers1290
0
137
Member Avatar for wingers1290

Hi, i am creating up to 10 textboxes using the following code: [code] if (textBoxIndex != 11) { TextBox field = new TextBox(); field.Name = "field" + textBoxIndex.ToString(); textBoxIndex++; field.Size = new Size(200, 20); panel1.Controls.Add(field); } else { MessageBox.Show("A Maximum of 10 Areas is Supported"); } [/code] What I need …

Member Avatar for ddanbe
0
281
Member Avatar for wingers1290

Hi, I am having problem with a particular process of commands. My program begins with detecting whether a textbox is empty at the press of a button and if it is it will display an error code which i scripted to do, you can create up to 10 textboxes which …

Member Avatar for wingers1290
0
120
Member Avatar for wingers1290

Hi, Is it at all possible to detect if a user has inputed text into a text box for example. [code] if (textbox1.Text == ("detect if text is in textbox") { // do something } [/code]

Member Avatar for wingers1290
0
263
Member Avatar for wingers1290

Hi. I'm new to c# and have ran into a problem, I am using the following code to generate textboxes within a panel. [code] private void button1_Click(object sender, EventArgs e) { AddFields(); } private void AddFields() { if (textBoxIndex != 10) { TextBox field = new TextBox(); field.Name = "field" …

Member Avatar for wingers1290
0
226
Member Avatar for wingers1290

Hi, Does anyone no if it is possible to remove controls like a textbox during runtime?

Member Avatar for ddanbe
0
154
Member Avatar for wingers1290

Help I need a quicker way to do this, its a combobox that assigns a number to whatevers selected and it takes up to much room and looks messy. [code] private void comboBox19_SelectedIndexChanged(object sender, EventArgs e) { if (comboBox19.Items[comboBox19.SelectedIndex].ToString() == "Clear Float") { glassType10 = 200; } else if (comboBox19.Items[comboBox19.SelectedIndex].ToString() …

Member Avatar for wingers1290
0
97
Member Avatar for wingers1290

Hi, Does anybody know how I can create a bunch of textboxes and buttons without having to write each one individually e.g [code] Button button1 = new Button; button1.Location = new Point(1,20); this.Controls.Add(button1); [/code] And then having to go onto the next one e.g button2. Please help

Member Avatar for wingers1290
0
82
Member Avatar for wingers1290

Hi, I am creating a program on behalf of my business and have become stuck in one particular matter. I am fairly new to C#. The application consists of the user entering data into a mixture of comboBoxes and textboxes, after the user has entered the data he clicks the …

Member Avatar for wingers1290
0
2K
Member Avatar for wingers1290

Hi, I am creating a program on behalf of my company and am stuck in one particular matter. I am fairly new to C#. At the moment I am creating a textbox, label and a button at the push of a diffrent button with the following code. [code] TextBox textBox6 …

Member Avatar for Antenka
0
398
Member Avatar for wingers1290

Hi, I am creating a program for my business that allows us to write quotes quickly, I am fairly new to C# and am stuck on a particular matter. i cannot relate to my Dynamically created textbox no matter what i name it, i am using the following code to …

Member Avatar for Antenka
0
306