|
Actually it's not quite so simple:
- 1⁄6400 of a circle in NATO countries.
- 1⁄6283 The “real” trigonometric unit of angular measurement of a circle in use by telescopic sight manufacturers.
- 1⁄6000 of a circle in the former Soviet Union and Finland.
- 1⁄6300 of a circle in Sweden.
Aren't standards fun? CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Walt Fair, Jr. wrote: Aren't standards fun?
yes, we can't get enough of them. They really stimulate creativity.
|
|
|
|
|
I want to use 1 degree=17.777777778 mils and i can convert seconds, min to degrees and then to mils.
But i dont know actually regarding the directions which will be specified along with the degree values in the lat/long.
I need to convert the lat/long values to mils. The lat/long values will have N,NE, and so on specified. So, do i need to take those things into consideration after i finish the conversion from deg to mils???
|
|
|
|
|
Well, E/W and N/S are just sign indicators. Usually N and W are negative lat/long respectively and S and E are positive. Just do the normal calcs and use the N/S/E/W with the absolute values depending on the sign of the result.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Hi,
I have a C# program that I would like to sell and I want to offer a 14 day trial, I understand that all piracy prevention schemes are overcome so I don't want to waste much time doing this. Could anyone offer any suggestion and even some sample code?
thanks in advance......
|
|
|
|
|
Finger Print Class[^]
This will explain how to get unique key. And you can use it with algorithm to get serial key. If you do not wan't to protect then my suggestion is a Demo mode. You have limited functions, and when someone bought it, they get to download full version.
Any approach you take, it will be pirated.
|
|
|
|
|
when we are running location based services code in an emulator to find maps..........how the connection can be established.plz help me out soon...
|
|
|
|
|
Vote of 1:
Read the FAQs. It isn't clear what you are doing, what you tried or what went wrong. You don't even tell us what you are connecting to.Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter.
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
|
|
|
|
|
Hi Group members,
I have a problme here...
I have an NT service which i am using as an asynchronous scheduled job in a remote server.
I wish to convert it into a webservice, to make it synchronous, and expose it to the clients, with an ease...
Can some one suggest what would be the right approach to start with??
The NT service is written in the .NET platform.
I think it's a good challenge open for the group...
|
|
|
|
|
Depending on how your original service was written, you may be able to reuse parts of the code. But, as a general rule, you'll be rewriting the thing from scratch.
But, since we know nothing of what your existing service is doing, we can't really make any recommendations, or even if a web service is a viable option for what you want to do.
|
|
|
|
|
well, it is written earlier as a VB.NET scheduled job... then we made it as a .NET NT service...
When u say some part can be reused, i believe that's about the logic part...
we mght have to change the ways it is triggered and the way it can be invoked... am i right or going wrong?
Well, why webservice, as it's better in the ways that it can be exposed for a larger consuming services, and on gets it can invoke, only when required... unlike the scheduled job...
|
|
|
|
|
prakk88 wrote: we mght have to change the ways it is triggered and the way it can be invoked... am i right or going wrong?
Absolutely right. You will have to change the way it's triggered. The only way to trigger a method on a web service is to call it from a client over HTTP. This will require you to write an app that will call the web service and probably launch that as part of a scheduled job. Oh, wait. You just ended up back at where you started from making all of this a moot point.
Granted, you get the ability to pass parameters to the web service method call and call it any time you want. But, you have to understand how web services work, security implications and how they relate to what your service is doing, the accounts and limitations that the web service runs under, impersonation may be required, depending on your requirements, and in that case, user authentication issues, ...
|
|
|
|
|
Thanks Dave,
for taking time and helping me in analyzing this issue.
Let me do a prototype of what i want through what i know, and have learnt from u and other online resources.
I would need your help in future too...
about your concern, as it's going to be an internal application, not exposed to www, we might not have to worry about security implications...
But, yes, other doubts and concerns are valid and should be thought upon...
Thanks,
Pankaj Bhatt
|
|
|
|
|
Hello all and let me explain my problem briefly in Windows Forms application.
If any of you read Julia Lerman`s book, i am basicly implementing the techniques that are explained there but one thing i couldn`t solve. To make it simple i have two tables with one to many relationship, like customer and address. I add the customer to the datasource and change the address navigation property to combobox.
I drag name, surname and adress to the Forms. This is how i do databinding
CustomerEntities context = new CustomerEntities();
List<adress> myadresses = context.addresses.ToList();
CustomerBindingSource.DataSource = context.customers.Execute(System.Data.Objects.MergeOption.AppendOnly);
AddressBindingSource.DataSource = myaddresses;
Now as the book says i set the datasource of the addreess combobox to AddressBindingSource in UI then set displaymember, value and selectedItem.
Everything works fine except that display member of the combobox doesn`t display porperly. It diplays as MyAppName.Address, meaning object itself..What am i missing please help me
|
|
|
|
|
Not sure I fully understood your needs. But try to override the ToString() method in order to select what's you want to display.
|
|
|
|
|
Thanks, i override the tostring method of the entity object to get the work done..When i use listbox nothing is needed to display correctly but with texbox this is needed i guess, thanks again
|
|
|
|
|
I have one application that we lost the source code to that I'm rewriting and another app I'm writing to help a business partner that I started yesterday.
I created a class project, removed the Class1 library, then added the Linq to Sql class type.
So far so good.
I added my tables and queries and rebuilt the application to start coding.
But when I start my normal process using (MasterContext context = new MasterContext()){} I keep getting the error that the context cannot be converted to IDisposable. WTF???!!!!
I've done everything I can think of but I keep getting this error. Also if I get rid of the using a write a select, the variable used in the from statement refuses to expand. Now I know that is usually a sign that I've screwed something up, but I cannot see what it could possibly be.
Any input would be greatly appreciated.
Michael
|
|
|
|
|
Does MasterContext implement IDisposable? If not you can't have it in a using
|
|
|
|
|
You must not know anything about Linq to Sql. MasterContext in a Linq to Sql class inherits DataContext which implements IDisposable. Also the documentation for Linq to Sql has almost the first line stating you should always use using() when creating a DataContext.
|
|
|
|
|
You're right, I don't know anything about Linq to SQL
|
|
|
|
|
System.Data.Linq.DataContext implements IDisposable , so MasterContext will too if it subclasses System.Data.Linq.DataContext . Check your inheritance hierarchy (not forgetting partial class files). It is also possible that something has gone wrong in auto-generation, if all else fails, I suggest is a restart (which fixes a surprising number of the odder problems).Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter.
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
|
|
|
|
|
That was the 'trick'. Everything that was 'broken' last night works today.
|
|
|
|
|
My application behaves unpredictably as I turn on the 'Group similar taskbar buttons' option in the Taskbar properties.
Strangely, the problem occurs only on some computers.
It is as follows:
I enable the Group similar taskbar buttons option in the Taskbar properties. As the taskbar buttons begin to get too small Windows automatically groups buttons so that all of the open buttons from the application are grouped into one taskbar button. This works fine.
The icon of the groupped button is Application's default resource icon which is also OK.
The problem is that the caption of the groupped button is set to the AssemblyName not the AssemblyTitle defined in the AssemblyInfo.cs file.
As I mentioned this problem occurs only under some conditions. I can not determine them.
For example the feature works fine as I run the application from local disk while it does not work as I run the application from network disk (same machine, same application).
Best regards,
David
|
|
|
|
|
I doubt this will really help you much...but are you aware of the fact that .NET applications running from a network share are treated as security risks? Maybe that ties into your issue somehow.
|
|
|
|
|
Hi,
I'm writing a UserControl that has similar functionality to the ListView but I'm writing it from scratch, it has columns and rows of type List<t>;
Everything is generally fine with the project its moving along except when I add items to columns or rows at design time, the IDE seems to be doing something odd when generating code in InitializeComponent().
For instance;
private void InitializeComponent()<br />
{<br />
BigView.Column column1 = new BigView.Column();<br />
this.bigViewer1 = new BigView.BigViewer();<br />
column1.Value = "Key";<br />
column1.Width = 253;<br />
new BigView.ColList().Add(column1);<br />
}
Every time I re-compile the project the columns are not reloaded in the designer, because the code above never really assosciates the column with my user control. I've tried lots of combination of attributes but nothing solves my problem.
This is what I'd expect the code should look like;
private void InitializeComponent()<br />
{<br />
BigView.Column column1 = new BigView.Column();<br />
this.bigViewer1 = new BigView.BigViewer();<br />
column1.Value = "Key";<br />
column1.Width = 253;<br />
this.bigViewer1.Columns.Add(column1);<br />
}
Does anyone know why the designer would do this? Why it creates a column but never adds it to my Columns property?
The columns property is a List<column>. The same thing happens with my rows property which is a List<row>.
|
|
|
|