devxlogo

The Latest

Associating an Icon with an EXE File

Question: I am using VFP 5.0. When I create an EXE file, how can I get my own icon associated with it? (instead of a Fox head) Answer: First, when

Changing NT 4.0 File Ownership

Question: Is there any way to change the ownership of files and directories with scripts or programs? Answer: You can use the SubInAcl.exe file (included in the NT 4.0 Resource

Binary File Support in SQL

Question: I have been asked to develop a database of imagery from a company’s slide collection that needs to be incorporated into a Web site. Does SQL support binary files?

Make Background Image Act as a Watermark in IE

Microsoft’s Internet Explorer 3.02 and above supports a BGPROPERTIES attribute that when set to “fixed” modifies the behavior of the background image to act as a watermark instead of scrolling

Accessing Recordset in Another ASP Page

Question: I am creating a site with a public area and a secure area, which is broken into three parts. To enter security, the user goes to LogIn.htm and enters

Activate Popup Hints

Question: I want to activate those small popup windows (the ones that appear when you hold your mouse over a program icon in the Taskbar to tell you what appears

Adding Resources to an EXE

Question: How can I add resources to an EXE or DLL? I am using Delphi 3 at the moment. For example, I want to use a new Cursor (a self

Problem Closing Forms

Question: I created the main search screen form SearchScrn (fsNormal) with the ability to create as many new forms on the fly (they are not children of MDI form) as

Converting a System Date to a Text String

Question: I want to retrieve the system date and convert it to a text string. I can get the system date (using the Date() function call), but I cannot write

Reading Across Mulitple Forms on One ASP Page

Question: I have two forms on my ASP page. The first form uses the &qout;Post” Method and second uses the &qout;Get” Method. The form using the “Get” method has a

Accessing Field Names that Contain Spaces

Question: I created an ASP that uses VB script to access an Access 97 database in a test environment. Here is the query used: “select * FROM property WHERE user

Selecting One Person Per Address

Question: I have a mailing list with one record per person, but I want to mail to only one person per household. How can I select just the first record

RDBMS

Question: What is RDBMS? Answer: It’s lingo for “Relational Data Base Management System.” Related Posts Quick Way to Disable Copy-Paste in a Textbox in a WinForms ApplicationJudge Blocks Treasury’s Shareholder

Wizard interfaces

Question: Do you know any good Web sites or have any tech tips on creating wizard interfaces? Answer: Creating wizard interfaces is straight-forward when you know how. All a wizard

Visualizing PowerBuilder

Question: I have a difficult time using PB because I can’t see the code flow. I am an experienced programmer with COBOL, PL/1, and SQL and have taken several PB

BinToDec – Convert from binary to decimal

‘ convert from binary to decimal” NOTE: requires Power2()Function BinToDec(value As String) As Long Dim result As Long, i As Integer, exponent As Integer For i = Len(value) To 1

InstrRev – Backward Instr for VB4 and VB5

‘ A clone of VB6’s InstrRev function (including its quirks)’ that works under VB4 and VB5Function InstrRev(StringCheck As String, StringMatch As String, _ Optional Start As Long = -1, Optional

GetUNCName – Convert a file path to a UNC path

‘ Converts a reference to a file in the standard Windows’ format (e.g. “H:ServerDirFilename.ext”) in the corresponding UNC’ format (e.g. “\ServerNameExportedDirServerDirFileName.txt”)” It turns to be very useful when a program

Bin – Convert from decimal to binary

‘ convert from decimal to binary’ if you pass the Digits argument, the result is truncated’ to that number of digits” NOTE: requires Power2()Function Bin(ByVal value As Long, Optional digits