Create New Account
help
i have used onkeydown so i am using onkeyup now. if a is pressed some coordinates are moved i have made. is the below method right to detect any key press Invalidate(); break ; case 'k' :KillTimer(100); MessageBox( "jmh" ); break ; } } Creating a New Project Microsoft Visual C++ allows you to create various types of projects ranging from console applications to complex libraries select the type of project you want. Practical Learning Practical Learning: Creating a Microsoft Visual C++ Project • Start Microsoft Visual Studio • On the main menu, click File -> New Project. . . • In the New Project dialog box, in the left list, click Visual C++. In the right list, click Win32 Console Application • In the Name edit box, type IntroductionToMFC1 • Click OK • In the Win32 Application Wizard, click Finish Creating a File Although the most popular files used in Microsoft Visual C++ are header and source files, this IDE allows you to create various other types of files that are not natively C++ types. To create a file, if a project is currently opened: • On the main menu
Create Screensaver using Windows Application ASP.NET 2.0 with C# Hi, I want to make an application which will take the images and then make a screensaver of those images. After creating made a screensaver but the screensaver is created using the ".exe generated by the windows application and then i'm converting it to the ".scr". and that is not the solution code or say function so that i can make ".scr" or ".exe" beofore the whole application will be builded. In Short i want to make a function which will genrate an service. Right now, I'm able to make the .EXE but it is generated when application is builded, So that i'm thinking of making function which will have the code t create screen savers with ASP.NET A Windows screen saver is simply a Windows application that displays either an options dialog box, a preview screen, or a full-screen window have a .scr extension and are typically stored in the Windows system directory. Argument Action / c Configuration mode / p Preview mode / s Full-screen mode Your program can determine which mode
show directions in google map by vb.net Hi. i am working on a windows application in vb.net i hav a web browser in my application for showing up the directions in google map. i want to show the directions between for you! http: / / blog.saraf.me / 2010 / 09 / google-map-api-get-direction-steps-with-c / Hi Please refer this link www.youtube.com / watch?v = jocAywQhhzQ While Microsoft have released your address fields and calls the Google Maps wrapper. Protected Sub lnkShowMap_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles lnkShowMap.Click Dim strFullAddress As String Dim sMapKey As latitude GeoCode = GMap1.geoCodeRequest(strFullAddress, sMapKey) Dim gLatLng As New Subgurim.Controles.GLatLng(GeoCode.Placemark.coordinates.lat, GeoCode.Placemark.coordinates.lng) ' Display the map GMap1.setCenter(gLatLng, 16, Subgurim.Controles.GMapType.GTypes.Normal) Dim oMarker google map. Google has provided a very reach APIs to use it in our own application. But we need some short of javascript knowledge in order to use it. I don you will be able to navigate few samples pages. • To use this control in your application, copy following files to your ASP.Net application in same structure as shown below. Copy
to use google map in c# http: / / ranahareesh.practo.com can u tell how to get the following functionalities in goole know Just follow steps. Step 1: Create a new website > select the programming language as c#> Name the project as GoogleMap Step 2: Now lets go to this site and download indicate your location. Zoom can be set until 9. Step 7: Now Lets run this application. . Output will be displayed like this Hope this will help! but bro i ma talking value = " YourGoogleMapsAPIKeyHere " / > < / appSettings > 8. Add the following code to your Page.Load protected void Page_Load( object sender, EventArgs e) { string sStreetAddress = null ; string sMapKey = ConfigurationManager .AppSettings( "googlemaps.subgurim.net" ); Subgurim.Controles GeoCode = GMap1.geoCodeRequest(sStreetAddress, sMapKey); Subgurim.Controles.GLatLng gLatLng = new Subgurim.Controles.GLatLng(GeoCode.Placemark.coordinates.lat, GeoCode.Placemark.coordinates.lng); GMap1.setCenter(gLatLng, 16, Subgurim.Controles.GMapType.GTypes.Normal); Subgurim.Controles.GMarker oMarker = new your address fields and calls the Google Maps wrapper. Protected Sub lnkShowMap_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lnkShowMap.Click Dim strFullAddress As String Dim sMapKey As latitude GeoCode = GMap1.geoCodeRequest(strFullAddress, sMapKey) Dim gLatLng As New Subgurim.Controles.GLatLng(GeoCode.Placemark.coordinates.lat, GeoCode.Placemark.coordinates.lng) ' Display the map GMap1.setCenter(gLatLng, 16, Subgurim.Controles.GMapType
in ASP.NET 2.0 One of the most common functionality in any ASP.NET application is to print forms and controls. There are a lot of options to print forms the original author. I will be happy to add a reference in case someone knows. C# using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security print button to the Default.aspx and in the code behind, type the following code: C# protected void btnPrint_Click( object sender, EventArgs e) { Session[ "ctrl" ] = Panel1; ClientScript.RegisterStartupScript( this .GetType(), "onclick" , "<script language = javascript> window height = 300px, width = 300px, scrollbars = 1');< / script> " ); } VB.NET Protected Sub btnPrint_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles btnPrint.Click Session( "ctrl" ) = Panel1 ClientScript.RegisterStartupScript( Me .GetType Panel1); Step 5: In the Page_Load event of Print.aspx.cs, add the following code: C# protected void Page_Load( object sender, EventArgs e) { Control ctrl = ( Control )Session[ "ctrl" ]; PrintHelper .PrintWebControl(ctrl); } VB.NET Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Dim ctrl As Control = CType (Session( "ctrl