Results 1 to 13 of 13

Thread: Vb2005

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Location
    Kolkata, India
    Posts
    290

    Vb2005

    Hi

    When I create a new project in vb.net 2005, It will create a
    "My Project" Folder.
    How can I remove it.

    While coding in vb.net I see color yellow / green in between Line Number and coding. what it means because it will change according to the coding..



    thanks

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Vb2005

    Quote Originally Posted by asm
    While coding in vb.net I see color yellow / green in between Line Number and coding. what it means because it will change according to the coding
    Can you post a screen shot?

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Vb2005

    Quote Originally Posted by asm
    Hi

    When I create a new project in vb.net 2005, It will create a
    "My Project" Folder.
    How can I remove it.
    What possible reason could you have for doing so?
    Quote Originally Posted by asm
    While coding in vb.net I see color yellow / green in between Line Number and coding. what it means because it will change according to the coding.
    You look but you don't see. When you edit a line of code it turns yellow. When you save the code it turns green.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Vb2005

    Quote Originally Posted by jmcilhinney
    When you edit a line of code it turns yellow. When you save the code it turns green.
    When I edit a line of code it doesn't turn anything. Nor does it turn anything when I save it.

    Is this some kind of IDE setting that I'm not using?

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Vb2005

    Quote Originally Posted by Hack
    When I edit a line of code it doesn't turn anything. Nor does it turn anything when I save it.

    Is this some kind of IDE setting that I'm not using?
    Note the code itself. It's a thin margin along the left-hand edge of the code window.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Vb2005

    Quote Originally Posted by jmcilhinney
    Note the code itself. It's a thin margin along the left-hand edge of the code window.
    I never noticed that before.

    I rather imagine its purpose is to provide an unintrusive way of reminding you of where you are in the code window, right?

  7. #7
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Vb2005

    Quote Originally Posted by Hack
    I never noticed that before.

    I rather imagine its purpose is to provide an unintrusive way of reminding you of where you are in the code window, right?
    It shows you what's changed since you opened the code file and what's changed since you last saved the code file.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Location
    Kolkata, India
    Posts
    290

    Re: Vb2005

    [IMG]C:\Documents and Settings\server\Desktop\Folder\GetSingle.bmp[/IMG]

    In the image we can see the color in between code and line number.

    And also guide about the error

    thanks

  9. #9
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Vb2005

    Quote Originally Posted by asm


    In the image we can see the color in between code and line number.

    And also guide about the error

    thanks
    You can't link to an image on your local machine. A link has to be to an image on a Web server. If you want to use a local image then you have to attach it to the post.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  10. #10

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Location
    Kolkata, India
    Posts
    290

    Re: Vb2005

    image

  11. #11
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Vb2005

    caterpillar
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  12. #12

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Location
    Kolkata, India
    Posts
    290

    Re: Vb2005

    Name:  gs.bmp
Views: 85
Size:  486.6 KB

  13. #13
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Vb2005

    What is the type of the object or value that that function is supposed to return? If it's supposed to return an Object then that's what you should be declaring:
    Code:
    Public Function GetSingleData(ByVal strQuery As String) As Object
    If it's supposed to be some other type then specify that. You should ALWAYS specify the type of EVERY field, property and function.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

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



Click Here to Expand Forum to Full Width