|
And what does this have to do with C#?
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
|
|
|
|
|
It is only C# which can be used for FEZ mini(microcontroller) and without programming Fez mini won't work. I am using c# because I want to control the rotaion and direction of motor.
|
|
|
|
|
|
I thought someone here might know anything about c#?
|
|
|
|
|
It's not the C# that's the problem though, is it?
|
|
|
|
|
The problem is I don't know C# programming that is what I need help with.
|
|
|
|
|
C# is just the language to tell the FEZ board HOW to do something. Your question is more about WHAT to tell the FEZ, which we really can't help you with.
|
|
|
|
|
how to i can create a movable button in c#
|
|
|
|
|
Write code to change the X and Y coordinates as appropriate.
|
|
|
|
|
Doesn't CM have a project with an unclickable button? Should answer the OPs question.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
|
you can change button position by code like this:
location.X += 100;
/* LIFE RUNS ON CODE */
|
|
|
|
|
I could able to install msi file using below code and it installed sucessfully
string path = @"C:\Projects\Debug\ELSWinServInstaller.msi";
Process process = Process.Start(path);
process.WaitForInputIdle();
process.WaitForExit();
I tried to uninstall the same using below code, but its not working.
Process p = new Process();
p.StartInfo.FileName = "msiexec.exe";
p.StartInfo.Arguments = "/x \"C:\\Projects\\Debug\\ELSWinServInstaller.msi\"/qn";
p.Start();
Please let me know where I went wrong.
|
|
|
|
|
NarVish wrote: Please let me know where I went wrong.
You forgot to explain what "is not working" means. Did it start the process? Did it throw an exception?
|
|
|
|
|
"I tried to uninstall the same using below code, but its not working."
Process p = new Process();
p.StartInfo.FileName = "msiexec.exe";
p.StartInfo.Arguments = "/x \"C:\\Projects\\Debug\\ELSWinServInstaller.msi\"/qn";
p.Start();
Unistallation code is not working. It didn't throw any exception. it executed each line. but uninstallation didn't happen.
|
|
|
|
|
NarVish wrote: Unistallation code is not working. It didn't throw any exception. it executed each line. but uninstallation didn't happen.
That's a better description; now we can rule out any exceptions and focus on the rest. From where are you starting this? From a Windows-service?
You could check the eventlog for any errors. As a quick workaround, try putting the complete command in a batch-file and execute that from code.
|
|
|
|
|
Could be a permission issue.
For Vista and Windows 7, you might need to run this program as an administrator to uninstall the program.
|
|
|
|
|
I have administrator rights.
If it is permission issue, my installation code also should not work. But installation done sucessfully.
|
|
|
|
|
can you uninstall this application from a command prompt? by running the same command?
i.e.
c:\Projects\Debug\ELSWinServInstaller.msi /qn
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
yes, its working fine when I run the below command in visual studio command prompt.
c:\Program Files\Microsoft Visual Studio 10.0\VC>msiexec /x C:\Lalitha\Projects\
Debug\ELSWinServInstaller.msi
|
|
|
|
|
NarVish wrote: p.StartInfo.Arguments = "/x \"C:\\Projects\\Debug\\ELSWinServInstaller.msi\"/qn";;
Do you need a space between the closing quote around the MSI path and the /qn argument?
p.StartInfo.Arguments = "/x \"C:\\Projects\\Debug\\ELSWinServInstaller.msi\" /qn";
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I tried by giving space as per your suggestion. Still, problem exists. No change
|
|
|
|
|
Can anyone explain clearly how to use Pagination concept fro DataList Control in ASP.NET C#?
Harsha K N
|
|
|
|
|
|
hi guys , i have made a project that has 5 forms , it's automation project and is doing the regular job of the automation , like adding,deleting,updating and refreshing , im using devcomponent dll in all the forms , but the problem here when i insert 60 record into the database (access database) after i insert the 60th record the program will fall in slumation view , when i want to add a record i should wait 5 sec after i insert a record and if other form is open and wanted to close it the hole program will stop responding for 5 or 7 sec .
i think the big reason for that its using the devcomponent . i dont know maybe the reason is sth else .
so any solution for making the program work faster ?
and one more thing , i cannot change the devcomponents form to normal form.
i dont know if you get what i mean or not ?
|
|
|
|