has asked both variable and assigns the value


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: has asked both variable and assigns the value

  1. #1
    Join Date
    Mar 2008
    Posts
    111

    has asked both variable and assigns the value

    I declare the variable and assign it an error message from
    Code:
    Private i As Long = 0 'warning error here

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    You can do that in VB.NET...you can't do that in VB6 or earlier
    Code:
    Private i As Long
    i = 0
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. help reading a common delimited and created variable
    By bigdballa in forum VB Classic
    Replies: 1
    Last Post: 12-05-2008, 10:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center