Click here to Skip to main content
15,902,938 members
Home / Discussions / WPF
   

WPF

 
QuestionA weird WPF build-time error [modified] Pin
makumazan8422-Jul-10 4:26
makumazan8422-Jul-10 4:26 
QuestionUnable to read bmp and gif files in Silverlight [modified] Pin
yogesh_kumar_agarwal21-Jul-10 23:48
yogesh_kumar_agarwal21-Jul-10 23:48 
QuestionTrouble testing Custom Installation screen [modified] Pin
vikas amin21-Jul-10 8:21
vikas amin21-Jul-10 8:21 
AnswerRe: Trouble testing Custom Installation screen Pin
Abhinav S21-Jul-10 18:29
Abhinav S21-Jul-10 18:29 
QuestionKind of Urgent - Application.Current.Host.Source.Host is empty Pin
#realJSOP21-Jul-10 4:13
professional#realJSOP21-Jul-10 4:13 
AnswerRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
Kunal Chowdhury «IN»21-Jul-10 8:19
professionalKunal Chowdhury «IN»21-Jul-10 8:19 
GeneralRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
#realJSOP21-Jul-10 12:30
professional#realJSOP21-Jul-10 12:30 
AnswerRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
Kunal Chowdhury «IN»21-Jul-10 16:12
professionalKunal Chowdhury «IN»21-Jul-10 16:12 
I think I got the actual problem. It is not related to webserver stuffs. In your local devbox also you can come to this situation. If you run your Silverlight application from IIS you will always get the host name. If you execute the HTML file of your Silverlight application by double clicking on it, you will see it as empty string. Now come to the point of Visual Studio. There seems to be two option. One, if you run the application hosted on IIS or Visual Studio's inbuilt server you will find the value as the name of the host (generally localhost). In case, you don't have any web application project or your startup project is not your Web application project, you will see the value as empty string.

As I mentioned, please check the URL. If it is pointing to http://localhost/blahblah it will show proper value (in your case) and if it is pointing to some local drive path (i.e. C:\Documents\blahblah\blahblah.html etc.) it will show as empty string (in your team members case).

Please confirm that one first.


Don't forget to Click on [Vote] and [Good Answer] on the posts that helped you.


Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog | My Tweets | Silverlight Tutorial

GeneralRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
#realJSOP22-Jul-10 4:00
professional#realJSOP22-Jul-10 4:00 
GeneralRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
Kunal Chowdhury «IN»22-Jul-10 6:58
professionalKunal Chowdhury «IN»22-Jul-10 6:58 
QuestionRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
Kunal Chowdhury «IN»23-Jul-10 8:03
professionalKunal Chowdhury «IN»23-Jul-10 8:03 
AnswerRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
#realJSOP23-Jul-10 11:50
professional#realJSOP23-Jul-10 11:50 
QuestionError communicating with WCF service made through (WCF Software Factory (tool by microsoft)) Pin
nitin_ion21-Jul-10 2:12
nitin_ion21-Jul-10 2:12 
QuestionSelected Value in Combobox Pin
yogesh_kumar_agarwal20-Jul-10 19:20
yogesh_kumar_agarwal20-Jul-10 19:20 
AnswerRe: Selected Value in Combobox Pin
Abhinav S20-Jul-10 19:50
Abhinav S20-Jul-10 19:50 
AnswerRe: Selected Value in Combobox Pin
Arun Jacob20-Jul-10 20:50
Arun Jacob20-Jul-10 20:50 
AnswerRe: Selected Value in Combobox Pin
Kunal Chowdhury «IN»20-Jul-10 23:59
professionalKunal Chowdhury «IN»20-Jul-10 23:59 
QuestionWPF, move window from a usercontrol mouse down event Pin
fadedmaximus20-Jul-10 7:59
fadedmaximus20-Jul-10 7:59 
AnswerRe: WPF, move window from a usercontrol mouse down event Pin
Jammer21-Jul-10 22:43
Jammer21-Jul-10 22:43 
AnswerRe: WPF, move window from a usercontrol mouse down event Pin
zendar225-Jul-10 4:08
zendar225-Jul-10 4:08 
Questionhow to use SQL with Silverlight Pin
Amit Spadez19-Jul-10 20:42
professionalAmit Spadez19-Jul-10 20:42 
AnswerRe: how to use SQL with Silverlight Pin
Abhinav S19-Jul-10 22:20
Abhinav S19-Jul-10 22:20 
AnswerRe: how to use SQL with Silverlight Pin
#realJSOP20-Jul-10 0:03
professional#realJSOP20-Jul-10 0:03 
AnswerRe: how to use SQL with Silverlight Pin
souidi abderrahman24-Aug-10 3:00
souidi abderrahman24-Aug-10 3:00 
QuestionSL Toolkit v4 - Install issues Pin
#realJSOP19-Jul-10 3:45
professional#realJSOP19-Jul-10 3:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.