Click here to Skip to main content
15,906,816 members
Home / Discussions / C#
   

C#

 
Questionhelp Pin
AMIR ESLAMI17-Nov-12 9:08
AMIR ESLAMI17-Nov-12 9:08 
AnswerRe: help Pin
Eddy Vluggen17-Nov-12 9:25
professionalEddy Vluggen17-Nov-12 9:25 
AnswerRe: help Pin
Abhinav S18-Nov-12 20:58
Abhinav S18-Nov-12 20:58 
QuestionAccess to created control Pin
KKW_acd17-Nov-12 5:18
KKW_acd17-Nov-12 5:18 
AnswerRe: Access to created control Pin
DaveyM6917-Nov-12 7:30
professionalDaveyM6917-Nov-12 7:30 
QuestionHow do you programatically open a file in c# to append? Pin
Xarzu17-Nov-12 1:05
Xarzu17-Nov-12 1:05 
AnswerRe: How do you programatically open a file in c# to append? Pin
DaveyM6917-Nov-12 1:35
professionalDaveyM6917-Nov-12 1:35 
AnswerRe: How do you programatically open a file in c# to append? Pin
Eddy Vluggen17-Nov-12 9:32
professionalEddy Vluggen17-Nov-12 9:32 
QuestionC# noob: Making Textbox entry a percentage, and Help with loops Pin
maul5916-Nov-12 18:46
maul5916-Nov-12 18:46 
AnswerRe: C# noob: Making Textbox entry a percentage, and Help with loops Pin
Richard MacCutchan16-Nov-12 20:43
mveRichard MacCutchan16-Nov-12 20:43 
AnswerRe: C# noob: Making Textbox entry a percentage, and Help with loops Pin
OriginalGriff16-Nov-12 21:40
mveOriginalGriff16-Nov-12 21:40 
GeneralRe: C# noob: Making Textbox entry a percentage, and Help with loops Pin
maul5916-Nov-12 22:20
maul5916-Nov-12 22:20 
GeneralRe: C# noob: Making Textbox entry a percentage, and Help with loops Pin
OriginalGriff16-Nov-12 22:26
mveOriginalGriff16-Nov-12 22:26 
QuestionInterface issue when implementing Factory pattern Pin
MichCl16-Nov-12 8:36
MichCl16-Nov-12 8:36 
AnswerRe: Interface issue when implementing Factory pattern Pin
Eddy Vluggen16-Nov-12 9:01
professionalEddy Vluggen16-Nov-12 9:01 
GeneralRe: Interface issue when implementing Factory pattern Pin
MichCl16-Nov-12 9:18
MichCl16-Nov-12 9:18 
GeneralRe: Interface issue when implementing Factory pattern Pin
Eddy Vluggen16-Nov-12 13:46
professionalEddy Vluggen16-Nov-12 13:46 
GeneralRe: Interface issue when implementing Factory pattern Pin
MichCl19-Nov-12 2:20
MichCl19-Nov-12 2:20 
AnswerRe: Interface issue when implementing Factory pattern Pin
Eddy Vluggen19-Nov-12 2:32
professionalEddy Vluggen19-Nov-12 2:32 
GeneralRe: Interface issue when implementing Factory pattern Pin
MichCl19-Nov-12 3:51
MichCl19-Nov-12 3:51 
GeneralRe: Interface issue when implementing Factory pattern Pin
Eddy Vluggen19-Nov-12 4:46
professionalEddy Vluggen19-Nov-12 4:46 
GeneralRe: Interface issue when implementing Factory pattern Pin
MichCl19-Nov-12 9:38
MichCl19-Nov-12 9:38 
I figured it out... See below, after my response to your last post.

There are compilation errors with the VS project distributed as I first presented it. It's

CR5_new.CR5 does not implement interface member iCR.initCRData(...) (but it does)

and

iCR.initCRData in explicit interface declaration is not a member of interface (but it is)

I have a reference to the VS project iCR in my CR5_new project.

I'm not sure what you're referring to with GAC above. When I look in my CR5_new project, even though I see it referenced in the solution explorer under references, when I look in MyComputer, I don't see a copy of the dll, so presumably it's not a copy, it's actually looking for it in the original location. When I look at the Solution Explorer properties of iCR, it's giving the path to the correct original location for the dll.

Alternatively, when I change the name of the interface to iC from iCR, I had to change it in
public class CR5:iC in my CR5_new namespace/visual studio project. Plus I had to change it to iC.initCRData(...). Then the above compile errors changed to use the new interface name.

I figured it out when I was looking into the above... My CR5 project had another class in it for USB_Comm.CB. The iCR was also referring to this class for parameters in the interface. So they were cross-referencing. So I moved the USB_Comm.CB class into it's own VS project so they can both refer to it without cross-references.

On the one hand I feel like I'm not using multiple class VS projects, but if I kept these things in them, I'd have repeats of classes in my VS projects like El. Plus when I create my CR6 project, I can re-use code more. Thanks for all of your help!! Smile | :)
GeneralRe: Interface issue when implementing Factory pattern Pin
Eddy Vluggen19-Nov-12 9:53
professionalEddy Vluggen19-Nov-12 9:53 
QuestionIssue in accessing 32 bit C++ DLL in Windows Server 2008 Pin
Kumaran Poongavanam16-Nov-12 8:32
Kumaran Poongavanam16-Nov-12 8:32 
AnswerRe: Issue in accessing 32 bit C++ DLL in Windows Server 2008 Pin
Eddy Vluggen16-Nov-12 9:04
professionalEddy Vluggen16-Nov-12 9:04 

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.