The WebBrowser component, is in essence a Internet Explorer window which can be embedded into a Windows application.
Until now, the easiest way to communicate with your host application from an embedded WebBrowser script was through the use of the window.status property. Assigning a value to it would cause the TWebBrowser.OnStatusTextChange event to fire in your application. Unfortunately...
Dnote Software Blog
This blog is a personal outlet to share some things I encounter during my coding adventures and would like to share with the world, so that others (hopefully) can profit by it.
This blog does not express in any way the views and opinions of the companies I work for!
donderdag 24 december 2009
zondag 1 november 2009
Simple role controlled menu system
NET 2.0 has the wonderfull user and role provider system, called Membership, which make login, access and role control quite simple. I used this feature in some occasions to full satisfaction. Drawback of the providers is that you either need to incorporate special user/role tables into your database, or write your own provider classes if you want to use your own user/role tables.
One feature I’m particulary fond of is the way the menu component adapts itselfs to the access rules you define for your users. In this post I’m going to explain how to set up a menu system which is controlled by roles without having to use the user/role providers.
One feature I’m particulary fond of is the way the menu component adapts itselfs to the access rules you define for your users. In this post I’m going to explain how to set up a menu system which is controlled by roles without having to use the user/role providers.
dinsdag 18 september 2007
PngComponents - Adding images to a list in code
The PngComponents suite of Martijn Saly is awsome and adds excellent Png support to the Delphi programming environment. For example the imagelist component (TPngImageList) mimics the original Delphi VCL imagelist so that you can use Png images in any component supporting the standard imagelist, like treeviews, listviews etc.
The architecture around the Png imagelist is however a bit different than that of Delphi, and may lead to confusion, especially when trying to access it from code.
This article shows you how to use and manipulate the Png imagelist from code..
The architecture around the Png imagelist is however a bit different than that of Delphi, and may lead to confusion, especially when trying to access it from code.
This article shows you how to use and manipulate the Png imagelist from code..
vrijdag 2 maart 2007
Business objects in Reports VS 2005 SP1
As I laid out in post Visual Studio 2005.NET SP 1, there are some problems using business objects inside reporting services reports. The problem in short is that the businessclasses you have defined are not visible inside the “Data Sources” pane of the report editor. I also suggested a possible solution, which is very cumbersome to perform. Here is another possibility to work around this problem.
donderdag 1 februari 2007
Report Designer flaws VS 2005 SP1
Today I’ve installed the recently released service pack 1 for Visual Studio.NET 2005. Since at the moment I’m working on a really report-intensive project, I noticed some flaws in the Report Designer (that of reporting services) concerning using custom business objects.
donderdag 18 januari 2007
Visual C# vs Visual Basic
Between .NET programmers there is often the discussion about what to use as the language of programming, especially when a new project needs te be started. This post states my opinions on the subject.
Abonneren op:
Posts (Atom)