Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2008
    Posts
    291
    Tokens
    0

    Default Visual Basic - Why do I get the wrong code? +rep

    Well, I look at tutorials for making things such as web browsers, and they tell me to double click Form1. I double click that, and im supposed to have this:
    Public Class Form1
    Dim int As Integer = 0

    But instead I get all this:

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;

    namespace WindowsFormsApplication1
    {
    public partial class Form1 : Form
    {
    public Form1()
    {
    InitializeComponent();
    }

    private void Form1_Load(object sender, EventArgs e)
    {

    }
    }

    Do I need to change some settings or something. Help please, +rep

  2. #2
    Join Date
    Nov 2005
    Location
    Edinburgh
    Posts
    11,690
    Tokens
    0
    Habbo
    Pyroka

    Latest Awards:

    Default

    itd probs help if you sorted out your brackets

    i might be being stupid ere i havent done vb in bloody ages

    btw you runnin vba or vb.net

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •