[
  {
    "Id": "537923",
    "ThreadId": "238903",
    "Html": "\r\n<p>I ported the demo VB example called Zipup to VB2005&nbsp; but the Unzip program gives the follow error in code<br>\r\nError&nbsp;1&nbsp;Too few type arguments to 'System.Action(Of T)</p>\r\n<p>The error is in the resetUI sub</p>\r\n<p>What is the right use of action in VB2005</p>\r\n",
    "PostedDate": "2010-12-19T06:53:28.27-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "538767",
    "ThreadId": "238903",
    "Html": "\r\n<p>I don't know the cause of the error you're seeing.&nbsp;&nbsp; I can't see the code you're using and so I can only guess.</p>\r\n<p>I suggest you read up on the use of the Action delegate type in VB2005.&nbsp; I don't know exactly when the various features were added to the VB.NET compiler, and how to get the same feature in earlier versions, but I suppose the internet knows, and by\r\n searching you could find an answer to your specific question.</p>\r\n<p>here's a start: <a href=\"http://blogs.msdn.com/b/kaevans/archive/2005/12/12/502742.aspx\">\r\nhttp://blogs.msdn.com/b/kaevans/archive/2005/12/12/502742.aspx</a></p>\r\n",
    "PostedDate": "2010-12-21T07:09:24.167-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "542117",
    "ThreadId": "238903",
    "Html": "Hi<br>\r\n<br>\r\nI have been checking a bit about the Action error in the resetUI sub rutine in VB2005<br>\r\nSince i'm newer do anything whith deligates before i do not know what to do.<br>\r\nWhat i have read, it looks like the Action in VB2008 can take no parameters and return no value<br>\r\nIn VB2005 help for this says that it must have one parameter and return no value.\r\n<br>\r\nIt looks like that in Vb2005 there must be some other way to do this without Action. But without knowing what to do i'm lost Sorry<br>\r\n<br>\r\nPetter <br>\r\n<hr id=\"x_x_stopSpelling\">\r\nFrom: [email removed]<br>\r\nTo: [email removed]<br>\r\nDate: Tue, 21 Dec 2010 07:09:30 -0800<br>\r\nSubject: Re: Zipup demo. vb error on unzip [DotNetZip:238903]<br>\r\n<br>\r\nFrom: Cheeso<br>\r\n<div id=\"x_x_ecxThreadNotificationPostBody\">I don't know the cause of the error you're seeing. I can't see the code you're using and so I can only guess.<br>\r\nI suggest you read up on the use of the Action delegate type in VB2005. I don't know exactly when the various features were added to the VB.NET compiler, and how to get the same feature in earlier versions, but I suppose the internet knows, and by searching\r\n you could find an answer to your specific question.<br>\r\nhere's a start: <a href=\"http://blogs.msdn.com/b/kaevans/archive/2005/12/12/502742.aspx\" target=\"_blank\">\r\nhttp://blogs.msdn.com/b/kaevans/archive/2005/12/12/502742.aspx</a><br>\r\n</div>\r\n<div id=\"x_x_ecxThreadNotificationFooter\">Read the <a href=\"http://dotnetzip.codeplex.com/Thread/View.aspx?ThreadId=238903&ANCHOR#Post538767\" target=\"_blank\">\r\nfull discussion online</a>.<br>\r\nTo add a post to this discussion, reply to this email (<a href=\"mailto:DotNetZip@discussions.codeplex.com?subject=[DotNetZip:238903]\">DotNetZip@discussions.codeplex.com</a>)<br>\r\nTo start a new discussion for this project, email <a href=\"mailto:DotNetZip@discussions.codeplex.com\">\r\nDotNetZip@discussions.codeplex.com</a><br>\r\nYou are receiving this email because you subscribed to this discussion on CodePlex. You can\r\n<a href=\"https://dotnetzip.codeplex.com/discussions/238903/unsubscribe/\" target=\"_blank\">\r\nunsubscribe</a> on CodePlex.com.<br>\r\nPlease note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com<br>\r\n</div>\r\n",
    "PostedDate": "2010-12-30T05:03:47.717-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "545005",
    "ThreadId": "238903",
    "Html": "\r\n<p>In VB 2008, Action is a delegate type that can accept a variable number of typed arguments.&nbsp; Action(of T) is a delegate that accepts a single argument of type T.&nbsp; Since it returns &quot;nothing&quot;,&nbsp;in VB.NET, it corresponds to a Sub that accepts\r\n a single argument.&nbsp;A delegate is&nbsp;just a variable that refers to such a Sub.&nbsp; If that makes sense.&nbsp; Here's an overview of Delegates in VB.NET:\r\n<a href=\"http://www.developerfusion.com/article/5251/delegates-in-vbnet/\">http://www.developerfusion.com/article/5251/delegates-in-vbnet/</a></p>\r\n<p>I know how to do this in C#, but I'm not a&nbsp;VB expert, so I cannot just whip out some VB.NET code for you.&nbsp; I know that it is possible to declare a delegate in VB2005 that connforms to that specification, though.</p>\r\n<p>To declare an Action(Of T) in VB2005, try something like this:</p>\r\n<p>Private Delegate Sub MyAction(ByVal arg&nbsp;As T)</p>\r\n<p>Then, to use it, something like this:</p>\r\n<p>Dim del As MyAction<br>\r\ndel = New MyAction(AddressOf ActualNameOfSubroutineThatAcceptsOneArgOfTypeT)<br>\r\ndel.Invoke(myargument)</p>\r\n<p>But I don't know if that will make sense in the VB app you're writing.</p>\r\n<p>Good luck.</p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2011-01-06T11:29:42.503-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]