i have gammu service and it is already run in windows. Today i wanna ask about how to check balance based my modem using gammu and c#. i have tried using command prompt to check my balance in gammu.
here is the screenshoot of my command:
i wanna ask how to implement this command in C# using textboxt and button then get result in textbox. this is my form:
this my code to to try check balanced in gammu and display it in textBoxtresult but it doesn't work:
private string strHasil;
private void btnCheck_Click(object sender, EventArgs e)
{
Process myProses = new Process();
Process.Start(@"c:\gammu\bin gammu getussd " + txtUSSD.Text);
myProses.Close();
txtHasilPulsa.Text = strHasil;
}
need help and suggestion... thanks..