|
When you Want to Add a License ,The steps are what you told us. but i would like you to go and make sure that you really Browsed to the RTF file and when you clicked away from the Property and come back again if you have seen the name of your RTF. if so then you maybe your RTF is empty. please Check if you are browsing to the Correct RTF file.
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
Sir,
I am browsing the correct file. The file contains the text and I can see the file name in the licensefile property of the license dialog.
Thank You.
|
|
|
|
|
I dont seem to know what is the Problem. Can you send me the screenshot to my e-mail
vuyiswa@its.co.za
Please send them for all steps that you do. Please show me the contents of your rtf file
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
Sir,
I create a setup. Add a license.rtf file in the application folder of the setup along with the exe and other file. Then in View User interface I add a license dialog to the install tree. In the LicenceFile property I browse the License file in the application. Then build-rebuild but when I run the installer the text is not displayed in the license dialog every thing is there except file text.
My file text now simply contains my name.
Looking forward for your reply.
Thank You.
|
|
|
|
|
hi friends
i design a software with c# that need a professional editor.
but .net does not have a editor. and i think i have to use a component.
i search in some search engine about editor but i didnt find anything .
if someone has a link for download free editor component or else idea please tell me.
thank u.
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
Is the richtextbox not enough?
|
|
|
|
|
What kind of editor are you looking for?
If you're after a 'code' editor SharpDevelop[^] allow you to rehost their editor inside your application with all features like code completion etc.
Simon
|
|
|
|
|
Hi,
This is from Chandrakanth.
Working on asp.net with C#.
Actually my problem is ...
When i click first time the process is going on... and button1 shold be enable.
Problem is....
if i click the button second time while process going on time, i should display error message.
How can i go for that?
Can any one give me some example on this
Thanks and Regards
Chandrakanth
|
|
|
|
|
Instead, why not disable the button while the execution is going on?
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
why don't you disable the button when the user first clicks ? (and enable it when the processing completes)
Disabling will make the processing implied rather than clicking and then being informed.
|
|
|
|
|
Hi,
From Chandrakanth..
Thnaks for your reply. Actually we shold not disable that button.
'
We have to display error message .
Requirement is like that.
If any suggestions please give me message...
Thanks and Regards
Chandrakanth
|
|
|
|
|
There is nothing Holy about requirements and when they are nonsensical it might be better for everyone if you suggest an improvement to the relevant stakeholders.
That said, all the information you need to code this is to know if the process is running or not. Since only two states are possible, a bool is fitting:
bool running;
With this new state available, you need to set it true when the process starts, false when it ends, and then in your event handler take different courses of action depending on the state of this flag. It really is that simple.
(A general hint: This approach, asking yourself "what information do I need?" first, very often makes solutions to simple problems appear almost automatically.)
void btnRun_click(object sender, EventArgs e)
{
if (btnRun.Tag != null)
MessageBox.Show("Not now you idiot, I'm busy.");
else
ThreadPool.QueueUserWorkItem(new WaitCallback(process));
}
void process(object state)
{
running = true;
try
{
...
}
finally
{
running = false;
}
}
(The "object state" parameter is required to conform to the WaitCallback delegate signature - you may of course also use it to actually pass information to the method if convenient.)
Hope this helps,
Dag
|
|
|
|
|
I had a thought of threads. But I did not felt writing this much wothy enough if enabling disabling alone could do.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
I have an application that connects to an MDSE database and it was compiled using VS NET 2003. When I run it from the developers workstation it works fine but if I run it from other workstaion I get an error "Object reference not set to an instance of the object" then I install VS NET 2003 and works fine.
I have checked the following:
-Dependencies to ensure DLL required are present on the target
-ODBC configuration
-NET versions
What else can I check?
|
|
|
|
|
Have you traced the point where the application crashes ?? You can put in a MessageBox/Writeline to find the exact point where it crashes
There might be many possibilities,
Does the release executable only crash or both release and debug crash ?
Does it refer to some resource (file etc) whose path is wrongly interpreted ??
|
|
|
|
|
Hai to every one
While sign in our system my C#.NET Program application should be load first without any action taken. And while we minimize it should be minimized in Quick launch.
with regards
sakthi
|
|
|
|
|
Try this[^]. Or you can make a windows service.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
The simplest way to make the application start automatically is to place the executables in the Window's Startup folder
Since d@nish never mentioned about Quick launch -
Article on adding your application to Quick Launch[^]
Edit - I think(and even d@nish) that you meant systray ?? [^]
|
|
|
|
|
Oh missed that. Is that quick launch or system tray where application should minimize to?
I think it should be system tray.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
Edited my response
|
|
|
|
|
Please tell me about the method "System.Type.InvokeMember" used in reflection with a sample peice of code showing its usage.
Neeraj Rawat
|
|
|
|
|
Have you read the documentation[^]. It includes both explanations and examples.
|
|
|
|
|
I have declared my form as a class member variable like this: public Settings setting; (the form i made was called Settings.cs) because i want to only be able to show it once. i am trying to open the form like this: setting.ShowDialog(); in a public, non static method.
whenever the method is run, i get the error in the title... what is i doing wrong?
setting is showing in the helper, autofill box thing as i type, as is showdialog...
thanks
sam
|
|
|
|
|
You don't create an instance anywhere. You could for example change the member declaration to:
public Settings setting = new Settings();
|
|
|
|
|
hmm ok, but that creates the form as soon as the app starts and waits for the showdialog, which i thought wasnt the best way of doing it, i only need the form every now and again... also, it gives an error if i try and open the form twice, to i need to use the "try...catch" thing?
theres alot more explanation in another thread of mine...
thanks
|
|
|
|