Search Tools Links Login

simple - powerfull - one line code commands


Visual Basic 6, or VB Classic

In this article i don't try to explain complicated code,but i will just tell you some simple but very usefull
commands.I wrote this for beginners but i think many people who are not
beginners can learn some usefull tips

Original Author: George Papadopoulos - VirusFree

Code

Ok guys this is my first article so i hope you will like it.In this article i don't try to explain complicated code,but i will
just tell you some simple but very usefull
commands.I wrote this for beginners but i think many people who are not
beginners can learn some usefull tips ....ok let's start

1) Let's say we have a file C:TEST.EXE and
we want to rename it to C:MYCGI.CGI
.

We can
do that with this simple command

Name "C:TEST.EXE"
as "C:MYCGI.CGI"

2) If we want to move the above file ( C:TEST.EXE

) to the folder
C:THEFOLDER 

we can do that by
changing the above command to :

Name "C:TEST.EXE"
as "C:THEFOLDERTEST.EXE"

3) Let's say we have a folder C:TEST
and we want to rename it to 

C:RENAMED
we can use the commands :

Name "C:TEST" as "C:RENAMED"

or

Name "C:TEST"
as "C:RENAMED"

4) If we want to disappear our program from the endtask
list we can do it using the following command

App.TaskVisible = False

 

That's it.I hope you found this article interesting!

About this post

Posted: 2003-06-01
By: ArchiveBot
Viewed: 104 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.