Click here to Skip to main content
15,887,405 members
Home / Discussions / C#
   

C#

 
QuestionWhat's the relation of delegate and threading Pin
mohammadkaab9-Dec-12 8:09
mohammadkaab9-Dec-12 8:09 
AnswerRe: What's the relation of delegate and threading Pin
Shameel10-Dec-12 21:19
professionalShameel10-Dec-12 21:19 
QuestionHow to pass variables from main window to Html file Pin
amiraf1239-Dec-12 3:43
amiraf1239-Dec-12 3:43 
AnswerRe: How to pass variables from main window to Html file Pin
Eddy Vluggen9-Dec-12 23:09
professionalEddy Vluggen9-Dec-12 23:09 
GeneralRe: How to pass variables from main window to Html file Pin
amiraf12310-Dec-12 0:51
amiraf12310-Dec-12 0:51 
GeneralRe: How to pass variables from main window to Html file Pin
Eddy Vluggen10-Dec-12 1:48
professionalEddy Vluggen10-Dec-12 1:48 
GeneralRe: How to pass variables from main window to Html file Pin
amiraf12310-Dec-12 2:36
amiraf12310-Dec-12 2:36 
GeneralRe: How to pass variables from main window to Html file Pin
Eddy Vluggen10-Dec-12 3:00
professionalEddy Vluggen10-Dec-12 3:00 
amiraf123 wrote:
so the problem is with the WebBroser contorl.

any suggestions ?

I'd suggest that it's not the webbrowser-control. See working example below;
C#
[STAThread()]
static void Main()
{
    using (var f = new Form())
    using (var wb = new WebBrowser())
    {
        wb.Dock = DockStyle.Fill;
        f.Controls.Add(wb);
        wb.Navigate("http://www.google.com?q=test");
        f.ShowDialog();
    }
}

That passes arguments, simply using the "navigate" methods. Is there a COM-control on your HTML-page? Does the user have permission to execute untrusted JavaScript? Any exceptions thrown? Who/which API is used to draw the map? Does it work from a webserver (like 127.0.0.1), as opposed trying to navigate to a local file?
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

GeneralRe: How to pass variables from main window to Html file Pin
amiraf12310-Dec-12 3:36
amiraf12310-Dec-12 3:36 
GeneralRe: How to pass variables from main window to Html file Pin
Eddy Vluggen11-Dec-12 2:19
professionalEddy Vluggen11-Dec-12 2:19 
GeneralRe: How to pass variables from main window to Html file Pin
amiraf12311-Dec-12 3:56
amiraf12311-Dec-12 3:56 
QuestionWCF REST Service : Using Bing Map Pin
Vijay Kanda8-Dec-12 20:56
Vijay Kanda8-Dec-12 20:56 
AnswerRe: WCF REST Service : Using Bing Map Pin
OriginalGriff8-Dec-12 22:36
mveOriginalGriff8-Dec-12 22:36 
AnswerRe: WCF REST Service : Using Bing Map Pin
Richard MacCutchan8-Dec-12 22:40
mveRichard MacCutchan8-Dec-12 22:40 
GeneralRe: WCF REST Service : Using Bing Map Pin
Vijay Kanda9-Dec-12 10:33
Vijay Kanda9-Dec-12 10:33 
GeneralRe: WCF REST Service : Using Bing Map Pin
Richard MacCutchan9-Dec-12 21:30
mveRichard MacCutchan9-Dec-12 21:30 
QuestionUsing Bing map or google geocoder Pin
Vijay Kanda8-Dec-12 14:08
Vijay Kanda8-Dec-12 14:08 
AnswerRe: Using Bing map or google geocoder Pin
Simon_Whale8-Dec-12 23:43
Simon_Whale8-Dec-12 23:43 
GeneralRe: Using Bing map or google geocoder Pin
Vijay Kanda9-Dec-12 10:30
Vijay Kanda9-Dec-12 10:30 
AnswerRe: Using Bing map or google geocoder Pin
Simon_Whale9-Dec-12 12:07
Simon_Whale9-Dec-12 12:07 
QuestionSomewhat embarrassed: how do I get the dotnet framework? Pin
Septimus Hedgehog8-Dec-12 0:11
Septimus Hedgehog8-Dec-12 0:11 
AnswerRe: Somewhat embarrassed: how do I get the dotnet framework? Pin
OriginalGriff8-Dec-12 1:54
mveOriginalGriff8-Dec-12 1:54 
GeneralRe: Somewhat embarrassed: how do I get the dotnet framework? Pin
Septimus Hedgehog8-Dec-12 9:31
Septimus Hedgehog8-Dec-12 9:31 
AnswerRe: Somewhat embarrassed: how do I get the dotnet framework? Pin
Eddy Vluggen8-Dec-12 2:44
professionalEddy Vluggen8-Dec-12 2:44 
GeneralRe: Somewhat embarrassed: how do I get the dotnet framework? Pin
Septimus Hedgehog8-Dec-12 9:33
Septimus Hedgehog8-Dec-12 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.