Wednesday, December 21, 2011

On VC++ 2005 Express intellisense

When working with a large codebase in VC++ 2005 Express SP1, the IDE might crash when updating intellisense.
It looks like there are a couple of hotfixes for this problem: KB913377 and KB947315.
After installing, the IDE did not crush anymore (tested on Webkit).

Wednesday, December 14, 2011

My "JSBSim Applications to UAV Flight Dynamics Models" article published

One of my latest articles "JSBSim Applications to UAV Flight Dynamics Models" was published in Scientific Bulletin of "POLITEHNICA" University of Timisoara (Vol 56 (70), No. 3 / Sept. 2011).

Monday, October 3, 2011

How to execute a remote command in IronRuby

def execute_remote_command(command, machine_name, username, password)
 require "System"
 windir = System::Environment.GetFolderPath(System::Environment::SpecialFolder.Windows)
 Dir.chdir "#{windir}\\Microsoft.NET\\Framework\\v4.0.30319\\"
 require 'System.Management'
 options =
 options.Username = username
 options.Password = password

 path ="\\\\#{machine_name}\\root\\cimv2:Win32_Process")
 scope =, options)


 opt =
 class_instance =, path, opt)

 in_params = class_instance.GetMethodParameters("Create")
 in_params["CommandLine"] = command

 # Execute the method and obtain the return values.
 out_params = class_instance.InvokeMethod("Create", in_params, nil)
 return out_params["returnValue"]
rescue Exception => ex
 puts ex.ToString()
 return "-1"
# Return values:
# 0 Successful completion 
# 2 Access denied 
# 3 Insufficient privilege 
# 8 Unknown failure 
# 9 Path not found 
# 21 Invalid parameter
# -1 Other exception

Wednesday, July 20, 2011

Debug the undebugable in SD 4.2

Last week I've integrated the ILSpy debugger capabilities in SharpDevelop 4.2 debugger.
Below, you can see a little video with the feature and you can read more on my SD blog.
Unable to display content. Adobe Flash is required.

Have fun!

Sunday, May 8, 2011

ILSpy Debugger preview - 2

This week I put together a new preview of ILSpy debugger. You can find the bits on the build server.
There's also a blog entry about this preview on my SharpDevelop blog.

Thursday, April 14, 2011

ILSpy debugger preview


The last couple of months I've been working on a integrated debugger for ILSpy decompiler.
You can read more here.

Have fun debugging the decompiled code!

Thursday, February 17, 2011

Reflector is going down - ILSpy is going up


RedGate announced that Reflector no longer will not be free... No problem... We have ILSpy!

ILSpy is one of the best open source disassemblers and decompilers there is!

Try it! Tell us what you think on our forum!

Enjoy and happy coding!

Tuesday, February 15, 2011

My Fuzzy Logic paper accepted in "Journal of Control Engineering and Applied Informatics"

Today my fuzzy logic paper on creating an intelligent flight control system was accepted in "Journal of Control Engineering and Applied Informatics".

Saturday, February 12, 2011

The type or namespace '' does not exist in the class or namespace '' (are you missing an assembly reference?)

There are a number of reasons when one gets the error from the title. Searching the web for this error, there are a lot articles where some solutions are provided.
This morning I also got this error but none of the solutions that I've found were the right one.
It looks like one of the projects that my main application was referring, was build on .NET 4.0 and the main application was build on .NET 4.0 client profile. Setting both projects to use the same framework, fixed the issue.

Thursday, January 6, 2011

Create app in IIS7

using(ServerManager iisManager = new ServerManager())
var site = iisManager.Sites["Default Web Site"];

if (site == null)

if (site.Applications["/" + applicationName] == null)
site.Applications.Add("/" + applicationName, physicalPath);