jwryan 0 Newbie Poster

I have recently dug up an old application I created and I am trying to rewrite it in VB express 2008 but it is looking at the script as being completely foreign. I have created a button, and added a script which has some of the following:

strComputer

objWMIService


It does not recognize either of those as being valid. Any ideas ? In vb4 i did not have to set anything other than the code i placed on button click. But am having trouble with the same code in vb express 2005 and 2008. Any ideas ? Also, opening the VB4 project in 2005 and 2008 says that the file is corrupt even though it opens perfect in vb4.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.