If people would like to get into VB script

Discussion in 'Programming General' started by Pwnography, Dec 16, 2008.

If people would like to get into VB script
  1. Unread #1 - Dec 16, 2008 at 7:33 PM
  2. Pwnography
    Joined:
    Dec 16, 2008
    Posts:
    204
    Referrals:
    0
    Sythe Gold:
    0

    Pwnography Active Member
    Banned

    If people would like to get into VB script

    Here are a few sites that you up and coming programmers might want to look at (well they are programs)

    http://www.microsoft.com/express/vb/
    That is Microsofts VB program

    http://www.mjtnet.com
    That is what I use and isn't raw VB but it is on a VB engine so it is just as good but in half the time.

    Those are the two best programs I think for learning VB, You can take Microsoft which would be harder but Mjt has support forums, and is easier. Has Base64 and everything.. and a 30 day free trial.

    (Not trying to advertise just to help out, Sorry if you consider this advertising feel free to remove it. I'll understand.)

    Now the difference is that Raw Visual basic code could be used anywhere you have a notepad on a computer but for MS or macro scheduler you need the program itself, It has a built in .exe maker so the .exes are compatable with all computers even if it doesn't have the program on it and encrypts itself. You just wont be able to edit it if the computer doesn't have MS on it.

    So yea, Anyone who is intrested in learning VB those are some programs you might wanna check out, both have trials so you can test and see whatcha want. I'm sure swan can imput on this and she might have some programs you guys and girls could check out. VB is a good language to learn because everyone could use it in some way, and companys are always looking for good programmers because programmers are ALWAYS in demand. So anyone who is 13,14,15 like me Im 15, This is a good time to start learning and set you're self up for the future.. You really don't need a HUGE college degree or one at all if you can just show them you can do it. This is the benifit to learning a language now.

    (I understand sythe isn't a VB site and that not a lot will see this but I'm just trying to help out.) Sorry if I went a little off topic.

    -- Pwnography.
     
  3. Unread #2 - Dec 16, 2008 at 8:14 PM
  4. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    If people would like to get into VB script

    I really do hope you know what a compiler and an IDE is. >_>

    I think it would be best to stick to the standard, personally.

    Actually, Visual Basic .Net is probably the easiest form of BASIC I've used before. It also runs upon .Net, hence there is much more ... Flexibility. .Net is Object Oriented, standard BASIC is not. .Net features hundreds if not thousands of classes, which make things a lot easier than standard win32 function calls.

    Not really, all you're doing is linking to two companies.

    Excuse me? Windows simply has built in support for VBScript in Windows Script (.ws) files. You can use JavaScript the same way. VBScript is not VB.

    The only thing I require to run .Net executables is the .Net framework itself. I'm not quite sure what you're getting at.

    I just bolded all of the mistakes in that paragraph.You appear to have no idea what you're talking about.

    * First of all, most IDEs will feature a compiler, and if they don't you can usually download one. A COMPILER is the correct term. Also, I will point out that the Windows Executable format is NOT universal. I for one cannot run them natively on my laptop, because it uses Linux.

    ** Compiling is not encryption. Compiling is turning raw code in to assembly instructions. To demonstrate this, download OllyDbg and open an executable in it.

    Edit: Here is an example of executable assembly code:
    [​IMG]

    *** Nine times out of ten you can't edit the code of a compiled application. There may be a few differences in languages like Java (because it uses ByteCode, sometimes it can be decompiled, but not always). You seem to think Windows is the only operating system there is, also.

    * SHE looks fairly masculine to me: http://www.sythe.org/showthread.php?p=4171954

    ---

    I don't really intend to sound harsh, but in cases like this I need to correct what you've said because otherwise a few things will happen:

    1) You won't learn any time soon.
    2) Other people may take the wrong information in and believe it as well.

    I don't have any sort of grudge against you - I know you're trying to help, but I guess I need to provide the right information.

    ---

    For the record, I'm younger than you ;)
     
  5. Unread #3 - Dec 16, 2008 at 8:38 PM
  6. Pwnography
    Joined:
    Dec 16, 2008
    Posts:
    204
    Referrals:
    0
    Sythe Gold:
    0

    Pwnography Active Member
    Banned

    If people would like to get into VB script

    I am aware you are younger then me lol

    But I have to disagree on the easier part...

    This is all it took for me to make a small script that would open my CD drive for me..

    VBSTART
    Sub EjectTray
    Set oWMP = CreateObject("WMPlayer.OCX.7")
    Set colCDROMs = oWMP.cdromCollection

    If colCDROMs.Count >= 1 Then
    For i = 0 to colCDROMs.Count - 1
    colCDROMs.Item(i).Eject
    Next ' cdrom
    End If
    End Sub
    VBEND

    VBRun>EjectTray

    That took less then 3 mins.
    Yes, I know its sexy.
    and yes Microsoft uses RAW code... it doesn't have any kind of protocol language... It is Raw code. And when I say raw code I mean not a program that has its own language and runs on a VB or C++ or w/e.

    Ok, To create a button for instance in Microsofts VB you need to enter more then 15 letters.. here it is to make a button in Macro scheduler


    Button=(name),24,17,120,25,10

    Done.. That is all, and a button will be in the menu. Writing a subroutine for it is just as easy.


    I'll agree that most of what I said was pure jibberish.. I was kinda going on and on about the same thing, I more want people to use Macro Scheduler.. It is easier then learning VB script raw and is just as good and debatably better.

    Oh whats your MSN, Swan.. I'd rather not have a conversation of a forum.
     
  7. Unread #4 - Dec 16, 2008 at 11:43 PM
  8. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    If people would like to get into VB script

    http://www.dreamincode.net/code/snippet469.htm

    On the contrary, I find .Net to be quite easier, and you can still make system function calls even though you have a vast majority of classes to use. Something to open and close a CD tray is NOT hard. However, I'd like to see you use APIs such as GetDIBits(), SetDIBits(), and so on and say that they are easier to use than Bitmap.Lockbits(), which caters for both.

    You sure do think a lot of yourself. I wouldn't consider code "sexy" for the life of me. I can consider code efficient or well written, but I don't really compliment your code.

    Are you going to stop speaking gibberish? Maybe then I can understand you.

    Visual Basic started using .Net after Visual Studio 6. When Visual Studio 7 came out (VS 2003), it ran upon .Net 1.0, and even that is a major improvement to the language. I wouldn't use any standard BASIC language for the life of me anyway - any native coding I do is done in C++ usually.

    It doesn't take an idiot to see that .Net is better in almost any aspect, either.

    That doesn't matter. If you've ever used anything like the Swing toolkit (Java), wxWidgets (C++), GTK (multiple languages), or even Win32 code itself you would know that simplicity isn't always better. Visual Studio also comes with a GUI designer anyway, hence you don't NEED to code the GUI.

    I'm glad that we agree.

    Except that Macro Scheduler's name would indefinitely imply that it is to be used to write macros instead of proper software.

    You're comparing that to an entire platform which has been better than standard BASIC since 2003?

    I don't give out my MSN unless I have a valid reason to.
     
  9. Unread #5 - Dec 17, 2008 at 12:43 AM
  10. Pwnography
    Joined:
    Dec 16, 2008
    Posts:
    204
    Referrals:
    0
    Sythe Gold:
    0

    Pwnography Active Member
    Banned

    If people would like to get into VB script

    No, VB is widely used to make Macros... So macro scheduler is a good name for it... Macro scheduler has Base64 and everything.. it is the SAME EXACT THING as VB but just easier.. You can tell since I wrote the script to open my disk drive with it... thats not a macro thats a program... if you want to get technical about it.. I could just save it as a .exe make a button to open my CD drive and then it "technically" becomes a program..

    And why would you link that dreamcode thing? That is made completely different from my script, just because it has the same goal to achive doesn't mean I copyed it lol... Look at the syntax buddy.. its different by a 1,000 miles.... Seriously.

    Anyway back to Macro scheduler, It is far from just a macro making program, Conditional commands, FTP/HTTP/ TELNET/EMAIL.
    Base 64, Concat, Crypt...
    All the VB commands, Exit, Goto, if, include, label, let, macro, onevent, remark, repeat, until, wait, waitready, registrydelkey, registrydelval,registry,readkey,registrywritekey.
    ON AND ON.. exc....

    You need to download the 30 day trial it would seem, You should really take a look at it...

    and dear god if you ask me what base64 I'm going to loose all respect for you lol.. I've had lots of programmers ask me that..
     
  11. Unread #6 - Dec 17, 2008 at 2:11 AM
  12. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    If people would like to get into VB script

    Just because a language can be used to create macros does not mean that it is made solely for creating macros. If that were true than I might as well call C++ "Ultimacro".

    Is that new? A lot of technologies use that.

    How is it easier? That CD drive script can be done in a simple windows script file.

    That script shows nothing about how easy the language is. I consider certain aspects of C++ easy, does that mean the entire language is easy?

    Certainly.

    No need to re-iterate yourself.

    Because it is a perfect example of .Net. You will notice it makes direct system function calls, even though it has access to its own classes.

    I never said you did, don't fret.

    Well, the syntax is actually the same, if not very similar. The code is quite different, however.

    I can do that in .Net, so?

    Continuing on from commonly used technology ...

    I should hope that a BASIC compiler would know its own keywords.

    I don't NEED to do anything, but as far as I can see it is simply just another BASIC compiler, and I don't use BASIC in the first place.

    I wouldn't dream of it.
     
  13. Unread #7 - Dec 17, 2008 at 2:18 AM
  14. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    If people would like to get into VB script

    What R Bayse Sixtee Fooor?
     
  15. Unread #8 - Dec 17, 2008 at 5:55 AM
  16. war833
    Joined:
    Dec 11, 2008
    Posts:
    82
    Referrals:
    0
    Sythe Gold:
    0

    war833 Member

    If people would like to get into VB script

    Haha. VB Script looks like this:
    Code:
     <% Option Explicit
     %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
     <html>
     	<head>
     		<title>VBScript Example</title>
     	</head>
     	<body><% 
     		'Grab current time from Now() function.
     		Dim timeValue
     		timeValue = Now  %>
     		The time, in 24-hour format, is <%=Hour(timeValue)%>:<%=Minute(timeValue)%>:<%=Second(timeValue)%>.
     	</body>
     </html>
    
    What you are suggesting is not VB Script.
     
  17. Unread #9 - Dec 17, 2008 at 9:09 AM
  18. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    If people would like to get into VB script

    VBS works both ways. Online and offline.
     
  19. Unread #10 - Dec 19, 2008 at 5:08 AM
  20. Desir0
    Joined:
    Nov 28, 2008
    Posts:
    502
    Referrals:
    2
    Sythe Gold:
    0

    Desir0 Forum Addict
    Banned

    If people would like to get into VB script

    He is contradicting between Visual Basics And VB scripts.

    >.>
     
  21. Unread #11 - Dec 19, 2008 at 5:27 AM
  22. war833
    Joined:
    Dec 11, 2008
    Posts:
    82
    Referrals:
    0
    Sythe Gold:
    0

    war833 Member

    If people would like to get into VB script

  23. Unread #12 - Dec 19, 2008 at 9:47 PM
  24. Bandos Skill
    Referrals:
    0

    Bandos Skill Guest

    If people would like to get into VB script

    not sure

    is it hard
     
  25. Unread #13 - Mar 15, 2009 at 9:02 PM
  26. we are kings
    Joined:
    Mar 2, 2009
    Posts:
    173
    Referrals:
    0
    Sythe Gold:
    0

    we are kings Active Member
    Banned

    If people would like to get into VB script

    ok well isnt most vb scripting lead to illegal things?!
    lol
     
< Need highscore grabber | Java Issues... >

Users viewing this thread
1 guest


 
 
Adblock breaks this site