It seems like you are trying to cast a class to an object, which Java doesn't like. How about instantiating it as a new class object first and then calling its methods, like this:
|CodeGuru Home||VC++ / MFC / C++||.NET / C#||Visual Basic||VB Forums||Developer.com|
Type: Posts; User: TKiet415
Search: Search took 0.01 seconds.
Results 1 to 2 of 2
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!