Click here to Skip to main content
15,914,071 members
Everything / Location

Location

Location

Great Reads

by DotNetLead.com
Deploy existing ASP.NET Core UI, API, and SQL Server to Docker containers
by ShubhamSaxena
Track your location, mark it on a map using pushpin
by Nick Veld
Jupyter + HDFS + YARN + Spark and only one open port using NGINX
by Melih Mucuk
Checking location services are enabled or disabled on android phone.

Latest Articles

by DotNetLead.com
Deploy existing ASP.NET Core UI, API, and SQL Server to Docker containers
by DotNetLead.com
How to build and deploy Angular application using GitHub and Azure
by Nick Veld
Jupyter + HDFS + YARN + Spark and only one open port using NGINX
by Nirav Prabtani
How to calculate distance between two geolocations or find out distance within a specific radius by SQL Server

All Articles

Sort by Score

Location 

1 Dec 2022 by DotNetLead.com
Deploy existing ASP.NET Core UI, API, and SQL Server to Docker containers
12 Aug 2014 by ShubhamSaxena
Track your location, mark it on a map using pushpin
29 Aug 2012 by Maciej Los
First of all, read about MS Excel's objects[^], because Sheet object and Worksheet object is not the same.The best programming practice is to use code with context. To explain what i mean, do it:1) Open or create few MS Excel Workbooks,2) Activate first workbook and run this code:For i...
27 Dec 2012 by Sergey Alexandrovich Kryukov
Finally you asked some more or less answerable question:Deenuji wrote:So what is IT future?Yoda wrote:Clouded, this boy's future is.But now:First, computing is not IT. The "IT" is a business jargon word for some activity for not educated "trained personnel" totally unfamiliar with...
2 Feb 2014 by OriginalGriff
'There isn#t a "keyboard position" on a form: there are many potential positions, depending on which control has the input focus.You can find which control in a container has the focus, using the ContainerControl.ActiveControl property[^] and then get the keboard input point for that...
26 Mar 2015 by Sergey Alexandrovich Kryukov
In addition to Solution 1, which will hardly be enough:You can do the following:Get HWND of the desktop window: https://msdn.microsoft.com/en-us/library/windows/desktop/ms633504%28v=vs.85%29.aspx.Iterate through all desktop children:...
22 Apr 2021 by Nick Veld
Jupyter + HDFS + YARN + Spark and only one open port using NGINX
4 Jan 2022 by Richard MacCutchan
How to: Read Application Settings - Visual Basic | Microsoft Docs[^]
11 Feb 2024 by Ralf Meier
When seeing your Solution I want to suggest you some little modifications : Private Sub Button7_Click(sender As System.Object, e As System.EventArgs) Handles Button7.Click Cursor.Position = GetCenterOfControl(Button6) End Sub ...
1 Apr 2013 by Melih Mucuk
Checking location services are enabled or disabled on android phone.
15 Jun 2013 by avi shaby
This tip describes the code for the Base26GPS standard.
29 Jun 2013 by avi shaby
This is the JavaScript implementation of Base26GPS Standard
11 Oct 2013 by ASP.NET Community
Here’s is an article saying, how to use the Authorization Tag in Web.Config  As per the MSDN Articles, the Location>Authorization Mechanism works
22 May 2014 by OriginalGriff
Ask the person who wrote it.If you look at the article, there is a forum at the bottom for that - and each message there gets sent to the author, so he knows you want to speak to him.Posting here relies on him "dropping by" and realising it is for him.
11 Aug 2020 by Tridib Chatterjee
I'm trying to upload multiple files from my NodeJs application to a MongoDB database using Multer. But the problem is when I'm saving the location of the file in my database only one file location is saved while others are ignored. This is...
6 Jan 2022 by Maciej Los
Take a look here: Save and restore your form size and location[^]
2 Mar 2023 by Richard MacCutchan
See Overview �|� Geolocation API �|� Google Developers[^] and Google Maps Platform �|� Google Developers[^].
27 Nov 2012 by toranj_1455
hihow can I change the folder (Directory) of NeatUpload from root to another folder (Directory)?when i move the folder (Directory) this error happend:Directory 'E:\Projects\ToranjCMSV3\web\NeatUpload' does not exist. Failed to start monitoring file changes.
16 Dec 2012 by WebMaster
WATCH HEREWATCH LIVE MATCH HEREWATCH LIVE MATCH HEREWATCH LIVE MATCH HERE
18 Dec 2012 by Dilber80
On my web site, I am using Global Resource option of ‘Globalization’. I have also created my custom library for resourceProviderFactoryType.I have following entry in my main site web.config file:-
3 Mar 2013 by dheerubhadoria
My emulator not show the Real google map it is showing some gray blocks how it can be convert in to real google map ?
14 Mar 2013 by Sudhakar Shinde
How are you trying to view google map using emulator? Please share your code in case you are trying to code it.Please check this link to find out how to use google maps in android.
17 Mar 2013 by GaryDoo
Hi folks,I'm newish to android, very inexperienced. I'm trying to develop an application that transmits the coordinates of one phone (client a) to (client b) via a java server, I then want to check the distance between clients. I have managed to get the coordinates of client a, send them via...
17 Mar 2013 by Prasad Khandekar
Hello, First of all I will suggest to use a separator or a JSON structure to transmit this information. This way on client you do not have any problems separating the latitude & Longitude values. Now converting a string to numeric form can easily be achieved using double lat =...
5 Apr 2013 by hany1002
How can i retrieve map for location after savelatitude , longitude in the databaseThis code using to save location
7 Jun 2013 by manawadu
I am developing an app that displays some important points in a map between two locations specific single route. like as following example.if any one know about these related works please let me know.example point A-> x point B-> Yin given X & Y single route show Hotels / filling...
28 Aug 2013 by techy_00
Hi guys,I am having a problem with providing coordinates to my app in C#. string access_token = tokens["access_token"]; var client = new FacebookClient(access_token); client.Post ("/me/checkins", new...
11 Sep 2013 by Leena 206
Refer this :facebook-checkin-question[^]checkin-using-graph-api[^]Regards :)
24 Sep 2013 by dineshdena
Hi All, Im trying to get current location Lat,long and postcode from my desktop im getting default city Lat,long and postcode but i want the current located Lat,long and postcode i tried this code... if (navigator.geolocation) { ...
11 Oct 2013 by ASP.NET Community
The AccessDataSource class is a data source control that works with Microsoft Access databases. Like its base class, SqlDataSource, the
11 Oct 2013 by ASP.NET Community
Use the HyperLink control to create a link that moves you to another page or location on the page. Specify the page or location to link to by using
11 Oct 2013 by ASP.NET Community
The SiteMapPath (also known as breadcrumb) control is a navigation control that allows the user to know the current page location with respect to the
8 Jan 2014 by Monster Maker
I am making an application using foursquare api.I have written code for finding venues near location taken by the user.Now i want to suggest him the location as he types into the text box.(eg. as he types "N", it should suggest locations near him starting with letter "N")Any...
3 Feb 2014 by agent_kruger
i want to find the keyboard cursor's location (x,y) on form in c# win. form. How to achieve this?[see the link to see the difference between mouse cursor and keyboard cursor]https://www.dropbox.com/s/bcocp5stn0pzvwe/Untitled.png[^]Thanks in advance
11 Jul 2014 by Coder93
I want to implement java desktop application, which show a user location.how can I load a map in java window. (suppose that I have the latitude and longitude)I find...
11 Jul 2014 by TorstenH.
Where might one get a map?I'd try it @ Google Maps[^]
16 Sep 2014 by Sabari Karthik
Hi friends, I need to track the location of the android mobile from my application.In that the location tracking is working fine with GPS,WiFi and Mobile data.If the user is in offline without any WiFi/Mobile data means I need to get the current location of the user.By this way...
23 Sep 2014 by RaviJJain
Hi,You have solution, in case your wifi and GPS are in offline mode, still you can get the GPS coordinates from the mobile SIM card, it will provide you the coordinates from the nearest mobile tower.Happy CodingRegards
9 Dec 2014 by FoxRoot
Hello everyone,I am trying to develop a map application that should receive a string array and locate the items into the map. For example array keeps; "NewYork" , "Montana", "NewYork", "Texas", "NewYork".When the user runs the program (c# Form load event runs), 3 icon should be...
26 Dec 2014 by Dave Kreskowiak
Your properties that you want to set from the designer code need the DesignerSerializationVisibility attribute added to them.For example: [Category("MyProject.Forms"), DefaultValue(0),Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] ...
17 Mar 2015 by Dave Kreskowiak
You're looking for something along the lines of this[^].You can also add an entry to your apps app.config file to specify additional probing paths, here[^].
22 Mar 2015 by Sergey Alexandrovich Kryukov
There is no a way to simply detect the language. The problem is: for example, Perso-Arabic script (http://en.wikipedia.org/wiki/Persian_alphabet[^]) is used by Persian, Arabic, and other languages. So, looking at the set of the Unicode code points does not help. To tell one language from...
4 Oct 2015 by Member 12031462
I want to refresh location in google maps in javascript automatically if variables latitude and longitude present in the database changes.My code : It is working fine. But it shows a static map. I want to show current location in database and not a static location. I added a refresh button....
29 May 2016 by PeMaCN
Hi everybody. I'm trying to get current location in my android application. It should be displayed in a textview but it doesn't. Can anybody say to me what I'm doing wrong?What I have tried:This is my code:private TextView locationText;private Location currentLocation;private...
12 Sep 2016 by Darren_vms
Perhaps you need to use the Google Places API Places API[^]Here is a working exampleShowing nearby places using Google Places API and Google Map Android API V2 | Knowledge by Experience[^]EDIT:As if by magic an article appears Google Maps Search Nearby : Displaying Nearby Places...
13 Sep 2016 by Patrice T
Quote:I tried to get user street name and matching with my variables but it does not work Using street name just feel like complicating things.I would just use GPS user coordinates and calc distances with food shops and return only closest shops.Distance calculation between 2 GPS...
15 Oct 2016 by BurkusCat
Hi there,I am using the Google Location Services API on Android to periodically save a latitude/longitude they were at. I am trying to create a polygon around these points to create a route of where they have been. I want the route to take into the location accuracy for each of the points, so...
16 Dec 2016 by Jochen Arndt
You need a database containing the ZIP codes and the corresponding locations.Then you can create a circle around a given position using the distance as radius and query the database for locations inside that circle.But it would be much simpler to use a square. Then you just have to check...
16 Dec 2016 by Patrice T
On earth, the formula to calculate the distance between 2 places is called great circle distance.Great-circle distance - Wikipedia[^]
24 Feb 2017 by CuriousC#
Hello,I'm writing a remote client/server application in C# Windows.Forms,I have a client that shows the "stream" in pictures of the running server in a picturebox located on the client form.When i click on the image viewed in the picturebox on client side, i want it to click on that...
24 Feb 2017 by CuriousC#
Well i got a solution: the code i used for the mouse click did not work correctly, i wrote something easy to simulate the mouseclick and now it works perfect.Thanks for the effort Philippe Mori.
18 Jul 2017 by Member 13317291
I have a multi paged HTA that when the users go between HTA's it displays at different locations on the screen. What I would like is for the user to have the next page open at the same x, y coordinates as the previous. What I do not want is for me to specify where the pages open every time. For...
1 Mar 2019 by MadMyche
You reverse the process 1. Get the data from the server. 2. Display the map. Probably the easiest way to display the map is to use an embedded browser and use Google Maps or the like
11 Aug 2020 by Tridib Chatterjee
// We loop throw the req.files array and store their locations in the temporal files array for (let i = 0; i
8 May 2021 by DotNetLead.com
How to build and deploy Angular application using GitHub and Azure
5 Jul 2021 by OriginalGriff
This is one of the most common problems we get asked, and it's also the one we are least equipped to answer, but you are most equipped to answer yourself. Let me just explain what the error means: You have tried to use a variable, property, or a...
8 Feb 2024 by OriginalGriff
The Location of a control is always relative to its container: if you have a GroupBox on a Form, and the GroupBox contains a Button, then myGroupBox.Location is relative to the top left corner of myForm.ClientRectangle, and myButton.Location is...
9 Feb 2024 by Member 16123720
Thanks to OriginalGriff and Ralf Meier... Their guidance led me to the solution pasted below. But first, I need to clarify my originally posted scenario. It seems that the code line below WILL work if there is no other form opened during the...
8 Feb 2024 by Member 16123720
Using VB 2008 Express. I have a Main form that has a number of Group Boxes. As desired, I can successfully position a Wait Cursor on a control on the Main Form that is NOT within a group box using the following code lines: (assume Button1 is NOT...
8 May 2017 by Nirav Prabtani
How to calculate distance between two geolocations or find out distance within a specific radius by SQL Server
25 Oct 2013 by Melih Mucuk
Check whether location service enabled for your app.
29 Aug 2012 by tv1owner
I wrote the module "Table2Excel2()" to replace "Table2Excel1()" to improve the running speed.However, the data loaded to Excel sheet by module "Table2Excel2()" is same to that of "Table2Excel1()" but is started 1 more row & column (cell P4 but expect O3). I use the code Debug.Print to...
7 Jun 2013 by Ron Beyer
You can use the Google Maps API...Licensing Terms[^]Directions API[^]Then based on the return value from the waypoints and route, you can search within a specified radius for the points of interest that you want to also display, get the lat/lon and put a pin on the map or whatever...
22 Jul 2013 by avi shaby
This tip describes the Java implementation of Base26GPS.
23 Dec 2012 by Deenuji
Actually i have one local area map i want to mark my location in one particular area in that local map.....How can i mark my location,and some information????I want to mark my friends locations too....Pls give article or coding related this concept.For Example i have America map...
3 Feb 2014 by BillWoodruff
Note: code examples here have been tested, and verified, in Visual Studio 2013, compiled against .NET FrameWork 4.5, using the 'AnyCPU build option on a Win 8/64 machine.After some research, I've found there is a known problem with using 'GetPositionFromCharIndex to determine the caret...
1 Mar 2015 by Maciej Los
As Richard MacCutchan mentioned, you have to get window's handle.Have a look here: http://www.pinvoke.net/default.aspx/user32.getwindowtext[^]. Link to MSDN documentation: GetWindowText function[^]
8 Nov 2015 by KashifAbbasi786
I want to get latitude/longitude throuht WPF/C# app without internet connectivity. My machine have builtin GPS.I have tried following dlls. 1-Windows.Device.GeoLocation.dll2-Windows.Device.Location.dllBut I am unable to get location info using GPSKindly give me guidance/solution...
16 Dec 2016 by kkakadiya
Hello,How can I get nearest Zipodes on the basis of inputted zip code & miles/distance?Ex. 07302 is the zip code for jersey city. So if I enter 07302 and distance is 10, then it should return other zip codes within 10 miles.Thanks.What I have tried:I have tried with diff....
29 Mar 2013 by mr.priyank
if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(function (position) { var latitude = position.coords.latitude; var longitude = position.coords.longitude; var coords = new google.maps.LatLng(latitude,...
10 Jul 2014 by Abhinav S
To save in another computer, you need to have access and write permissions to that folder.For e.g. \\OtherComputer\LogFiles provided you have access to the LogFiles folder.
9 May 2018 by RttlerGuy
So I'm creating an application that will use current gps location (lat/long). The user will have to select a specified radius (.5-100 miles) from a Spinner. Then, when clicked, there will be a Button (onClickListener()) that will populate the locations from a SQLite database, in that set radius,...
12 Jul 2014 by GeorgeGkas
O I find it! You just add + Environment.UserName.ToString + Example"C:\Users\" + Environment.UserName.ToString + "\AppData\Roaming\program.exe"
14 Mar 2015 by iProgramIt
How would I change the location of all the runtime assemblies (dlls) in my vb.net project?
2 Mar 2023 by Jack Dann
Need to fix an exact delivery location for the purpose of delivery person for unwanted location distraction. What I have tried: I just asking to our community to quick resolve this...
29 Mar 2013 by hany1002
i find this code it get me location but i don't know how to save client location in sql database to retrieval it Later if (navigator.geolocation) { ...
22 May 2014 by Member 10194019
Hi! I'm trying to follow this code from this given linkScreensaver C# , but i was wondering.. I have a folder that has lots of pictures and I want the code to locate the file.. how do i do that?
10 Jul 2014 by GeorgeGkas
Hello guys,I have a problem ,I have a code that saves a text file in my computer with the destination :C:\Users\Georgegas\Desktop\Log.txtThe problem isn't about the code as it is for the location of the file. I want to use it in other computers not only on my PC , which its name is...
10 Jul 2014 by nilesh sawardekar
'DeclarationPublic Shared Function GetFolderPath ( _ folder As Environment.SpecialFolder _) As Stringand use it like followingImports SystemClass Sample Public Shared Sub Main() Console.WriteLine() Console.WriteLine("GetFolderPath: {0}",...
26 Dec 2014 by Alexey Gapon
Hello I am developing a custom control for my GUI but now i have strange thing happening. After rebiulding the project, control`s Location property turns to (0,0).Designer changing it`s value in design mode but it sets to (0,0) everytime i rebuild the project. My Control is child of Panel...
6 Jan 2015 by rugababaji
vashikaran & black magic expert baba ji +91-9660624680
1 Mar 2015 by Member 11380736
c# visual studioIs it possible to capture a window title through an e.location and how?
17 Mar 2015 by bojammis
Open the application MyProject tab. Go to References. Remove the reference to the DLL you do not want. Add the reference to the DLL you do want by clicking the "Add" button lower right of first pane. A dialog box will appear, click the browse button, navigate to the folder where the desired DLL...
21 Mar 2015 by kosay85
Hi ,I start to make parent control to save what children do in local database . it save websites , take screenshot , chat , when user put some ugly words show message .it detected by AV , but when I send it to AV , they added it as false positive and remove it from data base . the problem...
13 Sep 2016 by Utkarsh Sharma
I had made it an app which is for food basically what I want to do is know I want to show food stores as per user location for example if (userlocation == "RAJAPARK") { thencallThisfunction(); } else (userlocation == "XYZ") {Toast.makeText(getActivity(),...
1 Mar 2019 by User 10734264
I have the android app which collects the gps location data and send to server. I have the application developed on Windows form C#. I need is i have to show the map with the gps location travelled by user on my desktop application. What I have tried: No idea how to do. Please help me ........
5 Jul 2021 by Heman Kadariya
I am trying to create an social application which allow users to post something fetching their location and show that post only to the nearest users. However, i am getting NPE error while fetching the longitude and latitude of user. I couldnot...
6 Jan 2022 by Member 12617947
hi' I have a string that you can see below: And I want to read the position of my form from this string. For example, with this basic visual code: Me.location = new point (400,300) How can I...