Tip Bank

DevX - Software Development Resource

Share Variables Between Multiple Apps

Sometimes it’s necessary to share variables between multiple instances of an application. For example, you might want to share a database connection. Here’s how: Create an ActiveX EXE with an

DevX - Software Development Resource

Attaching a DataGrid Control to ADO

Question: How can I use ADO and DataGrid (OLE DB) control in a VFP form? This code does not work in VFP as it works in VB 6.0: DataGrid1.DataSource=mADORecordset1 Answer:

DevX - Software Development Resource

Scrollbar Value Notification

Question: Is there a way that I can dynamically determine the value of aScrollbar when I am scrolling? The adjustmentValueChanged method gets called only when you stop scrolling. But I

DevX - Software Development Resource

WordViewer and ASP

Question: I would like to open a .doc file (link) in Internet Explorer 4.0 with WordViewer. The problem is that if users have Word 8.0 installed on their PC, it

DevX - Software Development Resource

Call a DLL From ASP

Question: I have a DLL called math911.dll and a function called a101. Private objM As MATH911.questionsSet objM = New MATH911.questions’use the functionCall objM.a101(level, TOPlevel, tipe, problem, ans, cpt, INSTRUCTIONS, AMT,

DevX - Software Development Resource

Scripting an Auto Reply

Question: How do I write a script so that every time a particular mailbox receives a new message, that mailbox generates an automatic standard reply? Answer: It’s fairly easy to

DevX - Software Development Resource

Write Text Files to the Client

Question: I’m trying to figure out a way to pass along a questionnaire built in HTML so that users can fill it out in their browser, then have the answers

DevX - Software Development Resource

Dynamic Content Using Radio Buttons

Question: I wrote JavaScript code that displays different text depending on the radio button clicked. I used innerHTML to display text, which works fine on Internet Explorer 5 but not

DevX - Software Development Resource

Enabling Sharing Tab

Question: Can you please tell me how I can enable the sharing tab when sharing local drives? I’m using an NT Workstation 4.0 and when I’m logged on as an