Click here to Skip to main content
15,915,513 members
Home / Discussions / C#
   

C#

 
QuestionTo Increase the height of Windows Forms? Pin
MudkiSekhon14-Dec-05 18:51
MudkiSekhon14-Dec-05 18:51 
AnswerRe: To Increase the height of Windows Forms? Pin
Soaring Eagle14-Dec-05 19:02
Soaring Eagle14-Dec-05 19:02 
GeneralRe: To Increase the height of Windows Forms? Pin
MudkiSekhon14-Dec-05 19:19
MudkiSekhon14-Dec-05 19:19 
Questioncrystal report question Pin
lior654#hotmail.com14-Dec-05 18:29
lior654#hotmail.com14-Dec-05 18:29 
QuestionDissecting Exception.String Pin
redfish3414-Dec-05 17:53
redfish3414-Dec-05 17:53 
AnswerRe: Dissecting Exception.String Pin
Guffa15-Dec-05 1:32
Guffa15-Dec-05 1:32 
GeneralThanks Pin
redfish3420-Dec-05 22:28
redfish3420-Dec-05 22:28 
QuestionProblem Calling and Creating COM Objects Pin
Soaring Eagle14-Dec-05 17:13
Soaring Eagle14-Dec-05 17:13 
Hi there,

What I want to do is to build a COM Server in C# and call it
from a VC++ Client(visual studio 6).

An example of that is found on :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcwlkcominteroppart2cservertutorial.asp

However it's not detailed.The sample example explained provided
on that website doesn't open in the first place so that I can
track it down.

Whenever I try to use regasm or cl that are mentioned to be
command prompt commands I get that no such internal or external
command exist.

Here's what I did:
1-I created a C# project of type "Class library"
2-I have pasted the provided C# Server code in it
3-I set the "register for COM Interop" in the build properties
to "true"
4-I built the project,it was built successfully with no errors
5-I started without debugging but ofcourse it wont' run

In another article I found,it said that before step 4,I should
create a strong name for the assembly using the utitlity sn.exe
but I can't figure out how to use it.
http://www.codeproject.com/csharp/COM_Object_in_C_.asp

As for the C++ client, I just created a new C++ file and pasted
the code.After that I am unable to run the given commands
provided to know what to do next.

Can you please help me out?I am really stuck.

Cheers,
Eagle



QuestionXml Splitter in C# Pin
Markus35014-Dec-05 16:52
Markus35014-Dec-05 16:52 
Question(Urgent) switch between tabpages of a tabcontrol by CTrl+tab Pin
LongNguyen14-Dec-05 16:07
LongNguyen14-Dec-05 16:07 
QuestionChange Time and TimeZone Programatically Pin
denpsia14-Dec-05 15:41
denpsia14-Dec-05 15:41 
QuestionHandle Picturebox in C# ??? Pin
Abubakarsb14-Dec-05 15:04
Abubakarsb14-Dec-05 15:04 
QuestionCopying more than 1 textbox field to Clipboard Pin
apoc50314-Dec-05 13:19
apoc50314-Dec-05 13:19 
AnswerRe: Copying more than 1 textbox field to Clipboard Pin
enjoycrack14-Dec-05 14:33
enjoycrack14-Dec-05 14:33 
GeneralRe: Copying more than 1 textbox field to Clipboard Pin
apoc50314-Dec-05 14:46
apoc50314-Dec-05 14:46 
Question.NET 2003 after C# Express Install Pin
Stephen McAllister14-Dec-05 9:52
Stephen McAllister14-Dec-05 9:52 
AnswerRe: .NET 2003 after C# Express Install Pin
Gulfraz Khan16-Dec-05 6:36
Gulfraz Khan16-Dec-05 6:36 
GeneralRe: .NET 2003 after C# Express Install Pin
Stephen McAllister16-Dec-05 12:14
Stephen McAllister16-Dec-05 12:14 
QuestionThreading question Pin
Steve Messer14-Dec-05 9:09
Steve Messer14-Dec-05 9:09 
AnswerRe: Threading question Pin
Judah Gabriel Himango14-Dec-05 9:19
sponsorJudah Gabriel Himango14-Dec-05 9:19 
GeneralRe: Threading question Pin
WillemM14-Dec-05 9:23
WillemM14-Dec-05 9:23 
GeneralRe: Threading question Pin
Steve Messer14-Dec-05 9:33
Steve Messer14-Dec-05 9:33 
GeneralRe: Threading question Pin
Judah Gabriel Himango14-Dec-05 9:38
sponsorJudah Gabriel Himango14-Dec-05 9:38 
GeneralRe: Threading question Pin
Steve Messer14-Dec-05 9:51
Steve Messer14-Dec-05 9:51 
GeneralRe: Threading question Pin
Steve Messer14-Dec-05 11:09
Steve Messer14-Dec-05 11:09 

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.