Answer Questions
Marcuscoker JScript problems
I don't know if I'm in the right place to post this so forgive me if I am not. I have a home automation computer and part of it's functions is to run macro's. I have been able to get it to turn on media player 9 and play a playlist. But I am having trouble getting it to shut if off. After trying every command line string I could find I'm now looking into JScript. The particular part of JScript I'm looking at is the sendkey functon. Now I'm as ne ...Show All
Shaun Miller MS Secure .NET application from users
Hi all. I am developing an distributed VB.NET 1.1 application with a TripleDES capable socket layer for communication with my server app. I need to secure the distributed app from the users within the organization I am developing it for (a franchise). I do not wish to store any encryption keys in the source code as these would be obvious to any seasoned hacker through decompilation of my binaries (even with obfuscat ...Show All
Piotr Celej ConfigurationManager does not read connectionStrings from app.config
Hello, I have created a class library with this app.config: < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < connectionStrings > < add name = " AppConnectionString " connectionString = " Data Source=(local);Initial Catalog=mydb;User ID=myui;Password=mypw " providerName = " System.Data.SqlClient " /> </ connectio ...Show All
Srik Try...Finally and performance
Hi! Are there any negative performance issues and diferences with the two alternatives below: Alt 1- With Catch PersonHandler myPersHandler; //Implements IDisposable..... try { //Some errorpotentiall code } catch(Exception ex) { //Do some logging } finally { if(myPersHandler != null) myPersHandler.Dispose(); myPersHandler = null; } /************************************************************/ Alt 2. - No Catch PersonHandler myPers ...Show All
Nuno Alves Proxy usage in WSE 3.0 Messaging Manual
Hi, I am writing simple WSE 3.0 service. In the Messaging Manual is written that one can inspect messages using TcpTrace utility just by changing the web service address to use port 8080. However I could not make it run until I added EndpointReference.Via object that specifies the proxy location. This seems to be the proper way of doing it but still the question is if there is another way of tracing messages, without setting the Via property ...Show All
DayBreak makecert.exe option '-sky'?
I am not quite understand the option '-sky' of makecert.exe. it is described as to specify the type of subject key, which can be 'signature' or 'exchange'. so what do we mean by 'exchange' Could anyone know tell me someting about this Hey Justin, Sorry for not clearing that up earlier. Here is an explanation of those two options: 'signature' (AT_SIGNATURE) - the certificate can only be used to sign a payload 'exchange' (AT_KEYEXCH ...Show All
powerteh Visual Studio .NET & importing an existing site
I've recently been hired to overhaul a website. It was built with .html and .asp pages as far as the design aspect, but the forms and DB connection is done in .NET. I've tried opening the website in Dreamweaver and I'm able to do site design no problem, but getting the .net code pieces imported into the dreamweaver program isn't working. The .aspx and .ascx just won't come in. As an example, there is a .net "login and user ...Show All
Pankaj Gautam How long is the Future of .Net Technology ?
Hello Friends , I m a s/w developer, currently working on .Net technology. i m a bit confused abt the technology to continue working with Java or .Net. also i want to know whether Microsoft is coming with some new technology in near future. There is no possibility that .NET will vanish as long as Microsoft exists. Everything Microsoft does has some sort of dependency on .NET and related technologies. If your domain ...Show All
SVadali Deleting lines from Text File.
Hello, i am reading a text file outside the program. however it is too large and must be cut down. Can I please have a code to delete the first 57 lines of the text file and either save it to the same file or save it to a file of a different name. Jason, Have a look at the StreamReader/StreamWriter classes. I suggest you first write it out to a temporary file first (use Path.GetTempFileName()), and then copy it across over the top of t ...Show All
once4ever Generic SortedList and SortedDictionnary
I've been reading the documentation on MSDN2 and it says that both, the generic SortedList and SortedDictionnary are binary search trees. My question is, are they self balancing bst (such as avl trees or red black trees) or does their effectiveness depend on the order the nodes are added (or KeyPairs). Looking these up in reflector, it appears that SortedList simply maintains an Array intern ...Show All
Jaowrski Piotr XMLHttpRequest in .NET ?
Is there any class or wrapper or support in .NET of any version for Microsoft.XML components. XMLHttpRequest is an object from MSXML component. If i'm not mistaken MSXML is designed preior to .NET. Is there any related objects in .NET namespaces Correct me if I'm wrong but XMLHttpRequest that you are talking about is for generally used for Dynamic HTML and AJAX. So your focus should be on javascripting at user side of the web page. ...Show All
MatthieuGD find my external ip address not internal
hi, anybody know how to find the external (real) ip address using vb.net/c# thanks t I can find my internal ip: 192.168.xxx.xxx since my pc is connected to a router but i'm looking for the external ip, the real one, for example 216.239.59.147 thanks t Hi, I'm not sure what you ment as external ip. However, You can use Request.UserHostAddress or Request.Host ...Show All
leighparr retrieve data in .net client from java web service
I have created a client in .NET which is calling Java Web Service. I call the web service with: Serv.Service myService = new Serv.Service(); myService.Url = "http://localhost:8080/saaj/response"; XmlNode doc = myService.getNotebook(idNoteb); int num_childNodes = int.Parse(doc.ChildNodes.Count.ToString()); in Java is request recieved and send it back. I return here SoapMessege , In .NET i don't know how ...Show All
TheNewcomer How to get system specs (processor, memory etc...) in C#?
Hello, I would like to know how to find the specs of the current running system such as the memory amount and processor speed in C# Mateusz Hi, I try to run the code above but get an exception saying System.Runtime.InteropServices.COMException was unhandled Message="Retrieving the COM class factory for component with CLSID {4590F811-1D3A-11D0-891F-00AA004B2E24} failed due to the following error: 80 ...Show All
Steve Hiner WSE 3.0 "Could not load file or assembly"
I've built a VS2005 webservice using WSE 3.0. I'm trying to deploy it on a local development server which has .net 2.0 framework installed and the administration version of the wse 3.0 runtime. I get the following message when viewing the asmx file in a browser: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details belo ...Show All
