Archive for the '.net' Category


26 Jul 2014

support oracle with an external application over tcp

11:23 | .net, oracle | 556 views

Goal: integrate an external application data to my database I had a small desktop application which is asking a web page about information. The application itself is a simple web robot. Login with credentials, passing through some pages to get the correct information. Using GET, POST methods as well in the process and at the […]


21 Jul 2014

javascript remove comments safely and correctly

9:04 | .net, javascript | 296 views

Goal: remove the code comments correctly One part of my javascript minimize process is to remove the comments from the code. As we know the there are two comment types in js: Here is a simple c# code to drop the comments. This code is seemingly correct but there are some special cases like the […]


28 Jun 2014

mshtml InvalidCastException issue

10:57 | .net | 376 views

Goal: to solve mshtml issue When I use a webBrowser control in my .net application and I try to work with the control, sometimes I’ve got the following error. System.InvalidCastException: Unable to cast COM object of type ‘System.__ComObject’ to mshtml. … May be the message will be different but the reason is the same. The […]



#sidebar a { color:#fff; } #sidebar ul ul li { color: #DEF585; } #sidebar h2 { color: #fff; } #sidebar ul p, #sidebar ul select { color: #BEDDBE; } #backfly { background: url(images/golfBallWallPaper.jpg) left bottom fixed repeat-x #65a51d; }