|
Browse by Tags
All Tags » .NET General Tip » VIsual Basic .NET » C# ( RSS)
-
|
This is an interesting workaround that you can use to support the migration of ActiveX Documents with the Artinsoft VBUM. DOWNLOAD TOOL With this tool you can fix your projects, so they are supported by the the Artinsoft Migration Tool. Just run the tool...
|
-
|
Have you ever wished to modify the way Visual Studio imported a COM Class. Well finally you can. The Managed, Native, and COM Interop Team (wow what a name). It looks like the name of that goverment office in the Ironman movie. Well this fine group of...
|
-
|
The WebBrowser control for .NET is just a wrapper for the IE ActiveX control. However this wrapper does not expose all the events that the IE ActiveX control exposes. For example the ActiveX control has a NewWindow2 that you can use to intercept when...
|
-
|
If you have some .NET code that you want to share with VB6, COM has always been a nice option. You just add couple of ComVisible tags and that's all. But... Collections can be a little tricky. This is a simple example of how to expose your Collections...
|
-
|
Console applications are still very useful for me. I write like 125 console applications in the morning and like 4 or 5 in the afternoon. In one of these applications that was running a long process I just started wandering: what will happen with Lost...
|
-
|
Recently my friend Yoel had just a wonderful idea. We have an old Win32 C++ application, and we wanted to add a serious logging infraestructure so we can provide better support in case the application crashes. So Yoel came with the idea of using an existing...
|
-
|
This code is so handy that I'm posting it just to remember. I preffer to serialize my datasets as attributes instead of elements. And its just a matter of using a setting. See: Dim cnPubs As New SqlConnection( "Data Source=<servername>;user...
|
-
|
The find in files options of the IDE is part of my daily bread tasks. I use it all day long to get to the darkest corners of my code and kill some horrible bugs. But from time to time it happens that the find in files functionality stops working. It just...
|
-
|
We found and interesting bug during a migration. The issue was that when there was an iteration through the controls in the forms, and you set the Enabled property, the property didn't get set. After some research my friend Olman found this workaroung...
|
-
|
Do you want to create a program to install your assembly in the GAC using C#. Well if you had that requirement or you are just curious, here is how. I read these three articles: Demystifying the .NET Global Assembly Cache GAC API Interface Undocumented...
|
-
|
I present here the implementation of some useful tasks In Artinsoft we perform massive migrations of VB6 code to VB.Net and C#. And sometimes after migration there are customizations to be performed on the code, to add new functionality or to set certain...
|
-
|
I had the requirement of creating a MSBuild custom task that opens a .csproj adds a reference to another project. The problem I faced is that references in VisualStudio are generated as relative paths, so I needed something to help me generate relative...
|
-
|
In my past life I spent a few eons writing Java code. And it wasn't bad. We had nice tools like Jalopy! that allowed us to have code in a very standard way. And I missed that. I've been looking around for something similar but I havent found anything...
|
-
|
During migration to C# or .NET it is easier to keep the same ActiveX. The VBCompanion does a great work in migrating the ActiveX control using the .NET ActiveX wrappings and fixing all method calls. Sadly sometimes those ActiveX do not work properly in...
|
-
|
Recently we added some support for migrating the IsMissing function to VB.NEt or C# The thing is. In VB6 the IsMissing Function is TRUE only if you have something like: Public Sub Foo(Optional str) Where you dont specify the variable type, or if you have...
|
More Posts Next page »
|
|
|