My first project

Posts 115 of 28 · Page 1 of 2
My first project
Pretty simple
took about 5-10 minutes cause its my first time do anything with Visual Basics
when you click one of the buttons you'll see that i forgot to add the word "Life" between 4 and Bitches lol
i didnt feel like redoing it
vscan: Virustotal. MD5: 4928ae202777b4dc03386ac9a7b23088 Suspicious.Insight
Hello World.rarattachment deleted · 21 downloads before removal
Hello World?

Good job, Hello World is always my recommendation for a first project in my opinion.

Keep up the improvement.
Good Start
Nice start, easy, yes, but for a first project, very good.

Maybe try something harder next, like making labels visible, buttons disabled and stuff like that.
lol it faiillls
my first ever actually did shit
such as spam
Quote Originally Posted by Hyak View Post
lol it faiillls
my first ever actually did shit
such as spam
Kinda mean, its his very first project, he probably just started. People start at different levels. He did something very basic.
Well imma follow the tutorial and see what's next
I wanna make a program with some links so I don't hav to open my browser everytime
and yes I am very beginner at VB and coding in general
I know php an simple stuff like that so this is a learning experience for me
Thanks for the input guys
Quote Originally Posted by InHuman View Post
Well imma follow the tutorial and see what's next
I wanna make a program with some links so I don't hav to open my browser everytime
and yes I am very beginner at VB and coding in general
I know php an simple stuff like that so this is a learning experience for me
Thanks for the input guys
If you want to make a link label work, open up VB 2008.

1) Make a new project.
2) Make a link label.
3) Name it the site.
4) Double click it
5) Type this in:

Example:
[php]System.Diagnostics.Process.Start("http://www.mpgh.net")[/php]

It will open your default browser, and take you to the link you put.

Good luck learning .
Quote Originally Posted by MugNuf View Post
If you want to make a link label work, open up VB 2008.

1) Make a new project.
2) Make a link label.
3) Name it the site.
4) Double click it
5) Type this in:

Example:
[php]System.Diagnostics.Process.Start("http://www.mpgh.net")[/php]

It will open your default browser, and take you to the link you put.

Good luck learning .
Fk that system diagnostics shiz.
Too long.

Just use

Code:
Process.Start("http://www.mpgh.net")
Just add that to a link label or button :P
hello world really fucken easy script copy and paste more 0_0
<HTML>
<SCRIPT Language="VBScript">
<!--
Option Explicit
document.write("<h1>Hello World!</h1>")
-->
</SCRIPT>

<HEAD>
<TITLE>Example 1: Hello World</TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>
Quote Originally Posted by dk173 View Post
hello world really fucken easy script copy and paste more 0_0
<HTML>
<SCRIPT Language="VBScript">
<!--
Option Explicit
document.write("<h1>Hello World!</h1>")
-->
</SCRIPT>

<HEAD>
<TITLE>Example 1: Hello World</TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>
Thats HTML, this is the VB section.

I could re-create his project in 1 minuet, so what if it is easy? Its his first man -.-.

So what if he did copy and paste, which i doubt (but i don't know, maybe he did).
ok my bad html now vb
Visual Basic Version of Hello, World

The following console program is the Visual Basic version of the traditional "Hello, World!" program, which displays the string "Hello, World!".

Visual Basic Copy Code ' A "Hello, World!" program in Visual Basic.
Module Hello
Sub Main()
MsgBox("Hello, World!") ' Display message on computer screen.
End Sub
End ModuleThe important points of this program are the following:

Comments

The Main procedure

Input and output

Compilation and execution

Comments
The first line of the example contains a comment:

Visual Basic Copy Code ' A "Hello, World!" program in Visual Basic.The single quotation mark (') means that the rest of the line is a comment and will be ignored by the compiler. You can make an entire line a comment, or you can append a comment to the end of another statement, as follows:

Visual Basic Copy Code MsgBox("Hello, World!") ' Display message on computer screen.The Main Procedure
Every Visual Basic application must contain a procedure called Main. This procedure serves as the starting point and overall control for your application. It is called when your module is loaded.

There are four varieties of Main:

Sub Main()

Sub Main(ByVal cmdArgs() As String)

Function Main() As Integer

Function Main(ByVal cmdArgs() As String) As Integer

The most common variety of this procedure is Sub Main(). Unless you are creating a Windows Forms application, you must write the Main procedure for applications that run on their own. For more information, see Main Procedure in Visual Basic.

Input and Output
This example uses the standard Visual Basic run-time library, which is available through the Microsoft.VisualBasic namespace. If you compile the program in the integrated development environment (IDE), you can use all the procedures and properties of Microsoft.VisualBasic without having to import it. If you compile from the command line, you must use the Imports Statement in your source code, or the /imports (Visual Basic) command-line compiler option, to make the Microsoft.VisualBasic members available to your program.

The Main procedure calls the MsgBox Function (Visual Basic) to display a message box containing the string "Hello, World!":

Visual Basic Copy Code MsgBox("Hello, World!") ' Display message on computer screen.Compilation and Execution
You can compile the "Hello, World!" program using either the Visual Studio integrated development environment (IDE) or the command line.

To compile and run the program from the command line
1.Create the source file using any text editor and save it with a file name such as Hello.vb.

2.To invoke the compiler, enter the following command:

vbc Hello.vb

If your source file does not include an Imports statement for the Microsoft.VisualBasic namespace, you can include the /imports command-line compiler option in the vbc command:

vbc Hello.vb /imports:Microsoft.VisualBasic

3.If your program does not contain any compilation errors, the compiler creates a Hello.exe file.

4.To run the program, enter the following command:

Hello

You can optionally include the /main command-line compiler option in the vbc command to specify the namespace and module supplying Main.

To compile and run the program from the IDE
1.Create a Visual Basic console application project.

2.Copy the code into the project.

3.Choose the appropriate Build command from the Build menu, or press F5 to build and run (corresponding to Start in the Debug menu).

For more information on the Visual Basic compiler and its options, see Building from the Command Line (Visual Basic).
If you want an own webbrowser in your program, just drag the one in, you might set Dock as "Fill"

If you don't have a webbrowser yet, righ***ick on your toolbox and hit "Select tools" or something similar to this, now search for a webbrowser :P If you got one tick the box and hit ok.

Now...

Code:
Webbrowser1.navigate("www.mpgh.net/forum")
You can also do console applications with Visual Basic...like...

Create a console application...enter the following code in a module

Code:
    Dim name As String
        Console.WriteLine("What's your name?")

        name = Console.ReadLine
        name = name.ToUpper

        Console.WriteLine()
        Console.WriteLine()
        Console.WriteLine("Hello " & name)
        Console.WriteLine()
        Console.WriteLine("Hit enter to exit!")
        Console.ReadLine()
Or on a normal project as a messagebox...

Code:
Msgbox("Hey Noob")
I recommend you to watch some youtube tutorials and stuff :P
didn't copy and paste btw
and it doesn't do hello world
if any of you dowloaded or and ran ityou wouldsee that haa
but thanks for the info guys
imma do #2 sometime tonight
Posts 115 of 28 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?