Click here to Skip to main content
15,922,166 members
Home / Discussions / C#
   

C#

 
QuestionRS 232 Programming Pin
mipooo9-Oct-05 18:17
mipooo9-Oct-05 18:17 
QuestionSaving Excel workbook in SQL server using c# Pin
Member 22989639-Oct-05 18:09
Member 22989639-Oct-05 18:09 
QuestionHow do i make controls that are transparent, but still show the form behind them? Pin
Red_Wizard_Shot_The_Food9-Oct-05 15:46
Red_Wizard_Shot_The_Food9-Oct-05 15:46 
AnswerRe: How do i make controls that are transparent, but still show the form behind them? Pin
Red_Wizard_Shot_The_Food9-Oct-05 18:07
Red_Wizard_Shot_The_Food9-Oct-05 18:07 
GeneralRe: How do i make controls that are transparent, but still show the form behind them? Pin
XRaheemX10-Oct-05 10:08
XRaheemX10-Oct-05 10:08 
GeneralRe: How do i make controls that are transparent, but still show the form behind them? Pin
Red_Wizard_Shot_The_Food10-Oct-05 11:17
Red_Wizard_Shot_The_Food10-Oct-05 11:17 
QuestionC# http post Pin
aerosmith2k19-Oct-05 14:56
aerosmith2k19-Oct-05 14:56 
QuestionCOM objects written C# then use in MS Access Application Pin
ehuelgas9-Oct-05 14:51
ehuelgas9-Oct-05 14:51 
Hi,

Is anyone can help me, I written a code in C#, convert it in DLL and create COM wraper so I can use this to my MS Application. Apparently it does not work. I tried this simple program, but it does not work when i call it to MS Access

****************************
using System;
using System.Runtime.InteropServices;

namespace Tester
{
[Guid("D6F88E95-8A27-4ae6-B6DE-0542A0FC7039")]
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface _Numbers
{
[DispId(1)]
int GetDay();

[DispId(2)]
int GetMonth();

[DispId(3)]
int GetYear();

[DispId(4)]
int DayOfYear();
}

[Guid("13FE32AD-4BF8-495f-AB4D-6C61BD463EA4")]
[ClassInterface(ClassInterfaceType.None)]
[ProgId("Tester.Numbers")]
public class Numbers : _Numbers
{
public Numbers(){}

public int GetDay()
{
return(DateTime.Today.Day);
}

public int GetMonth()
{
return(DateTime.Today.Month);
}

public int GetYear()
{
return(DateTime.Today.Year);
}

public int DayOfYear()
{
return(DateTime.Now.DayOfYear);
}
}
}
******************************

regards,
edwin
QuestionGood Intersection Function Pin
Baatezu9-Oct-05 13:31
Baatezu9-Oct-05 13:31 
AnswerRe: Good Intersection Function Pin
Super Lloyd9-Oct-05 14:23
Super Lloyd9-Oct-05 14:23 
QuestionHow can i...?Please help me please !!!! Pin
snouto9-Oct-05 13:27
snouto9-Oct-05 13:27 
AnswerRe: How can i...?Please help me please !!!! Pin
Dave Kreskowiak9-Oct-05 14:50
mveDave Kreskowiak9-Oct-05 14:50 
GeneralRe: How can i...?Please help me please !!!! Pin
snouto10-Oct-05 0:01
snouto10-Oct-05 0:01 
GeneralRe: How can i...?Please help me please !!!! Pin
Dave Kreskowiak10-Oct-05 4:33
mveDave Kreskowiak10-Oct-05 4:33 
AnswerRe: How can i...?Please help me please !!!! Pin
Brendan Vogt9-Oct-05 23:06
Brendan Vogt9-Oct-05 23:06 
QuestionUsage of ICloneable Pin
Robert Rohde9-Oct-05 9:55
Robert Rohde9-Oct-05 9:55 
AnswerRe: Usage of ICloneable Pin
S. Senthil Kumar9-Oct-05 19:09
S. Senthil Kumar9-Oct-05 19:09 
QuestionCreate new dialog from Pin
Gedrain9-Oct-05 9:27
Gedrain9-Oct-05 9:27 
AnswerRe: Create new dialog from Pin
Dave Kreskowiak9-Oct-05 14:47
mveDave Kreskowiak9-Oct-05 14:47 
GeneralRe: Create new dialog from Pin
Gedrain9-Oct-05 14:49
Gedrain9-Oct-05 14:49 
GeneralRe: Create new dialog from Pin
Dave Kreskowiak10-Oct-05 4:26
mveDave Kreskowiak10-Oct-05 4:26 
AnswerRe: Create new dialog from Pin
S. Senthil Kumar9-Oct-05 19:12
S. Senthil Kumar9-Oct-05 19:12 
Questionfactorial program Pin
johnjsm9-Oct-05 8:34
johnjsm9-Oct-05 8:34 
AnswerRe: factorial program Pin
Robert Rohde9-Oct-05 8:47
Robert Rohde9-Oct-05 8:47 
AnswerRe: factorial program Pin
Anonymous9-Oct-05 20:52
Anonymous9-Oct-05 20:52 

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.