Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
AnswerRe: runtime C# dll Pin
N a v a n e e t h13-Aug-08 20:11
N a v a n e e t h13-Aug-08 20:11 
GeneralRe: runtime C# dll Pin
Harvey Saayman13-Aug-08 20:21
Harvey Saayman13-Aug-08 20:21 
QuestionConvert xml file into MS Word2007 using a xsl file Pin
CodingLover13-Aug-08 19:59
CodingLover13-Aug-08 19:59 
AnswerRe: Convert xml file into MS Word2007 using a xsl file Pin
blackjack215013-Aug-08 20:27
blackjack215013-Aug-08 20:27 
NewsRe: Convert xml file into MS Word2007 using a xsl file Pin
CodingLover13-Aug-08 20:52
CodingLover13-Aug-08 20:52 
GeneralRe: Convert xml file into MS Word2007 using a xsl file Pin
blackjack215013-Aug-08 21:05
blackjack215013-Aug-08 21:05 
NewsRe: Convert xml file into MS Word2007 using a xsl file Pin
CodingLover13-Aug-08 21:09
CodingLover13-Aug-08 21:09 
QuestionLocation of HTMLControl on webpage when displayed on Webbrowser control Pin
rajesh992213-Aug-08 19:02
rajesh992213-Aug-08 19:02 
Hello,

I want to find the location of HTMLControls (button, radiobutton, etc)On web page. I have used webbrowser control in my application. when the web page is displayed on the controls, i just need the exact location of particular htmlControl. how can i find it.

Thanks in advance.


The source code of my application program is :
if (webBrowser1.Document != null)
{

    HtmlElementCollection elemColl = null;
    HtmlDocument doc = webBrowser1.Document;

    elemColl = doc.All;


    foreach (HtmlElement e1 in elemColl)
    {
        if (e1.GetAttribute("Name") != "")
        {

            string location = e1.OffsetRectangle.Location.ToString();

         }

    }



but above code gives me the relative position. i want exact location of htmlControls on web page.
QuestionReading data from XML and writing into DataGridView Pin
Piyush Vaishnav13-Aug-08 17:59
Piyush Vaishnav13-Aug-08 17:59 
AnswerRe: Reading data from XML and writing into DataGridView Pin
dan!sh 13-Aug-08 18:44
professional dan!sh 13-Aug-08 18:44 
Questionforeach loop not working properly Pin
CodingLover13-Aug-08 17:23
CodingLover13-Aug-08 17:23 
AnswerRe: foreach loop not working properly Pin
Christian Graus13-Aug-08 18:02
protectorChristian Graus13-Aug-08 18:02 
QuestionRe: foreach loop not working properly Pin
CodingLover13-Aug-08 18:12
CodingLover13-Aug-08 18:12 
AnswerRe: foreach loop not working properly Pin
Christian Graus13-Aug-08 18:49
protectorChristian Graus13-Aug-08 18:49 
GeneralRe: foreach loop not working properly Pin
CodingLover13-Aug-08 19:09
CodingLover13-Aug-08 19:09 
AnswerRe: foreach loop not working properly Pin
Andriy Protskiv13-Aug-08 19:00
Andriy Protskiv13-Aug-08 19:00 
GeneralRe: foreach loop not working properly Pin
Mark Salsbery14-Aug-08 5:38
Mark Salsbery14-Aug-08 5:38 
GeneralRe: foreach loop not working properly Pin
Andriy Protskiv14-Aug-08 6:02
Andriy Protskiv14-Aug-08 6:02 
AnswerRe: foreach loop not working properly Pin
N a v a n e e t h13-Aug-08 19:42
N a v a n e e t h13-Aug-08 19:42 
GeneralRe: foreach loop not working properly Pin
Christian Graus13-Aug-08 20:51
protectorChristian Graus13-Aug-08 20:51 
GeneralRe: foreach loop not working properly Pin
N a v a n e e t h13-Aug-08 21:05
N a v a n e e t h13-Aug-08 21:05 
JokeRe: foreach loop not working properly Pin
PIEBALDconsult14-Aug-08 5:52
mvePIEBALDconsult14-Aug-08 5:52 
GeneralVB globals Pin
Mycroft Holmes13-Aug-08 16:08
professionalMycroft Holmes13-Aug-08 16:08 
GeneralRe: VB globals Pin
PIEBALDconsult13-Aug-08 16:39
mvePIEBALDconsult13-Aug-08 16:39 
QuestionHelp with Trimming String Array Please! Pin
Arcdigital13-Aug-08 15:54
Arcdigital13-Aug-08 15:54 

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.