Question why I can't debug and build this...

kasame10

New member
Joined
Jan 3, 2012
Messages
3
Programming Experience
Beginner
well I haz an .vb file, got it from a friend, installed lastest version of VB.NET, now when I open the file, the debug button is not highlighted, cannot be used, why is that? can't post file here cause its 39kb full of [censored, because [censored]]
 
VS won't compile a single .vb file, it would need to be associated with a project type so VS can decide to compile for example a class library dll or some kind of executable.
So you create a desired project type, then you can use the project menu to "add existing item" to add that .vb file to project. Nothing will happen from that though until you write code to make calls to the existing code.
 
Back
Top