Syndicate content

Page list for MS-Windows

  • MS-Access has forms, but no real means to know whether a form exists. It looks like you could go through the list of forms (Forms.item(i)) but I'm not too sure that would work in all circumstances.

    Instead, I used code I found on another site which runs a system command to determine whether a form is currently attached to a window (has a state other than zero.)

    The code looks like this:

    IsLoaded = False
    If SysCmd(acSysCmdGetObjectState, acForm, strFormName) <> 0 Then
        If Forms(strFormName).CurrentView <> 0 Then
            IsLoaded = True
        End If
    End If

    The first ...

  • When I downloaded FileZilla, somehow I also got Chromium and some TV something downloaded and installed under Win10. I removed the TV crap, really no need, but I was thinking to keep Chromium since I need to test my websites with it once in a while. Cool, but that stupid software installed itself to auto-start!!!

    I don't think I had the option to NOT have such a feature turned on.

    So... I had to search for it because apparently no one knows how to handle Auto-Start features under newer versions of MS-Windows. It is actually... take a deep breath... in the Task Manager. (At least in ...

  • I had a little project which requirements was an Adobe Flash animation that calls a JavaScript function to close a browser window.

    With the newest version of Internet Explorer, it will first ask you whether you want to let the script close your window... that's a problem when you'd like that process to be smooth (i.e. without user interaction.)

  • I created a form in MS-Access and noticed, after a little while, that a ComboBox would not render properly.

    The problem is pretty simple, I marked the combo box as having a Normal Back Style. When I first open the window or when I click in that ComboBox, it works and renders the specified Back Color. That's great, but that's not exactly the solution, is it?

    The box has a Fore Color of Black (that's the color of the text). That Fore Color is used because the background is expected to be either gray or green. Either way, black shows pretty well.

  • cl.exe has a special option to be told that the input file is a C (/Tc) or a C++ (/Tp) file. This is necessary if you want to use an extension other than the default .c, .cxx and .cpp. For instance, many people use .cc or .c++ for C++ files. Just add the /Tp command line option and your file will be accepted as a C++ file no matter what the extension is.

    Also, in your environment, you can change the editor and Open/Close feature to recognize these files. The Microsoft page available here:

  • Today I started having some problems with my tables.

    I had a default value set to Now() and it would tell me that it was invalid. I removed it and the save worked.

    What would really be the problem though?

    The thing is the compiler is used against ALL your Visual Basic modules and if any one of them fails to compile, then you get the error. I had one error in one module. Definitions of external (DLL) functions such as GetUserName() and GetComputerName() must all appear before any function declation. I had the GetUserName() declaration such as:

    Private Declare Function GetUserName Lib ...
  • Try to recompile Qt with Pavel's instructrions...

    I did not encounter much problems, although the examples failed. It looks like jom would be the problem as some people reported not having problems following the same steps, but using nmake instead of jom.

    The instructions go like this: [Update: the links below all stopped working.]

    1. Visual C++ 2010 contains all necessary SDKs for Qt compilation. However if you plan to use Qt with Phonon you need to install additional software from Qt for Windows Requirements list.
       
    2. Download and extract Qt 4.7.4 Sources. (Or Qt ...
  • Today, as I was trying to run a 64 bit application in Release mode under Windows 7, I got a crash about a NULL pointer. There is the debuggee (<- well known Microsoft spelling of Debugger) error window:

    Unhandled exception in ... Access violation reading location 0x0000...

    Unhandled exception at 0x52740ccf in guikeyboard_test_developer.exe:
    0xC0000005: Access violation reading location 0x0000000000000000.

    So... according to this error, the software access a NULL pointer. It took me some time, but the problem was not a NULL pointer, it was an unaligned memory access. In other words, it is trying to write a a pointer that is not 16 bytes aligned, which is ...

  • I have had a BIG problem with compiling zlib. Now I have my own normal configure.ac file, but the most important part of that compile was for me to find out how on Earth can you generate the dynamic library (.dll and .dll.a files) instead of the static library (.a only file)?!

  • MS-Access defines many different types, including a newer one called DECIMAL.

    You are supposed to be able to create tables with the DECIMAL type. So a statement such as:

       CREATE TABLE MyTbl (decimal_test DECIMAL(20, 5))
    

    should work. Right?

    I have been using CurrentDb.Execute for a while and that statement was causing the Execute function to return an error saying that the field definition was erronous (Syntax error in field definition, to be exact).

    The trick is very simple!

Syndicate content

Diverse Realty

Diverse Realty Team

Want a New Home?
Want to Sell Your House?

Call Alex at
+1 (916)
220 6482

Alexis Wilke, Realtor
Salesperson
Lic. # 02024063

Cory Marcus, Broker
Lic. # 01079165

     

Terms of Site Index

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