Click here to Skip to main content
15,125,002 members
Home / Discussions / C#
   

C#

 
Questioncan't found provider sqlserver Pin
MemberDotNetting2-May-12 2:39
MemberMemberDotNetting2-May-12 2:39 
AnswerRe: can't found provider sqlserver Pin
Wes Aday2-May-12 2:45
professionalWes Aday2-May-12 2:45 
GeneralRe: can't found provider sqlserver Pin
MemberDotNetting2-May-12 3:06
MemberMemberDotNetting2-May-12 3:06 
AnswerRe: can't found provider sqlserver Pin
egenis2-May-12 3:03
Memberegenis2-May-12 3:03 
Questionc# windows form & google api v3 Pin
mrx1002-May-12 1:39
Membermrx1002-May-12 1:39 
AnswerRe: c# windows form & google api v3 Pin
Richard MacCutchan2-May-12 3:42
mveRichard MacCutchan2-May-12 3:42 
GeneralRe: c# windows form & google api v3 Pin
mrx1002-May-12 5:38
Membermrx1002-May-12 5:38 
GeneralRe: c# windows form & google api v3 Pin
mrx1002-May-12 5:49
Membermrx1002-May-12 5:49 
this code i use in html page

<%--!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

--%>
 
html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
#map_canvas { height: 100% }


function initialize() {
var myOptions = {
center: new google.maps.LatLng(30.04866, 31.23688),

zoom: 8,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);
var myLatlng = new google.maps.LatLng(30.050144, 31.240042);

var myOptions = {
zoom: 20,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);

var marker = new google.maps.Marker({
position: myLatlng,
map: map,
title: "Hello World!"
});

}






&

this code i have used in c# form

StringBuilder queryAddress = new StringBuilder();

queryAddress.Append("file:///C:/Users/mrx1000/documents/visual studio 2010/Projects/testgoogleapi3/testgoogleapi/HTMLPage1.htm");

webBrowser1.Navigate(queryAddress.ToString());

this image for my form in running

http://www.mediafire.com/?rqckg28xb4rlahb

as you see i didn't enter anything in latitude text box or longitude text box

i find away but it's very difficult in this example & when i use it gives me errors

// webBrowser1.DocumentText =
//"" +
//"function test(message) { alert(message); }" +
//"" +
//"";


what i should i do now?
AnswerRe: c# windows form & google api v3 Pin
loyal ginger2-May-12 10:21
Memberloyal ginger2-May-12 10:21 
GeneralRe: c# windows form & google api v3 Pin
mrx1003-May-12 8:39
Membermrx1003-May-12 8:39 
GeneralRe: c# windows form & google api v3 Pin
loyal ginger3-May-12 16:51
Memberloyal ginger3-May-12 16:51 
GeneralRe: c# windows form & google api v3 Pin
mrx1004-May-12 2:32
Membermrx1004-May-12 2:32 
GeneralRe: c# windows form & google api v3 Pin
loyal ginger4-May-12 3:32
Memberloyal ginger4-May-12 3:32 
GeneralRe: c# windows form & google api v3 Pin
mrx1007-May-12 2:50
Membermrx1007-May-12 2:50 
QuestionNeed help in writing code on establish a PPTP (VPN Tunnel) connection in c#. Pin
kalyan_vb2-May-12 1:14
Memberkalyan_vb2-May-12 1:14 
AnswerRe: Need help in writing code on establish a PPTP (VPN Tunnel) connection in c#. Pin
Richard MacCutchan2-May-12 3:41
mveRichard MacCutchan2-May-12 3:41 
QuestionRequesting for a snippet that can be used in LINQ to SQL query Pin
Nadia Monalisa1-May-12 21:48
MemberNadia Monalisa1-May-12 21:48 
AnswerRe: Requesting for a snippet that can be used in LINQ to SQL query Pin
Keith Barrow2-May-12 3:23
professionalKeith Barrow2-May-12 3:23 
GeneralRe: Requesting for a snippet that can be used in LINQ to SQL query Pin
Nadia Monalisa2-May-12 5:32
MemberNadia Monalisa2-May-12 5:32 
QuestionSIFT Pin
ri19871-May-12 21:05
Memberri19871-May-12 21:05 
AnswerRe: SIFT Pin
AmbiguousName1-May-12 21:09
MemberAmbiguousName1-May-12 21:09 
AnswerRe: SIFT Pin
egenis1-May-12 21:09
Memberegenis1-May-12 21:09 
AnswerRe: SIFT Pin
Abhinav S1-May-12 21:27
MemberAbhinav S1-May-12 21:27 
GeneralRe: SIFT Pin
ri19871-May-12 22:48
Memberri19871-May-12 22:48 
GeneralRe: SIFT Pin
ri19872-May-12 22:13
Memberri19872-May-12 22:13 

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.