The code, what you have provided isn't enough to determine what langauge it is because the above code is also a valid code for asp.net. To me, it seems like javascript. Not Java at all.
You can use the same javascript notations anywhere regardless of the language/web technology. You can use the same coding, without trying to converting.
You are right, I didn't even think about that. I just used the sample code like what I posted here, modified it for my needs and it works but I still have one clip parameter that's not working but I can live without it.
dean.carrefo...
Member
140 Points
126 Posts
Need help converting some C/java code to vb/asp.net
Dec 14, 2011 10:08 PM|LINK
I'm using a javascript video player called flowplayer.
I'm trying to convert this piece of code to VB/ASP.NET:
flowplayer("player", "flowplayer.swf", { clip: { url: "myMovie.flv", autoPlay: false } });I'm having trouble setting the properties for 'clip'. I dont know how to write it without the {}'s.
iGulfam
Contributor
4794 Points
947 Posts
Re: Need help converting some C/java code to vb/asp.net
Dec 15, 2011 05:16 AM|LINK
http://converter.telerik.com/
http://www.developerfusion.com/tools/convert/csharp-to-vb/
My BLOG
Ruchira
All-Star
42943 Points
7024 Posts
MVP
Re: Need help converting some C/java code to vb/asp.net
Dec 15, 2011 07:44 AM|LINK
The code, what you have provided isn't enough to determine what langauge it is because the above code is also a valid code for asp.net. To me, it seems like javascript. Not Java at all.
You can use the same javascript notations anywhere regardless of the language/web technology. You can use the same coding, without trying to converting.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.aspnet2sams
Participant
1746 Points
541 Posts
Re: Need help converting some C/java code to vb/asp.net
Dec 15, 2011 08:30 AM|LINK
Hi dean.carrefour,
I go with what Ruchira said. The code snippet in your post is small to get any gist of prog language.
I felt the code was of cascaded style sheet (css). corrections are welcomed.
Please elaborate more or take a bit suggestion as to modify the post heading as it could be a confusing.
dean.carrefo...
Member
140 Points
126 Posts
Re: Need help converting some C/java code to vb/asp.net
Dec 15, 2011 03:44 PM|LINK
You are right, I didn't even think about that. I just used the sample code like what I posted here, modified it for my needs and it works but I still have one clip parameter that's not working but I can live without it.
Thanks.