Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
K

kharr1027

@kharr1027
About
Posts
10
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how to stop a method when recieving an error?
    K kharr1027

    thanks but i already figured it out :) thanks for the interest thought i am sure i will be posting more questions in the future!

    C# help question tutorial

  • how to stop a method when recieving an error?
    K kharr1027

    that is not quite what i am looking to do. i believe a try catch is for debugging your own code sort of.....i need am trying to throw messages to the user if there input is wrong. thanks for the help though

    C# help question tutorial

  • how to stop a method when recieving an error?
    K kharr1027

    here is what i have and what is happening. I have a main form then another form opens when user clicks the add button. on this form when you add the new information an error check is suppose to run. my problem is i need the error check to stop running and leave the focus on the 2nd form to show where the error is. instead it wants to go back to the main form and finish executing the code that was started when the 2nd form opened! any suggestions thanks

    C# help question tutorial

  • Tabbing to next edit box using Enter key
    K kharr1027

    I don't know about tabbing with the enter key but i can help you with the message box. do this and make sure caps are correct it is important in C# MessageBox.Show("type string to display here, in quotes","here in quotes again type what do be displayed at the top of the message box",MessageBoxButtons.OK(this is to choose from different buttons on a message box),MessageBoxIcon.Error) hope this helped:)

    C# question csharp

  • how to call an array inside a sortedlist?
    K kharr1027

    Here is what i have... I have a main form with the sortedlist declared on it. then on another for called "Edit" I have set up a struct declaring 2 arrays we will call them array1 and array2. now in the Main form when it is closed there is suppose to be a text file created that gets the info in sorted list. the info in the sorted list is as follows. the key is a student name, and the value is suppose to be thrown to the struct with the two arrays built in. my problem is i don't know how to properly call this function. i get the key in the sorted list to display fine in the text file but for the value instead of printing all the values in my array it prints Lab1.Grades. which is the name of my project(Lab1) and the name of my struct(Grades). here is my code in the exit button private void btnExit_Click(object sender, System.EventArgs e) { FileStream fsFile = new FileStream("Roster.txt", FileMode.Create); StreamWriter srOutPut = new StreamWriter(fsFile); Grades studentGrades = new Grades(); foreach (DictionaryEntry Entry in this.slStudents) srOutPut.WriteLine(Entry.Key.ToString () + "|" + studentGrades.labArray); srOutPut.Close(); MessageBox.Show ("Thanks for using the Grade Calculator!", "Thank You", MessageBoxButtons.OK, MessageBoxIcon.Information); this.Close(); } any help is greatly appreciated thanks Kevin

    C# help data-structures tutorial question

  • Playing Video with windows media player in C#
    K kharr1027

    thanks that helped so much. what do you think i did before i posted this message? i searched for a good hour with out any luck on finding anything that made sense to me. :(

    C# csharp tutorial question

  • Playing Video with windows media player in C#
    K kharr1027

    What url? where at?:confused:

    C# csharp tutorial question

  • Playing Video with windows media player in C#
    K kharr1027

    I was wondering if anyone knows how to play a video with windows media player in C#. i got the player loaded onto my form but i cann't figure out how to tell it what video to play. any ideals:confused:? thanks kevin

    C# csharp tutorial question

  • How to use the KeyPress event
    K kharr1027

    well thanks for the help anyways but it doesn't work. i can still type numbers and wierd characters into the text box. Does anyone else have any ideals?here is what my teacher showed us in class but i can't get anything out of it? thanks private void Form1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if (e.KeyChar < 'a'||e.KeyChar > 'z')&& e.KeyChar != '\b') e.Handled = true; }

    C# question csharp help tutorial

  • How to use the KeyPress event
    K kharr1027

    Hello, I am a newbie at C#. I am trying to make a text box only allow alpha characters, such as a - z upper and lower case, the backspace, and space keys. How would i write that in the keypress event and how do i get it to activate on that text box? thanks any help will be appreciated.

    C# question csharp help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups