473,323 Members | 1,570 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Form from another project

JB
I have an asp.net application that goes to a database and displays data
from that database on maps.

In a completely different project I also collect data and would like to
map it, rather than recreate the map application in to my new
application I would like to have my new application open up an instance
of the existing map application, give it the data and the map
application handle it from there.

My problem here is that while I can do this by simply opening a new map
form in JavaScript with a URL something like:

http://www.domain.com/Map.aspx?Latit....356&Lat...etc.......

I potentially have thousands of Latitudes and Longitudes and so this
URL would become excessive. So what I want to know, is there some
other means of me getting the latitude and longitude data to the map
form, bearing in mind both applications will be on the same webserver
in the same domain. It would be nice for example if in my new
application I could say:

Dim f as new ..\MapApplication\Map.aspx
f.GeoData = myData
f.Show

Any advice/suggestions appreciated.

Nov 8 '06 #1
2 999
"JB" <jo*********@yahoo.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
>I have an asp.net application that goes to a database and displays data
from that database on maps.

In a completely different project I also collect data and would like to
map it, rather than recreate the map application in to my new
application I would like to have my new application open up an instance
of the existing map application, give it the data and the map
application handle it from there.

My problem here is that while I can do this by simply opening a new map
form in JavaScript with a URL something like:

http://www.domain.com/Map.aspx?Latit....356&Lat...etc.......

I potentially have thousands of Latitudes and Longitudes and so this
URL would become excessive. So what I want to know, is there some
other means of me getting the latitude and longitude data to the map
form, bearing in mind both applications will be on the same webserver
in the same domain. It would be nice for example if in my new
application I could say:

Dim f as new ..\MapApplication\Map.aspx
f.GeoData = myData
f.Show

Any advice/suggestions appreciated.
If the server can run a database, then issue a sql command to put the info
into a ##TEMP table. The launching map display can then read from the
tables. The table name would have to include a timestamp and username and
the launched form would get the info about the tablename so it could get the
data. Should work easy unless the server is not running a sql database.
You can also replace each the lat long value with a 16bit binary angle which
can save string memory. like Map.aspx?LL=1122abcd would be hex for binary
lat of 1122 and the long would be abcd. So 1000 lat long's would be only
1000*8 characters in length.
--
================================================== =====================
Beemer Biker joestateson at grandecom dot net
http://TipsForTheComputingImpaired.com
http://ResearchRiders.org Ask about my 99'R1100RT
================================================== =====================
Nov 8 '06 #2
JB
That sounds like a good idea.

Thanks.
Beemer Biker wrote:
"JB" <jo*********@yahoo.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
I have an asp.net application that goes to a database and displays data
from that database on maps.

In a completely different project I also collect data and would like to
map it, rather than recreate the map application in to my new
application I would like to have my new application open up an instance
of the existing map application, give it the data and the map
application handle it from there.

My problem here is that while I can do this by simply opening a new map
form in JavaScript with a URL something like:

http://www.domain.com/Map.aspx?Latit....356&Lat...etc.......

I potentially have thousands of Latitudes and Longitudes and so this
URL would become excessive. So what I want to know, is there some
other means of me getting the latitude and longitude data to the map
form, bearing in mind both applications will be on the same webserver
in the same domain. It would be nice for example if in my new
application I could say:

Dim f as new ..\MapApplication\Map.aspx
f.GeoData = myData
f.Show

Any advice/suggestions appreciated.

If the server can run a database, then issue a sql command to put the info
into a ##TEMP table. The launching map display can then read from the
tables. The table name would have to include a timestamp and username and
the launched form would get the info about the tablename so it could get the
data. Should work easy unless the server is not running a sql database.
You can also replace each the lat long value with a 16bit binary angle which
can save string memory. like Map.aspx?LL=1122abcd would be hex for binary
lat of 1122 and the long would be abcd. So 1000 lat long's would be only
1000*8 characters in length.
--
================================================== =====================
Beemer Biker joestateson at grandecom dot net
http://TipsForTheComputingImpaired.com
http://ResearchRiders.org Ask about my 99'R1100RT
================================================== =====================
Nov 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David Gagné | last post by:
Hello, My C# solution is composed of 2 projects, a class library project and a Windows application project. The window in one project calls the DLL in the other. That's ok. Now, to better test...
10
by: Tom | last post by:
I am looking for some ideas for how to design the layout of the form for data entry and to display the data for the following situation: There are many sales associates. A sales associate can work...
4
by: Ron Rohrssen | last post by:
I want to show a dialog and when the form (dialog) is closed, return to the calling form. The calling form should then be able to pass the child form to another object with the form as a...
4
by: bob lambert | last post by:
Help I am trying to deploy to another pc a vb.net std 2002 windows form application. I am confused. I created a project - windows form I built form, compiled and debugged. I created a...
20
by: TM | last post by:
I have a form that I would like to use, with a few small code and control text changes, and was wondering if there was any way that I could somehow save another cop of the form so I can just import...
13
by: Lee Newson | last post by:
Hi, I have just written my first application using VB.NET. The app works fine when i am running it within .NET for debugging purposes, however when i try to run the app from the .exe file that...
2
by: lukegregory | last post by:
Is it possible to open a form from one project from a form in another project within the same solution? If so how is this done? Thanks
3
by: garyusenet | last post by:
Dear Professionals, I have recently been using the wonderful krypton toolkit and am trying to use them in my small hobby application. I include this bit of info as an aside really because i'm...
3
by: bsturg21 | last post by:
Hello, I have a windows form that has a series of linklabels on it, and I need to have each linklabel, when clicked, open a separate windows form that has a single paramter passed into it. The...
1
by: =?Utf-8?B?R3JlZw==?= | last post by:
When loading my project i get the following error message. The form referred to itself during construction from a default instance, which led to infinite recursion. Within the Form's constructor...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.