TFS database project data script error: SQL01260: A fatal parser error occurred:....
read more
When you try to register a dll through regsrv32, and run into this "the module was loaded but the call to dllregisterserver failed with error code" error, mostly likely you are running on Vista or Windows 7. If this is the case, you have have to go...
read more
Recently, I ran into this error when I changed the app.conf of a windows console app.
The error happened when configurationmanager was called in the code like below:
ConfigurationManager.AppSettings["BatchJobInterval"]
This problem was...
read more
If you see the "Service Unavailable" on TFS 2010, you might want to look at the application pool on the TFS server. Follow this blog and you can see how....
read more
Right click the Setup Project, Select View --> Launch Conditions.
In the Launch Conditions, right click the .NET Framework, select Properties Window.
...
read more
In the project, we have a WinForm program and a WPF program. We need to call the WPF in the WinForm code. The question is the WinForm need to run in .Net Framework2.0 because some of the customer machines only supported Framework2.0. But as you know, the WPF is only supported in .Net Framework3.5. So I can't directly call the WPF code in the WinForm. The best way to do that is to dynamically load the WPF dll.
...
read more
As my privious section mentioned, if the VB6 and WinForm application are not located in one machine, the WinMsg can't work. So there are some remote ways to use: TCP communication and .Net remoting
...
read more
2. Interop call C# WinForm by WinMsg
Now we have a COM interop in VB6, VB6 can put the GenInfo and Flag to the C# class. But how can
I notify our WinForm application to get these values?
I decide to to use WinMsg to communicate between the...
read more
C# VB6 interop
Monday, August 30, 2010 3:33:15 PM
C# and VB6 can talk to each other through interop - an easy concept but has lots of hidden traps. If you are stumped on why your interop doesn't work, take a look at this blog. ...
read more
Integrate vb6, interop, winmsg, tcp, .net2.0/3.5 together into a real life project
In a recent project, we have encountered a very complex business needs that presented a number of obstacles to our developers. Through much trial and error...
read more
Page 1 of 2 1