Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
GeneralRe: Run application until Tasks are finished? Pin
Dralken1-Sep-13 20:40
Dralken1-Sep-13 20:40 
SuggestionRe: Run application until Tasks are finished? Pin
Keith L Robertson3-Sep-13 5:27
Keith L Robertson3-Sep-13 5:27 
QuestionHow to solve this error "safe handle has been closed"? Pin
vikash kumar NIIT29-Aug-13 23:16
vikash kumar NIIT29-Aug-13 23:16 
SuggestionRe: How to solve this error "safe handle has been closed"? Pin
Richard Deeming30-Aug-13 1:38
mveRichard Deeming30-Aug-13 1:38 
GeneralRe: How to solve this error "safe handle has been closed"? Pin
vikash kumar NIIT30-Aug-13 1:50
vikash kumar NIIT30-Aug-13 1:50 
GeneralRe: How to solve this error "safe handle has been closed"? Pin
davidstein30-Aug-13 3:06
davidstein30-Aug-13 3:06 
GeneralRe: How to solve this error "safe handle has been closed"? Pin
Richard Deeming30-Aug-13 3:21
mveRichard Deeming30-Aug-13 3:21 
Questionhow to get balance by USSD commands? Pin
davidstein29-Aug-13 22:58
davidstein29-Aug-13 22:58 
i have tired to search how to send USSD command on google.
i want to chek may balance from operator.

in every samples that i saw every body used commands like this:

"AT+CUSD=1,\"*140*1#\"\r\n";

it seams Tobe correct and i use somethings like this and i think it works.
i have a d-link gsm modem and when i send this command by it it make some noise on my speaker
from this i can find some thinks is happend Big Grin | :-D

my modem have it's own windows application when i disconnected modem by my own application,i check it by modem's application and in USSD tab i can found the result of my commands that i sent by myself application.

then that command works fine but i 'm confuse what is happens when i sent my command it return me "OK" and do not return operator answer and how my modem's application can read that answer????????

i test these commands but can not get result and my modem just return somethings like this:
"AT+CUSD=1,\"*140*1#\"\r\n\OK\r\n" only.

1) "AT+CUSD=1,\"*140*1#\",15\r\n"

2) "AT+CUSD=1,\"*140*1#\",1\r\n"

3) "AT+CUSD=1,\"*140*1#\",15\r"

4) "AT+CUSD=1,\"*140*1#\",1\r"

5) "AT+CUSD=1,\"*140*1#\""

i think reading command's result maybe has difference command or i should set some config on my modem .

it is very interesting for me that my modem do not return error to me and always return OK.
SuggestionRe: how to get balance by USSD commands? Pin
Richard MacCutchan30-Aug-13 0:03
mveRichard MacCutchan30-Aug-13 0:03 
GeneralRe: how to get balance by USSD commands? Pin
davidstein30-Aug-13 1:04
davidstein30-Aug-13 1:04 
GeneralRe: how to get balance by USSD commands? PinPopular
Dave Kreskowiak30-Aug-13 2:42
mveDave Kreskowiak30-Aug-13 2:42 
GeneralRe: how to get balance by USSD commands? Pin
davidstein30-Aug-13 3:05
davidstein30-Aug-13 3:05 
GeneralRe: how to get balance by USSD commands? Pin
Richard MacCutchan30-Aug-13 3:27
mveRichard MacCutchan30-Aug-13 3:27 
GeneralRe: how to get balance by USSD commands? Pin
Dave Kreskowiak30-Aug-13 3:59
mveDave Kreskowiak30-Aug-13 3:59 
GeneralRe: how to get balance by USSD commands? Pin
davidstein30-Aug-13 8:27
davidstein30-Aug-13 8:27 
GeneralRe: how to get balance by USSD commands? Pin
Dave Kreskowiak30-Aug-13 12:45
mveDave Kreskowiak30-Aug-13 12:45 
Questionhow to writ code for percentage in windows application form Pin
ashwini dharamsale29-Aug-13 22:31
ashwini dharamsale29-Aug-13 22:31 
AnswerRe: how to writ code for percentage in windows application form Pin
Simon_Whale29-Aug-13 23:05
Simon_Whale29-Aug-13 23:05 
GeneralRe: how to writ code for percentage in windows application form Pin
ashwini dharamsale29-Aug-13 23:09
ashwini dharamsale29-Aug-13 23:09 
GeneralRe: how to writ code for percentage in windows application form Pin
Simon_Whale29-Aug-13 23:17
Simon_Whale29-Aug-13 23:17 
GeneralRe: how to writ code for percentage in windows application form Pin
ashwini dharamsale29-Aug-13 23:20
ashwini dharamsale29-Aug-13 23:20 
GeneralRe: how to writ code for percentage in windows application form Pin
NotPolitcallyCorrect30-Aug-13 1:32
NotPolitcallyCorrect30-Aug-13 1:32 
GeneralRe: how to writ code for percentage in windows application form Pin
Forbiddenx30-Aug-13 2:57
Forbiddenx30-Aug-13 2:57 
GeneralRe: how to writ code for percentage in windows application form Pin
Keith Barrow30-Aug-13 1:40
professionalKeith Barrow30-Aug-13 1:40 
GeneralRe: how to writ code for percentage in windows application form Pin
harold aptroot29-Aug-13 23:27
harold aptroot29-Aug-13 23:27 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.