Click here to Skip to main content
15,879,535 members

Comments by Gary_Corbell (Top 8 by date)

Gary_Corbell 16-Mar-21 14:47pm View    
Reply
I did Maciej. I just posted that as an example. Sorry I should have posted exactly what I tried which was this: Dim HelperPath = Helper.My.Resources When I type it in, I get the error message posted above.

Thanks for taking time to help me out. I really do appreciate it.

Gary
Gary_Corbell 16-Mar-21 14:43pm View    
Deleted
I did Maciej. I just posted that as an example. Sorry I should have posted exactly what I tried which was this: Dim HelperPath = Helper.My.Resources When I type it in, I get the error message posted above.

Thanks for taking time to help me out. I really do appreciate it.

Gary
Gary_Corbell 16-Mar-21 10:08am View    
Thanks for taking time to respond, Maciej. Appreciate it.
However, when I changed your suggestion to Dim ProjBRes = ProjectBName.My.Resource, I get an error message:
"ProjectBName.My.Resource is a Namespace and cannot be used as an expression."

Maybe I need to explain myself better. I don't have any problem with using the resources of each project. But my ProjectB resources contain Files that I am trying to write to during debug. After getting the path to the file I am trying to write to, I alter the file using Streamwriter. But to do so I need to know the exact path to the resources for ProjectB. Getting that exact path at both debug and runtime is my problem. Hope this helps.

Anyway thanks again for your response.
Gary_Corbell 15-Mar-21 13:06pm View    
Thanks for reply, Richard...OriginalGriff, below, gave me the answer I needed.
Gary_Corbell 15-Mar-21 13:03pm View    
Thanks OG......great advice and accepted. Appreciate your time.