Answer Questions
Nigel Watling Process.GetProcesses Exception "Feature is not supported for remote machines"
My winform app encounters an exception when attempting to get the Process.StartTime from 4 remote computers (Exception is: Feature is not supported for remote machines). However, I can get the Process.Id and Process.ProcessName for running services on the 4 remote machines. I need the start time so I can determine when the staff started certain applications. This winform app works fine in other environments. My winform app resides on a ...Show All
Ronan THOMAS Framework is the problem...
I am having the following problem: I am having lessons Visual Studio 2003 on school and i am making exercises for my lessons at home with Visual Basic 2005 Express. When I open the files I've made at home, when i am at school, I get the error message that the Framework that is installed is not capable to open my executable. Can someone tell me how i can get my programs running on the school computers without installing a new Framework at sc ...Show All
Vitor Hervatin OPC Automation
Hello, I'want to create an OPC Client for any OPC Server in VB.NET. I use Visual Basic 2005 Express Edition. So, I add a reference to my OPCDAAUTO.dll. And at this time, there is just this part of Code : Public Class Form1 Dim WithEvents g_OpcServer As OPCAutomation.OPCServer Dim WithEvents g_OpcGroups As OPCAutomation.OPCGroups Private Sub Form1_Load( ByVal sender As System. Object , ByVal e As System.EventAr ...Show All
Sandrina FTP to IP address
I need to send a text file on the local machine to a unix server. I know the IP address, username & password to connect. I have tried using the following line of code: My .Computer.Network.UploadFile( "c:\test.txt" , "10.2.2.10" , "username" , "password" ) This gives me the following error: '10.2.2.10' is not a valid remote file address. A valid address should include a protocol, a path a ...Show All
bongolas Correct way to reference a DLL from a web service
Firstly, I am calling a web service which forms a wrapper for a DLL. The dll exposes just one class which you log onto (with a hash) and then request data by calls to a "command" method. Between calls the dll class called by the web service seems to lose its class level variables. The DLL has to be in the GAC because its COM enabled. for example a typical use of the dll would be: dim x as new mydllclass x.acceptuser(mshash) x.com ...Show All
danielo1 socks proxy and HttpWebRequest (.NET 2.0)
I have a socks proxy ( not it is not a http proxy, but one obtained by example with putty -D 8080 somehost.com ) How do I redirect my HttpWebRequest to use this proxy, just like I could set up the socks proxy in internet explorer. I've seen some examples with HTTP proxy, but it's not the same. For example, when I try: HttpWebRequest request = (HttpWebRequest) WebRequest.Create(@"http://www.whatismyip.com/"); reques ...Show All
Sateesh Kodati Problem using SSL with httpWebRequest
I am getting the following error while trying to call a SSL enabled site using httpWebRequest. Exception Details: System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure. Source Error: Line 83: Line 84: Response.Write("<font color=blue>Remote response goes here :D </font><br><hr width=100% color=red>"); Line 85: WebResponse wrs = wr.GetRes ...Show All
AlexWerner C# Apps Server that Select From SQL Server 2000
Hi, I'll like to program a C# Application Server that constantly polls the SQL Server 2000 for data. For example, I've a table called A in SQL Server 2000 that's constantly being inserted. My App Server will do a Select * from A as a string of data and then process the it. Is there any similar template that you've come accross Or can anyone enlighten me TIA. Hi Vikram, I tried the www.15seconds ...Show All
Sperin Certificates
I know that Visual Studio can handle .cer Files which only contain the Public Key of a Certificate. So, if I install one of this certificates, it's normally never installed in the Personal certificates section, because there I should only install my certificates which have the private key integrated also. Certificates with private key are normally installed from a .p12 file (a PKCS12 Certificate Store ). ...Show All
jpmartop .NET 2.0 Error
I have created a webservice at the location //localhost/WebSite using VS 2005 Beta 2. The webservice contains nothing but the helloWorld web method. When I run a debug I get a server unavailable error in IE and the following in the event viewer: Warning: Failed to initialize the AppDomain:/LM/w3svc/1/ROOT/WebSite Exception: System.Web.Hosting.HostingEnvironmentException Message: Failed to access IIS metabase. Error: Failed to execut ...Show All
matt Populate TreeView with XML "On-Demend"
Hi, I'm using a sample code from MSDN in order to populate a TreeView control with some XML data using XmlDocument and a recursive method: // SECTION 1. Create a DOM Document and load the XML data into it. XmlDocument dom = new XmlDocument(); dom.Load(textBox1.Text); // SECTION 2. Initialize the TreeView control. treeView1.Nodes.Clear(); treeView1.Nodes.Add(new TreeNode(dom.DocumentElement.Name)); TreeNode tNode = new TreeNo ...Show All
Jeff Solomon Network Stream Read
I am using the networkstream to read a message sent. When ever I get messages back-to-back in a short period of time, the stream still does not separate the messages, which is causing me errors when I try to parse the messages and save information into a data base. I know this is probably a logic problem, but I am not fimilar enough with network steams to figure out what I can do to have the network stream just send on message at time to be proc ...Show All
Ratheesh&#42;MCP&#42; How To Easily Change Connection To Access Database Created Using "Add New Data Source" And Draging Table To Form
Hello, I created a small application that works, but I want to be able to change the location of the database in a more simplier way. By this, I mean to accomplish this task, I could just delete my dataset, binding source, table adapter, and binding navigator. Next, I would add a new data source and connection to point to the new location of the database. But, this would mean that every time I do this I have to also cha ...Show All
SM Gibbs Application performance
Hi all, i want to know how to Use application performance Control. Actually i want to ask abt my asp.net web application performance. there is performance counter control so how can use that control. that the main thing. Hi! What is "application performance control" Where you see it This forum is for suggestions about forums web site, I think we should move your question to forum where people can f ...Show All
MarkDe Migrating ASP.NET application from development server to production web server
I created a VB ASP.NET development project named CEA on my development server. When I migrate the application to a production web server server, do I need to create an application folder of the same name (CEA) to match the src attribute on the presentation .aspx page I could be wrong, but as far as I know, the SRC attribute is only used by VS to indicate the source file for the code ...Show All
