Search for vbscript visual basic script in Topics


VBS (VISUALBAIC SCRIPT) VBSCRIPT

Does anyone know some cool things that i can do with vbscript i mean i tried to find some stuff on the net ansd i did but i want to learn more lol.

Topic by rickick    |  last reply


learn vbscripting

I want to learn vbscripting can somebody give me a site i know some very basic stuff

Topic by I3uckwheat    |  last reply


vbs scripts

Does any one know vbs scripting if so comment cause I want to learn it. (please tell me codes)

Topic by animan1    |  last reply


Batch Coding

I need an interactive advanced batch and visual basic scripts course.

Topic by DarkShadowOrigin    |  last reply


how do you load a Java script Variable from a webpage into a VB program?

I would like to have the Visual Basic progam to load the user logged into Habbo via the variable habboName and make the title in the title bar (HabboName - HabbOS.)           Code: document.habboLoggedIn = true; var habboName = "Habboname"; var habboId = 25724911; var facebookUser = false; var habboReqPath = ""; var habboStaticFilePath = "http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/15/web-gallery"; var habboImagerUrl = "/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "http://www.habbo.com/client"; window.name = "060fd7869028127ca5d9aa2f02167c8f4e70651d"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "060fd7869028127ca5d9aa2f02167c8f4e70651d"; }  

Question by drmjj55  


Does anyone have any vbs mapi and tapi commands? Answered

The title pretty much says it. I wondered how to send e-mails or make phone calls through vbs. Also... are there any mapi commands for receiving e-mails?

Question by Super_Nerd    |  last reply


Calling all VBScripters!

I am trying to create a vbs script that will use vocabulary databases to randomly choose words according to sentence structure, then using a large database (that tells what words are relevant to the random word chosen) it creates a basic sentence. With more complicated sentence structures there are more complicated. I need some other vbscripters to help. Here is how it works The program chose a statement sentence. The basic structure is noun verb Then the program choses a word Cats verb Finally using the matching database it creates a realisitic sentence Cats meowed. A more complex sentence would be article noun verb preposition pronoun noun article cat verb preposition pronoun noun article cat called preposition her kittens article cat called to her kittens The cat called to her kittens 

Topic by Super_Nerd    |  last reply


VBS Commands

I want to know some more vbs commands. Please don't give me links to w3schools.com I've read all those I mean code chunks like these dim variable 0 - ok button only 1 - ok and cancel 2 - abort, retry and ignore 3 - yes no and cancel 4 - yes and no 5 - retry and cancel TO CHANGE THE SYMBOL (RIGHT NUMBER) 16 - critical message icon 32 - warning icon 48 - warning message 64 - info message DEFAULT BUTTON 0 = vbDefaultButton1 - First button is default 256 = vbDefaultButton2 - Second button is default 512 = vbDefaultButton3 - Third button is default 768 = vbDefaultButton4 - Fourth button is default SYSTEM MODAL 4096 = System modal, alert will by on top of all aplications Set Sapi = Wscript.CreateObject("SAPI.SpVoice") Sapi.speak "text here" Sapi.speak variable set wshshell = wscript.CreateObject("wscript.shell") wshshell.run "file.bat" Wscript. sleep duration object.sendkeys "keys" name=msgbox ("Message",0+16,"Title") name=inputbox ("Message",0+16,"Title") if then else end if

Topic by Super_Nerd    |  last reply


connect picaxe / computer / internet - budget solution ?

Am a newbee to picaxe working with mac soft- and hardware & i spent a a lot of time looking for the following: ------------------------------------ i would like to ... - transfer in- output data from simple components (such as a IR LED used for light/dark detection ) - .... via picaxe - ... to windows and mac computers in order to .... - pass them on to a website or eMail them ------------------------------------ i already had a look at ... - arduino/processing configurations (e.g. some amazing "twitter" variants posted on instructables, hack-a-day, etc. ... ) - additional external server projects (as on this site - e.g. very impressive webcams driven by websites and controlled by 'site users ...) - Nordic RF, Cellular, Zigbee, Bluetooth, XBee WiFi, FM Transmitter and Receiver, General TX/RX sending/receiving configurations (btw. - there is a very interesting comparison of these on sparkfun ---> http://www.sparkfun.com/tutorials/128 ) - very elaborate software solutions (using combinations of php, processing, python and other scripts) all of them being highly impressive and, most important of course: working well ------------------------------------ but - is there any quite easy-to-configure and budget way which does not require ... - additional, external servers - platform specific software (windows/mac/linux only) - the implementation of several software packages and runs with e.g. ... - a 08M2 picaxe (or larger).... - probably cheap component(s) (such as the Nordic RF mentioned on sparkfun) - a minimum of software requirements - a software/software component which is easy to install and configure (Visual Basic Macros doesn't seem to run once i created them via word on my mac) ? any hints are highly appreciated ...  

Topic by marc_is_curious  


Cool Batch applet

Hey whats up the names Jason. I am 13 and like to play with computers but not like Halo (although i am guilty of occasionally playing Halo) what interest me is computer logic and programming. So right now i am half-way decentish with Qbasic and consequently Visual Basic, but the language i am most fluent in is just plain old DOS scripting (batch files). My math teacher at the begging of the year my math teacher announced that once o twice a month we would have a pop quiz on square roots and squares of numbers 1-20. Now to say the least I am poor with memorization. So i tried flash cards and starin at a sheet with the squares and square roots on it. but I was pretty consistently getting 60s and 70s. Now being a pretty good student this upset me and my parents weren't exactly happy. So then i decided i would make a batch file to quiz me on this, my first one was on sqrts. writing this took forever so even still i made another for squares. These programs help me study immensely and i now get a perfect 100 every quiz.. i then started thinking that there must be a way to speed up the writing of a simaler quiz program. thats why i wrote this, and i know it is probably mediocre but i like it so be nice. (You can do whatever you want with this source code, and while not required i would prefer credit if you distribute a mod of this batch file.)Here it is:rem The purpose of this batch is to automate the process of making another batch that is used to quiz a person@echo off:startclsEcho Make a Quizecho.echo.rem this part creates a variabl that wil be used in creating the final batch fileecho enter the name of the fileecho .bat wil automaticaly be tacked ont to the endSet /p filename=echo.echo.rem This just creates a ariable that is the title of the the game to be createdecho now enter the title of the quizset/p title=echo.echo.rem this is where the user inputs question part one and it becomes a variableecho enter question part 1Set /p quespt1=echo.echo.rem this ask for the second part of the question echo enter qeustion part 2set /p quespt2=echo.echo.Rem this declares some variables just for shorthandset line=echo.set ec=echoRem this creates a file that user named a while back and then fills it with some preliminary textecho @echo off>%filename%.batecho :start>>%filename%.batecho cls>>%filename%.batecho echo %title%>>%filename%.batecho %line%>>%filename%.batecho %line%>>%filename%.batrem this part is called midstart because ideally later you can repeat this multiple times depending on how long your quiz isset next=0:midstartset /a next=%next%+1rem now we ask for the question of the questionecho now enter the question for the current questionSet /p questmp=echo.echo.rem now we ask for the answer for that questionecho now the answer to that same questionSet /p anstmp=rem More txt inserting (the %%answer%% is used so that in the batch file being created it shows up as %answer%)echo echo %quespt1% %questmp% %quespt2%>>%filename%.batecho set /p answer=>>%filename%.batecho if %%answer%% == %anstmp% goto next%next%>>%filename%.batecho echo you lost>>%filename%.batecho pause>>%filename%.batecho goto start>>%filename%.batecho :next%next%>>%filename%.batecho echo You got it right>>%filename%.batecho %line%>>%filename%.batecho %line%>>%filename%.batecho you have asked %next% question(s)echo.echo.echo If you would like to make a new question simply type "n" and press enterecho However to input your last question type "l" and press enterset /p endchoice=if %endchoice% == l goto endif %endchoice% == n goto restart:restartgoto midstart:endset /a next=%next%+1rem now we ask for the question of the questionecho now enter the question for the current questionSet /p questmp=echo.echo.rem now we ask for the answer for that questionecho now the answer to that same questionSet /p anstmp=rem More txt inserting (the %%answer%% is used so that in the batch file being created it shows up as %answer%)echo echo %quespt1% %questmp% %quespt2%>>%filename%.batecho set /p answer=>>%filename%.batecho if %%answer%% == %anstmp% goto next%next%>>%filename%.batecho echo you lost>>%filename%.batecho pause>>%filename%.batecho goto start>>%filename%.batecho :next%next%>>%filename%.batecho echo you won>>%filename%.batecho echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!>>%filename%.batecho %line%>>%filename%.batecho echo click to exit>>%filename%.batecho pause>>%filename%.batEcho And thats it your doneecho.echo click to exitset /p end=And thats it so have fun and feel free to comment

Topic by lemonshark10    |  last reply