|
Just right click on it and select Properties.
---
single minded; short sighted; long gone;
|
|
|
|
|
yes,it is very smart, but i can not belive that the cooperater can accept this way. And there still have some problems,first if the user not use the shortcut,she or he clicks the exe direcly, what should i do? second, if the user doesn't want to use my app one day, she or he may delete my app or uninstall it, in those case, i must reset the right path for the user.
Thanks for your Support. Hope you give me more good idea~ 
|
|
|
|
|
Why does the user have to start the MSN shortcuts? Why not just supply the shortcut to your app, if the user want to use it!, and then your app launches and starts MSN? That way, the user has a choice whether or not to have your app in the way of using MSN.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
I believe the core point is that he wants to hijack MSN, no matter what you click. Sounds malicious to me ( at a guess, he wants to intercept what is typed and log it )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I figured the same thing. That's why my answer kind of stears clear of modifying the exsting shortcuts.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
:->
First, I must declare one thing, MSN is just a example for describing the case, not really.
Maybe Graus have got my meaning. About your suggestion, supply the shortcut to my app, then the user has a choice,it is a good way, but i don't think the collaborator can accept this concept. He is stronger than me, so i am afraid ... , just a joke.
Maybe there is a mistake, Can not start my app first ,then capture the message. It is should be this, No MSN start, No my app,but MSN's application start by my app.
|
|
|
|
|
huheng_0_0 wrote: It is should be this, No MSN start, No my app,but MSN's application start by my app.
That's not going to happen. Period.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Hi Dave,
Thanks very much Dave!
Maybe i will find anther way to solve this problem.
In the last message,you mentioned that you figured this problem, could you please give me more solutions or valued experience?
Best Regards
Jimmy
|
|
|
|
|
Dear All,
I want to read pdf file (paragraph wise).
I have downloaded Sharppdf library but do know the methods(code) for reading pdf file. Please help me for it.
Thanks u lot in advance
Manoj
|
|
|
|
|
Hi
We have implemented a web service that prints a document using a printer (that its ip address is defined in Web.config file)
When we use it from a desktop computer in the network to print , it works fine but when we want to use it from a pocket pc program ,it throws an exception and says that the specifeid path is not valid.
What should we do?
Thanks a lot
Nima
|
|
|
|
|
create a student class Fname-string
Lname_string
studentId-Integer
GPA-Float
create a grad student class derived from student class and thesis as string
shanti
|
|
|
|
|
Noone is going to do your homework for you.
You have the specification for the homework assignment, now you only have to write the code for it. If you have any specific problems you are welcome to ask about them, but remember that you should clearly state that it's a homework assignment that you want assistance with, so that anyone helping you can give the proper guidance. Assume that you teacher also knows what internet is...
---
single minded; short sighted; long gone;
|
|
|
|
|
I'll do it. It will cost you $20. When your next assignment comes, you won't know how to do it, because you didn't do this one. So, my price will double, and continue to double for each assignment. Then, you will fail your exam, because you still won't have learned anything, and you will drop out.
So, either drop out now, or do your own homework. No point putting it off.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Now that's a hell of an idea ... double the price for every homework assignment. Well played my friend. Well played.
Bryan Ray
http://bryanray.net
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
|
|
|
|
|
Wow ... if you don't know how to do this you really shouldn't be in a computer science class just yet. That's about as simple as it gets, buddy.
Bryan Ray
http://bryanray.net
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
|
|
|
|
|
Go away lamer
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
nishee!
this is professor sharada from ur university.
a friend student of sensual nature told me of your posting of homoworks on the cpiansex. but no u remember?! i sexplicitly told u to have a doubt about posting on the codeprojectians. I said with all hip thrusting force that u must no post homeopath homowork on the cpian websites!
because you have done this evil working, i must give u blackened grade. further i must ritually spank u with the paddle of shiva on your bare buns for your naughty disobedience.
Sincelery yours, Computer Information conSciences Professor and grader, Sharada Ulhas
|
|
|
|
|
good evening out there,
i'm working on a routine (using c# + wmi) that is able to change my network configuration e.g. dhcp<->static, different ip/gateway/subnet addresses etc (just like the build-in windows tcp/ip network configuration). everything works fine, but i can not find any way of switching between static defined dns servers and automatic leased dns servers (which i receive automatic from my router or equivalent). i mean, what is the counter part for "EnableDNS", like "EnableDHCP" is for "EnableStatic"? i can not find it in the windows api...
greetings
criss
|
|
|
|
|
There isn't one. DNS will get set back to DHCP if you enable DHCP on the IP address. You can't have DHCP DNS without a DHCP enabled IP pickup.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
hi dave,
so that means, if i call EnableDHCP all entries in my dns list will be deleted and it becomes "automatic"? hm, but that's not happening somehow. i can not get rid of any static dns settings.
any ideas?
criss
|
|
|
|
|
i found the solution... before calling EnableDHCP, i have to clear my DNS list by assigning an empty array to SetDNSServerSearchOrder like
...
newdns["DNSServerSearchOrder"] = new string[] { };
mo.InvokeMethod("SetDNSServerSearchOrder", newdns, null);
mo.InvokeMethod("EnableDHCP", null, null);
...
where "mo" is the ManagementObject of my networkcard.
regards,
criss
|
|
|
|
|
Hi,
I have a couple of questions in c# desctop Applics,
1)how can i respond to hitting the enter key on a combobox, to take the value entered from the user as if it's a text box?
2)how to allign the text in a rich text box to be centered??
ur help is appreciated, Thanks
|
|
|
|
|
r_jaz wrote: how can i respond to hitting the enter key on a combobox, to take the value entered from the user as if it's a text box?
Override the OnKeyPress event.
|
|
|
|
|
Check the OnkeyPress event for the first question.
regarding the second one,
right click the RTB. There is a property called TextAlign. Choose accordingly.
Keshav Kamat
India
|
|
|
|
|
Hi,
Thanks all for reply,
there's no TextAlign property for richtextboxes its for textboxes only, i used the property of SelectionAligment by SelectAll() and then DeSelectAll()
to centralize it but i wanted to see if there's a direct proprty such as TextAlign to do the job..
Thanks
|
|
|
|