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

Deleted important files


Hi,

If you're running windows on a PC, go to the command prompt by doing the following:

1. Click "Start" > "Run,..."
2. Type "cmd" and click "OK".
3. At the DOS prompt, type "sfc /scannow"

This will check for any missing system files. If files are missing, you'll be prompted to insert your windows installation CD and the files will be restored.

Hope this helpfs.

Aug 06, 2012 | Computers & Internet

1 Answer

I use Paradox Version 4.5 on my old Windows XP computer. Now I need a new computer that will have Windows 7. How do I install my Paradox 4.5. I've all ready tried everything that I can think of but no...


I use "DOS Box 0.74". it opens a dos window that you can run paradox in. Its FREE and works great, even in full window mode. Only issue I had was I toggle to DOS occasionally to clean up txt files and DOS Box has limited DOS commands.

Jul 26, 2011 | Borland Paradox 4.5 Full Version for PC

1 Answer

Problem in Visual Basic 6.0 application


You need to run your program in debug mode and step through the code one line at a time. Have a look at the values in your variables and see if they mach what you expect.

This is one of the skills of a programmer. When things don't go as expected you need to be able to figure out what went wrong.

If you don't have or can't use a debugger you can create a debug mode in your program perhaps with a command line variable or a value in a config file. When debug mode is turned on your program will output lots of information to a log file with details of module names and variable values. This is also useful if later on a user is having problems you can instruct them to turn on debug mode and send you the output.

Hope this helps.

Aug 24, 2009 | Microsoft Visual Basic 6.0 for PC

2 Answers

Turbo c not working....16 bit ms-dos subsystem error


There have been several changes in the way programs work. Windows xp does not
allow direct access to hardware resources to protect system integrity.
However you can try a few things

http://support.microsoft.com/kb/314106
http://support.microsoft.com/?id=165214
http://support.microsoft.com/?id=324767

Generaly speaking this error shows up when a program tries to use a
command.com file from an incompatible version of windows.

Alternatively login in safemode and use. it ll work fine. rate this!!

Aug 15, 2009 | Borland Turbo C++ 4.5 Full Version for PC

3 Answers

How to run turbo c in full screen in vista?


run it in the safe mode access usind dos prompt commands

Jul 18, 2009 | Sony Computers & Internet

1 Answer

IBM ThinkPad 600E trying to put os on it


that is correct.. IF you are using windows 2000 the files are NOT the same as the files under XP.. Your best bet is to EITHER install the complete XP or find the win2k installation disk,, even an upgrasde disk for win 200 can be found probably around 100.00. IF the system isn't booting from your XP disk IS Your disk an ORIGINAL or a copy of the original?.. If for example your CD rom is drive E then see if you can find a win XP emergency boot disk and access the CDROM goto e:\windows\i386 then run the setup program, many cases this will overwrite your existing OS.. but do so at your OWN RISK I will not be accountable if you lose any of your important files.. some win98 emergency boot disks can access the cdrom but you may have to make certain additions to the autoexec.bat and/or config.sys files. be careful when using DOS because you can completely delete EVERYTHING on the HDD if you use the right command(s). As A DOS BABY I have performed many lazarus miracles but I have been using dos since the early 70's

May 22, 2009 | Computers & Internet

3 Answers

Error to compile java program


The main cause of this error is you havent set the environment variables correctly, you can do it as follows

Right click on "My Computers" select properties the click "Environment variables" then under "User variables for pcname"

select new and add the following paths

1)var name:path
var value:C:\Java\jdk1.5\bin

2)var name:classpath
var value:C:\YourJavaCodeDirName

click ok and its done

Feb 28, 2009 | Sun Java Programming Language (cdj-275)

2 Answers

About guidence


i still not solved the problem

Apr 18, 2008 | Computers & Internet

1 Answer

Auto-Delete in just one click


You need to use the FileSystemObject of the Scripting Runtime library. See here. This library is not part of the standard VB references by default so remember you will have to find it in the "References" list and check it so that it is added to your project; it is under "References" as "Microsoft Scripting Runtime Library". However bear in mind that calls to delete files from a VB app are high-level requests to the O/S, not direct kernel commands. If you have any kind of file lock contention you won't be able to delete a given file.

The best way to blast an entire drive would be use the DOS 'format' command. You cannot run 'format' though on the system drive, and it will take longer to format a drive than to erase all files, though formatting will really do it. You would use the Shell command in VB to execute the DOS command.

See here and here.

You can also use the Shell command to execute the "del" DOS command recursively against the drive. The FileSystemObject is basically doing that under the covers, so it's not too far away. Finally, you can use API code to do it, though I am guessing you are not quite there yet in your experience. But if so, take a look at these articles:

http://allapi.mentalis.org/vbtutor/iapi2.shtml
http://www.devarticles.com/c/a/Visual-Basic/Accessing-the-Windows-API-in-Visual-Basic/2/

Mar 30, 2008 | ArcMedia JavaScript Source Code 3000 Pro...

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

2635 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18330 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...