Well, not counting the fact that I'm multiplying the cosines and sines by other things, plus a bunch of other number crunching (addition, multiplying, etc.)
In your main routine, you are passing literal constants 1024 and 2 to the template. What if I pass integer variables to the template? Does that mean calculations take place at runtime?
To answer your questions: The array is large. The values never change, but need to be calculated. Since this is a static member, the values should be available to other classes
without creating any...
I am writing a class which will have a static array. I need to initialize the array using a for loop. There will be several instances of the class, each of which will read values from the array. The...
Where can I find me a .Net class library for astronomy calculations? I'm looking for functions for calculating moon phases, sunrise, sunsets, transit, seasons, perihelion, aphelion, perigee, apogee,...
I had accomplished this in VB.Net forms application, but I want to do the same thing in WPF. But I'm running into several obstacles, such as placing the buttons in the appropriate cells (specified by...
I am new to Crystal Reports, and I'm trying to create a multipage report. The first page is populated at the top and bottom with text and data fields. The middle portion is one large text box (with...
I need an enhanced listbox control that has the following on each line:
- An icon symbol, or at least a specified colored bullet.
- A hyperlink, or html anchor, which loads a specified web page...
I just tried using the temp table. The ASP.NET page returned error messages saying that all the columns were invalid. When I tried it in the query analyzer, there were no rows returned.
I have a web page which populates various controls (HtmlInputTextBox, HtmlInputSelect, HtmlInputCheckBox, etc.) into htmlcells of an htmltable. The user can modify these controls and then click a...
I've partially fixed the problem. I restructured the entire page so that there are no user controls with controls inside them. Everything is now on the main page. The Page_Load event calls routines...
I have a page with three user controls. The first control dynamically populates itself with link buttons, depending on the result of a database querry, in this case, ("Save", Cancel").
When I say it "crashes", it occurs when I debug it. If I run the page without debugging, there is no visible activity when I click start. When I debug it is when I discover it is crashing when the...
When I load the page in firefox, the error console says "Error in parsing value for property'display'. Declaration dropped." The word "display" doesn't appear anywhere in my project directory. When I...
I have an web app with some javascript functions. When you click a button it starts two "SetInterval" timers going, each calling a separate function. It calls one function first, and then it crashes....
I have inherited a C# ASP.Net web app from someone, and I am trying to dynamically LinkButtons to an HTMLTableCell. The html table is in a user control. I copied the code from another user control...
How can I place two update panels side by side? It appears that an update panel occupies the entire width of the page, and the best I can do is place them one above the other.
How do I retrieve an AppSetting variable within javascript? I have an ASP.Net application with AppSettings in the Web.Config file. I can retrieve the variables from the server code, but how do I...