|
Browse by Tags
All Tags » VIsual Basic .NET ( RSS)
-
|
In VB6 when you have an ActiveX Library it was very important to use the BinaryCompatibility setting to make sure that your applications did not break after a change. So let’s first introduce what is binary compatibility and how to accomplish that in...
|
-
|
AutoCAD 2010 will not be supporting VBA . Quoting “If you utilize VBA macros in your work environment, they will no longer work unless the VBA module is installed on your system. “ “When you run a command that requires VBA, a message dialog box will be...
|
-
|
We have seen a situation that can be a little annoying. I usually find that situation in ASP.NET projects, but it can also happen in Winforms. The issue is like this: You have a VStudio Solution You have added all the needed references All your code compiles...
|
-
|
How can I migrate property pages? Well that is a common question when migrating VB6 Activex controls. Property Pages where commonly used in VB6 to provide a mechanism for your user controls to edit values. .NET provides even more mechanisms for editing...
|
-
|
Some time ago Jose Aguilar had blogged about the Interesting Behavior of TabIndex in Migrated Applications . As he explained at the time there are functional differences between the TabIndex behaviour in VB6 If you look at Figure1. Figure 1. This image...
|
-
|
Here is some examples of how to determine the WeekNumber of a given Date using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program { static void Main( string [] args) { object index = DateTime.Now;...
|
-
|
As vb6 migration experts in our company we deal everyday with a lot of issues around Interop and serialization. One important thing to note is the concept of “Bittable Types”. I’m not making up terms. Those terms actually exist. Just see this link in...
|
-
|
One of our clients wanted to change the CreateObject function migration for a function of their own. So they wanted all cases like: Dim x As Object Set x = CreateObject("Excel.Application") To be migrated to something like: Excel.Application...
|
-
|
This post shows a way to calculate the number of weeks. Remember that this calculation is culture-dependant For example the GetWeekOfYear methods requires a criteria to determine how to determine the first week and which day to consider as FirstDayOfWeek...
|
-
|
If you have your ASP.NET application for example in c:\inetpub\wwwroot\WebApplication1 and you want to programmatically get that path just use something like: string AppPath = Request.PhysicalApplicationPath;
|
-
|
In the VB6 world it was very common to use “Resizer” OCXs that you just put on your forms and that they handle all the proportional resizing needed if you changed your form. It was very simple and easy. However when I started looking for something like...
|
-
|
Most of our clients come from a medium-size to a big enterprise level. In these scenarios is very common to have different department using different technologies to solve their business needs. These different technologies can be on a very homogeneous...
|
-
|
My good friend Jafet, was recently dealing with an interesting bug in Visual Studio. He created a simple Visual Studio Project that had just an interface that he exposed thru COM. He’s intention was to compile the Class Library and use the TLB file in...
|
-
|
My first language ever was GW-Basic. I was a teenager doing in summer work at a company that made polls about hair products and things like that. At that time I didn’t had a computer. They were tooooo expensive. And I found a manual for GW-Basic. I stole...
|
-
|
Most people migrating their application want to move ahead and take advantage of new technologies and new operating systems. So if you had a VB6 application and you migrated it with us to .NET we will recommend and automate the process to use ADO.NET...
|
More Posts Next page »
|
|
|