|
Some people could learn a lot from knowing how to use google...
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Yes..
I saw a quote which says something like this :
"I dont have to learn everything, but I have to learn where to find it when required"
Your reply reminds me this.
|
|
|
|
|
In my first job - straight out of uni - my boss was amazed at my leet-skilz. I was the only person stupid/keen/enquiring enough to RTFM!
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Hi everybody
I want develop application with C# that able :
1. Draw ground map.
2. Draw a point or another image to each latitude and longitude.
for example user can enter arbitrary coordinate by latitude and longitude then show point in the map.
If you know good application or method please help me.
Best Regards,
Reza Shojaee
|
|
|
|
|
the easiest thing is to use google maps api. just create a html code with javascript using C# and call that html in webBrowser control.
|
|
|
|
|
Thank you for your attention, But I need windows application and I don't need the Web solution.
Please assistant me about windows application.
Best Regards,
Reza Shojaee
|
|
|
|
|
A quick google search for "c# virtual Earth" gave me this thread. I think it can give you the answers you need.
|
|
|
|
|
Does using Webbrowser control in your windows application solves the problem?
|
|
|
|
|
Well, if your app will be on a computer that is not on the internet, then I guess you want to rewrite google maps.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
What you need is a GIS application (believe me, you don't want to write one yourself - these are seriously complicated). There's an open source implementation called SharpMap here[^]. Beyond that, you need the actual map images - and these are going to cost you, unless you use something like OpenStreetMap[^].
Alternatively, you could (as others have suggested) just use Google Maps.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hello My Friends
I think some misunderstanding happened.
I don't need the GIS application or web solution.
I only want insert a simple ground map (no a map with zoom capability or street map, only earth map) in C# and each times determine certain latitude and longitude in the map with color point(for example).
Best Regards,
Reza Shojaee
|
|
|
|
|
Reza - a GIS solution is still your best option. If you don't have one, then the maths behind your lat/long can be seriously complicated due to issues such as Mercator projections.
Basically, when you represent a sphere (technically the earth isn't a sphere, but let's keep things simple) in a 2D format, you need to distort portions of the unwrapped sphere to represent it. This means that you need to take things like altitude into account when you perform your calculations.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I implementing a application for satellite orbit predicting, and in my program need the insert satellite in the certain lat/long on the map.
for example you can see the track of NOAA 15 in the below link:
http://science.nasa.gov/temp/NOAA15Loc.html[^]
Best Regards,
Reza Shojaee
|
|
|
|
|
Fine, so why doesn't GIS satisfy your needs? Please read this[^] link and then think about how you are planning to tackle this - all I ask is that you don't try to reinvent a particularly well defined wheel.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I create a application for the track the browsing centers with their ip address.
1) First they install my application in their system then only they access the Internet.
2) Second they could not kill my process because if they kill my process i could not track them.
3) So how to prevent my application process from End Process in Task Manager and also hide my application process from the Task Manager and System Tray.
They also Uninstall my application without my permission. How it is possible using C# code. plz help me with your useful ideas.
Thanks,
Vasanth.A
|
|
|
|
|
Disable Task Mgr. using Microsoft.Win32
modified on Tuesday, July 28, 2009 3:49 AM
|
|
|
|
|
vasanth arivali wrote: How it is possible using C# code. plz help me with your useful ideas.
There is absolutely no way this is possible. The only way to do it, is to set the machine your code is running on so that the login people use, does not have access to task manager, or add/remove programs. Otherwise, it's a fantasy. There are things you could try, but all, by definition, can be defeated.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
...you'll not get help here writing malware.
|
|
|
|
|
His explanation is plausible, and it sounds like the sort of job that would be farmed off to the third world and end up in the lap of someone who didn't know enough to know that it's not possible. I mean, who else but a third world outsourcer would commit to writing this, THEN try to find out if it's possible or not ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
That is a very very small minded opinion! Plenty of development shops in all countrys have a track record of commiting to things without knowing if they are feasible.
|
|
|
|
|
Easy, in part...
If you're a network admin writing something for a bunch of users on an Intranet, write it as a system service (Running as the System account), and don't give your users administrator rights.
Then they won't be able to kill the process, or uninstall it... It will still show up in Task Manager, and there's nothing you can do about that.
Other than that, you're pretty much out of luck. No one here is going to help you write malware, or anything that acts similarly.
|
|
|
|
|
Is that the sort of thing you want running on your system?
|
|
|
|
|
I use the following code to add linkbutton to footer of a grideview, but it cause error sometimes!!!!!
In my computer as local server it works, but another users see the error.
LinkButton lbtn = new LinkButton();
lbtn.Text = " |< ";
Panel pnl = GridView1.FooterRow.FindControl("pnlFooter") as Panel ;
lbtn.CommandArgument = (pageindex).ToString();
lbtn.Command += new CommandEventHandler(lbtn_Command);
pnl.Controls.Add(lbtn);
the error accurs at line
Panel pnl = GridView1.FooterRow.FindControl("pnlFooter") as Panel ;
what could I do to solve it?!!!!
any help would be useful!!
HTML For footer gridview:
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AllowPaging="False" GridLines="None" ShowHeader="False" onpageindexchanged="GridView1_PageIndexChanged" ShowFooter="True" FooterStyle-Font-Bold="True">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<table style="width:100%">
<tr>
<td>
<!-- <asp:LinkButton Text='<%# Eval("Title") %>' ID="libtnGRV" CommandArgument='<%# Eval("URLProduct") +"&Companyurl="+ Eval("URLCompany")%>' runat="server" oncommand="libtnGRVcommand" Font-Bold="True"></asp:LinkButton>-->
<!--<a href='<%# Eval("Title") %>' style="text-decoration: none; font-weight: bold" runat="server"><%# Eval("Title") %></a>-->
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl='<%# "ShowProductDetails.aspx?ARG="+(Eval("URLProduct") +"&Companyurl="+ Eval("URLCompany")).Replace("./?", "http://www.sme.ir/&") %>'
Text='<%# Eval("Title") %>' Font-Bold="True"></asp:HyperLink>
</td>
</tr>
<tr>
<td>
<label runat="server" visible="false"><%# Eval("Price")%></label>
</td>
</tr>
<tr><td>
<!-- <a href='<%# Eval("URLCompany") %>' runat="server"> <%# Eval("CompanyName")%></a> -->
<asp:LinkButton ID="liCompany" Text='<%# Eval("CompanyName")%>' CommandArgument='<%# Eval("URLProduct") +"&Companyurl="+ Eval("URLCompany") %>' OnCommand="libtnGRVcommand" runat="server" ></asp:LinkButton>
<%#Eval("Location") %>
</td></tr>
<tr>
<td>
<label id="Label1" runat="server" ><%# Eval("RESOURCE") %></label>
<br />
<br />
</td></tr>
</table>
</ItemTemplate>
<FooterTemplate>
<asp:Panel ID="pnlFooter" runat="server">
</asp:Panel>
</FooterTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
|
|
|
|
|
how do i convert cmd.executenonscalar to int
its giving exception
This code was posted by me...
|
|
|
|
|
With code. How about posting some code so we can see what you're doing wrong ? I thought it returned an int anyhow, if not you should be able to cast it. Code and an error message would help us.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|