|
You asked this question yesterday here[^]. They replyee gave you the proper, correct answer. Why did you re-post the same question? Were you looking for someone to respond again, but do your work for you this time? This isn't rent-a-coder. People will give you information to get you going on the right path.
I'm going to become rich when I create a device that allows me to punch people in the face over the internet.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
|
|
|
|
|
Hi all,
I am currently developing a windows application using C# and i am using Visual Studio.Net 2005.
I need this application to be a startup program. i need to create a system tray icon and add
it to my windows form. Then i have to edit the Double_Click event of the NotifyIcon control
such that the form will be minimized/maximized + set the ShowInTaskbar true/false depending
on whether the user wants to show or hide the application.
How should I do ?
Thanks in advance for any replies.
cheers,
peaceziz
|
|
|
|
|
|
How do you get it??
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
This[^] is what I got after a google.
|
|
|
|
|
Ok, ok, sorry guys, I understand
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
|
Thanks
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
I have a c# project and native c++ dll(with code) the dll is attached to c# code is there any way in which i can put a break point in c++ code and track down.i Use visual studio 2005
|
|
|
|
|
Yes, Visual Studio supports both C# projects and C++ projects inside a single solution. Add both projects to a solution in VS, you should be able to set a breakpoint in your C++ code.
|
|
|
|
|
But it does not hit the break point it says no source code availabe
|
|
|
|
|
Is the C++ dll you're using built in debug mode?
|
|
|
|
|
Hi
I am doing some image processing stuff with the help of Christian Graus articles available here. But he has performed all the image processing stuff directly on the form. Whereas i want to use picture box. And i have tried several ways but its not working.
Can any one help me out with any example of his Image Processing application over the picture box.
Thank You
James
|
|
|
|
|
james_dixon_2008 wrote: its not working
that does not tell us anything.
I don't think a PictureBox is a very useful Control, it gives more trouble than
it is worth.
I'd rather load and paint my Image myself, painting it either onto the Form or a simple
Panel. In both cases all painting must be handled by the Paint handler.
Whatever you do, for image processing, the first step is to perform the processing,
the second is to redraw it, either by telling the PictureBox to reload its Image (I guess
by reassigning its Image property), or the Form/Panel to redraw itself (by issuing an
Invalidate).
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
Ok, I know there are some articles and I've looked at this. This is my question though. I have a form that is a container. Lets call that form Main. Ok I have two more forms ContactList and EditContactList.
Now to open ContactList this is the code:
Form f = new ContactList();
f.MdiParent = this;
f.Show();
Now ContactList has a menu bar that is suppose to open EditContactList. So how do I make it where ContactList opens EditContactList, but the parent for EditContactList is form Main? The articles always use f.MdiParent = this;
f.MdiParent = Main(); does not work.. so if you could help me out, I would appreciate it!
|
|
|
|
|
Form f = new EditContactList();
f.MdiParent = this.MdiParent;
f.Show();
|
|
|
|
|
awesome, thanks... so this.MdiParent means the form's (this) parent (MdiParent).
|
|
|
|
|
Yeah. The 'this' isn't strictly necccesary but it makes the code a little clearer.
|
|
|
|
|
hi
i want a control (like pictureBox) that display an image as map with pan & zoom tools to navigate in it, does exist that control?
thanks
|
|
|
|
|
|
thanks for reply
but i want to use in windows application in offline mode (not required intenet connection)
does exist it ?
thanks
|
|
|
|
|
Hi guys!
having a bit of a problem.. im picking upp value from file rowes, and i live in sweden so we use the characters å,ä,ö a lot.
so i want to replace the å ä ö with something else, because when i return the row in a listview the ö are like ? or something like that... =(
i have tryade to save in diffirent encoding.. nothing works! anyone with the same problem as me??
i pick upp info from rowes like this:
String row5 = File.ReadAllLines(file)[row];
string[] tecken = row5.Split(';');
string person = tecken[21];
anyone with good suggestions??
thanks!! peace!
|
|
|
|
|
UTF-8 should support Swedish characters. Are they not storing in your file correctly, or is it the listView not displaying them correctly?
|
|
|
|
|
i think its the listview hwo doesn´t display them correclty. beacouse i have tryade every encoding..
are i changing the ecoding throught advanced save options????
Thanks
|
|
|
|
|
I've tested the listView and it displays them fine.
Are you specifying the encoding to use when reading your file as I think that's where your problem is?
System.Text.Encoding swedishEncoding;
swedishEncoding = System.Text.Encoding.UTF8;
swedishEncoding = System.Text.Encoding.GetEncoding(437);
System.IO.StreamReader swedishReader = new System.IO.StreamReader("myPathHere", swedishEncoding, false);
|
|
|
|