Click here to Skip to main content
15,905,912 members
Home / Discussions / C#
   

C#

 
GeneralCreate An "add-in-able" Application Pin
MStanbrook2-Oct-02 6:33
MStanbrook2-Oct-02 6:33 
GeneralRe: Create An "add-in-able" Application Pin
David Williams2-Oct-02 7:17
David Williams2-Oct-02 7:17 
GeneralRe: Create An "add-in-able" Application Pin
MStanbrook2-Oct-02 7:58
MStanbrook2-Oct-02 7:58 
GeneralRe: Create An "add-in-able" Application Pin
David Stone2-Oct-02 8:29
sitebuilderDavid Stone2-Oct-02 8:29 
GeneralRe: Create An "add-in-able" Application Pin
ez22-Oct-02 9:29
ez22-Oct-02 9:29 
GeneralFreeze. This is the Clickety Police! Pin
David Stone2-Oct-02 12:42
sitebuilderDavid Stone2-Oct-02 12:42 
GeneralRe: Create An "add-in-able" Application Pin
Stephane Rodriguez.2-Oct-02 9:48
Stephane Rodriguez.2-Oct-02 9:48 
GeneralRe: Create An "add-in-able" Application Pin
MStanbrook2-Oct-02 18:19
MStanbrook2-Oct-02 18:19 
GeneralRe: Create An "add-in-able" Application Pin
leppie3-Oct-02 3:06
leppie3-Oct-02 3:06 
GeneralRe: Create An "add-in-able" Application Pin
Eric Gunnerson (msft)2-Oct-02 11:33
Eric Gunnerson (msft)2-Oct-02 11:33 
GeneralRe: Create An "add-in-able" Application Pin
MStanbrook2-Oct-02 18:15
MStanbrook2-Oct-02 18:15 
QuestionHow do you know you're in design mode vs. running? Pin
Zombies with Coffee, LLC2-Oct-02 4:59
professionalZombies with Coffee, LLC2-Oct-02 4:59 
AnswerRe: How do you know you're in design mode vs. running? Pin
Paul Riley2-Oct-02 5:22
Paul Riley2-Oct-02 5:22 
GeneralRe: How do you know you're in design mode vs. running? Pin
Zombies with Coffee, LLC2-Oct-02 5:30
professionalZombies with Coffee, LLC2-Oct-02 5:30 
GeneralMicrosoft Exchange programming Pin
Ola Carlsson2-Oct-02 3:43
Ola Carlsson2-Oct-02 3:43 
GeneralRe: Microsoft Exchange programming Pin
Michael P Butler2-Oct-02 4:00
Michael P Butler2-Oct-02 4:00 
GeneralRe: Microsoft Exchange programming Pin
Stephane Rodriguez.2-Oct-02 4:18
Stephane Rodriguez.2-Oct-02 4:18 
GeneralCalling COM Object in C# Pin
RAVI H R1-Oct-02 20:06
RAVI H R1-Oct-02 20:06 
GeneralRe: Calling COM Object in C# Pin
Stephane Rodriguez.1-Oct-02 20:44
Stephane Rodriguez.1-Oct-02 20:44 
GeneralRe: Calling COM Object in C# Pin
RAVI H R1-Oct-02 23:05
RAVI H R1-Oct-02 23:05 
GeneralRe: Calling COM Object in C# Pin
Stephane Rodriguez.1-Oct-02 23:41
Stephane Rodriguez.1-Oct-02 23:41 
GeneralRe: Calling COM Object in C# Pin
RAVI H R2-Oct-02 0:29
RAVI H R2-Oct-02 0:29 
Hi Stephane,

You have written
Now you probably see the names SAPBAPIControlLib_1_2 and SAPLogonCtrl_1_1 in the reference. In your file can you type SAPBAPIControlLib_1_2., what's brought up by intellisense ?

I see in reference
SAPBAPIControlLib and SAPLogonCtrl.

Intellisense doen't show anything when i type SAPBAPIControlLib_1_2.

I tried one more thing

C# CODE
-----------
APLogonCtrl.SAPLogonControl oLogonControl=new SAPLogonCtrl.SAPLogonControl();
//SAPBAPIControlLib.SAPBAPIControl conn=new SAPBAPIControlLib.SAPBAPIControl();
SAPLogonCtrl.Connection conn=new SAPLogonCtrl.Connection();
conn=(SAPLogonCtrl.Connection)(oLogonControl.NewConnection());
conn.Client="500";
conn.User="";
conn.Password="";
conn.Language="en";
conn.ApplicationServer="localhost";
conn.System="00";
bool bRtcd=conn.Logon(0,false);
if(bRtcd!=true)
Console.WriteLine("bRtcd="+bRtcd.ToString());

I get invalid typecast the code compiles when I execute I get Invalid Typecast exception for conn=(SAPLogonCtrl.Connection)(oLogonControl.NewConnection()). The oLogonControl.NewConnection() returns object.

I will send across the two dlls through email

Thanks

Regards
Ravi H R
GeneralHelp reading a binary file Pin
David Williams1-Oct-02 13:36
David Williams1-Oct-02 13:36 
GeneralRe: Help reading a binary file Pin
leppie1-Oct-02 14:35
leppie1-Oct-02 14:35 
GeneralRe: Help reading a binary file Pin
David Williams2-Oct-02 7:06
David Williams2-Oct-02 7:06 

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.