miwaypro Posted October 21, 2003 Posted October 21, 2003 Imports System.Windows.Forms 'namespace ccontaining msgBox Can someone tell me that y the code above is invalid?:confused: Quote programing programer program
*Experts* mutant Posted October 21, 2003 *Experts* Posted October 21, 2003 Where did you put it? The code above needs to be above any classes, on the top of the code. Quote
miwaypro Posted October 22, 2003 Author Posted October 22, 2003 Imports System.windows.forms 'namespace ccontaining msgBox Module Module1 Sub Main() End Sub End Module Error still occur :confused: what shold i do :confused: Quote programing programer program
*Experts* Volte Posted October 22, 2003 *Experts* Posted October 22, 2003 You need to reference the System.Windows.Forms.dll in the Project References. Quote
miwaypro Posted October 22, 2003 Author Posted October 22, 2003 Can u pls tell me how? Quote programing programer program
*Experts* Volte Posted October 22, 2003 *Experts* Posted October 22, 2003 Right click on the "References" item in the Solution Explorer and choose Add Reference. Quote
miwaypro Posted October 22, 2003 Author Posted October 22, 2003 ok thanks Quote programing programer program
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.