Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
|
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 19th, 2007, 11:29 PM
Registered User
 
Join Date: Apr 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default "Name My " not declared error

Hi all

I very new programer of vb2005.Please someone help me out.
I want to display all the folders of "C:\" drive in a list box(lstbox1) using my.computer.filesystem.getdirectories("C:\") as written below .While compiling this code error massage coming "Name My not declared .." pls guid
for each strfoler as string in my.computer.filesystem.getdirectories("C:\")
lstbox1.item.add(strfolder)
next





ajay





Similar Threads
Thread Thread Starter Forum Replies Last Post
'attribute is not declared' error jihadbuster XSLT 6 April 2nd, 2008 01:20 PM
Soap Error : Attribute xmlns must be declared RatanKumar XML 0 December 4th, 2006 08:07 PM
element is not declared. An error occurred... dazzled XML 3 September 13th, 2004 04:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.