Write JScript .NET or Visual Basic .NET code directly inside IE 
Author Message
 Write JScript .NET or Visual Basic .NET code directly inside IE

Sorry about this but...
When I compile I get three warnings, two about arguments not supplied and
the first about concatenation with '+' not using Stringbuilder, you {*filter*}
boy :)
Then I run the caspol line and start ie6. The browser moans that I'm running
a big risk but then crashes with 'Request for permission of type
System.Security.Permissions.SecurityPermission mscorlib' etc. etc. failed.
Any ideas?

Joe


Quote:
> Hi,

> I have finally gotten this sample uploaded and approved at
> http://www.*-*-*.com/

> What this lets you do is write JScript .NET or Visual Basic .NET code
> directly inside <script> blocks inside IE, so you get to use all the cool
> new .NET features and the amazing .NET Framework from client-side script.

> There are some limitations (as noted in the readme), and I'm afraid my
demo
> pages are pretty basic, but hopefully you'll have fun with it.

> Let the coolness begin,

> Peter

> --

> Suffering from insomnia? http://www.*-*-*.com/
> Please post all questions to the group. Thanks.



Sun, 15 Feb 2004 05:05:32 GMT  
 Write JScript .NET or Visual Basic .NET code directly inside IE

Quote:
> Sorry about this but...
> When I compile I get three warnings, two about arguments not supplied and
> the first about concatenation with '+' not using Stringbuilder, you
{*filter*}
> boy :)

The warnings are expected; you can compile with /w:0 to ignore them. You can
also patch up the code if you wish, but I'm too lazy to do it myself. The
code works as expected.

Quote:
> Then I run the caspol line and start ie6. The browser moans that I'm
running
> a big risk but then crashes with 'Request for permission of type
> System.Security.Permissions.SecurityPermission mscorlib' etc. etc. failed.
> Any ideas?

You probably need to re-start your machine, or (sometimes this works) just
kill all instance of IEXPLORE and EXPLORER in your process list in Task
Manager. This should also cause your task bar to temporarily dissapear while
explorere re-starts.

Peter



Sun, 15 Feb 2004 05:20:05 GMT  
 Write JScript .NET or Visual Basic .NET code directly inside IE
Many thanks I'll give it another go when I get home.



Quote:


> > Sorry about this but...
> > When I compile I get three warnings, two about arguments not supplied
and
> > the first about concatenation with '+' not using Stringbuilder, you
> {*filter*}
> > boy :)

> The warnings are expected; you can compile with /w:0 to ignore them. You
can
> also patch up the code if you wish, but I'm too lazy to do it myself. The
> code works as expected.

> > Then I run the caspol line and start ie6. The browser moans that I'm
> running
> > a big risk but then crashes with 'Request for permission of type
> > System.Security.Permissions.SecurityPermission mscorlib' etc. etc.
failed.
> > Any ideas?

> You probably need to re-start your machine, or (sometimes this works) just
> kill all instance of IEXPLORE and EXPLORER in your process list in Task
> Manager. This should also cause your task bar to temporarily dissapear
while
> explorere re-starts.

> Peter



Sun, 15 Feb 2004 15:58:19 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Visual Basic .NET and ADO.NET code - Disconnected Updating Help

2. Visual Studio.NET vs Visual Basic.NET

3. Visual Basic.NET , ASP or ASP.NET

4. Upgrade from Visual Basic 6 webclasses to VB.NET/ASP.NET

5. in-place activate ie inside vb.net application window

6. do Visual Basic 6.0 and Visual Basic .NET version beta Working Both

7. Difference between Visual Basic 6 and Visual Basic.Net

8. Preparing Your Visual Basic 6.0 Applications for the Upgrade to Visual Basic.NET

9. Sprite graphic sample code with Visual Basic.Net standard

10. Can't Use Sample Code CD from Programming Visual Basic .Net (Balena)

11. ANN: MS Code Advisor for Visual Basic (6.0 to .NET)

12. BOOK Announcement: Visual Basic .NET Code Security Handbook

 

 
Powered by phpBB® Forum Software