Click here to Skip to main content
15,881,832 members
Home / Discussions / C#
   

C#

 
AnswerRe: Using Connectionstring Pin
OriginalGriff31-Oct-09 0:46
mveOriginalGriff31-Oct-09 0:46 
GeneralRe: Using Connectionstring Pin
Keith Barrow31-Oct-09 3:03
professionalKeith Barrow31-Oct-09 3:03 
QuestionHow to access mdi parent's menustrip items from a child form [modified] Pin
idan_bismut30-Oct-09 21:58
idan_bismut30-Oct-09 21:58 
AnswerRe: How to access mdi parent's menustrip items from a child form Pin
idan_bismut30-Oct-09 22:37
idan_bismut30-Oct-09 22:37 
GeneralRe: How to access mdi parent's menustrip items from a child form Pin
OriginalGriff30-Oct-09 23:37
mveOriginalGriff30-Oct-09 23:37 
GeneralRe: How to access mdi parent's menustrip items from a child form Pin
idan_bismut31-Oct-09 3:47
idan_bismut31-Oct-09 3:47 
GeneralRe: How to access mdi parent's menustrip items from a child form Pin
Member 1312346617-May-17 20:20
Member 1312346617-May-17 20:20 
QuestionHow to Register mshtml dll in to GAC ? Urgent. Pin
Jacobb Michael30-Oct-09 20:29
Jacobb Michael30-Oct-09 20:29 
Dear All,

I am using the bellow lines

mshtml.HTMLHeadElementClass elDynHead = null;
                    foreach (IHTMLElement elcol in (IHTMLElementCollection)document.getElementsByTagName("HEAD"))
                    {
                        if (elcol.ToString() == "mshtml.HTMLHeadElementClass")
                        {
                            elDynHead = (mshtml.HTMLHeadElementClass)elcol;
                        }
                    }


it works in Develpement system, but not in the client system
it throws the following error

Error :: System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to class type 'mshtml.HTMLHeadElementClass'. COM components that enter the CLR and do not support IProvideClassInfo or that do not have any interop assembly registered will be wrapped in the __ComObject type. Instances of this type cannot be cast to any other class; however they can be cast to interfaces as long as the underlying COM component supports QueryInterface calls for the IID of the interface.
   at PAW_URL.clsURLMON.browser_DocumentComplete(Object pDisp, Object& URL) 


so i think i have to Register mshtml in GAC.
But i dont know how to do it.

can some one help me how to Register the mshtml.dll in to GAC.(urgent please)

thanks in Adavnce
AnswerRe: How to Register mshtml dll in to GAC ? Urgent. Pin
Christian Graus30-Oct-09 20:32
protectorChristian Graus30-Oct-09 20:32 
GeneralRe: How to Register mshtml dll in to GAC ? Urgent. Pin
Jacobb Michael30-Oct-09 20:43
Jacobb Michael30-Oct-09 20:43 
AnswerRe: How to Register mshtml dll in to GAC ? Urgent. Pin
Jacobb Michael31-Oct-09 0:52
Jacobb Michael31-Oct-09 0:52 
GeneralRe: How to Register mshtml dll in to GAC ? Urgent. Pin
Christian Graus31-Oct-09 0:53
protectorChristian Graus31-Oct-09 0:53 
QuestionHow to monitor the speed of writting into or reading out from the hard disk? Pin
sinron30-Oct-09 20:17
sinron30-Oct-09 20:17 
AnswerRe: How to monitor the speed of writting into or reading out from the hard disk? Pin
Christian Graus30-Oct-09 20:33
protectorChristian Graus30-Oct-09 20:33 
GeneralRe: How to monitor the speed of writting into or reading out from the hard disk? Pin
sinron30-Oct-09 23:07
sinron30-Oct-09 23:07 
GeneralRe: How to monitor the speed of writting into or reading out from the hard disk? Pin
Christian Graus31-Oct-09 0:54
protectorChristian Graus31-Oct-09 0:54 
GeneralRe: How to monitor the speed of writting into or reading out from the hard disk? Pin
Eddy Vluggen31-Oct-09 1:04
professionalEddy Vluggen31-Oct-09 1:04 
Questionis this a cache problem or what? Pin
niranjanR30-Oct-09 18:22
niranjanR30-Oct-09 18:22 
AnswerRe: is this a cache problem or what? Pin
Christian Graus30-Oct-09 19:17
protectorChristian Graus30-Oct-09 19:17 
GeneralRe: is this a cache problem or what? Pin
niranjanR30-Oct-09 19:44
niranjanR30-Oct-09 19:44 
GeneralRe: is this a cache problem or what? Pin
Christian Graus30-Oct-09 20:07
protectorChristian Graus30-Oct-09 20:07 
GeneralRe: is this a cache problem or what? Pin
niranjanR30-Oct-09 20:24
niranjanR30-Oct-09 20:24 
GeneralRe: is this a cache problem or what? Pin
Christian Graus30-Oct-09 20:30
protectorChristian Graus30-Oct-09 20:30 
GeneralRe: is this a cache problem or what? Pin
niranjanR30-Oct-09 21:10
niranjanR30-Oct-09 21:10 
GeneralRe: is this a cache problem or what? Pin
Christian Graus31-Oct-09 0:51
protectorChristian Graus31-Oct-09 0:51 

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.