Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

variable undeclared or was never assigned. 1

Status
Not open for further replies.

christer99

IS-IT--Management
Dec 3, 2001
247
After converting from Visual Studio 2003 to 2005, I am getting this error/warning which prevents me from seeing the design view. Any help would be appreciated?

The variable 'propfiles' is either undeclared or was never assigned. C:\ProposalGenerator2\ProposalGenerator\Form27.vb 1107 0


Dim propfiles As String() = Directory.GetFiles(DriLet + ":\VBProposalTemplates\", "*.dot")
 
I would investigate the DriLet variable and make sure it got assigned to prior to your use of it here. You'll probably need to drop into Notepad to make your changes if VS.NET won't open the file for you.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top