The Linux Page

Page list for MS-Windows

  • I have been wondering how to lock a few rows and/or columns on a side in Excel. I have seen that being done many times, but did not know how to do it myself.

    In the Windows menu (Before Office 2007) and in the View menu (Since Office 2007) you will find an option named Freeze Panes. You have three selections:

    1. Freeze the selected top rows
    2. Freeze the selected left columns
    3. Freeze the selected top rows and left columns

    If you just need one row and/or column, place your cursor in the A1 cell.

    [toc hidden:1]
  • Introduction

    These are common questions for MS-Access users:

    • How can I get the name of the currently logged on user?
    • How can I get the name of the computer the user is working on?

    Both names are available in the Kernel and we can make use of a function declaration to access those names.

    MS-Access Functions

    To determine the name of the current user:

    Private Declare Function GetUserName Lib "advapi32.dll" _
        Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
    
    Public Function GetLogonName() As String
        Dim lpBuf As ...
  • [vtoc title=Boot Sector; minlevel=1; maxlevel=4;]

    Error 16

    Today I got an error 16 with GRUB on one of my machines. This had happened before so I did not worry too much. It is just quite annoying.

    Ubuntu CD

    A Ubuntu boot CD has a cool feature one can use to rescue such a system (i.e. re-install GRUB properly.) More or less, boot the CD, select the rescue mode, let it do its things for a moment (after you select options like keyboard, etc.)

  • See attach

  • I have been looking for a way to hide some columns in a datasheet form.

    The main reason to hide columns is to include data that you need whenever the user clicks somewhere, but that data is too technical to be shown. For instance, if you work with QODBC you have the ListID and TxnID to keep around but both look like GUID and thus are much better hidden from an every day user view.

    The reason why I'm bringing this up is simple: whenever you have a field in a form that you want to hide, you click on it, go to the Format properties of that control and select Visible: No, I use that to ...

  • Today I discovered that I couldn't include the QDebug header file at the time I need it.

    When I write in C/C++ I like to add my test libraries at the point where I'm writing the debug function I'm working on so that way I can delete it all at once.

    So the skeleton of a file would look something like this:

    Comment (copyright/purpose of file)

    #include of all headers necessary

    code

    #include of debug headers

    debug code

    However, today I had problems compiling and/or linking doing so. The qDebug() << ... expressions did not want to work.

    Moving the #include of debug headers to

  • It happens all the time. You create two or three option groups and start adding radio buttons.

    Then you write some VBA code attached to each button and/or their option group.

    And at some point in the development you notice that one was put in the wrong option group.

    Just deleting the option and creating a new one is not a good option because then you have to make totally sure you have the right setup and that can take some time to review.

    Instead, you can move a radio button from one option group to another by following these steps:

  • I created this page to have a place to save my copy of IrfanView.

    I have to say that the author has made his download so complicated (at least last time I tried it was deadly complex!) that I have to just keep my own copy somewhere. Maybe it's illegal, but the software is freeware anyway.

    You can find the original (and most certainly more advanced version) on his website: http://www.irfanview.com

    There other tools one can use to work on images as follow:

  • As I create website, I often deal with JavaScript code. At times, a variable doesn't make it for different reasons, for instance a part is missing and thus the variable generation doesn't happen. If then the script uses that undefined variable, then it generates an error. In some cases, it may not matter too much. However, when the variable that doesn't exist is hit, the JavaScript interpreter generates an exception and stops the execution of the script altogether (unless you capture the exceptions... Do you do that?!)

    The solution is to test the variable and since I always have to search how

  • The other day, I wrote a module for Drupal. Up to here, no problem. What I wrote required a small amount of Javascript to make a dropdown menu feature work. That worked just fine under Mozilla and FireFox, and even Safari & Konqueror.

    When I tried with Internet Explorer, nope. Not working at all.

    The function I was using goes like this:

Syndicate content

SMS From Me Logo

SMS From Me

To automatically start one on one conversations with your online leads.

     

   

Terms of Site Index

Find the page/content you are looking for with our index.