devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

Atn2 – Arc tangent of Y/X

‘ arc tangent of Y/X – returns values in all four quadrantsFunction Atn2(x As Double, y As Double) As Double If x = 0 Then Atn2 = Sgn(y) * 1.5707963267949

Cot, Sec, Csc – Missing trig functions

‘ Cotangent of an angleFunction Cot(radians As Double) As Double Cot = 1 / Tan(radians)End Function’ Secant of an angleFunction Sec(radians As Double) As Double Sec = 1 / Cos(radians)End

Cycle Through Your Visual InterDev Windows

When you have multiple windows open in your Visual InterDev developer’s environment, it is easy to lose track of where they all are. Rather than trying to park the windows

Creating 30-Day Trial Applications

Question: I am Web site developer assisting a Visual FoxPro developer in distributing his creation via the Internet. He wants to create a 30-day trial version for distribution in this

Giving Users a Save As Dialog Box

Question: I am creating a CSV file from a table via the export command and would like to give the user the option to name the CSV file at execution

FoxPro Commands and the ODBC Driver

Question: I’m trying to set up an SQL call (in ColdFusion) to a program (TESTOUT.PRG) that uses the FoxPro COPY TO command and user-supplied parameters to output the desired file

Data Rollup

Question: I have a table containing records collected at variable times. How do I “roll up” the data to average over 15-minute periods in a query? Answer: I think I

Flipping Rows to Columns

Question: How can I select rows in a table and output them as columns in a resulting table? In other words, I need to “flip” my rows to columns and

Tools for Documenting Class Libraries

Question: Is there a third-party tool that can be used to document VFP Class libraries and their components? Answer: VFP’s Re-Engineering wizard can move your classes to Rational Rose and

Prompting After Setup.exe Runs

Question: Is there a way to prompt an end user to restart his machine after running the setup program to install my software? (I am developing in VFP 3.0 under

Using C++ for AIX Unix and Windows NT

Question: We are looking at Visual Studio 6 as a development platform. Studio 6 contains Visual C++, Java++, and VB version 6. Can I use this development platform to create

Using Auto_ptr with Arrays

Question: Can auto_ptr be used to hold a pointer to an array of objects? For example: auto_ptr p = new int[10]; When auto_ptr is destroyed, will it call the correct

Iostream Objects’ Memory Use

Question: I have written this very small program in Microsoft Visual C++ and it seems that STL is dumping memory: #include #include using namespace std ;void main(){ _CrtDumpMemoryLeaks( );} The

Ambiguous Operator Error

Question: My small program (see below) below compiles and runs correctly on one machine and generates the following error on another: ‘operator

About Box and Splash Screen Missing from App

Question: I recently modified the following under my application’s class libraries… app_aboutboxapp_splash I rebuilt the project and executable, but when I run my application, text and images from both the

Replacement for the “Finally” Keyword

Question: I’m wondering whether there is any good replacement for Java’s “finally” keyword (that executes regardless of whether an exception is thrown a keyword) in C++. I’m trying to switch

File Locations

Question: I have set Home as C:MyApp in Project Information. VFP has no problem finding the project, but when I do a build and, while running, click a link to

Simulate a PDA in a Web Page

Question: What is the best way to go about simulating a PDA (personal digital assistant) in a Web page? I want to simulate a change of menu many times. Can

Using the Find Method of the Window Object

Question: Can I find the text on an HTML page from another window (where the find option is available)? Answer: If you are using Netscape Navigator 4+, you can use

Apply Web Site Templates Using Includes

Question: I want to create a consistent look and feel to my site. Without using frames, how do I apply a template to all my Web pages that will include

Single-Threaded DLL and Web Server Application

Question: We have a legacy database system called Universe, which is owned by Ardent Software. Ardent offers a product called uvObjects which is a single-threaded DLL that can be loaded

Bevel Flat Graphics in FrontPage 2000

An overlooked feature in FrontPage 2000 is the one-click tool to add a nice bevel to your graphics. A bevel makes the image stand out from the page and adds

Mailbox and Log File Locations

Question: What is the location of the users’ mail boxes so I can back them up to a tape? Also, where are the Internet e-mail tracking log files stored? Answer:

ADO vs. ODBC

Question: Which implementation works faster, ADO or ODBC? Is there any relevant information (or benchmarks) comparing the difference between linking directly to the ODBC or accessing databases through the ADO