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

.NET (Core and Framework)

 
GeneralRe: partition in windows form Pin
Hristo-Bojilov20-Aug-09 23:05
Hristo-Bojilov20-Aug-09 23:05 
QuestionDebugging Weirdness [SOLVED] Pin
#realJSOP20-Aug-09 9:03
professional#realJSOP20-Aug-09 9:03 
AnswerRe: Debugging Weirdness Pin
Dave Kreskowiak20-Aug-09 9:51
mveDave Kreskowiak20-Aug-09 9:51 
GeneralRe: Debugging Weirdness Pin
#realJSOP20-Aug-09 12:09
professional#realJSOP20-Aug-09 12:09 
AnswerMessage Removed Pin
20-Aug-09 10:18
professionalN_tro_P20-Aug-09 10:18 
GeneralRe: Debugging Weirdness Pin
#realJSOP20-Aug-09 12:11
professional#realJSOP20-Aug-09 12:11 
QuestionCustomizing the Winfom WebBrowser control Pin
astibich219-Aug-09 18:08
astibich219-Aug-09 18:08 
AnswerRe: Customizing the Winfom WebBrowser control Pin
Nicholas Butler20-Aug-09 0:22
sitebuilderNicholas Butler20-Aug-09 0:22 
I've run into a similar problem recently. My plan C was to modify the html and use WebBrowser.DocumentText.

I also wrote this, which might be useful:

private void SaveScrollPosition()
{
  if ( Loading ) return;

  var document = _Control.Document;
  if ( document == null ) return;

  var body = document.Body;
  if ( body == null ) return;

  if ( body.ScrollLeft != 0 || body.ScrollTop != 0 )
  {
    ScrollPositionX = body.ScrollLeft;
    ScrollPositionY = body.ScrollTop;
    return;
  }

  // for html with a DOC tag
  var htmls = document.GetElementsByTagName( "HTML" );
  if ( htmls == null ) return;
  if ( htmls.Count == 0 ) return;

  var html = htmls[ 0 ];
  if ( html == null ) return;

  if ( html.ScrollLeft != 0 || html.ScrollTop != 0 )
  {
    ScrollPositionX = html.ScrollLeft;
    ScrollPositionY = html.ScrollTop;
    return;
  }
}


Nick

----------------------------------
Be excellent to each other Smile | :)

QuestionCustomization of the Installation setup in .net framework 2.0 Pin
Arokiamary19-Aug-09 18:02
Arokiamary19-Aug-09 18:02 
AnswerRe: Customization of the Installation setup in .net framework 2.0 Pin
Hristo-Bojilov20-Aug-09 3:04
Hristo-Bojilov20-Aug-09 3:04 
AnswerRe: Customization of the Installation setup in .net framework 2.0 Pin
Jack Vanderhorst20-Aug-09 12:48
Jack Vanderhorst20-Aug-09 12:48 
QuestionVPL GUI Pin
80noos0819-Aug-09 11:28
professional80noos0819-Aug-09 11:28 
QuestionASP.NET not executing Oracle query Pin
Hammad Mansoor18-Aug-09 20:45
Hammad Mansoor18-Aug-09 20:45 
AnswerRe: ASP.NET not executing Oracle query Pin
Kalyan_A19-Aug-09 3:08
professionalKalyan_A19-Aug-09 3:08 
QuestionObfuscator Pin
Suren_112618-Aug-09 18:39
Suren_112618-Aug-09 18:39 
AnswerRe: Obfuscator Pin
Moreno Airoldi18-Aug-09 22:51
Moreno Airoldi18-Aug-09 22:51 
GeneralRe: Obfuscator Pin
Hristo-Bojilov19-Aug-09 1:41
Hristo-Bojilov19-Aug-09 1:41 
GeneralRe: Obfuscator Pin
Moreno Airoldi20-Aug-09 0:06
Moreno Airoldi20-Aug-09 0:06 
QuestionASP.Net Activex problem Pin
smamidi18-Aug-09 11:53
smamidi18-Aug-09 11:53 
QuestionMessage Removed Pin
18-Aug-09 6:20
professionalN_tro_P18-Aug-09 6:20 
AnswerRe: Program Icon when using a Setup Project Pin
Moreno Airoldi18-Aug-09 7:52
Moreno Airoldi18-Aug-09 7:52 
GeneralMessage Removed Pin
18-Aug-09 10:12
professionalN_tro_P18-Aug-09 10:12 
GeneralRe: Program Icon when using a Setup Project Pin
Moreno Airoldi18-Aug-09 14:26
Moreno Airoldi18-Aug-09 14:26 
GeneralMessage Removed Pin
20-Aug-09 10:14
professionalN_tro_P20-Aug-09 10:14 
GeneralRe: Program Icon when using a Setup Project Pin
Moreno Airoldi20-Aug-09 22:48
Moreno Airoldi20-Aug-09 22:48 

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.