Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
GeneralRe: setting user permissions to winform controls c# Pin
manchanx4-Feb-15 2:09
professionalmanchanx4-Feb-15 2:09 
GeneralRe: setting user permissions to winform controls c# Pin
BillWoodruff4-Feb-15 6:08
professionalBillWoodruff4-Feb-15 6:08 
QuestionERROR:Only one usage of each socket address (protocol/network address/port) is normally permitted Pin
Prabhu Sridharan3-Feb-15 21:03
Prabhu Sridharan3-Feb-15 21:03 
AnswerRe: ERROR:Only one usage of each socket address (protocol/network address/port) is normally permitted Pin
Richard MacCutchan3-Feb-15 22:49
mveRichard MacCutchan3-Feb-15 22:49 
QuestionTerminated due to timeout.. Working properly with small input like 100 but not with large example 10000 Pin
Member 114256643-Feb-15 20:25
Member 114256643-Feb-15 20:25 
AnswerRe: Terminated due to timeout.. Working properly with small input like 100 but not with large example 10000 Pin
Mycroft Holmes3-Feb-15 20:57
professionalMycroft Holmes3-Feb-15 20:57 
AnswerRe: Terminated due to timeout.. Working properly with small input like 100 but not with large example 10000 Pin
BillWoodruff3-Feb-15 21:04
professionalBillWoodruff3-Feb-15 21:04 
QuestionSHDocVw.dll access denied system.dynamic.dll Pin
Digriz773-Feb-15 12:51
Digriz773-Feb-15 12:51 
Hi,
First time poster long time reader.

Im having trouble with a shdocvw.dll and accessing internet pages. Particulary interacting with them.

1.my setup windows 8 64bit running visual studio 2012, ie11.

Im only having the trouble on 64 bit machines, 32 bit machines run the program fine. i wrote a sample a small sample to show you want i mean: The following runs fine on the x86 computers and i get my hello world message... but any 64bit machines i get an error. i have tried runing in x86 mode only, x64 mode only all error.

This is just a sample code to demonstrate whats doesnt work.

C#
SHDocVw.InternetExplorer ie = new SHDocVw.InternetExplorer();
            ie.Navigate("https://www.google.com.au");
            while (ie.Busy)
            {
            }
            ie.Visible = true;
            string javaScriptcode = "alert('hello world !!')";
            ie.Document.parentWindow.execScript(javaScriptcode, "javascript");


Ive run on ie 11 and ie8 on a x86 machines no worries. on the x64 machine with the the same ie security settings etc on ie11 give the error:

An unhandled exception of type 'System.UnauthorizedAccessException' occurred in System.Dynamic.dll
Additional information: Access is denied.


Id appreciate any help as ive exhausted google. Whats got me stumped is why it works in x86 machines but not in x64

David
AnswerRe: SHDocVw.dll access denied system.dynamic.dll Pin
Bernhard Hiller5-Feb-15 7:54
Bernhard Hiller5-Feb-15 7:54 
GeneralRe: SHDocVw.dll access denied system.dynamic.dll Pin
Digriz775-Feb-15 14:26
Digriz775-Feb-15 14:26 
GeneralRe: SHDocVw.dll access denied system.dynamic.dll Pin
DelphiCoder5-Feb-15 20:44
DelphiCoder5-Feb-15 20:44 
QuestionHow to add foregin key in code firest Pin
Member 114240953-Feb-15 5:28
Member 114240953-Feb-15 5:28 
AnswerRe: How to add foregin key in code firest Pin
Simon_Whale3-Feb-15 5:46
Simon_Whale3-Feb-15 5:46 
GeneralRe: How to add foregin key in code firest Pin
Member 114240953-Feb-15 5:56
Member 114240953-Feb-15 5:56 
QuestionUsing strings from external .txt file Pin
Tetra10443-Feb-15 3:47
Tetra10443-Feb-15 3:47 
AnswerRe: Using strings from external .txt file Pin
OriginalGriff3-Feb-15 4:04
mveOriginalGriff3-Feb-15 4:04 
GeneralRe: Using strings from external .txt file Pin
Tetra10443-Feb-15 4:20
Tetra10443-Feb-15 4:20 
GeneralRe: Using strings from external .txt file Pin
OriginalGriff3-Feb-15 4:30
mveOriginalGriff3-Feb-15 4:30 
GeneralRe: Using strings from external .txt file Pin
Tetra10443-Feb-15 4:41
Tetra10443-Feb-15 4:41 
AnswerRe: Using strings from external .txt file Pin
BillWoodruff4-Feb-15 6:21
professionalBillWoodruff4-Feb-15 6:21 
GeneralRe: Using strings from external .txt file Pin
Tetra10445-Feb-15 3:06
Tetra10445-Feb-15 3:06 
QuestionHow to share a server connection between different powershell runspaces in c# on a web application Pin
tasoss2-Feb-15 21:37
tasoss2-Feb-15 21:37 
QuestionRe: How to share a server connection between different powershell runspaces in c# on a web application Pin
Richard MacCutchan3-Feb-15 0:38
mveRichard MacCutchan3-Feb-15 0:38 
AnswerRe: How to share a server connection between different powershell runspaces in c# on a web application Pin
tasoss3-Feb-15 0:59
tasoss3-Feb-15 0:59 
SuggestionReceiving Windows Message in class library asynchronously in C# Pin
Ram Kumar2-Feb-15 18:07
Ram Kumar2-Feb-15 18:07 

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.