|
hello!
I need any article on the topic "Application/ Benifits or Advanteges of a Digital Dictionary".Please any one help me to search this topic at least five pages.
i'll b very thankfull.
my email id is: abdul_bu@yahoo.com
|
|
|
|
|
Don't double-post. It's rude. Read the forum guidelines.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
I am recreating a collectable card game and need to make the game easily updatable.
Each card has its own effects which i will have to write specific functions for and
the problem arises when new cards need to be added and the application will obviously
not have the functionality for them.
Could i somehow write a dll for each card including the new functions or add the new
functions to an existing dll, but then how would the app know about the new functions. As you can tell i have not got a clue
|
|
|
|
|
In a situation like this where it's impossible for the calling application to know what changes you are going to implement in the callee, you need to provide a standardised method for managing it. You ensure that the card actually handles all of the effects and knows how to call them in response to some stimulus from the calling application. Take a look for plug in articles on this site to get an idea as to how others have handled this in the past.
|
|
|
|
|
|
Hello!
I would like to create a windows explorer toolbar in .NET Framework.
I read an article about it, but it is a little difficult.
Maybe there is a simple way of creating a toolbar that will be able to do
some simple functions?
Thanks in advance!
|
|
|
|
|
|
Thank you, I will try that.
Have a nice day!
|
|
|
|
|
Hi
I have a Start/Stop button in my toolstrip, where I would like change the icon according to the state. I'm all ready changing the Alt. text and I've imported the two icons I need. But when it comes to the dynamic change I'm stock.
if (controller.Status == ServiceControllerStatus.Stopped)
{
btnServiceControl.Text = "Start";
etc...
Thank you in advance.
/Lars
|
|
|
|
|
ToolStripButton class has a property called Image which allows you to set the image you wish to be displayed.
|
|
|
|
|
Super, thanks...
If others should want to do the same:
btnServiceControl.Image = Properties.Resources.stop;
* stop is imported image
|
|
|
|
|
You are welcome
|
|
|
|
|
Hi
I want to open other file types using my form
I used (Process.start("sth.exe","sth.sth"); )
it works some times but some times when(I think) the path name have space within it ,it causes error like this (Process.start("wmplayer.exe","track 01.mp3");)
if I write this one (Process.start("wmplayer.exe","track01.mp3");) instead of the above one it works
can any one explain it to me and a solution please.
|
|
|
|
|
The second parameter is interpreted as argument to the process you are starting. If it includes spaces, then the string will be split by spaces and resulted strings will be passed as multiple arguments.
|
|
|
|
|
Ok thanks
Is there a way to solve it?
|
|
|
|
|
As far as I remember you will need to enclose the parameter itself with quotes but I'm not sure if that will help. Give it a try.
|
|
|
|
|
I had a problem like this once. Putting the file name in quotes helped:
Process.Start("wmplayer.exe","\"track 01.mp3\"");
Kristian Sixhoej
"Failure is not an option" - Gene Kranz
|
|
|
|
|
I also had this problem several years ago and since finding that this works I have used it this way but I am not sure if it is the best solution.
Process.Start("wmplayer.exe","\x22track 01.mp3\x22");
This does work however.
|
|
|
|
|
Can i attach multiple functions to an event Handler/listner? If so is there anyway to prioritize their execution? Also what would happen if you trigger an event with no handler attached?
ty
|
|
|
|
|
If you trigger an event with no handler, then nothing gets done about it. Make a button with no OnClick handler, and nothing happens when the button is clicked.
As for multiple functions, yes you can. When you add a handler to an event you use += so just += another function.
As for priority, im not sure. I assume that the first function you added will be executed first, but that may not be the case.
My current favourite word is: Nipple!
-SK Genius
|
|
|
|
|
Additionally to what SK Genius already said, why not just create a method that will call all methods in the priority you like to be called without depending on the order in which they were registered?
Something like
someclass.Event += new EventHandler(MyFunc);
public void MyFunc(...)
{
Func1();
Func2();
Func3();
}
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
I will be adding and removing functions throught the program so i will not know what functions are registered @ what time, thats why i wanted to know if there was a priority.
|
|
|
|
|
Hello all :
How can I get the return value after closing the form window , by message box it must ask before closing , or call a function before closing .......
Thanks.....
The way of Professional softwares start in two:
Simple codes and develop it.
Simple but effective ideas.
|
|
|
|
|
write whatever you want in the FormClosing event. if you want to cancel closing the form set the e.Cancel to true
to get a return value from the form set the value you want to return in a public property so that you can access it after you call the ShowDialog . if the return value you want is yes, no, ... there is already a public property for that DialogResult
Eslam Afifi
|
|
|
|
|
Hello :
Thanks for your answer , but can you explain more please???
The way of Professional softwares start in two:
Simple codes and develop it.
Simple but effective ideas.
|
|
|
|