Posts by João K. Queiroz • 137 points
11 posts
-
0
votes2
answers197
viewsA: how to fix Refusal in Webservice Post
In IIS the solution was to access the Request Filtering MENU and assign the POST verb in the HTTP Verbs tab.
-
0
votes2
answers197
viewsQ: how to fix Refusal in Webservice Post
When Sending the Post: $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "/CmisWebRequests.asmx/GetMessageResponse", data: dataToSend, dataType: "json", async: true, error:…
-
0
votes0
answers424
viewsQ: How to Fix Class Registration?
I am trying to call an external application to my application and when I call this application I get error following. Retrieving the COM class Factory for Component with CLSID…
-
1
votes1
answer384
viewsQ: Interact with Windows service to send and receive data?
I created a service on Windows is installed on localhost and now has to interact with this service. Within my web application I will give a query command that will be sent to this service and this…
-
0
votes1
answer559
viewsQ: Fire method 5 seconds after execution of previous
How to set a timer so that after 5 of sending the command EnvDados the sending of the command NovoEnvio, this within the same method? IPAddress[] IPs = Dns.GetHostAddresses(host); Socket s = new…
-
0
votes1
answer43
viewsQ: Data Reception and String Conversion
byte[] ret = new byte[29]; s.Receive(ret); Console.WriteLine("Retorno de Dados" + (System.Text.Encoding.ASCII.GetString(ret).Replace("211",""))); string tex =…
-
4
votes1
answer979
viewsQ: Function that converts hexadecimal to binary
Is there any function equivalent to bin2hex() from PHP to C#? I need to convert a hexadecimal to binary. I tried to use the TryParse but it hasn’t worked out.
-
1
votes1
answer1233
viewsQ: Add days on increasing date via For
In the code below I add 1 to each step in the variable i, to add 30 days in the field dt, I need another for or you can do it yourself? DbConnection cnx = ADO_Utils.GetConnection(); DbCommand cmd =…
-
3
votes1
answer180
viewsQ: Variable with unassigned value within a "for" loop
int i; string cpf; cpf = "11111111111"; DbConnection cnx = ADO_Utils.GetConnection(); DbCommand cmd = ADO_Utils.GetComando(cnx); cmd.CommandType = CommandType.Text; for (i = 1; i <…
-
2
votes1
answer279
viewsQ: Store part of a string in a variable
I receive the string below, through a response.StreamReader: 240144|000|5511946724649|2015-08-30 21:45:51|2015-08-30 21:46:02|1| How should I proceed to store the content between the Pipes each in a…
-
-1
votes1
answer50
viewsQ: Received Webresponse String Editing
I receive information through responseStreamReader.ReadToEnd().ToString();. But before displaying it on the User screen I want to edit it. How to proceed?