Click here to Skip to main content
15,888,195 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: .Net 2.0 and Win2000 issue Pin
Dave Kreskowiak19-Apr-06 5:52
mveDave Kreskowiak19-Apr-06 5:52 
AnswerRe: .Net 2.0 and Win2000 issue Pin
Kevin McFarlane22-Apr-06 5:17
Kevin McFarlane22-Apr-06 5:17 
QuestionT-SQL for everything?? Pin
LyndonSubroyen18-Apr-06 20:23
LyndonSubroyen18-Apr-06 20:23 
AnswerRe: T-SQL for everything?? Pin
Colin Angus Mackay18-Apr-06 20:55
Colin Angus Mackay18-Apr-06 20:55 
AnswerRe: T-SQL for everything?? Pin
HimaBindu Vejella20-Apr-06 20:47
HimaBindu Vejella20-Apr-06 20:47 
AnswerRe: T-SQL for everything?? Pin
JimRoss2-May-06 11:51
JimRoss2-May-06 11:51 
QuestionGame server? Pin
Gwedion18-Apr-06 17:11
Gwedion18-Apr-06 17:11 
QuestionGetting the right permissions set up to use windows forms in aspx???? Pin
coder62618-Apr-06 9:28
coder62618-Apr-06 9:28 
Hello, I posted this question on the ASP.NET forum, but maybe this is the more appropriate forum for this question...

I would like to run a windows control in my aspx code (using the <object classid="dllname#namespace.controlname/">. I am able to display my control button in my webpage.
However, .Net security does not allow me to do much with it. All the information I found tells me I need to strongly name my assembly and then add it directly to .Net Configuration Runtime Security Policy. However, when I stronly name my assembly, in order for my control button to show up I must place the "
[assembly:AllowPartiallyTrustedCallers]" directive in my dll's code. In addition the compiler does not allow me to strongly name an assembly containing references to ones that are not, therefore I need to wrap the SHDocVw dll with a strong name as well. (I am using project->properties->wrapper assembly key file).
At this point I get in trouble, however. My control shows up and works fine on my web page. However, when it goes to create a SHDocVw.WebBrowser object I get the error "That assembly does not allow partially trusted callers". I cannot find a way to get around this. I need the web browser control to be able to access the web browser on the client machine for the project I am trying to achieve, and I cannot find another way to do it besides using the SHDocVw.dll. However, I also cannot seem to find any way to get around all the permission stumbling blocks. I am sure someone has done this before, and figured out what needs to be done. Please help!

Thank you
~Y

PS. I need to do this in .Net 1.1 I cannot resort to .Net 2.0 for this.
QuestionRun service through svchost Pin
_maniaque18-Apr-06 8:30
_maniaque18-Apr-06 8:30 
AnswerRe: Run service through svchost Pin
Dave Kreskowiak19-Apr-06 5:45
mveDave Kreskowiak19-Apr-06 5:45 
QuestionUserControl Data binding & BindingSource.EndEdit() Effect Pin
Sassan Komeili Zadeh18-Apr-06 3:02
Sassan Komeili Zadeh18-Apr-06 3:02 
QuestionQuestion: How to specify default property to debugger? Pin
Guido_d18-Apr-06 2:03
Guido_d18-Apr-06 2:03 
AnswerRe: Question: How to specify default property to debugger? Pin
Dave Kreskowiak18-Apr-06 2:32
mveDave Kreskowiak18-Apr-06 2:32 
GeneralRe: Question: How to specify default property to debugger? Pin
Ricardo Casquete19-Apr-06 2:36
Ricardo Casquete19-Apr-06 2:36 
GeneralRe: Question: How to specify default property to debugger? Pin
Dave Kreskowiak19-Apr-06 5:42
mveDave Kreskowiak19-Apr-06 5:42 
GeneralRe: Question: How to specify default property to debugger? Pin
Ricardo Casquete19-Apr-06 6:23
Ricardo Casquete19-Apr-06 6:23 
GeneralRe: Question: How to specify default property to debugger? Pin
Guido_d19-Apr-06 23:11
Guido_d19-Apr-06 23:11 
GeneralRe: Question: How to specify default property to debugger? Pin
Dave Kreskowiak20-Apr-06 2:34
mveDave Kreskowiak20-Apr-06 2:34 
Questioncreating cd-rom database application Pin
vijayendra_shinde18-Apr-06 0:12
vijayendra_shinde18-Apr-06 0:12 
AnswerRe: creating cd-rom database application Pin
Dave Kreskowiak18-Apr-06 2:24
mveDave Kreskowiak18-Apr-06 2:24 
QuestionLow level operations to devices Pin
fvalerin17-Apr-06 9:48
fvalerin17-Apr-06 9:48 
AnswerRe: Low level operations to devices Pin
Dan Neely17-Apr-06 10:40
Dan Neely17-Apr-06 10:40 
QuestionConverse of measurestring Pin
deletethisprofile17-Apr-06 6:18
deletethisprofile17-Apr-06 6:18 
AnswerRe: Converse of measurestring Pin
Guffa17-Apr-06 6:42
Guffa17-Apr-06 6:42 
QuestionASP.NET not working Pin
Petals16-Apr-06 19:59
Petals16-Apr-06 19:59 

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.