Question about Microsoft Visual Basic 6.0 for PC

2 Answers

To run a DOS command without showing output to the user

Posted by on

2 Answers

  • Level 1:

    An expert who has achieved level 1.

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 24 Answers

Hi, you might also look into a program called Winbatch. Http://www.winbatch.com. I think it might be able to do what you need. You have to learn the WIL though. But you probably know it already or you wouldn't be asking!


Posted on Jan 21, 2009

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that has over 10 points.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 13 Answers

You cannot execute a dos window withou atleast having it appear in the task bar as a running program in Windows. You can however start it minimized using a batch file and starting with the command:

START /MINIMIZED /WAIT COMMAND.COM

Depending on what you are trying to do you might want to look into VB scripting or WHS as an alternative to using CMD to parse commands.

Posted on Dec 16, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

How do i get my password


If you want to change a computer's sing-on password without actually knowing the original password, then today's your lucky day.

You don't need to be computer savvy to do this.
This is considering you know the ethics of privacy.

Please do not use this against anyone.
Okay, now that that's over with, here's how to change the sign-on password to a computer without knowing the original password...

Go to the start menu, then click on "run" (the command program).
Type in "cmd" (without the quotes).
Once the command window comes up type in: "net user"


After you type in "net user" it will list the user names of the computer.
You want to type in "net user" and the user name after it.

So if the username was Maya you would type in: net user maya.
After this it should say on the command window "you may change your password".

To change the password type in what you typed in the previous step but this time add the password to the end.
So if my password were abcd I would type in : net user maya abcd.
Change Administrator password using DOS Command
Use dos comand
The administrator account on a Windows machine is the main, root user name that gives full access to the machine.

Administrators should change this password frequently to avoid unauthorized access to the domain or desktop machine.

This can be done in the Windows Control Panel, or use the "net user" command in the Windows DOS prompt.

Log in to the machine using the administrator username and password.
You can also use an account that has administrator privileges on the domain or desktop computer.


Click the Windows "Start" button and select "Run" or "Start Search" (depending on your version of Windows).

In the text box displayed, enter "cmd" and press the "OK" button.
This opens the command prompt window.

Type "net user administrator <new password>" into the command prompt.
Replace "<new password>" with the password you want to set.

Enter the password again for confirmation.
Once you enter it again, the administrator password has been changed.

Test the new password by rebooting the machine and logging in with the new administrator password.

Apr 10, 2014 | Computers & Internet

Tip

Creating user accounts from Dos(Command prompt) easy


why bother crating user accounts from dos

main reasons are
  • its very fast
  • you can create multiple user accounts in one click
  • you can use this to duplicate local user accounts in an work-group environment using batch files
  • its more fun than windows


you can use any windows version to the below steps

make sure you are logged in as an administrator
press winkey + R to open run menu
type in cmdpress enter

606fbf0.jpg
in command prompt type in the following
>net user hishan /addpress enter
this will add a user name hishan in to windows with out a password

364323a.jpg

to add user account with an password type
>net user hishan 123456 /add press enter
-123456 will user hishan password

if you want to type in the password unseen (secretly)
type
>net user hishan * /add
press enter
this will give you an special prompt to enter an passwordlike this
eca3423.jpg

to chek the user account is added

just type in
>net user
press enter

74a0e48.jpg

now how to create multiple user accounts at once(more fun)

really simple in dos you can create files called bat file witch automatically executes multiple dos command at once you just have to type in the commnd in the execution order
first open notepad and type the net user commend to add 3 users like this

8649032.jpg

and you can enter type in the password as well i have type in a command called pause at the end which will execute all the commands and stops at the end to show what happen if it was not there you will just see a black scree appearing and dispering quickly

save the above file as user.bat make sure you select save as type all files

539a780.jpg
i save my file in the desk topit should look like this
12b6934.jpg
hoooray now you can just double click on the file and see the user accounts create in an instant
cddfbde.jpg

you can create any amount of windows user accounts automatically with this systemhope you enjoyed it try it.........

note:if you are using windows vista right click on user.bat and select run as administrator since it requires administrative rights to create user accounts

on Apr 11, 2010 | Computers & Internet

1 Answer

My compaq presaario turns on and off without loading


Does it show a blue screen? If so you want to disable the automatic restart so you can read the error message.
To run the check disk utility you will need a repair disc ora operating system disc. Put the disc in the cd drive and boot fromit. You want to get to the Dos Command Prompt (Black screen with whiteletters) and type the following command: chkdsk /r
Check disk will run well over an hour or two and you will notice thepercentages going from high to low, this is normal. Let it run tocompletion. Then reboot machine.

If check disk fails to solve your problem you might have to reinstall windows.Try doing a Repair Install that way you don't loose your data, documents,music, pictures, videos or programs.

In windows xp you get to the dos command prompt by selecting R for repair whenthe options appear.

In Vista and Windows 7 you want to get to the recoveryconsole and look down at the bottom of the window for the Dos Command.

Apr 24, 2012 | Compaq Computers & Internet

2 Answers

Meaning


The most important program that runs on a computer. Every general-purpose computer must have an operating system to run other programs. Operating systems perform basic tasks, such as recognizing input from the keyboard, sending output to the display screen, keeping track of files and directories on the disk, and controlling peripheral devices such as disk drives and printers. For large systems, the operating system has even greater responsibilities and powers. It is like a traffic cop -- it makes sure that different programs and users running at the same time do not interfere with each other. The operating system is also responsible for security, ensuring that unauthorized users do not access the system.
Operating systems can be classified as follows:
  • multi-user : Allows two or more users to run programs at the same time. Some operating systems permit hundreds or even thousands of concurrent users.
  • multiprocessing : Supports running a program on more than one CPU.
  • multitasking : Allows more than one program to run concurrently.
  • multithreading : Allows different parts of a single program to run concurrently.
  • real time: Responds to input instantly. General-purpose operating systems, such as DOS and UNIX, are not real-time.
  • Operating systems provide a software platform on top of which other programs, called application programs, can run. The application programs must be written to run on top of a particular operating system. Your choice of operating system, therefore, determines to a great extent the applications you can run. For PCs, the most popular operating systems are DOS, OS/2, and Windows, but others are available, such as Linux.
    As a user, you normally interact with the operating system through a set of commands. For example, the DOS operating system contains commands such as COPY and RENAME for copying files and changing the names of files, respectively. The commands are accepted and executed by a part of the operating system called the command processor or command line interpreter. Graphical user interfaces allow you to enter commands by pointing and clicking at objects that appear on the screen.

    Apr 08, 2011 | Computers & Internet

    1 Answer

    How can i get to command prompt in dos through bios?


    Sorry but basically you cant access command propmt through the bios. The command prompt is part of the operating system of the pc, either as DOS (disk operating system) or part of windows.
    The BIOS (Basic Input output system) which is on a rom(read only memory) chip on the mother board, and initiates post(power on self test) when the computer starts, without the bios the computer would not boot up at all. To access the command prompt you must have a operating system installed, ie Windows. hope this helps.

    Sep 23, 2010 | Computers & Internet

    1 Answer

    For Dos Command


    Download a program called Belarc Advisor. There isn't a command that will allow you get the system board number from the DOS prompt without running a 3rd party application.

    Jul 11, 2009 | Computers & Internet

    2 Answers

    How can I run a dos app without using a command prompt console?


    vbscript should be able to do that you can swap between wscript ( which uses the gui ) or cscript ( which uses the command prompt )

    May 07, 2009 | Computers & Internet

    2 Answers

    Run dos command through vb 6.0 without showing it


    visual basic, on windows, right? jumping to dos, implies a command line, no? how else would you access a command line interface, if not through cmd?

    Mar 20, 2008 | Computers & Internet

    1 Answer

    Sorting string


    If you are using windows XP, click the start button. Choose 'Run' , type : cmd
    and press enter to open a dos command window. Inside the dos command window, type the command: sort
    then press enter.
    enter some names and press enter after each name like:
    john
    terry
    bill
    howard
    arthur
    gary
    fred
    ^Z
    Press control and z at the same time when you are finished and press enter. The names will be output in order

    (In windows vista, just enter the command cmd in the search start and press enter)


    To output the names to a file, type
    sort > filename.txt
    press enter and then do the same as above. The names will be in a file called filename.txt

    Feb 28, 2008 | Microsoft AccRepair DS2 2004 for Fr...

    2 Answers

    Unable to load


    How to get to a MS-DOS prompt.
    Reason: If Windows or the computer is not operating properly, it may be necessary to get to a MS-DOS prompt to diagnose and to perform additional troubleshooting on the computer.
    Solution: MS-DOS users
    Windows 3.x users
    Windows 95, 98 and ME users
    Windows NT, 2000 and XP users
    Windows Vista users
    Other PC Operating System users

    MS-DOS users If you are running MS-DOS with no other operating systems, the computer should be booting into a MS-DOS prompt automatically unless you have a shell or other program loading automatically. If the computer is not getting you to a MS-DOS prompt, reboot the computer and as the computer is booting, press the F5 key when you see the message "Starting MS-DOS" or the MS-DOS version. This will load the default standard MS-DOS. If you successfully get to a MS-DOS prompt and would like to prevent the computer from loading the program that is preventing you from getting to a MS-DOS prompt, or if you would like to fix possible error messages you may be receiving when booting the computer, edit the autoexec.bat and/or the config.sys files.

    Windows 95, 98, and ME users If you are able to get into Windows 95, 98 or ME, you can get to a MS-DOS prompt by following the below steps.
    1. Click Start
    2. Click Run
    3. Type "command" and press enter.
    This will open a MS-DOS shell. However, if you are attempting to troubleshoot an issue with the computer and are using Microsoft Windows 95 or Windows 98we suggest you restart the computer into MS-DOS. To do this follow the below steps.
    1. Click Start
    2. Click Shutdown
    3. Choose the option to restart the computer into a MS-DOS prompt.
    If you are unable to get into Windows 95 or Windows 98 to get into a MS-DOS prompt, follow the below instructions (Windows ME does not have this option).
    1. Reboot the computer
    2. As the computer is booting, press the F8 key when you hear a beep or when you see "Starting Windows 95" or "Starting Windows 98". Windows 98 users sometimes may find it easier to press and hold the left CTRL key as the computer is booting.
    3. If done properly the user should get to a screen similar to the below screen.
    Microsoft Windows 95 Startup Menu
    ============================= 1. Normal
    2. Logged (\BOOTLOG.TXT)
    3. Safe mode
    4. Step-by-step confirmation
    5. Command prompt only
    6. Safe mode command prompt only
    Enter a choice: 1
    F5=Safe Mode Shift+F5=Command prompt Shift+F8= Step-by-step confirmation [N]

    4. Select the option for Safe mode command prompt only.
    Windows NT, 2000, XP, and Vista users If you're running Windows NT, 2000, or Windows XP and need to get to MS-DOS prompt follow the below steps.
    1. Click Start
    2. Click Run or click in the "Start Search" field if you're running Vista
    3. Type "cmd" or "command" and press enter.
    Additional information about the difference between "cmd" and "command" can be found on document CH000395. If you're attempting to get into a MS-DOS prompt to troubleshoot the computer boot the computer into safe mode. Additional information about how to get into safe mode can be found on document CHSAFE. Windows 2000, XP, and Vista users who are unable to boot the computer into Normal Windows mode or Safe mode can also enter the recovery console to manage their computer from a prompt. Additional information about how to do this can be found on document CH000627. Finally, if you are experiencing issues getting into Windows NT, 2000, or XP, it may be necessary to run troubleshooting steps from a MS-DOS prompt. It is recommended that the Network Administrator get into the MS-DOS prompt by using either a standard MS-DOS boot diskette (note: will not be able to access data using a standard MS-DOS bootable diskette) or the ERD diskettes created after the installation of Windows NT, or boot from the Windows XP CD.

    dot.gif
    Index
    question.gif dot.gif
    Category:

    MS-DOS Q&A

    Companies:

    Microsoft

    Related Pages:
    MS-DOS
    Safe Mode

    Resolved
    question.gif
    Were you able to locate the answer to your questions?
    dot.gif dot.gif

    Dec 06, 2007 | Microsoft Windows XP Home Edition

    Not finding what you are looking for?
    Microsoft Visual Basic 6.0 for PC Logo

    Related Topics:

    408 people viewed this question

    Ask a Question

    Usually answered in minutes!

    Top Microsoft Computers & Internet Experts

    micky dee

    Level 3 Expert

    2644 Answers

    Les Dickinson
    Les Dickinson

    Level 3 Expert

    18381 Answers

    Brian Sullivan
    Brian Sullivan

    Level 3 Expert

    27725 Answers

    Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

    Answer questions

    Manuals & User Guides

    Loading...