Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. leprogrammer

    (Part 2) Retriving data from a irc server

    Hello. Well since my last topic (http://www.tek-tips.com/viewthread.cfm?qid=1501867&page=1) I have read quite a bit about threads, and I feel like I know it know, but I still have one question regarding data from a irc server. I dont feel like running a while in my thread since it doesnt seem...
  2. leprogrammer

    Retriving data from a irc server

    Hello. I have been creating a simple irc client that connects to a server and sends some simple commands to it I have also figured out how to retrive data from the server by using streams The problem is I have to run a never-ending while to keep retriving all the data from the server I do it...
  3. leprogrammer

    StreamWriter & xml reading problem

    Hello. I have this wierd problem when im writing to a text file with data from a array I have this method: private void writeData() { // Open file StreamWriter writeData = new StreamWriter(saveMonsterSetBase.FileName, false); // Write all data from array to file for (int x =...
  4. leprogrammer

    Auto update of program (Downloading from web)

    Hello. I have been creating a application that checks the application version and sees if it fits with the version from http://msbeditor.dumpen.dk/versioninfo.html If it doesnt I use a webBrowser component to open a download link to http://msbeditor.dumpen.dk/msbEditor.rar But this is not...
  5. leprogrammer

    Enable/disable buttons according to txt file

    Hello. I this txt file: // Comment 2 0 0 20 177 185 4 // comment 0 0 20 75 65 4 // hi!! 0 0 20 85 65 4 // asd 0 0 20 95 65 4 // (bbb end Where I divide the data into valid and unvalid lines All the data is saved into an array The valid data is: 0 0 20 177 185 4 // comment 0 0 20 75 65 4 //...
  6. leprogrammer

    Line changment in streamWriter and sensitive replace method

    Hello. I have 2 questions for you Question 1: I got this method: private void writeData() { StreamWriter writer = new StreamWriter(saveMonsterSetBase.FileName, false); for (int i = 0; i < MonsterSetBaseDataArray.Count; i++) {...
  7. leprogrammer

    Saving text manipulated data

    Hello. I have a small question/problem. I have this text file: // Test 0 0 0 0 15 15 7 // 0 end 1 1 1 30 25 25 240 240 -1 5 // 1 end I read it into an array in C#, but in my array I read it in as 0 0 0 15 15 7 // 0 1 1...
  8. leprogrammer

    Invalidate picturebox with rectangle on

    Hello. I have a simple picturebox where there is a image loaded in Im drawing a rectangle on the picturebox and when I press a button I want to invalidate it (remove the rectangle), but it doesnt seem to work The rectangle is drawn fine and the image loads up to, but when I press my button...
  9. leprogrammer

    Creatig ellipse on a picturebox and making ellipse a link

    Hey im back with a new questions / problems ;) Question 1: I have a image that is in a picturebox which is called pictureBox1 I want to read monstersetbase.txt and add small ellipses to my image. The position of the ellipse comes from my monstersetbase.txt. The image is 256x256 and the...
  10. leprogrammer

    Reading a specific line from txt file

    Hello. I have a text file that looks like this: 0 1 "Bull Fighter" 6 100 0 16 20 6 0 28 6 3 0 1 5 400 1600 10 2 130 10 6 0 0 0 0 0 1 1 "Hound" 9 140 0 22 27 9 0 39 9 3 0 1 5 400 1600 10 2 130 10 6 0 0 0 0 0 2 1 "Budge Dragon" 4 60 0 10 13 3 0 18 3 3 0 1 4 400 2000 10 2 120 10 6 0 0 0 0 0 3...
  11. leprogrammer

    Reading txt file to textbox

    Hello. I am developing a program where I have some textboxes and forward and previous buttons. I also have a txt file. I want to read from my txt file and then write to my textbox. My txt file looks like this: 19 1 "Yeti" 30 900 0 105 110 37 0 150 37 2 17 4 6 400 2000 10 2 180 14 6 0 0 3 0 0...

Part and Inventory Search

Back
Top