This blog was created to tell you what to do when you get this error while starting a Visual DataFlex web application in particular Electos Studio. The error An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator please click here to find out more about this error.An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator ...
Updated 15-May-2012 at 02:46 AM by Vincent Oorsprong (Adding information about exposure of information)
One of the new features of Visual Report Writer version 2.0 will be support of a Runtime Data Source (RDS). A runtime data source is a virtual table that is defined during report definition while the data is supplied via integration. This opens the way to report of data that does not come from a "real" database. In this blog you will read how to make a report based on the filelist. Report Definition Start Visual Report Writer and press Ctrl+N for a new report (or choose New Report ...
Updated 30-Apr-2012 at 12:53 AM by Vincent Oorsprong
In september 2011 I published a blog about using other graphics in a cCJGrid class object. Today at the bi-monthly held drive-in support events in Germany hosted by Data Access Europe I was asked about how to do this with a database aware CodeJock based grid. With this short blog I will tell you how you can do this. Base For this blog I will be using a customer table that we also use for the Discovering Visual Report Writer book that is available from Data Access Europe. This ...
Updated 26-Apr-2012 at 04:33 AM by Vincent Oorsprong
In this blog I will show you how you can limit the amount of time that an application can call a webservice function. It is a small contribution to security and helps you against unwanted webservice calls. SOAP Headers A SOAP based WebService call always contains a body section and optionally can contain a header section. The use of a SOAP header section on both the Visual DataFlex server as well as client side is good documented in the help provided with the product. The good ...
Updated 31-Dec-2011 at 07:59 AM by Vincent Oorsprong (Made a link to the conversions library)
Do you use Windows 7 or Windows Vista? Are you having problems compiling your application in the Studio? I'm not talking about compiler errors, I'm talking about the Studio reporting that it cannot delete the old application .exe file before compiling the new one! If you are seeing that problem then read on, I may have the solution (or at least a little good advice)... System Tune Up Ages ago I had turned off the windows Application Experience service while trying to tune ...
Updated 3-Nov-2011 at 08:46 PM by John van Houten
A couple of weeks ago in a Discovering Visual DataFlex training one of the trainees stumbled over a problem caused by the Current Directory. In this blog I tell you more about the problem and what the Current Directory has to do with it. The Problem In the case that let me make this blog a dbBitmap control was used to display an image. A dbBitmap control is a database aware control so the name of the image file is stored in a column of a row in a table. Pictures can be in a folder ...
This week I had the need for a selection list with e-mail addresses that are stored in my Microsoft Outlook address book(s). So I created one. This blog explains in steps what you need to do to make one as well. The blog is based on version 16.1 of Visual DataFlex. If you do not have that version you cannot create the component. The Selection List One of the enhancements of Visual DataFlex 16.1 is a cCJGridPromptList class which offers a selection list that is not getting its ...
The Database Connectivity Kits used to add an uppercase (U_) column when tables were converted from DataFlex native databases to an SQL backend. That column was there just to fulfill the need of an uppercase index segment. However, starting with build 5.0.0.63 (find the latest builds available at ftp://ftp.dataaccess.com/pub/products/connectivity/ ), the Connectivity Kits were changed and by default they simply use the collating sequence defined for the database on the backend and ...
About a year ago (November 2010) I posted a blog about how to use other graphic formats in the headers of a cCJGrid. A couple of days ago there was a request about how to use other graphic formats in the grid itself. While all the information is in the one-year-old blog I feel you all want to see an example on how to do this. So that is what this blog is about. In the previous blog I started with describing a column named oYellowCards. The blog was written shortly after the 2010 World ...
Updated 5-Sep-2011 at 03:09 AM by Vincent Oorsprong
Registration-Free COM I was privileged to deliver a presentation on this topic at the recent Synergy 2011 Conference in Orlando. As a result of discussions that ensued from that presentation and the broad interest that seems to exist in this topic, I am also privileged to offer this guest blog. First, indulge me while I provide some background on the technology from Microsoft that makes this possible and attractive; then, I'll show how it's done. What is ...
Updated 21-Jun-2011 at 01:55 PM by Stephen W. Meeley
In a continuing effort to make resources available to our community the Data Access Worldwide Forums and the Development Team Blog will now be accessible via a mobile application called Tapatalk. Tapatalk is a forum app on the iPhone, Android, webOS, Windows Phone 7 and BlackBerry. This forum App provides super fast on-the-go forum access to majority of the discussion forums that has activated the Tapatalk plugin. If you choose to use Tapatalk to access the Data Access ...
I have setup a USER DSN in the ODBC Manager (Data Sources) which points to an Microsoft Access demodata database. Now I want to connect to this database with Data Access's Visual Report Writer and with Visual DataFlex Studio. In Visual Report Writer I simply cannot get past the selection of the DSN and in Visual DataFlex Studio I get a "Unable to Login to Server!" message. What is wrong? I thought DataFlex could connect to ODBC databases, isn't that true? If I use Microsoft Excel from Microsoft ...
This week two developers asked me about a folderbrowser/selector. Over the years several solutions have been created (fully) using the Windows API. But as far as I know they all do not have the ability to set the focus on a certain folder shown in the tree. And that is what the developers wanted to have. I said it is "simple" to make a folder selector yourself. This blog tells you how you can create one yourself using Visual DataFlex code and a bit Windows API code. The Dialog ...
Updated 23-May-2011 at 12:41 AM by Vincent Oorsprong
This post contains information about configuring a source control system to be used for Visual DataFlex projects. This post can be used in conjunction with Source Control and Visual DataFlex 101: The Basics and Source Control and Visual DataFlex 102: Multi-Developer Use. Also, see my previous post, The Case for Source Control to learn why you should use it. What Files to Check Into Source Control The rule of thumb for checking in source code is only to check in files ...
Source Control and Visual DataFlex 101: The Basics got you started with source control.; this post will show you how to use source control when multiple developers work on the same project. This post builds on the previous post and assumes you are familiar with the information in it, so if you have not, please read it now. Just as the aforementioned post, the purpose of this post is to allow you to start using source control in a fast and efficient manner. It is not intended to explain ...
In The Case for Source Control, I told you why you should use source control. Now I will show you how to use source control with Visual DataFlex. This post will demonstrate the basics of source control from a single developer perspective. Source Control and Visual DataFlex 102: Multi-Developer Use moves on to using source control when multiple developers work on the same project. The purpose of this post is to allow you to start using source control in a fast and efficient manner. See Configuring Source Control for Visual DataFlex ...
In almost every Visual DataFlex MDI Windows Application you have a statusbar. The statusbar is usually drawn at the bottom of your panel and is divided in one of more panes. Usually the first pane is reserved for statushelp. This blog tells you how you can change the appearance of a CodeJock statusbar and its panes. Font Changing the appearance of the statusbar means changing font attributes. The font settings of the statusbar and its panes are not exposed directly via properties ...
If the program you write starts a task of which you know it will take some time it is important to indicate this to the user. You can do this by making use of the cursor_control object. The cursor_control object is an instance of the CursorShape class and created if you add: Code: Use DfCursor.Pkg to your code. Once the object is instantiated you can send the message cursor_wait to the object and you will see the mouse cursor changed from the I-beam or the arrow to a hourglass ...
Use DfCursor.Pkg
Updated 22-Apr-2011 at 01:55 AM by Vincent Oorsprong
This is the third blog article about getting more out of the web browser control. In comments I have been asked to show code that uses the web browser control. In the first blog I mentioned that the web browser control is used in a welcome dialog for Database Explorer. Let's review the code for that dialog in this blog. The dialog Let's look at the dialog again, the picture shows how it looks like. The dialog is a Visual DataFlex ModalDialog ...
Updated 18-Apr-2011 at 12:35 AM by Vincent Oorsprong
This blog teaches you how to write code to get a list of all the modules in use by the current process. This information is useful when you want to know if a certain module (DLL, OCX) has been loaded or not. It is a kind of debugging information. I would not advise you to add this in each and every program. To make a list of modules we need a couple of Windows API functions. First we need to get the ID of the current process (that it your executable). You can retrieve this by calling ...
Updated 15-Apr-2011 at 12:29 PM by Vincent Oorsprong (CloseHandle Function added)