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

C#

 
GeneralRe: Loading an assembly fails in .NET 2.0 Pin
leppie20-Feb-06 22:22
leppie20-Feb-06 22:22 
Questionicon for menu item Pin
Praveen_S20-Feb-06 19:37
Praveen_S20-Feb-06 19:37 
QuestionUsing COM from Web Service Pin
Crazy Joe Devola20-Feb-06 19:05
Crazy Joe Devola20-Feb-06 19:05 
Hi
I am trying to create a ActiveX object from a C# web service. When I create the object I get a "Permission denined" exception.
If I create the same object not from a web service, it works OK.

Here is the code:
V8O_PLU.CPluClass o ; // COM object
o = new V8O_PLU.CPluClass(); // exception occurs

Late biding causes same problem:
Type ObjectType = Type.GetTypeFromProgID("V8O_PLU.CPlu");
object po = Activator.CreateInstance(ObjectType);

Can anyone please advise why is this happening?
as I said, the same code works OK from a non-web-service code (e.g. WinForm).

Thank you.

AnswerRe: Using COM from Web Service Pin
Crazy Joe Devola21-Feb-06 18:50
Crazy Joe Devola21-Feb-06 18:50 
QuestionGenerate multiple Bitmaps in memory Pin
NewbieDude20-Feb-06 18:52
NewbieDude20-Feb-06 18:52 
AnswerRe: Generate multiple Bitmaps in memory Pin
Ingo20-Feb-06 22:48
Ingo20-Feb-06 22:48 
GeneralRe: Generate multiple Bitmaps in memory Pin
NewbieDude21-Feb-06 3:26
NewbieDude21-Feb-06 3:26 
QuestionRedirecting Standard Input, Output and Error Pin
Dribble20-Feb-06 18:44
Dribble20-Feb-06 18:44 
AnswerRe: Redirecting Standard Input, Output and Error Pin
leppie20-Feb-06 21:16
leppie20-Feb-06 21:16 
GeneralRe: Redirecting Standard Input, Output and Error Pin
Dribble21-Feb-06 9:51
Dribble21-Feb-06 9:51 
QuestionExcel in C# Pin
Acheive_it20-Feb-06 17:30
Acheive_it20-Feb-06 17:30 
AnswerRe: Excel in C# Pin
ChevyVanDude21-Feb-06 5:00
ChevyVanDude21-Feb-06 5:00 
QuestionHow use Paging DataGird in WinForms Pin
AnhTin20-Feb-06 17:02
AnhTin20-Feb-06 17:02 
QuestionDirectX Compiler Error Pin
Leo Smith20-Feb-06 16:18
Leo Smith20-Feb-06 16:18 
AnswerRe: DirectX Compiler Error Pin
Judah Gabriel Himango20-Feb-06 16:29
sponsorJudah Gabriel Himango20-Feb-06 16:29 
Questionrow and column count of excel file Pin
edel_ong20-Feb-06 14:24
edel_ong20-Feb-06 14:24 
AnswerRe: row and column count of excel file Pin
Judah Gabriel Himango20-Feb-06 16:31
sponsorJudah Gabriel Himango20-Feb-06 16:31 
QuestionHow to turn off executing Load event at design time feature? Pin
t800t820-Feb-06 13:57
t800t820-Feb-06 13:57 
AnswerRe: How to turn off executing Load event at design time feature? Pin
[Marc]20-Feb-06 14:20
[Marc]20-Feb-06 14:20 
GeneralRe: How to turn off executing Load event at design time feature? Pin
t800t820-Feb-06 14:30
t800t820-Feb-06 14:30 
AnswerRe: How to turn off executing Load event at design time feature? Pin
Dave Kreskowiak20-Feb-06 17:35
mveDave Kreskowiak20-Feb-06 17:35 
GeneralRe: How to turn off executing Load event at design time feature? Pin
t800t820-Feb-06 17:57
t800t820-Feb-06 17:57 
GeneralRe: How to turn off executing Load event at design time feature? Pin
J4amieC20-Feb-06 21:47
J4amieC20-Feb-06 21:47 
GeneralRe: How to turn off executing Load event at design time feature? Pin
Dave Kreskowiak21-Feb-06 13:23
mveDave Kreskowiak21-Feb-06 13:23 
GeneralRe: How to turn off executing Load event at design time feature? Pin
t800t821-Feb-06 13:28
t800t821-Feb-06 13:28 

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.