Get User's Location Based On IP?

Jun 22, 2010

I want to get the user's approximate location (down to like a 1km radius) by their IP. Is this possible in VB Express 2008?

View 4 Replies


ADVERTISEMENT

Get Location Function Based On GPS

Oct 20, 2010

I am writing a windows mobile application based on GPS technology. everything is ready but I need the function which is used to retrieve GPS location coordinates (latitude and longitude).I declared latitude and longitude, but now I need the function of GPS to put it inside a button I created, get longitude and latitude values and save them.

View 1 Replies

Find Location Of DGV Cell Based On Value?

Jun 7, 2010

I have a DGV that is getting created on loadup, getting the results from a SP. So in this case, I have a DGV that is not bound to anything. It only get bound to a datasource at runtime.I have specific values that I'm looking for. See code

If e.Value.ToString = "HU-3" Then
e.CellStyle.BackColor = Color.Chartreuse
e.CellStyle.ForeColor = Color.White

View 17 Replies

How To Find Location Of DGV Cell Based On Value

Jun 14, 2011

I have a DGV that is getting created on loadup, getting the results from a SP. So in this case, I have a DGV that is not bound to anything. It only get bound to a datasource at runtime.I have specific values that I'm looking for.[code]

View 4 Replies

Picture Into Picturebox Based On Pixel Location?

Sep 30, 2009

i have a chart of images.. and i want to load individual images into picturebox from that chart..chart = big image, eg alphabet chart. (yes i am creating a game for my small nephew.. pictures and alphabet) now, i want to show different pieces of images into picture box. like the A box, b Box etc one option is to cut the chart into pieces, save each piece with different filename and load individual filename into picturebox.but i saw somewhere that we can use pixel location to load images into picturebox..as i recall it required two pixel location, 1 was upper left and other was lower right.. and passing that pixel locations would load the rectangular image between those pixel locations into picturebox?

View 9 Replies

Third Webbrowser Goes Out And Determines Some Action Based Upon Location?

Nov 14, 2011

I'm having some issues with the suppression of the typical javascript and other scripting errors that show in the webbrowser.I have three webbrowsers. The third webbrowser goes out and determines some action based upon location. The one thing I'm having trouble with is this example. It states that it should work but the errors keep on coming.I attached some of the code below. Am I doing something wrong?

[Code]...

View 7 Replies

Forms :: Beginner Text Based Game Location Handling?

Mar 18, 2009

I am just for learning purposes trying to develop a one player text based game.

I have a rich text box (GameWindow)
I have a text box (InputWindow)
I have a button (InputButton)
and a bunch of labels that aren't really important

I have two questions first is easy probably. How do i get InputWindow to respond to me hitting enter when text is in it?

[Code]...

But if i plan to have more that is only going to increase the size and code needed and im sure there is an easier way i just don't know how to do it.

View 1 Replies

ASP.net User Location From IP Address?

Jan 24, 2012

I have seen other discussions raising this topic however I'm far from confident with the results I'm getting. I wonder if someone can add some more insight into this topic.We want to dynamically load the correct contact details based on the visitor's state in Australia.We are using IP 2 Location and went out to test the database. I posted on Facebook a request for everyone in New South Wales to click a link on my post, I stored the result. I understand this is based on trust but the results are fairly unconvincing!

RESULTS: http:[url].....

View 1 Replies

Create A Folder At User Specified Location?

Jun 24, 2009

I have am Explorer form and I want to be able to use a treeviewNode and all of its contents to create a windows folder structure.Each Treeviewnodes would be used to create a folder.

The problem I have is that I am using a SaveFileDialog Form to allow the user to specify where the Folder structure should be created and it only accepts a file as input or end point.

How can I get the SaveFileDialog form to accept a folder, e.g the desktop, without specifying a document in the folder?

View 1 Replies

User Change Link Name And Location?

Oct 15, 2011

I am trying to write a program where a user of my app can change the link location and label name.

At work we have testing scenarios that change at different locations, and instead of me sending updates every week, allow the user to update the link and label name by appending a file or db to pull the information?

View 1 Replies

User.config Location Keeps Moving?

Nov 25, 2009

I've just started using user settings. This works ok however I'm having problems with the location of user.config.

When I run the project in Studio, user.config seems to be stored in a different place than when I build the project.

In fact every time I build it the location seems to change - users therefore lose their settings every time the project is built, which seems pretty useless.

The GUID & Assembly names etc do not change.

View 2 Replies

VS 2008 Getting The User.Config Location?

Sep 1, 2009

the My.Settings data is saved in the AppDataLocal folder for a user based on company.Then, inside the company folder there will be a folder for any applications published by that company, which contain the user.config file for that program.

C:Documents and SettingsRobert BurkeLocal SettingsApplication DataSerysoftSysPad.exe_Url_qr40iotmbi1lvvl4b5lecnfpoqogr5uw

The thing is, the folder for each program has a string of random alphanumeric characters at the end. I noticed that on both my XP and Win7 machine, the string is the same. What I am wanting to do is save the user.config file, but the only way to do this, seemingly, would be to hardcode that folder into the path to get the user.config file from.

how that string is generated, and what may possibly cause it to change in other releases even though, so far, it has stayed the same for several of my releases. I don't want to release a version one day and the string change and then it break my program.

View 10 Replies

Publish My App Where User Can Choose Location To Install It?

Aug 14, 2009

I am using VB Express 2008. Im jus't wondering is there any way I can publish my app where the user can choose the location to install it?

View 1 Replies

Set Default Location Of User.config File?

Mar 26, 2012

I made a project in VB.NET 2008. When I update my project I change the assembly version but the problem is that when the user gets the new version they lose their user settings.[code]Note the version number in the path. Is there any way save in a location not affected by changing the version?

View 1 Replies

User Installs The Application From The ClickOnce Location?

Jul 20, 2011

When a user installs the application from the ClickOnce location there is a noticeable delay after the install runs to when the program loads. Is there a way to put in a progress screen in this instance to instructed the user that there is still more to come?

There is also another instance when an email is being priocessed, there is a delay between the button click and when the email box displays. Need some sort of motion happening during that time.How is this done and what do I look for? Can I make a module that handles this and then just call it during certain activities?

View 13 Replies

VS 2008 : Saving Workbook To User Specified Location?

Apr 3, 2011

Here's my code what do I need to add to Save the workbook as an Excel file to a user specified directory?

Dim ExcelReport As Excel.ApplicationClass
Dim i As Integer
Dim New_Item As Windows.Forms.ListViewItem
Const MAX_COLUMS As Int16 = 254

[code].....

View 2 Replies

Change The User Settings (*.config) File Location?

May 18, 2009

I am just not happy with the fact that the user.config file gtets saved in the user's account folder. Is there a way to save it in the Application's Startup Folder instead? I couldn't find any configuration properties within the PROJECT PROPERTIES which would let me change the file location.

View 2 Replies

Copy An Entire Folder To User Selected Location?

Aug 11, 2011

I am trying to copy an entire folder and all of its contents that is in the same location as my program that is running to a user selected location. I started off by using a SaveFileDialog, but now I am working with a FolderBrowserDialog. Here is some code:

Private Sub BackupButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BackupButton.Click
Dim sourcePath As String

[Code]....

But when I run the program, it works, but it does not copy the entire folder in the application startup location.. how I can copy that folder that is in the same location as my program to a user selected location?

View 14 Replies

Deployment :: Enable User To Define Install Location?

Jul 26, 2009

My freeware program launches 50 freeware programs and provides a guide for PC maintenance and health. As mentioned in another post, my program was reviewed on Sofpedia. One thing the Reviewer criticized was the fact that my program requires the user to install these 50 programs in the default locations (usually C:Program Filesx). The reviewer thinks it would be best if the user can install to any location he/she desires and my program be able to point to the proper location when launching the application.

View 10 Replies

MouseDown And Effect Based On Location Of Mousedown?

Jun 22, 2011

how to view and populate a listview with a text file. Now I come seeking wisdom on how do create an effect based upon the location where a mousedown event occured.

Here is my example. (I like to give simple examples because it helps me learn rather than be given the answer and learn nothing).

I am working in vb.net, in a windows form. I have a map of Western Europe called picturebox1.

I want another form to pop up when a user clicks on a section of picturebox1. For example: I want a "Germany" form to pop up when the user clicks on Germany. And such for if France, Spain, Italy, Austria, England, Scotland, etc...based on the location of the mousedown event.

Historically, when working with a picturebox with sections that were rectangle, I would do little screenshots and overlay them over the picturebox and use that as a cheat.

The challenge here is that the countries are polygons and now I need to learn this for real. I am looking for a little direction on where to go to learn about a mousedown event that causes an effect based upon the location of the mousedown event.

This can be a challenge because each country is of different x, y location coordinates so I image I need to create an elaborate if or case statement to capture and evalute. However, I don't know how to acquire the coordinates of a mousedown.

View 1 Replies

Create Form Where End User Enter Folder Location For Download?

Aug 5, 2009

I currently have a program that allows users to download files into a folder of there choice. I currently have 10 different forms all with a text box to show folder location and a browse button for user to find it, but what I want to do is create a form that will appear at the start where the end user can enter the folder location so that they don't have to enter the folder path for every download they want to do. How would I go about doing this I have a textbox, browse button and an OK button but have no idea what to do next.

View 1 Replies

My.Settings & Application.StartupPath - Allow The User To Be Able To Change The Location Of This Subfolder

Oct 23, 2011

I have an app that will need a file repository located in a subfolder in my program's directory. For example: c:program files (x86)myapplicationmyfiles But, I need to allow the user to be able to change the location of this subfolder if they wish to store them on a network drive etc..

[Code]...

View 4 Replies

Asp.net - Redirecting Based On The User's Role?

Nov 9, 2011

i'm having some problem over here..when user enter their id and password,it will show up the main page and its for user but when admin or staff enter their id,it will enter the user's main page and i have to click admin site on the top hyperlink where it automatically logout and once i enter back admin passwrd or staff passwrd then only it redirect to admin page or staff page.how to make it like once user enter their passwrd it redirect to user page and once admin enter admin password or staff enter their password in the login it redirect to admin or staff ?I have 3 roles over here which are admin,staff and user.Hereby i'll provide you my aspx code and also my vb code which is running behind the program.

[Code]...

View 2 Replies

ASP.NET Redirect User Based On Role?

Jan 23, 2012

I want the app to redirect a user to a different home page depending on their role. Its currently working for 2 users using the following IF?

If Request.IsAuthenticated AndAlso User.IsInRole("Staff") = True Then
Response.Redirect("~/About.aspx")
ElseIf Request.IsAuthenticated AndAlso User.IsInRole("HR") = False Then
Response.Redirect("~/HRHRCompanyNavigation.aspx")
End If

How can I get this to work for more than 2 user roles?

View 1 Replies

Execute Based On Inputs From User?

Mar 3, 2009

I'm not sure the best way to accomplish this, what i have is 10 checkboxes on a form named chkbox1 to chkbox10, say ther user selects 4 then clicks a button, i was wanting to execute code one after each other like[code]...

View 3 Replies

Get The User Name Based On Login Id From The Same Database?

Apr 10, 2012

how to display the user name based on successful login id i have one database table name: UserMark in the table:

UserId
UserLogin
Password
Fullname
SurveyId

i have login.aspx page which required me to enter login id and password, if sql success, it will redirect the page to home.aspx however, at the home. aspx page required to display the full name based on login id.i place the code on login button

Private Sub btnLogin_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnLogin.Click
strSQL = "SELECT LoginID FROM UserMark WHERE LoginID='" & oCommon.FixSingleQuotes(txtEmail.Text) & "' AND Pwd='" & oCommon.FixSingleQuotes(txtPassword.Text) & "'"

[code]....

View 2 Replies

If/then Based User And Password Authentication?

Apr 17, 2009

I am writing a program that accepts a user name and password (the password must show up as *s). The user gets three tries to enter the correct information before the program is closed. So far I have the password showing up as the password in clear text the first time and in *s the next two times. The authentication also fails even when I use the correct user name and password which are password and user for now.

Public Class frmPassword
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
Static intCounter As Integer = 0
intCounter = intCounter + 1

[code].....

View 5 Replies

Program That Moves A Picture To Whatever Location User Puts Into Text Boxes

Feb 18, 2011

I have a problem that I can not seem to get. I have a program that moves a picture to what ever location the user puts into the text boxes. It works as I wanted it to but my problem is when a user puts in anything but a number into the text box it gives an error, I want a message to pop up and let them know that a numbers needs to be entered not a text.

View 6 Replies

Write A Program That Requests A Name From The User And Insert The Name Into The List In Its Proper Location?

Oct 1, 2010

Write a program that requests a name fomr the user and insert the name into the list in its proper location, if the name is already in the list, the name should not be inserted. --do not use any arrays or LINQ use only streamreader/streamwriter.What i've got is this...it will add the name but not in the "proper location". if i could use an array i'd just reorder the array and then write to file, but...

Imports System.IO
Public Class Project_3a_p398
'Purpose: A program that requests a name from the user

[code].....

View 1 Replies

C# - Match SQL Columns Based On User Input?

Jan 24, 2011

What i am trying to achieve is that there are 7 columns in my db table. one is primary key and rest 6 are integer columns. Now my application will allow user to input 6 values. I want to compare 6 values entered by user to those 6 integer columns and if in any row 3 or more columns match user's input Primary key of that table is returned..I have tried using queries, cursor, nested loops and i am still unable to achieve my results..

UPDATED :DB Table Structure.. I am inputting 2,3,7,11,45,65. Number of returned rows should be 5. eg..

UID A1 A2 A3 A4 A5 A6
-----------------------
1 2 3 4 5 6 7
2 2 3 4 55 56 57
3 65 11 45 66 67 68

[code]....

IDs returned should be 1,3,4,9,10

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved