Tag Archives: c++

How prevent errors on windows when i use Qt Android Extras C++ Classes

Questions: I used the solution of below question for open file on Android. Qt/Necessitas – reasonable QFileDialog replacement/skin? But it works just on android,this codes (Qt Android Extras C++ Classes) don’t run on windows? for example i got the below errors? #include<QAndroidJniObject> #include<QtAndroid> #include<QAndroidActivityResultReceiver> Cannot open include file: ‘QAndroidJniObject’: No such file or directory I… Read More »

adding html and javascript function in c# but looks different in asp page and doesn't work

Questions: I’m using this code to add it to my asp page var func = $@”var tbl= document.getElementById(‘table{obj.ID}’); if(tbl.style.display === ‘none’) {{tbl.style.display = ‘block’;}} else {{tbl.style.display = ‘none’;}} when i check the value in add watch through debugging it’s value be as follow var tbl= document.getElementById(‘table38’); if(tbl.style.display === ‘none’) {tbl.style.display = ‘block’;} else {tbl.style.display =… Read More »

Converting code from php to C# [on hold]

Questions: I have tried to find a conversion tool for php to C# in vain. Is there someone who can help me with this conversion to C# or VB.net? $params=array( ‘acc_no’=>’89098’, ‘api_key’=>’ajsdf’, ‘sender_id’=>’mambo’, ‘dlr_url’=>’xxx’, ‘msisdn’=>’0727878’, ‘linkID’=>null, ‘message’=>’Dear customer test’ ); $response = doPost($params); function doPost($params) { $ch = curl_init(); $jsonString = json_encode($params); curl_setopt($ch, CURLOPT_URL, ‘https://isms.mambo.co.ke/sms2/api/v1/send-sms’);… Read More »