Skip to content

Windows API

Discussions on the APIs of the various versions of Windows

This category can be followed from the open social web via the handle windows-api@forum.codeproject.com

811 Topics 2.7k Posts
  • 0 Votes
    1 Posts
    1 Views
    No one has replied
  • Nesting "AND" Functions? [modified]

    question career
    2
    0 Votes
    2 Posts
    2 Views
    G
    Sorry, didn't know the table would come out so packed together... Each headline has a range of income and that range is reflected by the perecntage to it's left.
  • Visual Studio 2005 and Windows 7

    visual-studio question csharp help
    10
    0 Votes
    10 Posts
    14 Views
    L
    that didnt exactly solve my problem, but made it less annoying, all i need to do now is to hover over the line of code so that the screen refreshes that line :( still looking for a solution. (2B)||(!2B)
  • Windows 7 has a shortage I want to fix [modified]

    help question css tutorial
    11
    0 Votes
    11 Posts
    3 Views
    L
    Richard MacCutchan wrote: his language is not appropriate in technical forums. I remember my collegue explaing how to divide numbers in binary, which we needed to know on an exam. It went like this: You just pick that cr*p, put it here, add this sh*t and you'll get a fuc**ng remainder. Then, move your ass to a next line, take another bit, check if it's fuc*ing zero, and then you must either add or do a fu*ing subtraction" and so on... :wtf: :omg: Of course I do NOT appreciate such behaviour. X| (btw sorry for off-top) Greetings - Jacek
  • GNU Make 3.81 -> make.exe fails [modified]

    asp-net android debugging tools tutorial
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • 0 Votes
    2 Posts
    5 Views
    L
    I suggest you try and measure again choosing a destination folder that isn't under scrutiny by Vista/Win7. You should not store data in special locations such as C:\ and C:\Program Files and C:\Windows Have a look at the special folders returned by http://msdn.microsoft.com/en-us/library/system.environment.specialfolder.aspx[^] and create and use a subfolder in an appropriate one of those. :) Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
  • Fixed icon in notification area for Windows 7 [modified]

    com question
    3
    0 Votes
    3 Posts
    4 Views
    V
    Unfortunately I dont use .NET, I'm using Delphi. Correct links for images are http://my.jetscreenshot.com/156/20091207-h6mn-19kb[^] http://my.jetscreenshot.com/156/20091207-mqgl-16kb[^]
  • 0 Votes
    1 Posts
    1 Views
    No one has replied
  • 0 Votes
    1 Posts
    1 Views
    No one has replied
  • Petition to get back disk free space in Windows 7 Explorer

    com discussion lounge
    7
    0 Votes
    7 Posts
    4 Views
    L
    I am using total commander www.ghisler.com[^] since the DOS area. It displays the number of files, the size, the number of files / directories, the disk size and the free space. It it the best file commander I know and it supports plugins / ftp / zip and other archives / file sync and so on. It is also portable, so you could put it onto your stick with all your settings and customizations. Andreas.
  • 0 Votes
    1 Posts
    3 Views
    No one has replied
  • Logfiles

    sales question discussion
    2
    0 Votes
    2 Posts
    6 Views
    L
    Hi, the desktop is not yours, it belongs to the user. this is what I do most often: 1. Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) returns the path of an existing and writable folder for such purposes (the result varies with the Windows version, no worries); what I do is create a subfolder in there, normally I use my app's name for that. 2. create a daily log file in there, with a name that contains the date (appname_20091125.log) 3. automatically delete all log files older than X days 4. provide a Button that opens Windows Explorer on that folder, so user can locate and see them and/or provide a Button that e-mails a copy of the most recent log file (must be a copy since logging has to continue while e-mailing). :) Luc Pattyn [Forum Guidelines] [My Articles] I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages modified on Wednesday, November 25, 2009 3:50 PM
  • Disable Safe mode on Windows 7

    windows-admin question
    4
    0 Votes
    4 Posts
    8 Views
    I
    Sorry, it is NoSafeMode (that seems to be the only one around) Then there is this round-about way given here, of disabling the keyboard during boot http://www.raymond.cc/blog/archives/2009/04/30/disable-f8-key-to-block-access-to-safe-mode-during-windows-startup/[^] (I don't really recommend this, though) Here's another link you may find useful, on how to force log-in to one particular account http://helpdeskgeek.com/how-to/how-to-setup-windows-vista-and-7-as-a-kiosk/[^] It may be easier to avoid Windows 7 altogether though...
  • 0 Votes
    2 Posts
    2 Views
    L
    Why do you want to put a '\r\n' there ?
  • Windows Explorer in Win 7

    data-structures
    3
    0 Votes
    3 Posts
    3 Views
    L
    super wrote: Is there any way to have a win explorer like in XP or at least have the folder/tree view in the explorer Yes, it's called Windows Explorer
  • VS.Net2003 on Windows7

    csharp visual-studio question
    4
    0 Votes
    4 Posts
    2 Views
    F
    vs2005 is the best choose. of course you can install vs2005 and vs2008 in your computer that is my classmater choose.
  • 0 Votes
    1 Posts
    2 Views
    No one has replied
  • VB.NET app unable to open mdb on Windows 7

    csharp database help question
    2
    0 Votes
    2 Posts
    3 Views
    D
    I've found the solution: In the Visual Studio Build Configuration Manager, set the Release Platform to x86 and then rebuild. My original provider line in the text file was correct: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files (x86)\ClinicMeds\ClinicMeds.MDB" My app was then able to open the mdb file on a 64 bit Windows 7 Home Premium PC. The only problem I'm having now is every time I launch, Windows asks if I should Trust the app. I don't see how to turn this off just for this exe.
  • OverIcon.dll in Vista ?

    question
    3
    0 Votes
    3 Posts
    3 Views
    M
    Yeah, I have Sony Vaio ;)
  • Windows C.E

    announcement
    6
    0 Votes
    6 Posts
    3 Views
    I
    Thanks a lot for the post , it really helped me a lot Best Regards, Softdev :-D Best Regards, SOFTDEV If you have knowledge, let others light their candles at it