Did intellisense (the dropdown as you called it), show you "testClass" after
you typed "New"?
If not then this is probably a namespace problem. The calling and server
code have to be in the same namespace or the calling code has to import the
namespace. Look in Class View or object browser to see which namespace your
form is and which one your testClass is.
If the above doesn't lead you to a resolution, post the complete project so
I can look at it.
Cheers
Daniel
--
http://www.danielmoth.com/Blog/
"KM" <(E-Mail Removed)> wrote in message
news:%231F2il%(E-Mail Removed)...
> Daniel Moth wrote:
>
>> Show us the code and give us details on the error including what line it
>> occurred on.
>>
>> Cheers
>> Daniel
>>
> Thanks for your reply Daniel
>
> Here is the form, where I want to use my testClass
> There is no actual error - Visual Studio just doesnīt show any
> methods in the autocompletion dropdown.
>
> Perhaps itīs a miscomfiguration i VS?
>
> Public Class GpsTest
> Inherits System.Windows.Forms.Form
>
> #Region " Windows Form Designer generated code "
>
> Public Sub New()
> MyBase.New()
>
> 'This call is required by the Windows Form Designer.
> InitializeComponent()
>
> 'Add any initialization after the InitializeComponent() call
>
> End Sub
>
> Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
> MyBase.Dispose(disposing)
> End Sub
>
> 'NOTE: The following procedure is required by the Windows Form
> Designer
> 'It can be modified using the Windows Form Designer.
> 'Do not modify it using the code editor.
> <System.Diagnostics.DebuggerStepThrough()> Private Sub
> InitializeComponent()
> Me.Text = "GpsTest"
> End Sub
>
> #End Region
> Dim oTestClass As testClass = New testClass
>
>
> End Class
>