NetAdminTools.com
 
SignalQ Sites:
NetAdminTools - Coprolite - NoNIC - SpotBridge - NAW
RoboCoop - AreWeDown - SolarPower - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - MCJ - FixRambler
Categories:
GNU/Linux | Homebrew designs | Perl | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS | Hail Support


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·REALbasic
·All Categories


Using VB to Create an Administration Console
Topic: Administration   Posted:2002-01-20
Printer Friendly: Print

spacerspacer
There are many tasks that you may want to automate using a custom console. This could be for your Jr. Systems Administrators, for users, or for yourself. One tool that we like to use for this is Visual Tcl, but sometime it is nice to use plain old Visual Basic. If you do use Visual Basic to create an administration console, one of the first problems is dealing with the execution of sequential shell commands. For instance, if you copy a file and then execute the file when you click on a button, the file might not have finished copying before your program tries to execute it. The program does not wait for a shell command to finish before it moves on to the next command. What you need to do is use some code available from Microsoft's support site: HOWTO: 32-Bit App Can Determine When a Shelled Process Ends (Q129796). Then, just use the ExecCmd statement in your VB code. Some other links that we have found useful, relating to this:

VB Codes (Warning: Lots of popups.)

HOWTO: Copy the Screen or Active Window to the Clipboard from Visual Basic (Q240653)

Create a virtual form





Please read our Terms of Use
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2008 NetAdminTools.com

Created by:
MCJ
MCJ CMS