Answer Questions
RookieDBA Writing a SOAP client over SSL
Hi All, I want to write in C#, a SOAP client over an SSL connection to a server which supports SOAP requests and gives back SOAP responses. The way i am currently doing it is 1) I use a open source .NET SSL library to connect to the server. 2) I manually create SOAP requests(in the form of strings stored as resource and in XML files) and send these request over the connection created in 1. 3) I get back the response over the SSL connection and then parse it to get the response. Now my question is, Can i a use .NET framework class library which provides all these features, so that i can just create a SOAP web service client(which would work over SSL) and then use these .NET web service classes to actually get my work done. Any help or ...Show All
Supriya Admulwar Catch events in javascript from .NET usercontrol works in C# but not in VB.NET
Hello all, I've created a .NET usercontrol and embedded it in an HTML page using the implementation found here http://support.microsoft.com/default.aspx scid=kb;en-us;305624 The Control Library was coded in VB.NET 2005. I can access my properties and methods from javascript with no problem. I tried to raise events in my UserControl and catch them in the HTML with javascript but I couldn't get it to work. Here are some methods I tried. <script FOR="uc1" EVENT="MyEvent"> alert("event fired"); </script> as well as I even read that VBScript "automagically" handles it by letting you define a script like this Sub ObjectName_EventName End Sub. This didn't work ...Show All
lloydsantos Reflection
Hi, What is Reflection What is use and where i can use it Any example pls Thanks Seshu Hi Seshu, I have an some background info in the following article: Metadata and Reflection in .NET Hope that helps, Reflection is a fature of .Net through which you can find information about assemblies. Get types contained in the assembly, Get Meta data embedded in that assembly etc. Reflection is achieved through a huge number classes present in System.Reflection namespace for different purposes. Reflection is also used to refrence and use assembly programmatically at run time. You can load an assembly at run time using Assembly.Load and then we can get Attributes of loaded assembly, access meta data, List all classes in th ...Show All
Shawnmcf Need some insight, possible deadlocks, lots of threads!
Hey everyone. :( I'm at a complete loss here. I have a socket server application. Multiple users, chatrooms, instant messenging, etc. It's a racing application. Either way, here's how I can break it down: Asynchronous socket server VB.NET There are 3 types of controls, I guess you could call them: User control - client sends a command to socket server User timeout timer - checks to look for hanging connection. There is a timer associated to each user. Basically for Keep-Alives changing the Connected property to False. Executes every 30 seconds for every user. Race timeout timers - checks to make sure a user completed a certain part of the race. If not, functions will execute to take care of the n ...Show All
&#91;MSP&#93;Daniel Oliveira Setup failing?
Plece helpe me i can not install NET formework version 1.1.4322 or any version what errors are you getting Which OS are you running have you disable your AV software to prevent it from halting and failing the setup did you use any beta's before hand ...Show All
Leandro Rodrigues Soap Toolkit on Vista : Please help
Hi, I am trying to call a web service from classic asp and thought soap toolkit would help. But so far I have not been able to call web service as I get an error "An error occurred on the server when processing the URL" . But the URL is correct. I can type the url (local host) on ie and I can see the web methods. I have a very simple web service for testing purpose that takes two numbers, adds them and returns the sum. I am running windows vista, iis 7 and ie 7. Any help is appreciated. This is what I have on my asp file: <body> <% Public Function MyTestCallService() Dim p1, p2 SET p1 = 1 SET p2 = 3 SET objSoapClient = Server.CreateObject("MSSOAP.SoapClient") objSoapClient.ClientProperty("ServerHT ...Show All
odv SMTPClient Error when sending mail from a windows service
Hello, I'm getting this error when trying to send an email using the SMTPClient from a web service. Unable to read data from the transport connection: net_io_connectionclosed. SmtpMail = New System.Net.Mail.SmtpClient( My .Settings.Default.smtpServer) SmtpMail.Port = 25 msg = "TEST" Dim email As New System.Net.Mail.MailMessage Dim addresses As String () = { "rbrown@aaaaaaaa.com " } My .Settings.Default.emailAddresses.CopyTo(addresses, 0) email.To.Add(Join(addresses, ", " )) email.From = New System.Net.Mail.MailAddress( My .Settings.Default.fromAddress) email.Subject = "System Error: " email.Body = msg Try SmtpMail.Send(email) Catch ...Show All
stiflersmom100 How to pass a server-side object to a javascript function?
Hello, How do we pass a sever-side object (e.g a listbox) to a client-side javascript function I have an idea that it could be this: //string variable string objectID; //get the object's control identifier objectID = listbox.ClientID; //pass the object's control identifier ctl1.attribute["onClick"] = "returnContextMenu({0},objectID);"; Is it correct there has to be a better way, but all my server side controls convert my js to html encoded markup (ie: < becomes <). I read somewhere where to turn this off, but forgot. I do a ton of this type stuff in php, but as for asp.net so far all i can come up with is: this .jscript1.Text = "Blue" ; ...Show All
d00d Tough and critical task
Hi all...I am facing a huge task here....I am still learning ASP.NET stuff but Now I have a task of consumming a Web Service into our existing application... I have the WSDL File on a CD and I have an account to the specific Web service....anyone got any ideas on how to start...any code snipets that may help.... Please help!!! ...Show All
simsen About Cryptography.RSACryptoServiceProvider's behavior
Hi, every one. I have searched/used Cryptography.RSACryptoServiceProvider for a while and found a interesting behavior: When you create a pair of keys(private+public, short for "private", obtained by ToXmlString(true); public only, short for "public", obtained by ToXmlString(false) ), then you can encrypt/decrypt data. I found that if I encrypt with public, then decrypt with private, no error pop up. But when I encrypt with private, decrypt with public, then error popup, said "bad key". I saw some articles said: if you encrypt data with one key, you have to decrypt with other key. and my test shows one direction result. Maybe what I thought is wrong Any one has similar experiences ...Show All
JimMathies67 Not able to release the file after FTP.
I do a upload of a file through Ftp...After the file is uploaded, I want to delete that file from local machine...I am not able to do so as I get an error while deleting that access is denied.. In ftp upload Class I do: response.Close(); // ftpwebresponse object stream.Close(); // filestream object stream.Dispose(); requestStream.Close(); // stream object requestStream.Dispose(); still there is a problem... I am using VS 2005. the code is as follows step 1 : upload file. //where the above code is executed. step2: delete file from local machine.//FOr this.. FileInfo f = new FileInfo(path of file on local machine) f.Delete(); The error sometimes also states : underlying connection was close ...Show All
Fenghus .NET Framework, Installation Issues... Windows Updates
I'm poor with computers, i have to say, although i'm sure this error coming up, cannot be good for my pc, and i want it to be in top shape. Here are some Prt.Scrn's of my Errors, I hope you can shed some light on why this is happening. > http://i87.photobucket.com/albums/k157/odarwazeh/InstallingUpdates.jpg > http://i87.photobucket.com/albums/k157/odarwazeh/UpdatesNotInstalled.jpg > http://i87.photobucket.com/albums/k157/odarwazeh/Specs.jpg* *Note, That is my PC Specifications. Thanks. No... Look can you help, or not, i'm really worried if it's an important update which won't install. Thanks. Aren't there any entries in the event log Have you tried retri ...Show All
Crasch Using WebBrowser to display Office (2003) documents
I want my program’s users to view a variety of document types including Office (2003) documents within the program. They will not need to modify the documents. Word documents always open with the Review menu bar visible – is there a way to suppress this There is equivalent editing menu for Excel (but not PowerPoint) – can I suppress this Is there a way to open the document in a read-only type mode I checked out the site, but I don't know how to implement the line: WebBrowser1.ExecWB OLECMDID_HIDETOOLBARS, OLECMDEXECOPT_DONTPROMPTUSER Also, I don't really believe this will solve my problem. I'm trying to open an Excel file using the WebBrowser, but I don't want the column or row ...Show All
Sudheer Kandali I have a 32 bit vb.net service running on 64bit..
Hi, I have a service that get installed and runs fine on both 32 and 64 bit. This service listens for incoming messages coming from another client software that is installed on a terminal server.. The client is able to connect to the remote host server and communicate with the 32 bit service... But when I try to connect to the 64 bit server to communicate with the service it does not work. Is there anything I have to do on the 32 bit service that is running on the 64 bit in order to make it work properly Both the service and the client service is written in VB.Net 2005 Pro... Thanks Hi Guys, First of, I would like to thank you all for the help you guys provided. The service was workin ...Show All
JonathanAramburo SIP communications
Hello everybody, maby anybody knows, what is the best way (if it is at all) to develop simple application which could login to SIP server and call to some number through SIP server, i need just call, talk and and end talking... i have searched google but didn't found any free sip components... i tried to use windows messenger, but with no success, becouse in windows messenger api is only one method Phone(), but it can invoke phone window with number that i passed through this method but it doesn't call automatically, i need to press call button optionaly by mouse this isn't good solution for me... thank's for your reply, i just need to create simple windows application, which i can login to SIP communication server with my ...Show All
