I have made a service in visual studio and imported the eventlog component from the tools. Besides that, I have tweked the code a bit. The service runs fine, starts and stops without error, but it is not detecting new events in the event log despite an attached handler. It shuld see ANY new...
I have a script that cycles through log files. As it reads each log file, it runs the sub below to open the output file, write a single line, then close the file.
Sub logStatus(message, account, sourcelog)
strFile = strBackupDir & strBackupFile
Set objFile = objFSO.OpenTextFile(strFile, 8...
I have an IIS website set up that is a "test" web client. Basically, when a user has an issue connecting to an external site, they connect to our internal "test" website, enter the URL info, etc, and it runs a series of tests to figure out what the issue is. So far, everything runs great...
I have a web app that connects to client computer using full administrative privileges via WMI. It specifically pulls the "root\CIMV2\Applications\MicrosoftIE" directory, MicrosoftIE_ConnectionSettings class. On most machines, it returns all the available data, including items with no value...
I have some fairly simple data that I want to display in a scrollable window in my C# app. I do not have the data saved in a table or anything yet, so i am flexible for this solution.
I have a few servers I check for via ping, to make sure thye are up, and report a status. I need to display a...
Hi guys, I am using XMLHTTP object to send an http request. I want to send the HTTP request using different proxies, so I made a sub that is called and passed different proxy server names to test.
sub testSite(url, proxy)
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
objHTTP.open "GET", url...
Has anyone successfully created an ssh session using vbscript? I can only assume there is support for ssh connection in the .net framework of windows, but I cannot find any sample code for this. Basically I will be running the script from a client box, and it needs to connect to an ssh server...
Not sure if this is the best forum for C# and ISA administration but here it goes....
I am trying to administer IA remotely using C#. I can run C# code directly on an ISA server, and then connect to other ISA servers no problem, as follows:
private FPCLib.FPC root = new FPCLib.FPC();
root =...
I have some simple code that checks a string for lowercase charatcers. I then want to know how many lowercase characters exist. Later in the code I also check for other regulkar expression filters such as uppercase, numbers, and special characters. For simplicity, I am only showing lowercase...
My personell have the need to check website connectivity, even if their client machines cannot get to the desired website. So let's assume a client cannot get to google.com, and they use my website to see if the server can get to google.com.
I have an ASP.NET page WebCheck.aspx. This page...
I have the following program flow for my web app i am developing. All the files are in the same directory, Webtools\<filename>
WebCheck.aspx (inherits WebCheck.aspx.cs)
WebCheck.aspx.cs
NSLookup.cs (custom class for resolving hostnames/IPs)
WebCheck.aspx.cs looks like this:
using...
I am new to C#, and believe I am missing something. The following portion of the code builds the message body of the packet to be sent. During compilation, it throws the error.
Buffer.BlockCopy(BitConverter.GetBytes((short)1), 0, packet.Message, 0, 2);
CS0117: 'bool' does not contain a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.