Posted by jpluimers on 2011/11/03
I uploaded the EKON15 conference download materials to http://bo.codeplex.com.
The changeset you are after is http://bo.codeplex.com/SourceControl/changeset/changes/70872
It contains most of the materials for the Delphi Tage and the Delphi Live conferences too, though I will upload the missing pieces soon.
–jeroen
Posted in Conferences, Delphi, Development, EKON, Event | Leave a Comment »
Posted by jpluimers on 2011/11/03
Sometimes you just want to ask a user for a simple string of input.
The InputBox function is an easy way to do do this. It has a tiny issue with the icon (it uses the one that belongs to the application installation, not the icon in the project properties).
InputBox has been part of Visual Basic since the 90s. And it is very easy to use from C# and other .NET languages:
- Add the Microsoft.VisualBasic assembly (which has been part of the .NET FrameWork since it first got released) to your solution
- Make a call like
Microst.VisualBasic.Interaction.InputBox("Did you know your question goes here?","Title","Default Text");
Sometimes you have to look a bit further than your regular toolbox for simple solutions.
I should dig up my 2006 session on the My Object in Visual Basic: that is also very easy to use in C#.
–jeroen
via: Input Message Box in C#?.
Posted in .NET, C#, C# 2.0, C# 3.0, C# 4.0, Development, Software Development, VB.NET, VBS | Leave a Comment »