Jump to content
Xtreme .Net Talk

EFileTahi-A

Avatar/Signature
  • Posts

    633
  • Joined

  • Last visited

Everything posted by EFileTahi-A

  1. Well, what can I say, it works damn great! Thank you very much for your post lidds! - THREAD CLOSED -
  2. I truly don't understand why .NET "so-used" controls like a button don't have included on its "appearance" options the possibility to turn them into WinXP styled buttons. How can I make them look like WinXP buttons? I searched the web and a found some controls to do this, some are freeware others are not, still, I would like to know if there is a way doing this, skiping the need of instaling addional controls...
  3. Well, I do have to confess that this is quite interesting though :)
  4. Yes, through code is quite easy, but we were talking about from user aproach which normaly will use mouse to operate the program.
  5. "Additionally, be aware that the edge of the MDI parent form will pick up the system color (set in the Windows System control panel), rather than the back color you set using the Control.BackColor property." This is written within the help of .NET MSDN library, my question is, how will I change the forms backcolor then? Also, is there a way do disable the form's scroll bars when a child window reachs the edge of its parent window?
  6. Thank you very much Wile! I successfully applyed MDI to my program. This is Foxtrod great! I never had heard of MDI though :)
  7. Well, the "moving window" thing was just for ppl to get an ideia of what I was trying to say. What I really want is something like Paint Shop Pro program. If you ever saw / used this program then you will realise that the program have its own work space where it opens new windows whenever an image is loaded / created... I wonder how they do this...
  8. Is it possible to display a window inside another window so that when I drag the main window all the other attached windows will be moved too? Plus, what about showing a window inside a panel for example?
  9. Just a silly question... How can I hide and show "autos" window? I can't find it anywhere at home. Here, at my job the autos is automaticaly appearing...
  10. Ok, ok... I think I discovered the problem and I guess that bri189a is right after all: How the heck should I be able to debug this kind of code (reading line by line with streamReaders) having .NET plataform behaving this way whith active watchers? Here is a high quality movie showing the behaving of step-by-step and non-step-by-step watchers with StreamReader function... DotNET_Issue.zip
  11. WOAH!!! This is heavy! Now is happening the same thing here at my computers job! LOL! I am going to record a video for you to see
  12. I have had watch in both variables and .ReadLine() call which work all great... here, not at home. Does anyone think that I somehow managed to trigger a bug? Anyway, I will record my home desktop to some video format file for you guys to see it happen in real time.
  13. No, I did not, but even if this worked why should the other method work in all computers except mine? God damn... what is happening?. Here at my job it works JUST perfectly the minute I try it at home it will just act strange...
  14. Apologies accepted and that subject is already forgotten. Anyway, it does happen even after me removing the watch... What truly drives me mad is that everything works ok when I use textboxes to hold the RealLine() instead of string vars, even the watch will advance ok without skiping lines.
  15. Well I will take my .txt which was made here (at my job) back to home and see what happens. At home I think I have only one keyboard installed (two at best, portuguese and enlgish keyboard maps. But I doubt I have the english one, I always delete it after installing the sys)... PS: Where can I add the "LOCALS" tab? I have it here, but not at home...
  16. Too funny? And why is that? You mean the "Function strReader.ReadLine evaluted and returned null" message? Have you guys (just for statistics) read carefully my first post? If so then you will both realise that strReader.ReadLine will be null after assigning sTemp4 string var. Plus, why does it work OK if using "strReader.ReadLine()" directly on textboxes instead of string vars? Yet, why does the project work fine at PlausibleDump sys and not at mines? Have you also read my last post where I explain the strange behaviour of strReader.ReadLine() advancing 2 lines at the time? Also... I brough the project to my job's computer and it works just fine... I wonder why it does not work at home... Here at my Job's VS .NET I can see the "locals" tab, at home I can't see it anywhere. How do I make it appear? Now, I am truly looking forward to listening to your theories once more (IngisKahn and bri189a comments). Probably another "genuine" lol as an answer... And just to finish. When I drag with mouse the "next line to read" (yellow line) back and forth over the sTemp1, 2, 3, 4, 5, 6, 7 and 8 the strReader.ReadLine() will automaticaly be executed, that is, it will advance for the next line from "bla.txt". I can see it's value change on the "watch tab" without me pressing F11 or F10, hell, without me pressing any key at all. What do you make of this?
  17. Well, I'm truly pisst off with this **** it always advance 2 lines. When the code focus on the first break point at sTemp1 the Readline holds "1", then, when I press F11 sTemp1 turns to 2 and the Readline becomes "3", sTemp2 will then hold 4 and Readline will read "5"... I give up... Thanks for your effort though.
  18. Er... It does not work. Here is a shot of what happens: http://img.photobucket.com/albums/v698/EFileTahi-A/SaveEvent.jpg sTemp4 var is reading "8" when it should be holding "4". The rest of the vars (sTemp5, 6, 7 and 8) become null just like I described in the thread's opening post... I did not change anything from the project you post... I truly don't know what to do next...
  19. I does not work. It acts exactly the same way... :(
  20. Ok, here is the project... There is already a breakpoint in the part to be examinated... SaveEvent.zip
  21. StreamWriter strWriter = new StreamWriter(Application.StartupPath + "\\" + "bla.txt", false, System.Text.Encoding.BigEndianUnicode); strWriter.WriteLine(textBox1.Text); strWriter.WriteLine(textBox2.Text); strWriter.WriteLine(textBox3.Text); strWriter.WriteLine(textBox4.Text); strWriter.WriteLine(textBox5.Text); strWriter.WriteLine(textBox6.Text); strWriter.WriteLine(textBox7.Text); strWriter.WriteLine(textBox8.Text); strWriter.Close(); This creates a text file with following input: 1 2 3 4 5 6 7 8 Ok, but I want to read every line to a specific string variable. Why the F. does this F. S. reads only a few lines? why is it skiping lines? string sTemp1 = strReader.ReadLine(); //Assigns value 2 string sTemp2 = strReader.ReadLine(); //Assigns value 4 string sTemp3 = strReader.ReadLine(); //Assigns value 6 string sTemp4 = strReader.ReadLine(); //Assigns value 8 string sTemp5 = strReader.ReadLine(); //Null! string sTemp6 = strReader.ReadLine(); //Null! string sTemp7 = strReader.ReadLine(); //Null! string sTemp8 = strReader.ReadLine(); //Null! ??? Strangely enough, this it reads the text file well if I assign the values to textboxes instead! this.textBox1.Text = strReader.ReadLine(); //Assigns value 1 this.textBox2.Text = strReader.ReadLine(); //Assigns value 2 this.textBox3.Text = strReader.ReadLine(); //Assigns value 3 this.textBox4.Text = strReader.ReadLine(); //Assigns value 4 this.textBox5.Text = strReader.ReadLine(); //Assigns value 5 this.textBox6.Text = strReader.ReadLine(); //Assigns value 6 this.textBox7.Text = strReader.ReadLine(); //Assigns value 7 this.textBox8.Text = strReader.ReadLine(); //Assigns value 8 WHY!? Well if needed it will be pleasure to upload the project...
  22. Well, I have bypassed the problem by reinstalling windows... Thank you all...
  23. I can hardly believe I am the only one with this problem...
×
×
  • Create New...