examples (15,779)


Unload a COM control when working in VB6 IDE

Part of my everyday work is maintaining and extending legacy VB6 applications. A common engine is written in C/C++ and VB6 uses these functions in order to improve performance. When it comes to asyn…


ruby on rails Implementation of “Remember me” in a Rails application

My Rails-app has a sign in box with a "remember me" checkbox. Users who check that box should remain logged in even after closing their browser. I'm keeping track of whether users are logged in by st…


ruby on rails Frequent SystemExit in Ruby when making HTTP calls

I have a Ruby on Rails Website that makes HTTP calls to an external Web Service. About once a day I get a SystemExit(stacktrace below) error email where a call to the service has failed. If I then…


c# How to write to Web.Config in Medium Trust?

Uploading my first decently sized web app to my shared host provided me with a fresh set of challenges, by which I mean, sleepless nights. The issue was that I had most certainly not developed my app…


Connect PHP to IBM i(AS/400)

I've got an upcoming project wherein I will need to connect our website(PHP5/Apache 1.3/OpenBSD 4.1) to our back-end system running on a iSeries with OS400 V5R3 so that I can access some tables stor…


language agnostic Internationalization in your projects

How have you implemented Internationalization(i18n) in actual projects you've worked on? I took an interest in making software cross-cultural after I read the famous post by Joel, The Absolute Minimu…


vb6 How to use a mutex in Visual Basic

I have imported the kernel32 library so I have the createMutex function available but I am not quite sure of the various parameters and return values. This is classic Visual Basic, not Visual Basic.N…



Easy-to-Use Regular Expression Support in C++?

I'm looking for a robust, easy-to-use, regular expression evaluator for native C++, either platform-independent or Windows-specific. Requirements: Can't use Boost or ACE regex libraries(unfortunate…


sql How does database indexing work?

Given that indexing is so important as your data set increases in size, can someone explain how indexing works at a database-agnostic level? For information on queries to index a field, check out How…


Different Distributed Version Control Systems working together

My office has a central Source Safe 2005 install that we use for source control. I can't change what the office uses on the server. I develop on a laptop and would like to have a different local sou…




tutorial example with how pdf for and java code python