![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Creating a class in a HTA Is it possible? I can't find any vbscript documentation for HTA. This throws an error: Sub Window_Onload Class foo End Class End Sub I am moving a cool vbScript I wrote, which has a class for unit convertion, to a HTA. Now it looks like I have to rewrite the class to using stupid functions. -- ..::[ Hz ]::. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Creating a class in a HTA "Hz" <hz@xxxxxx> wrote in message news:e0FCIh4oJHA.5412@xxxxxx Quote: > Is it possible? I can't find any vbscript documentation for HTA. This > throws an error: > > Sub Window_Onload > Class foo > End Class > End Sub > > I am moving a cool vbScript I wrote, which has a class for unit > convertion, to a HTA. Now it looks like I have to rewrite the class to > using stupid functions. subroutine. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Creating a class in a HTA James Whitlow wrote: Quote: > "Hz" <hz@xxxxxx> wrote in message > news:e0FCIh4oJHA.5412@xxxxxx Quote: >> Is it possible? I can't find any vbscript documentation for HTA. This >> throws an error: >> >> Sub Window_Onload >> Class foo >> End Class >> End Sub >> >> I am moving a cool vbScript I wrote, which has a class for unit >> convertion, to a HTA. Now it looks like I have to rewrite the class to >> using stupid functions. > I think the problem might be that you are putting your class inside of a > subroutine. > And you are right. Thank you! -- ..::[ Hz ]::. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| When a class is both an inherited class of another, and alsoimplements an interface method | .NET General | |||
| win32_pingstatus class / dns class | PowerShell | |||
| Creating a Custom Enumerator in a Base Class | .NET General | |||
| Class not registered | Vista General | |||
| Creating a WMI class | PowerShell | |||