Here is the line of code with the Invoke in it::

VB Code:
  1. this.Invoke(new delUpdateHistory((this.UpdateHistory)), para);

The Line Below is the Delegate for the above::

VB Code:
  1. public delegate void delUpdateHistory(string str);

Which goes to this section of code::

VB Code:
  1. public void UpdateHistory(string str)
  2.  
  3. {
  4.  
  5. // some code
  6.  
  7. }



this.Invoke produces this error::

Error 1 'iSCS.Window1' does not contain a definition for 'Invoke'

Invoke from what i have read is supported by .NET 3.0 Framework so the above code should work,unless i'm missing something.The code works fine in .NET 2.0 so, i'm not sure what is wrong here

So how do i go about fixing this??