|
|
hes too lazy to figure out what he wants to do
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.passion != Programming)
|
|
|
|
|
Hello
I have an application that check for a new update of the software and display available update for users.
When the user select to install an update,I have a process that launch the update executable path and in the same time my application close.
When user launch the application next time the installed update appear.
so what to do to prevent installed update to appear.
Note : i have created an xml file and for each update selected to install i have registered his name in this xml file before i launch the process,but the problem is : what to do if the user has cancelled the installation.
best regards
dghdfghdfghdfghdgh
|
|
|
|
|
ellllllllie wrote: but the problem is : what to do if the user has cancelled the installation.
It's your design, so you should know what you want to do.
|
|
|
|
|
ellllllllie wrote: what to do if the user has cancelled the installation
Restore the old app-files if the user cancelled the update !
|
|
|
|
|
is it possible to copy some files from a client to an unshared location of the server ?
H.R
|
|
|
|
|
No. You need rights and a network share (even the C$ one will do).
|
|
|
|
|
what if a client program sends the file to a server program... then the server program will be able to save that file on a local unshared part of the drive... wont it?
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.passion != Programming)
|
|
|
|
|
Hi,
I hope it's ok to post here, I have been learning C# for a few months now and I'm confident with the basic concepts. It's just that when it comes to starting my own projects from scratch, I find it overwhelming. I think it's the relationships and flow of the projects that I find difficult.
I was wandering wether there is a project diagram that I could use, showing the relationship and flow of a simple project? I would appreciate any help-even if it's to tell me I'm looking at the problem wrong
Thank you,
Han
|
|
|
|
|
This kind of this comes from experience of working on projects.
Best thing to do is get your self the source code for a medium sized open source project and read it. Once you understand it, contribute some bug fixes to get an idea of how it works. This will give you an understanding of the architecture. Do this for several different projects and gradually you will find you have a better idea of what types of architecture works where.
Patterns are quite popular, although I think sometimes they can be over used and abused, an understanding of common patterns can help. Maybe look for a good software patterns book. The Gamma et al[^] one is the one most people rave about. Haven't read it myself though.
Code Complete[^] also offers some good advice on the steps involved in a software project. This is a very good book and I definitely recommend it.
[Edit: I've just re-read your question, and realised you might be talking about the project itself rather than the architecture. If you mean you want to know about the requirements->design->implementation kind of flow then you need to read up about software engineering processes. Code Complete does cover this briefly too.]
Simon
modified on Friday, July 4, 2008 10:25 AM
|
|
|
|
|
hi,
Does someone know how to create an activeX control by its classId?
I wrote some code like this:
Guid classid = new Guid(strClassid);
Type oType = Type.GetTypeFromCLSID(classid);
if (oType != null)
{
object obj = Activator.CreateInstance(oType);
} but it doesn't work, the obj can be created successful,but it is system.__ComObject,if I try to cast it to some activex,it throws an exception.
|
|
|
|
|
Try some of the other overloads of Activator.CreateInstance(). There are about 10 or more.
|
|
|
|
|
Hi,
I am having a problem with the Crystal Reports. I am passing the data to the report through a datatable. The problem is that the sql that i am using to fill the table is correct and the data is filled correctly in the datatable. But when comming to display the data in the crystal reports other data is shown in the report which is not present in the data table. I am creating a new report each time. Can someone help me with my problem please. I am passing all the tables needed to get the information for the sql filtering
Thanks.
|
|
|
|
|
Hi Everyone
I am writing a web application which is calculating the measure of security of a web service facing different attacks like DOS, Recursive Payload and ...
Now I got the results like DOS 100%, Recursive Payload 45% and... and want to show the results on a diagram, how may I do it in c# and asp.net?
|
|
|
|
|
you can use office web component to create a chart or use another component that create diagrams
|
|
|
|
|
This link may help you
Do more work
Make more mistakes
Learn more things
|
|
|
|
|
Hello can any body tell me that if i create the file and want it delete it just after creation but when i delete it give me Exception that the file is using by other process
wasim khan
|
|
|
|
|
wasimsharp wrote: if i create the file and want it delete it just after creation but when i delete it give me Exception that the file is using by other process
You have to close the file first.
|
|
|
|
|
you should close your access to that file first and then delete it
|
|
|
|
|
Hi,
Can anyone guide me to write a VC# (.Net 2008) Class Library that can be used in VC# & VC++ (.Net 2008) code?
If I have defined a preprocessor macro XYZ (#define XYZ) in VC#, then how to check that macro in VC++ (using #ifdef, #else, #endif)? Because I tried it, but it was not working properly.
- Aniket A. Salunkhe
|
|
|
|
|
hi i am downloading a zip file.
i need to delete the download when user click close button while download is not completed.when user click the close button while download is not completed i handle the form closing event in which i check if the download is not completed i delete the directory in which the file is placed but when i compile the code i got Exception that:
"The process cannot access the file 'Update.zip' because it is being used by another process."
how i can end this process so that i delete the file easily
wasim khan
|
|
|
|
|
I think the so called process is you project itself, right?
You may check your code and call the method "Close" or "Flush" of a stream that accessing that file.
Maybe I need some of your oritinal code for more information.
Regards,
Dealon
If we dream, every thing is possible!
|
|
|
|
|
Hi All,
Is there any way to format the existing code..........?
Regards
|
|
|
|
|
|