Archive for the ‘General’ Category

DesignBais Hacks - Introduction Part 1

Monday, October 30th, 2006

One of the neat things about DesignBais is that the product itself is written in DesignBais. This isn’t uncommon in the world today. Java is written in Java, C is C, C# is C#, etc. While we can’t open DesignBais system forms in the Forms Designer, we can manually customize them. We could do this with the editor but I believe that would lead to chaos, so I’m proposing here a coding standard which will allow us to hack specific aspects of forms into something we like, or back into their original form.

(more…)

D3 Tip - OSFI Part 1

Monday, October 16th, 2006

Over the years there seems to be continuing confusion on how the D3 OSFI works, and confusion with the similarly named FSI. In this first tip on this topic, I’ll provide a couple hints about how to use slashes and drive references, and some examples for use.

(more…)

DesignBais Tip - The Art of Indirection

Thursday, September 28th, 2006

One of the less intuitive aspects of working with DesignBais is that things aren’t always done directly. We don’t always use Field=Data to assign data to a field. We frequently need to tell the field where it needs to go to get its data, and then we load that data source as necessary.

(more…)

DesignBais Tip - Launching a URL - Part 2, E-mail

Wednesday, September 20th, 2006

Part 1 on Launching a URL provided details about how to launch a complex URL from a DesignBais form. In this Part 2 of 2 I’ll show you how to send e-mail from the user’s PC. The effect we’re looking for is a Click Here link which will launch the end-user’s email client, rather than sending mail from the server.

(more…)

DesignBais v3.3 Startup problem

Thursday, September 14th, 2006

There is an issue with DesignBais v3.3 and mv.NET v2.1.4 where starting DesignBais from the startDB.asp web page consistently fails with "cannot connect"-type messages that don’t lead to any specific problem. If you have not seen this then you don’t need the solution presented here, but for some of us the problem seems chronic.

(more…)

DesignBais Tip - Launching a URL - Part 1

Thursday, September 7th, 2006

I was asked by one of my clients to provide a button on a Customer Master Maintenance form which would launch a browser window to display a map showing directions from the home office to the customer being viewed. Oh boy, a challenge! This article provides info required for doing this.

(more…)

Updated DesignBais Code Template

Sunday, September 3rd, 2006

When starting work with DesignBais all of us are introduced to that initial bit of code - the big Case block that does the Gosub to handle each event. Many of us copy this template to all of our programs, then cut out what we don’t need. Some of us leave it all in there, just in case we do want to handle some event later. Well, if you’re going to do that, then you might as well have all of the events defined.

(more…)

DesignBais Tip - Alternative Graphs

Tuesday, August 22nd, 2006

The Graph component in DesignBais is great. The documentation might make the BASIC code for graphs look complex, but after you do it just once, you’ll realize it’s quite simple. This article discusses how to generate graphs using alternative components. As a bonus we’ll see how DesignBais can be integrated with lots of third-party products and services, to provide functionality for your users far beyond what’s "in the box".

(more…)

DesignBais Tip - Getting Client Info

Tuesday, August 22nd, 2006

A question came up in the DesignBais forum : "Is there any way for me to find the IP Address or Hostname of the requesting machine?" There are a couple "unorthodox" ways to do this. With the information provided here you will get an idea of how to get any data into your application from other sources in your network.

(more…)

DesignBais Tip - Dynamic Color and Images

Saturday, August 12th, 2006

DesignBais uses CSS styles to help us maintain a consistent style and color palatte throughout our applications. Too much variety decreases the professional look and feel (L&F) of the environment. But there are times where a little splash of color can be helpful. Displaying one or more images programmatically can also help to accentuate significant data.

(more…)