VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



simple powerfull one line code commands

by George Papadopoulos - VirusFree (10 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

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

Rate simple powerfull one line code commands

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:\THEFOLDER\TEST.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!

Download this snippet    Add to My Saved Code

simple powerfull one line code commands Comments

No comments have been posted about simple powerfull one line code commands. Why not be the first to post a comment about simple powerfull one line code commands.

Post your comment

Subject:
Message:
0/1000 characters