Author Archives: Gaston

Unknown's avatar

About Gaston

MCT, MCSD, MCDBA, MCSE, MS Specialist

SCSF – giving a smartpart a title using attributes

When creating a [SmartPart] in SCSF, and adding it in a Tabbed Workspace, its title is empty by default. This results in a tab without a label in the workspace, not a pretty view. The standard way to solve this … Continue reading

Posted in Development | Leave a comment

Choose Items crashing Visual Studio 2008

When trying to choose items to add to the toolbox in VS 2008 the following happened: * Wait for a couple of minutes * VS 2008 shuts down, no error message, just gone.   After the crash, the following events … Continue reading

Posted in Development | Leave a comment

How to close the current SmartPart in a CAB application

I have this SCSF (CAB) application in which I want to close the current tab (TabbedWorkspace) programmatically when the user closes it. So I took these steps:   1. In the Shellform add a context menu with one element: "Close" … Continue reading

Posted in Computers and Internet | Leave a comment

Font ‘Arial’ does not support style ‘Regular’

I had this error regularly in Visual Studio (2005) when I tried to add some controls to a form. And then I started having it in other applications as well so I started to look around what it could be. … Continue reading

Posted in Geen categorie | Leave a comment

WCF – get identity of calling user

To get the identity of the calling user of your web method, you can use something like this:   string name = OperationContext.Current.ServiceSecurityContext.WindowsIdentity.Name;   Constraint: your service contract must have a session. In WSSF you can change this in the … Continue reading

Posted in Development | Leave a comment

Debugging a webservice created by WSSF

To debug the webservice rightclick on the solution name and get the Startup Projects. Select the client app that you’re going to use for your debugging, and put its action on start or start without debugging. Do the same for … Continue reading

Posted in Development | Leave a comment

WSSF

Today I’ve been investigating the Web Service Software Factory: Modeling Edition. I have gone over the tutorial and created my first web service with it. It’s a great tool to model your web services first, and then implement them. The … Continue reading

Posted in Development | Leave a comment