|
-
Dec 13th, 2010, 02:54 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Have a Class -- want to show a form
Very simple item.. or one would think
I am wanting to make a class that can be referenced in from other applications. In this class I simply want to do a showdialog to a form. That form has a ssrs pre-defined within it and a viewer all set to show the report.
But when I try and define that action I get that my form is now declaired
Imports System
Imports System.Drawing
Imports System.Collections
Imports System.ComponentModel
Imports System.Windows.Forms
Imports System.IO
Public Class Show_Print_Report
Dim MyNewForm As New Form1
MyNewForm.ShowDialog
(MyNewForm says that a declaration is expected)
End Class
but the form1 is indeed in the project......
gollnick
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|