Function To Determine IP Address Or Location?
Apr 15, 2010Is there a function that can determine your IP address or location? I am using ASP.Net (Visual Basic)
View 8 RepliesIs there a function that can determine your IP address or location? I am using ASP.Net (Visual Basic)
View 8 RepliesI've set up IIS7 on my home computer and have written a very basic ASP.NET website to be deployed on this webserver. Everything works great. How do I determine programmatically the physical path (for instance, "C:inetpub_MyWebsite") of the website? I need to write an XML file to the website's root folder dynamically and therefore need to know the folder's physical location.
View 3 RepliesI have a VB.NET VS2010 solution with a WinForms project that calls a web site project in the same solution. I can step into this web method: <WebMethod()> Public Function GetStartUpData() As DataSet and other web methods, but not the following method. I wonder if it has to do with the fact that that is the only web method that uses a parameter of Nullable type. The method works, I just can't step into it .If I try, I get the error: Unable to automatically step into server. unable to determine a stopping location
<WebMethod()>
Public Function RetrieveOrdersByFilter( _
ByVal customerId As Nullable(Of Integer), _
ByVal fromDate As Nullable(Of Date), _
ByVal toDate As Nullable(Of Date), _
ByVal fromStatusCodeId As Nullable(Of Integer), _
ByVal toStatusCodeId As Nullable(Of Integer)) As DataSet
I have site ( ASP.NET, C# ) and I need to automatic show start page based on user location. Can I get name of user city if I have IP address of user ?
View 5 Repliesi am developing an application which makes use of Google maps. Google maps API returns the result with map on new screen but I want to retrieve only the latitude and longitudinal coordinates.:
How to retrieve them
How to dynamically send name and address of the location
I buildt an application which stores the values of the visiters of our website. date of visit, browser type, ip address, etc. I just what to locate their location according to ip address automatically. How can I do that? do I need to use a external database to retrive ip address locations?
View 2 RepliesI want to check one IP address is from particular location or not. Suppose i want to check that IP address is from banglore city or not.
View 1 RepliesI have developed an asp.net application .....Here i need to get Client IP Address , Date Of Visit and Location of the client .....And other useful client information which should be uniquely identifiy users from others ....
View 5 RepliesI want to know about some FREE web service to which i give the ip address as the input and it will return with the Location info(e.g. Country,State,City etc) ,Language info (e.g. en-US,fr-FR etc), and the TimeZoneOffset (with respect to GMT) for the corresponding ip address. I also want this web service to handle DaylightSaving issue properly for any place in the world.
View 6 RepliesI'm making a site that has a map in it and can search places and will locate the place.
View 1 RepliesThe page is not redirecting to another tab...the address is opening in the current tab itself but i want the address of google map to be redirected in another tab.my code is
protected void Button1_Click(object sender, EventArgs e)
{
string address;
try
{
[Code]....
I am trying to write a function that can be called to run a stored procedure. I pass the stored procedure name, followed by as many parameters as I need to run the procedure. I am able to do this by using the params keyword, so my function looks something like this;
[Code]....
How can I determine what the data type of the parameter is? Maybe I need to alter the string[] part, above?
Possible Duplicate:
How to get visitor location ( country, state and city ) using ASP.NET
How get user location using user IP address using asp.net?
URL....This link shows a demo that let user to put origin and destination then get direction. I want to know how to add a option which is let user to use their current location as origin location (Location from).
View 1 RepliesI have a table in my database, in which a certain field holds the locations of text or doc files (the files are of a transcript for a chat session).
In the Gridview right now i able to show the link locations. But i want to have Hyperlink or Button in the links location in the Transcript Location fields.And on the click of which the txt or doc file opens up in notepad or microsoft word.
Following is my code when user enters hospital name and city, he will be navigated to this page to show location on map. Now I want to get user current location and draw the route between current location and destination. Is there any way to integrate to geocoding and geolocation?
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style>
html, body, #map-canvas
[Code] ....
I have managed to expose the MEX endpoint of my WCF service and I can access it with the address like [URL] (example) and get the WDSL. So no problem there.
However, my WCF test page shows the address wrongly by using the server's name instead of the DNS name. And if I click on the link on the test page it won't work (can't get WSDL).
The WCF test page looks like this:
MyService Service
You have created a service.
To test this service, you will need to create a client and use it to call the service.
[URL]
The WCF service is hosted in IIS6. I would like to have a test page with the correct WSDL address so users can see the WSDL quickly in the browser just by clicking on the WSDL address.
In short: How can I change the MyServerName to inter.mycompany.com on the WCF test page? Can this be specified somewhere in the Web.config?
I am trying to pull entries from a database based on the current users IP Address. Here is what I have so far:
[Code]....
I am receiving the following error: Cannot find either column "Request" or the user-defined function or aggregate "Request.UserHostAddress.ToString", or the name is ambiguous.
Is it possible to do this? Should I try to access this information another way?
Is it possible to find out the clients IP and possibly MAC address from non IE browsers (i.e. without using ActiveX)? If so, how?
View 1 RepliesHow do I obtain the IP address or MAC address or some Unique ID of a device within a mobile app, either client or server side?
We are developing a web application targeting iPhone, BlackBerry and Android, generally device independent, and we are looking for ways to uniquely identify a device for added authentication purpose. Is there a way to uniquely identify a mobile device, regardless of the make and model?
I have this import function which can be changed by the client in his desired way.Now I want to code such that if the client tries to import his own data on the page and doesnot give the tags in the order mentioned below his import function should be stopped.
It shouldn't make any changes unless the tags are in the right format because the problem now is if the tags are not in the right format when client changes then its importing over the existing files and directing to an error page which I dont want it should simply stop the import function if they are nt in the order.the code for this function is below
[code]....
i followed this link [URL] and i get selected value from dropdownlist using jquery
i created 3 partial views .
i need depend's on dropdownvalue redirect to partial page , so how can i implement in jquery with conditions?? or how can i implement in this function Public Function FetchData(ByVal dropdownValue As String) As ActionResult??
I would like to write a function to reuse some functionality that I repeat over and over...
For example:
[code]....
What's changing, in every field, is only the lambda function to get the current field to edit (Name, City, Address, etc...).
What is the best method? Or better: is there ANY method to extract a generic function?
how do I grab an email address from a web form and email to that email address with the link to a webform?
View 5 Replies<asp:LinkButton CssClass="button" ID="btnApply" runat="server" OnClick="btnApply_Click()" OnClientClick="Apply1('btnApply')" >
hi ihave this functin in .vb file
Protected Sub btnApply_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnApply.Click
end sub
and javascript function also in aspx
function ApplySummerization(id)
{
alert("hai");
}