Click here to Skip to main content
15,885,435 members
Home / Discussions / C#
   

C#

 
Questioncan't found provider sqlserver Pin
MemberDotNetting2-May-12 1:39
MemberDotNetting2-May-12 1:39 
AnswerRe: can't found provider sqlserver Pin
Wes Aday2-May-12 1:45
professionalWes Aday2-May-12 1:45 
GeneralRe: can't found provider sqlserver Pin
MemberDotNetting2-May-12 2:06
MemberDotNetting2-May-12 2:06 
AnswerRe: can't found provider sqlserver Pin
egenis2-May-12 2:03
egenis2-May-12 2:03 
Questionc# windows form & google api v3 Pin
mrx1002-May-12 0:39
mrx1002-May-12 0:39 
AnswerRe: c# windows form & google api v3 Pin
Richard MacCutchan2-May-12 2:42
mveRichard MacCutchan2-May-12 2:42 
GeneralRe: c# windows form & google api v3 Pin
mrx1002-May-12 4:38
mrx1002-May-12 4:38 
GeneralRe: c# windows form & google api v3 Pin
mrx1002-May-12 4:49
mrx1002-May-12 4: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 9:21
loyal ginger2-May-12 9:21 
GeneralRe: c# windows form & google api v3 Pin
mrx1003-May-12 7:39
mrx1003-May-12 7:39 
GeneralRe: c# windows form & google api v3 Pin
loyal ginger3-May-12 15:51
loyal ginger3-May-12 15:51 
GeneralRe: c# windows form & google api v3 Pin
mrx1004-May-12 1:32
mrx1004-May-12 1:32 
GeneralRe: c# windows form & google api v3 Pin
loyal ginger4-May-12 2:32
loyal ginger4-May-12 2:32 
GeneralRe: c# windows form & google api v3 Pin
mrx1007-May-12 1:50
mrx1007-May-12 1:50 
QuestionNeed help in writing code on establish a PPTP (VPN Tunnel) connection in c#. Pin
kalyan_vb2-May-12 0:14
kalyan_vb2-May-12 0:14 
AnswerRe: Need help in writing code on establish a PPTP (VPN Tunnel) connection in c#. Pin
Richard MacCutchan2-May-12 2:41
mveRichard MacCutchan2-May-12 2:41 
QuestionRequesting for a snippet that can be used in LINQ to SQL query Pin
Nadia Monalisa1-May-12 20:48
Nadia Monalisa1-May-12 20:48 
AnswerRe: Requesting for a snippet that can be used in LINQ to SQL query Pin
Keith Barrow2-May-12 2:23
professionalKeith Barrow2-May-12 2:23 
GeneralRe: Requesting for a snippet that can be used in LINQ to SQL query Pin
Nadia Monalisa2-May-12 4:32
Nadia Monalisa2-May-12 4:32 
QuestionSIFT Pin
ri19871-May-12 20:05
ri19871-May-12 20:05 
AnswerRe: SIFT Pin
AmbiguousName1-May-12 20:09
AmbiguousName1-May-12 20:09 
AnswerRe: SIFT Pin
egenis1-May-12 20:09
egenis1-May-12 20:09 
AnswerRe: SIFT Pin
Abhinav S1-May-12 20:27
Abhinav S1-May-12 20:27 
GeneralRe: SIFT Pin
ri19871-May-12 21:48
ri19871-May-12 21:48 
GeneralRe: SIFT Pin
ri19872-May-12 21:13
ri19872-May-12 21: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.