-
I've gotten this question 3 times in different flavors since last week and I've decided that it's time to post the solution in my blog. I've added comments on the code to explain what every line is doing. The code below will demonstrate how you can read the assembly information in both...
-
we have a number of batch scripts at work which executes sql-related tasks for each of our project releases. last time, i incorporated errorlevel checks so we know if there was a problem with the execution and in order to abort the rest of the operations if something else has gone wrong. i was surprised...
-
i purchased my very first pocket pc last week and i have'nt really used it extensively. except for calendar and the gps software bundled which has been very useful travelling in this new country. i'm thinking of installing an rss reader so i can now catch up with my blog feeds during my two hour...
-
i've been told by one of my officemates that the windows xp search containing text does not work with all file types. of course mr. skeptical always verify it and was surprised that indeed it does not work for all file types, even with C# cs files! just sharing!
-
we have a document that keeps on repaginating eveytime i open it in winword. i found a post in usenet that you just have to save it as a webpage (html) then resave it as word document and it did solve the problem. just sharing!
-
for years i thought deltree (deletes a folder and all the files in it) was removed from the DOS days. before it was not included in the default command set but available as a separated executable. i just stumbled in one of our post build events which does the same with the remove directory command with...
-
I am currently working with conversion of ASP Classic web application to ASP.Net 2.0 and I have to deal with a lot of client-side script. Before, I used to insert an alert( sampleValue ) to be able to view the current value of a variable until I found out that about “debugger” keyword in JavaScript....
-
I find it hard when the currently active code sheet or item is not highlighted in solution explorer and there were times when i couldn't easily see where the option is so this is for my future reference. VS 2003: Tools->Options->Environment->Projects and Solution VS 2005: Tools->Options...
-
While Sql Server provides functions to manipulate datetime data types(DateDiff, DateAdd etc.) they don't have(as far as I know) functions to manipulate time. Very useful when computing time differences. In the past I had to manually datediff parts of the time(hh:mm:ss) which wasn't scalable especially...
-
I was browsing devpinoy today when I saw a post by one the members about his "maintenance project" boredom. While I was reading his post I kinda had this "blast from the past" moment wherein memories of how i was back when i was starting my career as developer started vividly jumping...
-
"Combine. Merge. Join. Append. Concatenate. Microsoft Word Documents." A few weeks ago I wrote an article about merging word documents in C# and got great response about the article. One of the readers, Abhi, had an interesting problem. The application he wrote was throwing this error: Word...
-
once in a while, i still experience slickrun battling with another window on which of them should be activated (this has been a long outstanding bug of slickrun). my usual workaround is to lock my system (Win+L) then unlock it. slickrun behaves as normal after this workaround.
-
if you're a keyboard junkie, you might have mistaken to close that Visual Studio Tool Window (resharper's find usage is a prime candidate) with an Alt+F4 keystroke and when you don't have any changes to save, your slow VS which took you almost a minute to load is now closed. Next time, just...
-
Previously jokiz bloged about this one , I'd like to add further. The same issue cropped up again in the forums although not the exactly the same as jokiz's experience, this one could really give you hours of head scratching. Previously I was amazed that dynamic ORDER was possible with T-SQL without...
-
Finally NHibernate (1.2+) is able to take advantage of .NET2.0's connectionStrings section, which previously I'd have to either declare it twice (in either config file or the dedicated hibernate.cfg.xml) All you need to do is, instead of using hibernate.connection.connection_string, use the "newer"...