Can anyone help me out with what is wrong with this:
function manage(strComputer)
{
var Shell = new ActiveXObject("WScript.shell");
Shell.run("\"C:\\WINDOWS\\system32\\mmc.exe C:\\WINDOWS\\system32\\compmgmt.msc \/computer:" & strComputer & "\"");
}
I can use the function below and...
My apologies if this has already been covered but search is down right now. I have a VB 6.0 app that I am re-writing as a C# web app. As you can imagine there are a number of things that are causing problems but maybe if I can get a start on accessing the local box of the person viewing the web...
I need to change the text that shows up on that screen in a domain environment with XP pro when you lock the machine. Be default it shows "Only john.doe@fabrikam.com (John Doe) or an administrator can...". I need it to only show the user's display name (John Doe)...not the logon name...
I just did an erase and install from 9.2 to 10.2 on a machine and everything seems to be working fine except that the HD does not show up either in the root of the Finder or on the desktop. Showing HD's on the desktop is enabled in Finder Preferences. The HD did show up when it was 9.2. The only...
I have a registry change that I need to distribute to WinXP clients only. Can anyone tell me what the best way is to do that? I've looked under keyword search and haven't found any specifics on this.
Thanks.
I started another thread talking about some problems loggin on to AD 2003, but this seems to be a seperate issue. Has anyone else out there with an AD 2003 domain had trouble connecting to shares? This seems to correspond with our upgrade to AD 2003 from 2000.
I know this can be a bit of a pain, but there are a couple of tools out there that I have had working successfully, but I am a bit concerned about whether or not they will be reliable solutions.
1) ADmitMac - This seems to be able to work, but it was a bit quirky for me. It bombed my computer...
A while ago we had a discussion regarding the future of VB6 especially with Microsoft pushing .NET so much. I came across an article talking about this. Here is a quote from the article:
************************
Microsoft plans three phases for VB6: Mainstream, Extended, and Non-Supported (see...
I am trying to do exactly what I said in the subject but am beating my head against the wall. When I take out the code from below that attaches the files, the email works great. When I try to attach files as below, it doesn't send anything...it also doesn't give me any errors. Any ideas...
I am writing an app that creates an Outlook appointment, shows it for the user to fill in optional parts, then I want to store the entry ID and then be able to retrieve and display that appointment later. I have one question.
I have this code below that creates and displays the appointment. I...
I have a listbox that I want to allow users to double click to add an item. The problem is that the double click event only fires when the user double clicks on an actual item in the list - not in a blank area. I can use the mousedown event, but that only works for single click.
Any ideas...
Does anyone know how to view the installed program list from the add/remove programs list of a computer on the network? I am in an IT department and we have a program that I have made that allows us to do a number of functions to manage our computers and I would now like to have a way to see...
I have a program that works when in the vb environment, but when I compile and then try to run the .exe, I get a message "This application has failed to start because the application configuration is incorrect. Reinstalling the application will fix this problem."
I think it is a...
I have a number of items(800-1000) in a SQL Server database and currently I have my searching arrangement as follows. I have 5 radio buttons that the user selects and then a text box and a listbox. The user starts to type into the text box and as the user types, the change event searches the...
My boss today asked me to "whip up a little code" that will automatically change the Outlook Exchange Server Setting in Outlook back to our Exchange Server because people keep accidentally changing it. While I've found lots of code for sending mail, etc through Outlook, I haven't seen...
A little while ago we had a discussion about showing xp-style controls. To expand on that, I found a way on another site to show the xp-style "balloon" messages with the pointer relating to a specific control. Below is the link from that site. Note that as it says on the page, you need...
I am trying to call a batch file using a shell command and that batch file needs to receive a parameter that is two words. The batch file works when called from dos because I can wrap the variable name in quotes. When calling from VB though, the typical provision is to wrap variable needing...
I need to get the name of any users logged onto another computer on my network. I have found some info on net api and have tried one routine that looked very promising, but the users still showed as logged on after they logged off. Does anyone know how to do this?
I have a program that returns the username of the current user on the computer and writes it to a central file. When I run it, everything works fine. The problem is that I need to call it from another machine and have it run for the machine that it is sitting on. If I call it locally while...
I am writing an app that runs when a user logs on, then again when the user logs off. It seems to work fine when the user logs on and off of one computer, but if another user logs onto another computer before the first has logged off, the second user get the message:
Err 80004005 Microsoft ODBC...
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.