Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
Questiondatabound comboboxes in datagridview. Pin
tonks8425-Jul-09 6:27
tonks8425-Jul-09 6:27 
AnswerRe: databound comboboxes in datagridview. Pin
Omar Akhtar Sheikh25-Jul-09 8:29
Omar Akhtar Sheikh25-Jul-09 8:29 
GeneralRe: databound comboboxes in datagridview. Pin
tonks8425-Jul-09 8:54
tonks8425-Jul-09 8:54 
Question[Message Deleted] Pin
neha_rai25-Jul-09 5:36
neha_rai25-Jul-09 5:36 
Answerwaiting for reply Pin
neha_rai25-Jul-09 9:13
neha_rai25-Jul-09 9:13 
AnswerRe: moving points Pin
Henry Minute25-Jul-09 13:20
Henry Minute25-Jul-09 13:20 
QuestionToolStrip Overflow button event Pin
satsumatable25-Jul-09 3:40
satsumatable25-Jul-09 3:40 
AnswerRe: ToolStrip Overflow button event Pin
satsumatable25-Jul-09 4:01
satsumatable25-Jul-09 4:01 
QuestionHuge amounts of ListView-Items in ListView. Performance? Pin
JackBeauregard25-Jul-09 2:55
JackBeauregard25-Jul-09 2:55 
AnswerRe: Huge amounts of ListView-Items in ListView. Performance? Pin
Eddy Vluggen25-Jul-09 3:17
professionalEddy Vluggen25-Jul-09 3:17 
AnswerRe: Huge amounts of ListView-Items in ListView. Performance? Pin
Jimmanuel25-Jul-09 3:20
Jimmanuel25-Jul-09 3:20 
AnswerRe: Huge amounts of ListView-Items in ListView. Performance? Pin
Adam Maras25-Jul-09 6:41
Adam Maras25-Jul-09 6:41 
QuestionAdd Properties to user control [modified] Pin
gal00025-Jul-09 2:52
gal00025-Jul-09 2:52 
AnswerRe: Add Properties to user control Pin
Henry Minute25-Jul-09 3:06
Henry Minute25-Jul-09 3:06 
AnswerRe: Add Properties to user control Pin
SajjadZare25-Jul-09 9:14
SajjadZare25-Jul-09 9:14 
Questionhow to keep track the browser. Pin
msgreat25-Jul-09 2:03
msgreat25-Jul-09 2:03 
QuestionGpuCV ? Pin
Mohammad Dayyan25-Jul-09 1:09
Mohammad Dayyan25-Jul-09 1:09 
AnswerRe: GpuCV ? Pin
Henry Minute25-Jul-09 3:09
Henry Minute25-Jul-09 3:09 
AnswerRe: GpuCV ? Pin
Mike Hankey25-Jul-09 3:54
mveMike Hankey25-Jul-09 3:54 
QuestionReading from Microsoft FingerPrint Pin
SimpleData25-Jul-09 1:08
SimpleData25-Jul-09 1:08 
AnswerRe: Reading from Microsoft FingerPrint Pin
Harvey Saayman25-Jul-09 1:30
Harvey Saayman25-Jul-09 1:30 
QuestionObject reference not set to an instance of an object. Pin
svt gdwl25-Jul-09 0:57
svt gdwl25-Jul-09 0:57 
I had a BHO.
When a web page is opened on IE, I try to replace the HTMLElement's text using

 foreach (IHTMLElement HtmlElemen in (IHTMLElementCollection)document.body.all)
{
try
{
HtmlElemen.GetType().GetProperty("innerText").SetValue(HtmlElemen, "NewText", null);
}
catch(Exception e)
{
 System.Windows.Forms.MessageBox.Show("Message:" + e.Message );
}
}



In some PC's the html element's text is replaced successfully with "Newtext",
but in some PC's it is not replacing.

And an exception message is obtained "Object reference not set to an instance of an object. "

How to fix this exception?

This is built in vs2005 c#.


The exception is obtained only in the PC's which doesn't have VisualStudio2005 or Vs2008.

Are there any dependencies missing for execution of these code.
In my installation Setup, I already added "Microsoft.Mshtml.dll" also.

Still this exception is coming. How can I avoid this exception and make it execute succesfully in all PC's?
AnswerRe: Object reference not set to an instance of an object. Pin
Henry Minute25-Jul-09 3:12
Henry Minute25-Jul-09 3:12 
QuestionThe Module Dll1.dll was loaded but the entry point DllRegisterserver was not found Pin
Anubhava Dimri24-Jul-09 22:31
Anubhava Dimri24-Jul-09 22:31 
AnswerRe: The Module Dll1.dll was loaded but the entry point DllRegisterserver was not found Pin
lanzolix1118-Aug-09 9:33
lanzolix1118-Aug-09 9:33 

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.