Click here to Skip to main content
15,512,632 members
Home / Discussions / C#
   

C#

 
AnswerRe: Using Connectionstring Pin
OriginalGriff31-Oct-09 1:46
mveOriginalGriff31-Oct-09 1:46 
GeneralRe: Using Connectionstring Pin
Keith Barrow31-Oct-09 4:03
professionalKeith Barrow31-Oct-09 4:03 
QuestionHow to access mdi parent's menustrip items from a child form [modified] Pin
idan_bismut30-Oct-09 22:58
idan_bismut30-Oct-09 22:58 
AnswerRe: How to access mdi parent's menustrip items from a child form Pin
idan_bismut30-Oct-09 23:37
idan_bismut30-Oct-09 23:37 
GeneralRe: How to access mdi parent's menustrip items from a child form Pin
OriginalGriff31-Oct-09 0:37
mveOriginalGriff31-Oct-09 0:37 
GeneralRe: How to access mdi parent's menustrip items from a child form Pin
idan_bismut31-Oct-09 4:47
idan_bismut31-Oct-09 4:47 
GeneralRe: How to access mdi parent's menustrip items from a child form Pin
Member 1312346617-May-17 21:20
Member 1312346617-May-17 21:20 
QuestionHow to Register mshtml dll in to GAC ? Urgent. Pin
Jacobb Michael30-Oct-09 21:29
Jacobb Michael30-Oct-09 21: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 21:32
mveChristian Graus30-Oct-09 21:32 
GeneralRe: How to Register mshtml dll in to GAC ? Urgent. Pin
Jacobb Michael30-Oct-09 21:43
Jacobb Michael30-Oct-09 21:43 
AnswerRe: How to Register mshtml dll in to GAC ? Urgent. Pin
Jacobb Michael31-Oct-09 1:52
Jacobb Michael31-Oct-09 1:52 
GeneralRe: How to Register mshtml dll in to GAC ? Urgent. Pin
Christian Graus31-Oct-09 1:53
mveChristian Graus31-Oct-09 1:53 
QuestionHow to monitor the speed of writting into or reading out from the hard disk? Pin
sinron30-Oct-09 21:17
sinron30-Oct-09 21:17 
AnswerRe: How to monitor the speed of writting into or reading out from the hard disk? Pin
Christian Graus30-Oct-09 21:33
mveChristian Graus30-Oct-09 21:33 
GeneralRe: How to monitor the speed of writting into or reading out from the hard disk? Pin
sinron31-Oct-09 0:07
sinron31-Oct-09 0:07 
GeneralRe: How to monitor the speed of writting into or reading out from the hard disk? Pin
Christian Graus31-Oct-09 1:54
mveChristian Graus31-Oct-09 1:54 
GeneralRe: How to monitor the speed of writting into or reading out from the hard disk? Pin
Eddy Vluggen31-Oct-09 2:04
professionalEddy Vluggen31-Oct-09 2:04 
Questionis this a cache problem or what? Pin
niranjanR30-Oct-09 19:22
niranjanR30-Oct-09 19:22 
AnswerRe: is this a cache problem or what? Pin
Christian Graus30-Oct-09 20:17
mveChristian Graus30-Oct-09 20:17 
GeneralRe: is this a cache problem or what? Pin
niranjanR30-Oct-09 20:44
niranjanR30-Oct-09 20:44 
GeneralRe: is this a cache problem or what? Pin
Christian Graus30-Oct-09 21:07
mveChristian Graus30-Oct-09 21:07 
GeneralRe: is this a cache problem or what? Pin
niranjanR30-Oct-09 21:24
niranjanR30-Oct-09 21:24 
GeneralRe: is this a cache problem or what? Pin
Christian Graus30-Oct-09 21:30
mveChristian Graus30-Oct-09 21:30 
GeneralRe: is this a cache problem or what? Pin
niranjanR30-Oct-09 22:10
niranjanR30-Oct-09 22:10 
GeneralRe: is this a cache problem or what? Pin
Christian Graus31-Oct-09 1:51
mveChristian Graus31-Oct-09 1: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.