|
I have developed a application and i want to release the first version and then later on i want to relase other components, so iam thinking to write an updater which will continuously checks for newer versions and update the previous version with the newer one..
1.can any one help me how to start
2.what are the concepts that i need to through, to do this.
3.can i get any samples regading and this...
Please help me so that i can be done with my job... Thanks in ADvance...
|
|
|
|
|
|
You can have a look at ClickOnce Deployment[^].
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
Hi friends, how are you?
My question let me groove baby, previously prepared with C # projects DXF file (AutoCAD drawing file) Have you created? Methods of preparing for this, how? What references are used?
I autodesk for information in the official site for references dxf pdf to dxf file structure as the source downloaded, but it is the source of the contents of the anlatıyo with any programming language there is no information about how to create. word of the file that I reference in this http://images.autodesk.com/adsk/files/acad_dxf2.pdf
Regards ...
M.BOZA
civil engineer
|
|
|
|
|
|
I have no idea what you want, what is anlatiyo?
If it is a DXF file you want, here are your options:
1. use Autocad
2. use an image-to-DXF converter, that is a raster converter, could be semi-automatic, i.e. require you to click on the relevant points; here[^] is one;
3. create your DXF file from scratch; seems like you already found the DXF specification (good luck!)
Whatever it is, try Google[^]; and when you ask here, please try to be clear and specific.
|
|
|
|
|
See here[^].
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
Thank you for your comment...
|
|
|
|
|
Stop shouting!
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
You know, that's lovely. Your question lets you groove. That's absolutely wonderful.
|
|
|
|
|
when using the this.DialogResult = DialogResult.OK
do I still I have to do this.close()
or the DialogResult.Ok will always close?
|
|
|
|
|
jrahma wrote: or the DialogResult.Ok will always close?
This doesn't close the form, it is a possible value that a dialog window can have as a result. As long as you call ShowDialog() to open the form, you don't need to close the the form, if you are using one of the built in Winforms dialogs, you are calling the ShowDialog() method
|
|
|
|
|
Generally you only check the result after the dialog is closed by the user.
|
|
|
|
|
jrahma wrote: the DialogResult.Ok will always close?
No there is no need to close() method. I let you two Condition where how it works.
Condition: 1)
Lets two Form Name Form1 and Form2
take a button on each form1 and form2.
in Form2 on button click event write
this.DialogResult == DialogResult.OK;
and now come to form1 and write given code on button click event.
Form2 obj = new Form2();
obj.ShowDialog();
and Execute your application.
and now click on button of Form1 it shows Form2 and when click on button of form2 it close itself.
Condition: 2)
take a two button button1 and button2 on single form name Form1
and write given code on button1 click event
this.DialogResult = DialogResult.OK;
and then write below code on button2 click event
Form1 obj = new Form1();
obj.ShowDialog();
and execute your application
and when you create on button2 it open New form of itself and then when you click on button1 it close itself.
Finally you noticed in both condition there is no need to use close.
modified on Sunday, November 28, 2010 9:02 PM
|
|
|
|
|
No.
|
|
|
|
|
Sorry, the above is ambiguous (the OP is confusing to say the least); see my latest reply down below.
|
|
|
|
|
Just a minor glitch, but you need == in your comparison.
The DialogResult is only returned when the Dialog has been closed, since before it closes, no one knows what the result will be.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Walt Fair, Jr. wrote: before it closes, no one knows what the result will be.
IMO that is correct but not as simple as your statement suggests: the dialog's code could set its DialogResult property explicitly before it closes, even outside a button click handler; however being a Control, it cannot be accessed by any thread other than the one that created the dialog and is currently showing it, and that thread is just waiting for it to close, so there is no way to read DialogResult unless the dialog gets closed first.
[EDIT] I'm afraid the above no longer is relevant; the dialog closes as soon as its DialogResult gets set, see my latest reply below. [/EDIT]
|
|
|
|
|
You don't have to call Close (because the dialog is already closed), but you DO have to call Dispose if you shown the dialog with a call to its ShowDialog method. If you don't, you'll end up with a handle leak in your application and piss people off.
|
|
|
|
|
I'm afraid all of us misunderstood the question by missing the this in this.DialogResult=...
See my latest reply.
|
|
|
|
|
Sorry, I misread your question. My current answer is it closes by itself.
If the question is: When a dialog, while being shown, gets its DialogResult set, do I still need to close it explicitly?
Then I'd say NO.
Both MSDN and my little experiment indicate it closes automatically as soon as some value gets assigned.
There seems to be one exception: the value DialogResult.None does not close the dialog. This is not mentioned on the MSDN page on Form.DialogResult property, however it is somewhat mentioned on the page about DialogResult enumeration...
<
|
|
|
|
|
my project is massenger but how to create DB in server and access them u can tell me please
|
|
|
|
|
|
Didn't the teacher provide a starting-point? Which brand of database would you like to use?
I are Troll
|
|
|
|
|
First you must roll a six and call upon the Spirits of Query Languages to grant their blessing to call tables and relationships into being.
|
|
|
|