Click here to Skip to main content
       

C#

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
AnswerRe: Stepper motor control by using Fez minimvpOriginalGriff5 Feb '13 - 1:24 
Not from that little we can't.
We have no idea what interface circuitry you have between the PC and the IRF530 (I assume you miss-typed) - you certainly can't connect one of them directly to a standard PC output!
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

GeneralRe: Stepper motor control by using Fez minimemberMember 98108985 Feb '13 - 1:46 
Ok, I will try to explain my circuit. I have 4 IFR530, which are going to the unipolar stepper motor. These 4 MOSFETs are connected to Digital I/Os of FEz Mini (MCU) via optoisolators and some resistors. So I have to Program the FEZ mini to run the stepper motor.
GeneralRe: Stepper motor control by using Fez minimvpOriginalGriff5 Feb '13 - 1:53 
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.

GeneralRe: Stepper motor control by using Fez minimemberMember 98108985 Feb '13 - 1:58 
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.
AnswerRe: Stepper motor control by using Fez minimvpDave Kreskowiak5 Feb '13 - 2:36 
Why are you posting this here instead of the Forums at GHI, where the FEZ comes from??
 
http://www.tinyclr.com/forum[^]

GeneralRe: Stepper motor control by using Fez minimemberMember 98108985 Feb '13 - 2:49 
I thought someone here might know anything about c#?
GeneralRe: Stepper motor control by using Fez miniprotectorPete O'Hanlon5 Feb '13 - 4:21 
It's not the C# that's the problem though, is it?
I was brought up to respect my elders. I don't respect many people nowadays.

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: Stepper motor control by using Fez minimemberMember 98108985 Feb '13 - 13:06 
The problem is I don't know C# programming that is what I need help with.
GeneralRe: Stepper motor control by using Fez minimvpDave Kreskowiak5 Feb '13 - 5:12 
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.

Questionhow to make a movable button in c#membermortezakazemi684 Feb '13 - 4:24 
how to i can create a movable button in c#
AnswerRe: how to make a movable button in c#protectorPete O'Hanlon4 Feb '13 - 4:59 
Write code to change the X and Y coordinates as appropriate.
I was brought up to respect my elders. I don't respect many people nowadays.

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

JokeRe: how to make a movable button in c#memberMycroft Holmes5 Feb '13 - 22:21 
Doesn't CM have a project with an unclickable button? Should answer the OPs question. Laugh | :laugh:
Never underestimate the power of human stupidity
RAH

AnswerRe: how to make a movable button in c#mvpAbhinav S4 Feb '13 - 5:42 
You've got to play with the Left and Top properties.
This article should help you out - Move controls on a form at runtime[^]

QuestionUninstallation of msi file programaticallymemberNarVish4 Feb '13 - 0:27 
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.
AnswerRe: Uninstallation of msi file programaticallymvpEddy Vluggen4 Feb '13 - 0:30 
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?
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

General.Re: Uninstallation of msi file programaticallymemberNarVish4 Feb '13 - 0:37 
"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.
AnswerRe: .Re: Uninstallation of msi file programaticallymvpEddy Vluggen4 Feb '13 - 7:46 
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.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

AnswerRe: Uninstallation of msi file programaticallymvpAbhinav S4 Feb '13 - 1:02 
Could be a permission issue.
For Vista and Windows 7, you might need to run this program as an administrator to uninstall the program.

GeneralRe: Uninstallation of msi file programaticallymemberNarVish4 Feb '13 - 1:25 
I have administrator rights.
If it is permission issue, my installation code also should not work. But installation done sucessfully.
AnswerRe: Uninstallation of msi file programaticallymemberSimon_Whale4 Feb '13 - 1:42 
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

GeneralRe: Uninstallation of msi file programaticallymemberNarVish4 Feb '13 - 1:52 
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
AnswerRe: Uninstallation of msi file programaticallymemberRichard Deeming4 Feb '13 - 2:03 
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


GeneralRe: Uninstallation of msi file programaticallymemberNarVish4 Feb '13 - 2:10 
I tried by giving space as per your suggestion. Still, problem exists. No change
QuestionPaging in ASP.NET C#memberHarshaKN3 Feb '13 - 22:51 
Can anyone explain clearly how to use Pagination concept fro DataList Control in ASP.NET C#?
Harsha K N

AnswerRe: Paging in ASP.NET C#memberSimon_Whale4 Feb '13 - 0:10 
Here is an article on paging a datalist from CodeProject. Implementing Efficient Data Paging with the Datalist Control in ASP.NET 2.0[^], but after scanning that article and a few others from this google.
 
There are many different ways to achieve this so I have also included the Google Search Google: asp.net datalist paging example[^].
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

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 22 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid