
EFileTahi-A
Avatar/Signature-
Posts
633 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by EFileTahi-A
-
Well, what can I say, it works damn great! Thank you very much for your post lidds! - THREAD CLOSED -
-
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...
-
Showing a window within another control?!
EFileTahi-A replied to EFileTahi-A's topic in Windows Forms
Well, I do have to confess that this is quite interesting though :) -
Showing a window within another control?!
EFileTahi-A replied to EFileTahi-A's topic in Windows Forms
Yes, through code is quite easy, but we were talking about from user aproach which normaly will use mouse to operate the program. -
Showing a window within another control?!
EFileTahi-A replied to EFileTahi-A's topic in Windows Forms
-
Showing a window within another control?!
EFileTahi-A replied to EFileTahi-A's topic in Windows Forms
"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? -
Showing a window within another control?!
EFileTahi-A replied to EFileTahi-A's topic in Windows Forms
Thank you very much Wile! I successfully applyed MDI to my program. This is Foxtrod great! I never had heard of MDI though :) -
Showing a window within another control?!
EFileTahi-A replied to EFileTahi-A's topic in Windows Forms
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... -
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?
-
C# - This is truly irritating! BUGGY?
EFileTahi-A replied to EFileTahi-A's topic in Directory / File IO / Registry
Ok, I got it... Thank you... -
C# - This is truly irritating! BUGGY?
EFileTahi-A replied to EFileTahi-A's topic in Directory / File IO / Registry
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... -
C# - This is truly irritating! BUGGY?
EFileTahi-A replied to EFileTahi-A's topic in Directory / File IO / Registry
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 -
C# - This is truly irritating! BUGGY?
EFileTahi-A replied to EFileTahi-A's topic in Directory / File IO / Registry
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 -
C# - This is truly irritating! BUGGY?
EFileTahi-A replied to EFileTahi-A's topic in Directory / File IO / Registry
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. -
C# - This is truly irritating! BUGGY?
EFileTahi-A replied to EFileTahi-A's topic in Directory / File IO / Registry
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... -
C# - This is truly irritating! BUGGY?
EFileTahi-A replied to EFileTahi-A's topic in Directory / File IO / Registry
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. -
C# - This is truly irritating! BUGGY?
EFileTahi-A replied to EFileTahi-A's topic in Directory / File IO / Registry
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... -
C# - This is truly irritating! BUGGY?
EFileTahi-A replied to EFileTahi-A's topic in Directory / File IO / Registry
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? -
C# - This is truly irritating! BUGGY?
EFileTahi-A replied to EFileTahi-A's topic in Directory / File IO / Registry
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. -
C# - This is truly irritating! BUGGY?
EFileTahi-A replied to EFileTahi-A's topic in Directory / File IO / Registry
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... -
C# - This is truly irritating! BUGGY?
EFileTahi-A replied to EFileTahi-A's topic in Directory / File IO / Registry
I does not work. It acts exactly the same way... :( -
C# - This is truly irritating! BUGGY?
EFileTahi-A replied to EFileTahi-A's topic in Directory / File IO / Registry
Ok, here is the project... There is already a breakpoint in the part to be examinated... SaveEvent.zip -
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...
-
Well, I have bypassed the problem by reinstalling windows... Thank you all...
-
I can hardly believe I am the only one with this problem...