well dude, the answer is simple, you cant have solid colors with GradientBrush.
128 bit encrypted signature, crack if you can
I have a doubt.If i am using Process.Start() the exe file gets opened.
Actually if i am going to run the server from the console,I will use csc /t:exe Server.cs //compile
Previously i defined Server separately and run that file using the console,i defined client in the Form1.cs (which i run using the Start Debugging option).It worked well
Now i have defined client in Form1.cs and try to send message to the server (i.e.exe file).This exe is just opened.Is this exe same as the one obtained by Method1(i.e.exe obtained by using "run" command)?
I am working with WindowsApplication in VS.NET 2005
I have listed the folders in a drive...for eg:
C:\projects\ports.ports folder in turn contains 10 other folders namely 10000,10001 etc...
I have created a separate application for the client and server to communicate...I have compiled the server application and copied the exe file into folder 10000 and i have included the client as a function in Form1.cs.
In my tool i.e. VS.NET 2005, i have written code to list exe files in a folder.So it gives me Server.exe with a button click.I wanted to run this exe file...I used Start() to do so. The exe file opens when i click start button.
Now i want to send a message from the client to the server(i.e .exe file opened with a button click).Is it possible to do this?
I had a try with this...When i click send button to send message from the client to the exe ,the exe closes...I have not closed the socket in side th code...I dont know why that happens...
Please help me out with this...Thanks for any help in advance.
Have a google on "gdi v gdi+". You'll get lots of hits, some of it is quite interesting.
What I think might be the problem is that behind the scenes the built in rendering uses GDI, whilst, because you're doing it yourself, your custom label is using GDI+.
Hope this helps.
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
anyone knows about auto scrolling a text box. eg:using a for loop i add values upto 100 to text box,but it only displays upto 10,means even though the scroll is set , i have to scroll down to see the values, what i want is to automatically scroll while values are adding to text box.
For example create one textbox n one button in a form and call the above in the button_click event which adds sum text as well as scrolls the textbox..
private void button1_Click(object sender, EventArgs e)
textBox1.Text = textBox1.Text + " Hi this is a test message";
textBox1.SelectionStart = textBox1.TextLength;
MatchCollection m = Regex.Matches(wynik,@"\"">\s*(.+?)\s*");
I use MatchCollection beacuse I do it on a bigger file but for the ease of writing ths post I'm just an example of one line.
Then on my collection I do a foreach and each Text is set as an Item Label in a dropDown list.
But in the m regex I would also like to get the "comment" so then in my foreach loop I would be also able to assign it to the items Tag lets say.
I think the main thing your team needs to understand, is all the ways C# looks like C++ but is not. The main one is garbage collection, and the lack of deterministic destruction. I'd look for a book that aims for these things, that is written for C++ devs, even if it's an older book. These things have not changed.
i Will suggest the book "Applied .Net framework proggramming" written by jeffrey richter. Concept that a pure VC++ programmer should understand is about the "Type and object" fundamentals in .Net world. It's structure and how it is handled.. it is bviously a managed one and governed by CLR. And as Christian Graus said you should go through the Garbage collection fundamentals. GC normaly runs as a low priority thread. You should also keep an eye on safe and unsafe concepts.. which you will surely comethrough when you are reading GC ...