|
Browse by Tags
All Tags » C# ( 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...
|
-
|
Either if you migrate your application from VB6 to C# or if you develop a new application in C# something you end up with cases where you need to use your classes in legacy apps. Some of them could have been written in VB6 or could even be VBA macros...
|
-
|
When a VB6 COM+ Component is migrated to a ServiceComponent, you might want to take advantage of the Configuration files of .NET to specify your connection strings and other important information. So where should your App.Config go. There is a slight...
|
-
|
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...
|
-
|
During a migration from a FlexGrid to a DataGridView, we encountered a situation where the HorizontalScrollBar did not show. I found many suggestions like setting a MinimumColWidth value for all columns, etc. But it wasn’t until my friend Jesus added...
|
-
|
I was recently trying to get the exact width of a string. And I found that the Graphics.MeasureString does not give an exact result. I finally found Pierre Arnaud post in Code Project , which gave me a good explaination and solution of what was happening...
|
-
|
In VB6 ActiveX-EXEs or ActiveX OLE Server where used for several reasons. Sometimes it was performance (because it allowed you to run your code in another process) and sometimes as way to share resources between several applications, like connection information...
|
-
|
When you develop applications with remoting, or in some COM + Remoting scenarios, you could start founding very interesting exceptions. We had a very unconfortable one. We had an ActiveX that is used in an intranet Web Page, that uses remoting to instanciate...
|
-
|
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...
|
-
|
I found this email in my inbox today: “ Hi Mauricio,I came across a reference to your blog at : http://stackoverflow.com/questions/1286746/c-open-link-in-new-tab-webbrowser-control I have been studying your writings on extending the WebBrowser control...
|
-
|
To be able to catch popup windows and open them in your own window you have to manage WebBrowser events like NewWindow2. But how do you do that in WPF? Well it isn’t really that difficult. These are the steps that you have to follow: 1. Add a COM reference...
|
-
|
I’m an enthusiastic user of DXCore and I have been working on some extensions of my own. But I could not find the DXCore or DevExpress menu. Well there is a hack for that . Please invoke the Registry editor, add the "HideMenu" DWORD value to...
|
-
|
If I have a PInvoke call like the following: [DllImport("Advapi32.dll", CharSet=CharSet.Auto)] static extern Boolean FileEncryptionStatus(String filename, out UInt32 status); What is the difference between [DllImport("Advapi32.dll"...
|
-
|
.NET has been around for quite a while. According Wikipedia it has been around since on 3 April 2003 . So now there exist applications developed for .NET Framework 1.0 or 1.1 and people need to migrate them to Framework 2.0 or Framework 3.5. It...
|
-
|
Recently an user of the ExtendedBrowser v2 commented that he needed access to the NewWindow3 event. The NewWindow3 event is raised when a new window is to be created. It extends NewWindow2 with additional information about the new window. Syntax Private...
|
More Posts Next page »
|
|
|