Welcome to Official "Darkness" Forum.

 

 
 
HomeRegisterLog in
Top posters
-=Dark Master=-
 
†dArk_r0okiE†
 
†Dark Prince†
 
^DarkLord^
 
dark_kernel™
 
Dark_MessengeR_kHai
 
darknet
 
traxexpulse12
 
xo Dark Scene xo
 
Darkness
 
Latest topics
» Himmatwala .pk. Song
Wed Feb 19, 2014 10:23 am by golmana

» Hentai Games Pc 2013
Sat Feb 15, 2014 4:57 pm by golmana

» FalloutNVUERK.part1.rar
Sat Feb 15, 2014 8:05 am by golmana

» The dark forum must rise again!!
Wed Aug 17, 2011 11:25 am by -=Dark Master=-

» gEntleNES!! :))
Tue Jul 19, 2011 4:05 pm by †dArk_r0okiE†

» Personal/Educational Info here
Sun Jul 03, 2011 12:53 am by Dark_Dragon

»  Get the best web design with the best web design software.
Mon Apr 18, 2011 2:38 pm by RebeccaChirby

» BUHAYIN ULIT ANG DARKNESS
Sat Oct 09, 2010 1:30 pm by Darkness

» HELP!!!!! for gamers only
Sat Feb 06, 2010 1:27 pm by xo Dark Scene xo

Poll
Vote for the MQC band Logo (multi choice allowed)
Logo 1
33%
 33% [ 2 ]
Logo 2
0%
 0% [ 0 ]
Logo 3
0%
 0% [ 0 ]
Logo 4
0%
 0% [ 0 ]
Logo 5
0%
 0% [ 0 ]
Logo 6
17%
 17% [ 1 ]
Logo 7
0%
 0% [ 0 ]
Logo 8
50%
 50% [ 3 ]
Total Votes : 6
December 2016
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
262728293031 
CalendarCalendar

Share | 
 

 VBSCRIPTING Brain Storming

View previous topic View next topic Go down 
AuthorMessage
-=Dark Master=-
Advanced Programmer


Posts : 102
Dark Points : 2851
Reputation : 15
Join date : 2009-07-05
Age : 30
Location : darkest corner of san roque guagua pampanga

PostSubject: VBSCRIPTING Brain Storming   Wed Sep 02, 2009 8:36 am

Im happy to open a new discussion about VBscripting. VBS runs on WSH (window scripting host), this lets you run visual basic script "natively" on a windows 2000++ machine.
Importance?
Automation of system. Virus development. registry hacks. Etc.
Back to top Go down
-=Dark Master=-
Advanced Programmer


Posts : 102
Dark Points : 2851
Reputation : 15
Join date : 2009-07-05
Age : 30
Location : darkest corner of san roque guagua pampanga

PostSubject: Re: VBSCRIPTING Brain Storming   Wed Sep 02, 2009 8:45 am

first topic. - basic -
Creating an object:

Open your notepad and type:

Set <objectname> = wscript.CreateObject("<class>")

example

Set x = wscript.CreateObject("wscript.shell")


x now inherits the methods of wscript.shell

Now let us try a simple method

x.appActivate(title) <------ this method is similar to "setfocus" method in vb6 it lets you focus the application u want on many opened programs
try this:

x.appActivate("firefox")

Save your file as <name>.vbs
example: Darkness.Vbs
then double click the file to run.
Back to top Go down
-=Dark Master=-
Advanced Programmer


Posts : 102
Dark Points : 2851
Reputation : 15
Join date : 2009-07-05
Age : 30
Location : darkest corner of san roque guagua pampanga

PostSubject: Re: VBSCRIPTING Brain Storming   Wed Sep 02, 2009 9:03 am

This is a useful script which we can integrate in our programs.
Alternative in using the namespace "System.IO" in dotNet

Set MyDocument = GetObject("<path location of the file>")

mydocument.saveas "<path where to save the file>"

example:


Set MyDocument = GetObject("C:\Documents and Settings\Owner\My Documents\dear_mam.docx")
mydocument.saveas "C:\Documents and Settings\Owner\Desktop\newDoc.docx"
Back to top Go down
†dArk_r0okiE†
Programmer


Posts : 65
Dark Points : 2788
Reputation : 1
Join date : 2009-07-14
Age : 25
Location : pampanga

PostSubject: ....sorry   Wed Sep 02, 2009 8:30 pm

...sorry eke masyadung gets eh....^_^
Back to top Go down
^DarkLord^
Programmer


Posts : 54
Dark Points : 2783
Reputation : 6
Join date : 2009-07-03
Age : 33

Character sheet
Dark Field: 200

PostSubject: Re: VBSCRIPTING Brain Storming   Thu Sep 03, 2009 2:43 am

-=Dark Master=- wrote:
Im happy to open a new discussion about VBscripting. VBS runs on WSH (window scripting host), this lets you run visual basic script "natively" on a windows 2000++ machine.
Importance?
Automation of system. Virus development. registry hacks. Etc.

Nice topic Jay! WTG Dude! I have lots of things to share in this thread in the future...
Back to top Go down
http://www.sidebarmetrics.com
-=Dark Master=-
Advanced Programmer


Posts : 102
Dark Points : 2851
Reputation : 15
Join date : 2009-07-05
Age : 30
Location : darkest corner of san roque guagua pampanga

PostSubject: Re: VBSCRIPTING Brain Storming   Tue Sep 08, 2009 7:45 pm

gumagawa ka ata ng virus sir hehehe! geh go sir.. penge codes
Back to top Go down
Sponsored content




PostSubject: Re: VBSCRIPTING Brain Storming   Today at 9:53 am

Back to top Go down
 
VBSCRIPTING Brain Storming
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» scientists say video games boost brain power and multitasking
» WTB: Gremlins Mohawk/Brain (NECA)
» Good example of a Brain Study
» What Does the Oculus Rift Do To Your Brain?
» Bertie the Brain (1950)

Permissions in this forum:You cannot reply to topics in this forum
  :: Programming Support-
Jump to: