Click here to Skip to main content
15,913,610 members
Home / Discussions / C#
   

C#

 
QuestionVirtual Camera Control Pin
tjschilling22-Aug-08 5:06
tjschilling22-Aug-08 5:06 
QuestionRe: Virtual Camera Control Pin
led mike22-Aug-08 5:19
led mike22-Aug-08 5:19 
AnswerRe: Virtual Camera Control Pin
tjschilling22-Aug-08 5:32
tjschilling22-Aug-08 5:32 
GeneralRe: Virtual Camera Control Pin
led mike22-Aug-08 6:13
led mike22-Aug-08 6:13 
Questionmdi child form Pin
laknath22-Aug-08 4:22
laknath22-Aug-08 4:22 
AnswerRe: mdi child form Pin
DaveyM6922-Aug-08 4:37
professionalDaveyM6922-Aug-08 4:37 
AnswerRe: mdi child form Pin
Manas Bhardwaj22-Aug-08 5:00
professionalManas Bhardwaj22-Aug-08 5:00 
QuestionLink Keyboard Shortcut to Button Pin
polishprogrammer22-Aug-08 4:09
polishprogrammer22-Aug-08 4:09 
AnswerRe: Link Keyboard Shortcut to Button Pin
Abhijit Jana22-Aug-08 4:23
professionalAbhijit Jana22-Aug-08 4:23 
GeneralRe: Link Keyboard Shortcut to Button Pin
DaveyM6922-Aug-08 4:25
professionalDaveyM6922-Aug-08 4:25 
GeneralRe: Link Keyboard Shortcut to Button Pin
polishprogrammer22-Aug-08 6:26
polishprogrammer22-Aug-08 6:26 
AnswerRe: Link Keyboard Shortcut to Button Pin
DaveyM6922-Aug-08 4:28
professionalDaveyM6922-Aug-08 4:28 
AnswerRe: Link Keyboard Shortcut to Button Pin
Nirandas22-Aug-08 7:02
Nirandas22-Aug-08 7:02 
Question(WPF)need relative path [modified] Pin
wolfshad322-Aug-08 4:08
wolfshad322-Aug-08 4:08 
my app is at(root):

C:\Documents and Settings\wolf\My Documents\Visual Studio 2008\Projects\MyMoO\Client\bin\Debug

my resources are at:

C:\Documents and Settings\wolf\My Documents\Visual Studio 2008\Projects\MyMoO_Resources\stars

and i'm accessing them with latter path, however, if i would archive MyMoO & MyMoO_Resources and unarchive them to another path i would have to edit the path in source. I need to give it a relative path approach.

My problem is that i don't know how the relative path for the resources would look like in this particular case(URI above)

I found this helpfull link however i don't know what my relative path would look like, i might even be able to hard code it.

http://weblogs.asp.net/pwelter34/ar...de-snippet.aspx

Even so if that' the right method for me then what do i pass it as fromDirectory and toPath arguments? Root and resources paths?

I tried first hardcoding stuff like @"..\..\..\MyMoO_Resources\stars" but it didn't work.

modified on Friday, August 22, 2008 10:17 AM

AnswerRe: (WPF)need relative path(solved) Pin
wolfshad323-Aug-08 4:48
wolfshad323-Aug-08 4:48 
Questionpage won't fit in A4 (itextsharp dll used) Pin
stephan_00722-Aug-08 4:06
stephan_00722-Aug-08 4:06 
QuestionDefaultNewRowValue disappears from DataGridView Pin
RobScripta22-Aug-08 3:28
professionalRobScripta22-Aug-08 3:28 
QuestionVista annoyance: CLR error 80004005 (new info) [updated] Pin
Harvey Saayman22-Aug-08 3:05
Harvey Saayman22-Aug-08 3:05 
AnswerRe: Vista annoyance: CLR error 80004005 (new info) Pin
DaveyM6922-Aug-08 3:32
professionalDaveyM6922-Aug-08 3:32 
GeneralRe: Vista annoyance: CLR error 80004005 (new info) Pin
Harvey Saayman22-Aug-08 3:36
Harvey Saayman22-Aug-08 3:36 
GeneralRe: Vista annoyance: CLR error 80004005 (new info) Pin
DaveyM6922-Aug-08 3:51
professionalDaveyM6922-Aug-08 3:51 
GeneralRe: Vista annoyance: CLR error 80004005 (new info) Pin
Harvey Saayman22-Aug-08 4:20
Harvey Saayman22-Aug-08 4:20 
GeneralRe: Vista annoyance: CLR error 80004005 (new info) Pin
DaveyM6922-Aug-08 4:23
professionalDaveyM6922-Aug-08 4:23 
GeneralRe: Vista annoyance: CLR error 80004005 (new info) Pin
Harvey Saayman22-Aug-08 4:44
Harvey Saayman22-Aug-08 4:44 
GeneralRe: Vista annoyance: CLR error 80004005 (new info) Pin
DaveyM6922-Aug-08 4:56
professionalDaveyM6922-Aug-08 4:56 

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.