Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 9 of 9
  1. #1
    Scout

    Join Date
    Aug 2008
    Location
    Denmark - Europe
    Posts
    11
    Post Thanks / Like
    Rep Power
    17
    Reputation
    20

    Talking Visual Basic 2008 Codes


    Register to remove this ad
    Hello. At here i will learn you some Visual Basic / post some codes

    What this could be used for : You can use it for ex. making a program for sending from GMail isted of opening your browser.
    Note: Edit every thing in RED

    Use this imports :
    Code:
    Imports System.Web
    Imports System.IO
    Imports System.Net.Mail
    Sending an e-mail :

    Code:
            Dim mail As New MailMessage()
            Dim SmtpServer As New SmtpClient
            SmtpServer.Credentials = New Net.NetworkCredential("username", "password")
            SmtpServer.Port = 587
            SmtpServer.Host = "smtp.gmail.com"
            SmtpServer.EnableSsl = True
            mail.To.Add("[email protected]")
            mail.From = New MailAddress("username@gmail.com")
            mail.Subject = "My E-Mail from my Visual Basic Program"
            mail.Body = "  Hello. Do you think this is nice? and btw. EmiloZ helped me to make it :D"
            SmtpServer.Send(mail)
    Realmlist Changer ( Without custom textbox )

    What this could be used for : You can use it for chaning your realmlist by just pressing on a button.
    Note: Edit every thing in RED
    Code :

    Code:
            Dim FileName As String
            FileName = "C:\Program Files\World of Warcraft\realmlist.wtf"
            Dim sw As IO.TextWriter
            sw = IO.File.CreateText("C:\Program Files\World of Warcraft\realmlist.wtf")
            sw.WriteLine("set realmlist logon.mmoprowow.net")
            sw.WriteLine("set patchlist logon.mmoprowow.net")
            sw.Flush()
            sw.Close()
    US realmlist :

    Code:
            Dim FileName As String
            FileName = "C:\Program Files\World of Warcraft\realmlist.wtf"
            Dim sw As IO.TextWriter
            sw = IO.File.CreateText("C:\Program Files\World of Warcraft\realmlist.wtf")
            sw.WriteLine("set realmlist us.logon.worldofwarcraft.com")
            sw.WriteLine("set patchlist us.version.worldofwarcraft.com")
            sw.Flush()
            sw.Close()
    EU realmlist :

    Code:
            Dim FileName As String
            FileName = "C:\Program Files\World of Warcraft\realmlist.wtf"
            Dim sw As IO.TextWriter
            sw = IO.File.CreateText("C:\Program Files\World of Warcraft\realmlist.wtf")
            sw.WriteLine("set realmlist eu.logon.worldofwarcraft.com")
            sw.WriteLine("set patchlist eu.version.worldofwarcraft.com")
            sw.Flush()
            sw.Close()
    Starting an program from a button
    Edit everything in RED

    Code:
    System.Diagnostics.Process.Start("filepath")

    More to come

    - EmiloZ




    › See More: Visual Basic 2008 Codes

  2. #2
    Founder
    Apple's Avatar
    Join Date
    Jul 2008
    Location
    HeaveN
    Posts
    15,916
    Post Thanks / Like
    Rep Power
    10
    Reputation
    295
    Really nice , thanks for sharing +Rep again





  3. #3
    Beginner

    Join Date
    Aug 2008
    Posts
    14
    Post Thanks / Like
    Rep Power
    17
    Reputation
    1
    Sorry for the bump but - on the email snippet, you need to encrypt your info to a string then decrypt it or use dotfuscator so you can't view the decompiled code.

  4. #4
    Contributor
    Boxxy's Avatar
    Join Date
    Aug 2008
    Location
    Florida
    Posts
    351
    Post Thanks / Like
    Rep Power
    18
    Reputation
    136
    nice
    your mother

  5. #5
    Scout

    Join Date
    Aug 2008
    Location
    Denmark - Europe
    Posts
    11
    Post Thanks / Like
    Rep Power
    17
    Reputation
    20
    Quote Originally Posted by ClaiN View Post
    Sorry for the bump but - on the email snippet, you need to encrypt your info to a string then decrypt it or use dotfuscator so you can't view the decompiled code.
    How can people "decompile" my programs? :P

    Quote Originally Posted by Noobcraft View Post
    nice
    Thanks

  6. #6
    Beginner

    Join Date
    Aug 2008
    Posts
    14
    Post Thanks / Like
    Rep Power
    17
    Reputation
    1
    Easy... download .NET Reflector - open it, select the program and double click it. You could either obfuscate the program or encrypt the sensitive information.

  7. #7
    Grunt

    Join Date
    Jan 2009
    Posts
    35
    Post Thanks / Like
    Rep Power
    16
    Reputation
    15
    Nice!!

  8. #8
    Scout
    LumZor's Avatar
    Join Date
    Jul 2008
    Location
    Ireland
    Posts
    27
    Post Thanks / Like
    Rep Power
    17
    Reputation
    48
    Das Ist HOT! gonna rep you!

  9. #9
    Scout

    Join Date
    Jan 2010
    Posts
    27
    Post Thanks / Like
    Rep Power
    15
    Reputation
    19

    Register to remove this ad
    Change the SW.close etc commands to me.close.




  10. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

 

 

Visitors found this page by searching for:

visual basic 2008 codes

coding for encrypt and decrypt button at visual basic2008

SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 11:29 AM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org