Click here to Skip to main content
15,891,372 members
Home / Discussions / C#
   

C#

 
AnswerRe: change defualt priter page size Pin
Vasudevan Deepak Kumar2-Sep-07 0:47
Vasudevan Deepak Kumar2-Sep-07 0:47 
GeneralRe: change defualt priter page size Pin
hamid_m2-Sep-07 1:18
hamid_m2-Sep-07 1:18 
AnswerRe: change defualt priter page size Pin
Rupesh Kumar Swami2-Sep-07 1:06
Rupesh Kumar Swami2-Sep-07 1:06 
QuestionChanging "SizeFromClientSize" Pin
xxxprod1-Sep-07 22:29
xxxprod1-Sep-07 22:29 
QuestionF9 doesn't work in Visual Studio Pin
anderslundsgard1-Sep-07 21:14
anderslundsgard1-Sep-07 21:14 
AnswerRe: F9 doesn't work in Visual Studio Pin
Vasudevan Deepak Kumar1-Sep-07 22:56
Vasudevan Deepak Kumar1-Sep-07 22:56 
QuestionC# Register for COM Interop option Pin
George_George1-Sep-07 19:51
George_George1-Sep-07 19:51 
AnswerRe: C# Register for COM Interop option Pin
Yanshof1-Sep-07 20:55
Yanshof1-Sep-07 20:55 
Indicates that your managed application will expose a COM object (a COM callable wrapper) that allows a COM object to interact with your managed application. The Output type property in the Application page of the Project Designer for this application must be set to Class Library in order for the Register for COM interop property to be available. For an example class that you might include in your Visual C# application and expose as a COM object, see Example COM Class (C# Programming Guide).

using System.Runtime.InteropServices;

namespace project_name
{
[Guid("EAA4976A-45C3-4BC5-BC0B-E474F4C3C83F")]
public interface ComClass1Interface
{
}

[Guid("7BD20046-DF8C-44A6-8F6B-687FAA26FA71"),
InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface ComClass1Events
{
}

[Guid("0D53A3E8-E51A-49C7-944E-E72A2064F938"),
ClassInterface(ClassInterfaceType.None),
ComSourceInterfaces(typeof(ComClass1Events))]
public class ComClass1 : ComClass1Interface
{
}
GeneralRe: C# Register for COM Interop option Pin
George_George1-Sep-07 21:28
George_George1-Sep-07 21:28 
AnswerRe: C# Register for COM Interop option Pin
Vasudevan Deepak Kumar1-Sep-07 22:57
Vasudevan Deepak Kumar1-Sep-07 22:57 
GeneralRe: C# Register for COM Interop option Pin
George_George2-Sep-07 1:51
George_George2-Sep-07 1:51 
QuestionSave Pin
Assaf821-Sep-07 17:56
Assaf821-Sep-07 17:56 
AnswerRe: Save Pin
Rami Said Abd Alhalim1-Sep-07 19:58
Rami Said Abd Alhalim1-Sep-07 19:58 
GeneralRe: Save Pin
Assaf821-Sep-07 22:12
Assaf821-Sep-07 22:12 
GeneralRe: Save Pin
Vasudevan Deepak Kumar1-Sep-07 22:53
Vasudevan Deepak Kumar1-Sep-07 22:53 
GeneralRe: Save Pin
Guffa1-Sep-07 23:15
Guffa1-Sep-07 23:15 
GeneralRe: Save Pin
Vasudevan Deepak Kumar1-Sep-07 23:23
Vasudevan Deepak Kumar1-Sep-07 23:23 
GeneralRe: Save Pin
Guffa1-Sep-07 23:33
Guffa1-Sep-07 23:33 
GeneralRe: Save Pin
Paul Conrad2-Sep-07 5:21
professionalPaul Conrad2-Sep-07 5:21 
AnswerRe: Save Pin
Guffa1-Sep-07 23:14
Guffa1-Sep-07 23:14 
QuestionWaiting for Thread to Join Pin
Brad Wick1-Sep-07 15:32
Brad Wick1-Sep-07 15:32 
AnswerRe: Waiting for Thread to Join Pin
Luc Pattyn1-Sep-07 16:21
sitebuilderLuc Pattyn1-Sep-07 16:21 
GeneralRe: Waiting for Thread to Join Pin
Brad Wick1-Sep-07 17:45
Brad Wick1-Sep-07 17:45 
GeneralRe: Waiting for Thread to Join Pin
Luc Pattyn2-Sep-07 1:02
sitebuilderLuc Pattyn2-Sep-07 1:02 
AnswerRe: Waiting for Thread to Join Pin
Steve Hansen2-Sep-07 7:32
Steve Hansen2-Sep-07 7:32 

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.