Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

Dave S

@Dave S
About
Posts
52
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CFileDialog Customization - Date Order
    D Dave S

    **Sigh** Nevermind. I figured it out. I had to fake up a WM_NOTIFY to the undocumented control that houses the listbox that contains the file names. I had to fake a left click and populate an NM_LISTVIEW structure and pass it into the SHELLDEF_view window message processor. The fake was to tell it the message was from its list control. Send 2 messages to order in descending order. Whatta zoo. "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    C / C++ / MFC tutorial question

  • CFileDialog Customization - Date Order
    D Dave S

    I have found several nice articles on customizing and superclassing CFileDialog to do things like change the dialog size and defaulting to a particular view (list, detail, thumbnail) when displaying files. I haven't found anything on how to change the file display order. I would like to show the files in detail view (done) and then order them by date, descending, in the view. There doesn't appear to be any programatic way to do this, short of creating my own file dialog box from scratch. I have attempted to send messages faking a left click on the date header, but that does nothing. It would be really nice to show the user the newest files to process. Any ideas? Thx in advance "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    C / C++ / MFC tutorial question

  • My personal top speed
    D Dave S

    Heh. Mach 1.03 during Pilot training in my T-38 Supersonic trainer. 1984 (20 years ago, last July). Yes, I was at the controls. Boy, did it feel undramatic. Not even a ripple or anything approaching what happened in "The Right Stuff". Controls felt a quite sluggish compared to the snappy turns we could make below Mach. "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge performance

  • Bill SerGio, The Infomercial King
    D Dave S

    Forgive me for stepping in, since I rarely post, and mostly look at your articles to see what flame wars pop up. That said, as a Corporate programmer, the approach you described is one that is the bane of most of us, and may well explain the animosity "I look at programming as a way to make money. I don't approach programming in the same way that programmers who work for a company would." I have to support my lifestyle, too. However, programming is what I LOVE to do. "I write an AD for a program first. An ad that would sell the benefits of that program--what will it do for the user... and I focus on what I know people really buy like Greed, Vanity, Houses, and Fear of God..." This seems really backwards. Start up a demand for something that doesn't exist, by creating an empty demand ( buying "GREED") then try to meet that imaginary demand... Most guys in Marketing write up some kind of AD without first examining what the customer needs, what the current product supports, how things work, or any of the above, then sell that "NEED" to the customer, and leave the "details" to the programmer. MANY times, the "NEED" is completely incompatible with the existing system but that is apparently the programmer's fault, for "NOT having any VISION". "Then I design the user interface--stricly from the point of view of giving the user the illusion that the program is easy, great and will give them a lot of benefits. This has NOTHING to do with writing code! " That's just WRONG on so many levels. I am not writing illusions. THe application SHOULD be easy, great, and have lots of benefits. These should come first. It's what we call use cases and functional specs. Once we know what we want and how to do it, then we write code. "The code is that LAST thing I write, and it is just to make the buttons work." I agree that the code should be written last, but not for that reason. Buttons are there to make the code work, not vice versa. THis sounds like backwards thinking. "I would point out that, without MARKETING, few programmers would have a job." This works both ways. Without the programmer, you are just standing on a street corner, full of sound and fury, signifying nothing. "It seems to me that the marketing of software is AS important as the writing of it and really can't be separated." True, but you have to factor in need first, not creating a need where none exists. Create an answe where NEED exists, and answers aren't available yet. " When you sit down to write a programmer," freudia

    The Lounge design business sales career

  • How to explain things to management
    D Dave S

    KaЯl wrote: Also, the first car race in history was Paris-Rouen, in 1894. Hitting someone with a race car would be MOST effective :laugh: "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge com tools help tutorial question

  • Phone Number "portability"
    D Dave S

    Here in the US, we now have the option of taking our phone number wherever we go. In short, this means I can switch cell phone carriers, and keep my old cell number, or I can switch my home number to my cell phone, and cancel my landline service. My question is this. I get no phone solicitors on my cell phone currently. I get anywhere from 5-20 a day on my home phone. If I switch my home phone number to my cell phone, and cancel my home service, does this mean my cell phone will be assaulted by 5-20 phone spammers per day??? Even though it is big news here, no one seems to be mentioning that question in the news. "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge question announcement

  • Debugging a Stored Proc
    D Dave S

    SQL 2000 has a method in the query analyzer to debug a stored procedure. (Use object browser, select the stored proc, then right click and select debug). This is really nifty, with the exception of passing dates to a datetime parameter. I cannot figure out the format for the date. String mm/dd/yy doesn't work, either with or without single quote. I am stuck, any help would be greatly appreciated. "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    Database database help debugging

  • Pamela fights for chickens!
    D Dave S

    As opposed to "Washed-up-Fast-food-joint-with-fake-fowl"? "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge database com question announcement

  • A Call To Hardware Geeks
    D Dave S

    First, try reseating all the cards. (Video, sound, ram, etc). Then reseat the CPU. Then do all that. My son's PC would just not power up now and again. Pushing everything down tight solved the problem. "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge hardware help question workspace

  • Alienware vs Dell
    D Dave S

    JINX!!!! "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge visual-studio com regex question

  • Alienware vs Dell
    D Dave S

    Now if I could just justify the need for a new PC after buying a Mac... sounds like justification right there :) "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge visual-studio com regex question

  • Removing the sharp in C#
    D Dave S

    Can I tell that I code in C++++, then? Only if A) Your # key is broke B) Shortly after the # key was pressed, an earthquake shook it apart. However, if it were B, above, I would expect to see this: C+x=__ "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge csharp css adobe cryptography question

  • Foreign perception of the USA
    D Dave S

    Only as a bad example. We look to California as a leader in what NOT to do... "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge json question

  • Cmabrigde Uinervtisy rscheearch uesd to baysps sapm ftilres
    D Dave S

    This breaks down at some point. I had a very difficult time understanding baysps = bypass. I thought is was a misspelling of beysian(sp) filters... Plus, I was looking for the man's head in the title. "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge c++ html com

  • Find the man
    D Dave S

    You mean this ISN'T one of those blur your eyes, see the pattern of dots rise out to a 3D picture, thingy?????? "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge com help question

  • Most gratuitous use of 'goto'
    D Dave S

    I had a boss once that maintained most of the code of a major application. I ended up with that code 2 years later. He had a single 2000 line function (he was an old Assembly programmer. Also wrote Cobol Compilers) that did most of the work. He had many gotos in this function. My favorites were the 2 that worked together. One Goto broke out of a 2 deep nested while loop. It went to a 5 line block of code inside a for loop 300 lines down. On completion of that 5 lines of code (keep in mind, it never initialized the for loop), it might return through its companion goto back to where it was called from. (goback to original goto and continue processing). If the condition failed, (which it never did, to my knowledge) it would continue processing inside that uninitialized for loop. We ran this function through some complexity mapping software. It generated a text map of each function with a number 1-10 for complexity. (1 being a linear function, and 10 being a complex == bad function). It also returned a graphic map of each line of code (vectors through each statement, conditions, loops, etc). This function returned a complexity of over 2000! The graphic map generated looked like a street map of south FLORIDA!! (To the dirt road level). "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge question

  • New Sony mouse
    D Dave S

    That's no mouse.... It's a SPACE STATION! I've got a bad feeling about this... :-O Sorry, goofyy star wars humor for the day. X| "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge com question

  • Mars, the God of War
    D Dave S

    Well, there was that post last week, about Science and the ability to move the planets... "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge html com question

  • where is the position of CodeProject server?
    D Dave S

    Yup. my favorite line from that movie. "It takes a minimum of redesign to turn a crucifix into a pogo stick"

    The Lounge sysadmin question

  • where is the position of CodeProject server?
    D Dave S

    I'm going with upright or rack mounted. "His Destructive programming is taking over. Soon he will be irresistibly drawn to large cities, where he will reverse street signs, back up sewers, and steal everyone's left shoe"

    The Lounge sysadmin question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups