C# - HtmlElement.GetAttribute being null after deploying

.NET programming topics
Post Reply
Fox
Sergeant
Sergeant
Posts: 11
Joined: Fri Jul 22, 2011 9:22 am

C# - HtmlElement.GetAttribute being null after deploying

Post by Fox » Sat Feb 25, 2012 1:40 pm

Hey everybody,

OK so I'm having a crazy problem. I created a app that uses the web, and It works awesome! But only in debug mode.
I managed to track the problem to this line -

Code: Select all

flashvars = player.GetAttribute("flashvars");
In debug mode I get the desired value for flashvars. And when I deploy the app and install it on my own computer, it works fine.
But when I install the app in any other computer(tested on 2 computers running XP and 7), flashvars is always empty :?

Any ideas?

Thanks for your time.
User avatar
Saman
Lieutenant Colonel
Lieutenant Colonel
Posts: 828
Joined: Fri Jul 31, 2009 10:32 pm
Location: Mount Lavinia

Re: C# - HtmlElement.GetAttribute being null after deploying

Post by Saman » Sat Feb 25, 2012 2:12 pm

Try to install Flash plug-in and check.
Fox
Sergeant
Sergeant
Posts: 11
Joined: Fri Jul 22, 2011 9:22 am

Re: C# - HtmlElement.GetAttribute being null after deploying

Post by Fox » Sat Feb 25, 2012 2:35 pm

Hey man it worked! Thanks a lot!!

It was driving me crazy :D

I love this place :yahoo:
Post Reply

Return to “.NET Programming”