How To Automatically Run The Application On Another Workstation In Network When Workstation Down?
Dear All, I intend to create an VB6 application that able to automatically start application on another workstation in LAN network when current workstation was failure or shutdown. Kindly advise how to do it! Thanks for your advise and help.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Automatically Copy And Transfer Database To Workstation
I have a workstation that can not access an Access 2000 database due to security issues but I can manually copy the database to the workstation.
I need this Access 2000 on the workstation for read only purpose to search records.
I was wondering how I can automatically copy and transfer this database from the web server to this workstation once a day. Does Access 2000 have this capability?
Ping Each Workstation On A Network
Hi there,
Is it possible to loop through works tations on a network to see if they are turned on?
Would you have to ping them and check the response?
Is there a list of all workstations that can be accessed with VB?
Any ideas?
Rohan
Monitoring A Network Printer From A Workstation
I am looking to write a utility that opens a network shared printer (like one of those big white boxes that sits in the backoffice where everyone prints their junk), grab details of jobs and then writes them in a local file. This utility will run on a workstation with a non-admin user logged on to it.
I can't see why it can't be done because I can view the jobs anytime I open the printer from the control panel.
Please give me a start.
Thanks.
Application Install On An NT Workstation
I've got an application that needs to be installed on an NT workstation. The setup program was created with InstallShield Express and includes writing three new keys to the registry.
Currently, I'm installing the application while logged on as an administrative level user. If I then run the application while logged on with a user level id, the program does not seem to be able to read the key values from the registry. As a result, the program will not work. It works fine if I'm logged in as the administrative level user.
Is this just the way NT security works, or is this something I can control with my setup? Thanks for any help.
Locking A Workstation
I am the sole user of my computer. How can I set Win XP Home to always go to the Log in Dialog, as opposed to the fancy exe that most Home owners see? Failing that, how can I lock the workstation, and yes, I've tried the LockWorkStation API, it sends me to the fancy blue Home logon screen.
Workstation Locked?
Hello,
i´m writing a small programm to check the worktime, but now i ve got a problem, how can i check if a workstation is locked? is there an api?
Thx 4 your help
Locking The Workstation
Is there a VB command I can use which will lock the workstation, similar to the use of Ctrl-Alt-Del?
Lock Workstation
Hello,
I am writing a small app for an Internet Cafe, My app will run on workstations and check a server database once a minute to see if they still have time left, when out of time I want to display a warning message then lock the workstation.
Does anyone know samlpe code to lock workstation from VB?
I would run as service.
Thanks Heaps
Rhys
Server Or Workstation
I have a VB program that can either run off of a server or off of an individual workstation.
The behaviour should be slightly different.
How do I write the code to distinguish if it is running off of a server or off of an individual workstation?
thanks,
Can You Identify A Workstation?
Hi,
A lot of the stuff I write works over networks. I want to know if it is possible to recover the 'identity' of an individual workstation through VB - to identify which user did what - without the users having to do anything themselves.
Thanks
Lock Workstation
Is it possible with VB6 to lock the workstation with the Windows standard lock window ?
Also, is it possible to change the password before locking it ?
Lock The Workstation
Hi all,
Is there any way to lock the workstation through code?
Thanks for your help!!!!!!
Is There A User On That Workstation?
Well thats what I want to find out! I have written a program to detect which user is logged on at any computer, however it either displays the current user or if no one is logged on the previous user. Is there any way I can find out if there is an active session on the workstation? Any help would be greatful.
Check My Workstation??
I got a difficult question (I think) for all you people, my workstation is in a corporation domain, how can I check from VB6 who is trying to view my workstation shared folders or my workstation at all from an other workstation in the same domain in real time??
Unlocking NT Workstation
I am writing an app that must issue a sendkeys. It will do this at all times of the day. Unfortunately, sendkeys does not work when the screen is locked. The user is still logged in, but the screen is locked. Is there an API call or other routine that can be made to unlock the workstation and lock it back when I'm done???????
PLZ!!!!
Thanks in advance!
Ping A Workstation
I have some Vb code to map to a workstation. I am passing the command through Shell.
I am wanting to add some error trapping incase the users' workstation is switched off. To do this i thought about pinging the workstation.
Has anybody any idea about how to ping a workstation through Vb and use the response ?
Workstation Locked
Dear all,
Here Iam writing a program Can u please help me in this regards
1.The program has to run in System Tray and who will never end that one
2.Identify the Keyboard Keys (especially Ctrl+Alt+Del)
3.Automaticaly detect which program is opened and its Status
Totally Whenever I press Ctrl+Alt+Del to lock the Workstation ,then the program has to open and run even desktop shows Workstaion Locked Dialogue Box
Please help me for this One
Get UserName From NT Workstation?
I have a form in my project that the User will fill out and I would like to fill in as many fields as possible for them before they start. Is it possible to get the User Name of the User that is logged into an NT workstation? If so how do I do that?
Thanks for any help.
How To Lock Workstation
I was wondering what would be the best way to send a <CTRL> <ALT> <DELETE> to the System to lock the workstation. I am making a simple program that runs in the System Tray so that I can just click on it and it will lock my system for me. I tried using sendkeys, but I can NEVER get that to work properly. Is there a way? I am currently using a Novell Client if that matters.
Unlocking NT Workstation
Can anyone out there help me?
I've been tasked with writing an application that runs on an NT workstation, but some of the things to be done must be done using the sendkeys option. I need to unlock the workstation first to be able to do this. Any Ideas??
TIA
Ell
Locking Workstation (NT)
Does anyone know (or have) any code which will able me to add the functionality of NT locking terminals? This would be useful as I could give the user a timeout option in the app to lock the machine.
Thanks
Find OS And Workstation
I'm building a small program for a friend, on request (I use VB6). One of the things he wants present is what OS the user is using, and what their Computer Name is.
I searched Google to see if I could find out how to do this, but came up with nothing =/
So, if someone here could show me how to find those two things, that'd be great. They just need to be shown in a Label, so it shouldn't be too difficult doing that.
Workstation Locked ----
I need to detect if a NT/W2K/XP workstation is locked or not.
Part of the security work software I am creating needs to log all window captions, logon and logoff times and if a workstation is locked or not.
I am using VB6 with SP5
VB developers do believe in open source, other peoples
http://www.walkerbrotherssa.com/
Edited by - WBro on 6/27/2004 4:28:54 AM
Vb6.0 - How To Update VB App To All Workstation
Hi there,
Server Database: MS SQL
Report Database: MS ACCESS
Report Viewer: Crystal 9.0
I have a Report Viewer Program w/c i always install(Create Package) to each workstation every time i made modification. Is there a way (vb code) to install only this program once (to server computer), then when they run it in the workstation, the program will update/copy (dll,ocx,database,report file ect,) to the workstation computer. So that i will not install to each workstation (20 workstation) in the network...
Please help!!!!
Thanks....
LOCKING WORKSTATION
CAN ANYONE PROVIDE SAMPLE CODE ON HOW TO LOCK MY WORKSTAION SO ONLY MY MAIN APPLICATION FORM IS ALWAYS ON TOP , WHERE NO ONE CAN SEE/ACCESS ANYTHING ON THE WORKSTATION UNTIL YOU AUTHENTICATE YOURSELF ON MY APPLCATION.
SHOULD RUN ON WIN9X /WIN NT 3.1 OR LATER .
THAMX IN ADVANCE .
GEORGE.
Lock Workstation
I would like to lock my Win Nt worstation after 10 sec. I know the timer code but the problem is sendkey does not work... it there another way I couls do this like Sendmessage. If there is pls show me the code
Thanks in advance
Permitions On NT Workstation
I have an dcom application and the servers located
on a NT workstation machine.How my machine (client) can has access on the NT machine by its computer name?
How it should config the NT machine (server)?
Thanks
Workstation Messaging
I am currently working on a project for a hospital. Our current setup is 5 workstation and one server. Our server is using MS-SQL 7.0 while our front-end application is VB6. We want to implement a messaging system in which, for example workstation 1 can send a message to workstation 2 (a form will pop-up) notifying/dusplaying tge message.
Is there a way to do this in VB code ? Ur suggestions is highly approciated.
thanks.
Nt Locked Workstation HELP HELP
I would like to capture when the user locks the workstation and start a timer, when the time runs out i want to close the computer or log out the user.
Is this possible ?
Changing The Domain Name Of A Workstation.
Hi to all! I don't know where to post this properly so anyone could see. we have this task of changing the domain name of each and every workstation. and by that, I mean if I change the domain name, it has to join to that domain name we specify. But the task of going to each and every workstation is an ardous task. So I was wondering if anyone knows a script on how to accomplish this. The workstations are all part of a domain. We have to go to each and every workstation and right click My Computer-> Properties->Network Identification tab->click on Properties button->type the domain name->enter the admin username and password to join it into the domain we specified->reboot. So as I said, is there any way this can be done the easy way like using a script? Please help...
Getting Workstation Logon Status
Hi All,
I am creating a program that will be deployed via MS SMS 2003 that will need to do a couple of different tasks depending on whether or not a user is logged in.
I have done a reasonable amount of research on this and cant seem to find a concrete way of determing the current logon status.
The methods I have tried are:
1) Pulling logged on user value from WinLogon key - Returns the last logged on user if no-one is logged on
2) GetUsername API call - Again seems to return the last logged on user.
3) A WMI call - same problem as above
4) The current method I am using is to use an API call "LsaEnumerateLogonSessions", I list through all the logon sessions and look for session type interactive. - this seems to be better, but still occasionally it seems like windows holds logged of users as an interactive session thus nullifying the point of the call.
Has anyone come across any better ways of concretely determining the logon status?
I know in MS SMS there is an option to run an advertisement only when the machine is logged on or off, so there must be some way of definately saying that someone is logged on or not.
Thanks for any help in advance..
Unlocking An XP Workstation Through Code
Hey there. I recently got one of those little USB hard drives, and I've heard of them being used as "keys" to unlock computers and doors and such. I'm thinking that, through Windows XP's autorun feature, it wouldn't be too hard to make it unlock my computer when it's inserted.
Has anyone ever seen a program that can unlock your machine for you, if you give it your password ahead of time? I don't think it would be too difficult to do. Since I doubt the APIs are documented, it would be possible to just locate the window and send some keys to it (or so I think). I don't have much experience in this kind of coding.
If anyone has any ideas, I'd be very appreciative of them.
Without Running Setup On Each Workstation
Is there a way to compile a program that I can simply place on a server and map a shortcut to it for each user? I tried it, but now it can't find the connection to the Oracle 7 DB. Any suggestions? They are appreciated!
Error Running In Workstation
My application run fine in my local computer. I've shared the folder where my application reside. Then I mapped that folder at the different computer in the workgroup. When I try to run the application, it prompt error .
Error message: "Run time error '429' ActiveX component can't create object"
Any idea to solve this problem, higly appreciated.
Thank You...
How To Launch An Exe On A Workstation Connected To The LAN
Hello, my school is equipped with a computer laboratory (30 workstations) that is used to evaluate our students by means of interactive quizzes.
The problem is, our students have to manually launch the quiz executable double-clicking on an icon we have placed on their desktop.
I would like to know if it is possible for me to launch the executable on each machine directly from my workstation acting as a server.
I can already send messages to each machine using the following code:
Code:
Shell("net send " & lstRemoteAddress.Text & " " & txtMyMessage.Text, vbHide)
but I don't have the foggiest idea about how to activate a quiz directly from my server workstation.
Any help will be appreciated.
Detect Locked Workstation (NT)
Hello,
I've got a program watches production of employee's the only problem is that when they go to lunch and their workstation locks
it seems to take forever to unlock the workstation because the program is running.
Is there anyway to detect if the workstation is locked and if it is would I be able to run a timer to disable my other timer when the workstation locks and renable after the workstation is unlocked?
How To Find Out If The Workstation Is Locked?
Does anyone know of an API that I can use to execute another piece of code when the workstation in Win2K/XP is locked and unlocked?
ie. when a user presses winkey+L and locks the system it runs an event onLock() and when they enter the passwd it runs onUnLock()
The program will be hidden most of the time this feature is used.
How To Launch An Exe On A Workstation Connected To The LAN
Hello, my school is equipped with a computer laboratory (30 workstations) that is used to evaluate our students by means of interactive quizzes.
The problem is, our students have to manually launch the quiz executable double-clicking on an icon we have placed on their desktop.
I would like to know if it is possible for me to launch the executable on each machine directly from my workstation acting as a server.
I can already send messages to each machine using the following code:
Code:
Shell("net send " & lstRemoteAddress.Text & " " & txtMyMessage.Text, vbHide)
but I don't have the foggiest idea about how to activate a quiz directly from my server workstation.
In other words, I put different executables (each one representing a quiz) in a shared folder.
On the desktop of each workstation of the LAN, I created a link to one of those executables.
I would just like to be able to launch an executable on each workstation from my workstation (which is positioned like a teacher's desk) so that the student will not have to double-click on the icon (link). If I were able to do so, I would not put any icon on the student's desktop at all.
Any help will be appreciated.
Error Writing Key To W2K Workstation
I have code that works fine under XP, but is throwing an error, and not writing the key under W2K Workstation. Is there anything that should be done differently? It creates a key and some settings.
Code:
SaveSetting App.EXEName, "Registration", "User", Trim(txtRegisterTo)
SaveSetting App.EXEName, "Registration", "Registration Key", _
txtRegKey(0) & txtRegKey(1) & txtRegKey(2)
It gets installed under VB and VBA Programs under XP, but there is not a key in W2K. It's not under the app.name under Software, so I'm stumped.
Install Problem - NT Workstation
I'm trying to install an app on an NT workstation. I developed most of it on NT, then switched to XP before finishing the project. The project has an Access 2002 backend with VB6 SP5 front. I used Inno as the setup. The prog installs ok, but when I run it, the splash screen displays, but the next form doesn't. The app shows as running in the task manager - using 98% of resources (which is way to high for this app). I tested on a 98 machine and it ran fine. Any ideas?
Thanks
OverRiding Closed NT WorkStation!!
I completed an application that I need to launch on several NT 4.0 workstations.
The application is set to create a folder within the C:/ProgramFiles directory...but for some of the employees their workstations are "Closed" not allowing them to add/delete from the C: directory.
On the other hand, I know that some applications such as Adobe Acrobat reader is availble to these same users and they have successfully installed this application on the C: drive....
So I was hoping that there was a way to override that mechanism, without having to put in a request to open all of these workstations....
Thank you.
Registry Key For Workstation Unlocking
Can any body please help me
After Workstation locked the desktop will disappear and ONE Dialogue Box will come and After Unlocking again we will goto Desk top How can it possible
Where is the registry Key for this One
Help me this is very very Urgent
Enumerate Profiles On Workstation
This may seem somewhat trivial ... but it's Friday and my brain isn't functioning properly.
I need to be able to enumerate the profiles on a workstation (Win98/NT/2K) along with the SID that they are associated with. (Much like the profile enumeration when you right-click My Computer and select the "User Profiles" tab.)
Anyone know of a snippet of code that will address this?
Thanks!!!
Dan
|