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
M

Matthew Hazlett

@Matthew Hazlett
About
Posts
203
Topics
43
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how to create three moving cars from different directions meeting at the junction
    M Matthew Hazlett

    1. Go to the toy store and buy 3 matchbox cars. 2. Position three lengths of wood in a star like pattern and elevate them 45 degrees on the furthest away from the center. 3. Position the cars at the top of each plank and release them all at the same time. 4. Have a camera handy so you can take a picture when they all crash together. 5. Import that picture to your solution and write the following. Bitmap CarsCrashingTogether = new Buitmap("CarCrash.jpg"); 6. Tada, you now have a Visual Studio application that contains a car crash. Hope this helps :-)

    Matthew Hazlett Fighting the good fight for web usability.

    C#

  • Icon c# library
    M Matthew Hazlett

    Been hearing a lot of people having trouble with icons, I decided to updated my article I wrote back in 2004 Access multiple icons in a single icon file[^] with a long needed update. New version of the library lets you import pictures and create 32bit icons with multiple sizes of the image. Hopefully, this can help people who are having troubles with icons with this replacement for the icon class. Grab the library and sample app: GitHub - hazlema/MultiIcon: Display or Convert 32bit icons.[^] Written in C#, Community 2015

    Matthew Hazlett Fighting the good fight for web usability.

    C#

  • Tool Image2ICO
    M Matthew Hazlett

    Very simple program to create icons from pictures. Just Drag and Drop and the files onto the window Creates 128x128 32bit icons using the freeimage library Download Page

    Matthew Hazlett Fighting the good fight for web usability.

    Free Tools

  • Who does not use jQuery these days?
    M Matthew Hazlett

    Use what you like but prototypes rendering speeds are the worst of the lot. http://mootools.net/slickspeed/[^] For full disclosure, I am in the mootools camp.

    Matthew Hazlett Fighting the good fight for web usability.

    The Lounge javascript question

  • Notify Icon
    M Matthew Hazlett

    Think maybe its a bug. All the notify stuff in win 7 is on yet it wont work. Works like a champ in xp.

    Matthew Hazlett Fighting the good fight for web usability.

    C# windows-admin help

  • Notify Icon
    M Matthew Hazlett

    it works icon and all in windows xp

    Matthew Hazlett Fighting the good fight for web usability.

    C# windows-admin help

  • Notify Icon
    M Matthew Hazlett

    Have the strangest problem, the NotifyIcon component will not "popup" its notifications under Windows 7. I even went into notification settings and explicitly told windows to always show all the icons and notifications, still nothing. To make sure I wasn't going insane I copied the program to a Windows XP box and the notification icon worked as expected. No to be defeated, I loaded up the registry on the windows 7 box, found the notification key "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\EnableBalloonTips" changed the value from 0 to 1 and still nothing. Has anyone else seen this problem.

    Matthew Hazlett Fighting the good fight for web usability.

    C# windows-admin help

  • Pythagorean triplet
    M Matthew Hazlett

    lol, the answer is right, I just multiplied wrong to get the product.. lol I'm an idiot. The correct answer is: 31,875,000

    Matthew Hazlett Fighting the good fight for web usability.

    C# csharp php database help question

  • Pythagorean triplet
    M Matthew Hazlett

    Heres the code if you want to see how I did it:

            int objectNum = 1000;
    
            for (int counterOne = 1; counterOne < objectNum; counterOne++)
            {
                for (int counterTwo = 1; counterTwo < objectNum; counterTwo++)
                {
                    double a = Math.Pow(counterOne, 2);
                    double b = Math.Pow(counterTwo, 2);
                    double c = Math.Sqrt(a + b);
    
                    if (Math.Truncate(c) == c)
                        if (counterOne + counterTwo + c == (double)objectNum)
                            Console.WriteLine("{0}, {1}, {2}", counterOne, counterTwo, c);
                }
            }
    

    Matthew Hazlett Fighting the good fight for web usability.

    C# csharp php database help question

  • Pythagorean triplet
    M Matthew Hazlett

    Hi, don't know really where to post this but because I wrote the program in c# to solve this problem, I guess its as good a place as any. Project Euler is for bored programmers (like myself) that like to solve problems. Well I am pretty sure I solved problem 9[^] correctly, yet the site tells me i'm crazy. The answer I got was: {200, 375, 425} [a^2 + b^2 = c^2] And the product of abc is 6375000000. Am I reading the problem wrong? This checks out on my end, please double check this for me and let me know I'm not crazy.

    Matthew Hazlett Fighting the good fight for web usability.

    C# csharp php database help question

  • Problem while creating .mdf file
    M Matthew Hazlett

    Most likely your connections tring is wrong, read this: http://www.monblog.ch/port80/?p=200611251307222[^]

    Matthew Hazlett Fighting the good fight for web usability.

    ASP.NET help database sql-server sysadmin tutorial

  • What is your favorite feature of Firefox?
    M Matthew Hazlett

    Firebug

    Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

    The Lounge question javascript html design help

  • Microsoft Surface
    M Matthew Hazlett

    MS trying to take credit and recreate someone else's work again. But they did add some cool features like the ability to interface with any device placed on the table top... Video

    Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

    The Lounge com question announcement

  • Office 2007 on MSDN
    M Matthew Hazlett

    Cant get it, I only have a pro subscription. Am not rich enough :-(

    Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

    The Lounge

  • Backup Application
    M Matthew Hazlett

    Reason I posted here, is the program has everything to do with sysadmin/os. I'd agree with you if I posted it were posted in the lounge or Web Development areas. Problem is, if it were posted in testing, sysadmins would never go see the post and hence never see or know of it's existence. Isn't the main reason people come to this forum because they are looking for answers? For all we know there could have been an influx of backup questions that were avoided by having this very post in plain site. As for the feedback portion, who better to give feedback then the people who would be using the program to preform their job.

    Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

    System Admin delphi html com sysadmin beta-testing

  • Backup Application
    M Matthew Hazlett

    I recently wrote a utility that encrypts, compresses, ftps and datestamps your servers backup files. I use it with NT Backup on my server but it will work with anything. I am posting about it here for two reasons, one I would like to get feedback and two because I would like ideas on what new things should be added. The product is free and can be downloaded from my site. http://devclarity.com/solutions.html Hope to hear from you.

    Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

    System Admin delphi html com sysadmin beta-testing

  • Ajax hype
    M Matthew Hazlett

    I was using Ajax in 97 before it had a name. Granted I unly used it as a new way to do a login/validation and nothing else but its hardly a new concept.

    Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

    The Lounge question csharp wpf com tutorial

  • Editing Somone Elses Work.....
    M Matthew Hazlett

    Ok, I have a client with a web app in .net and it's the worst most disoranized thing I have ever seen in my life. Please if your going to do consulting, please learn programming basics first and not on the job (Couse then they hire me to fix your code and they won't let me really fix it (rewrite), I have to use bandaids). Heres an example of what I'm up agenst: Theres a button on the form and its visibility is set to false. btnAdd.Visible = false; That Button has an onClick event, and that event says: btnAdd.Visible = true; My client said, why can't we ever see the button... lol Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

    ASP.NET delphi csharp help tutorial career

  • Google Operating System...
    M Matthew Hazlett

    I don't think google wants to make an OS (Much like GM Ford dosn't want to start an AD agency). I think the plan is to be your ONLY source of information (or such a presence that everything else will go the way of Altavista). I forsee them starting a TV news network (in the not to distent future, they already have expiremented with radio). But as for the OS thing -- eventually I think someone will come out with a dumb terminal type of deal thats web enabled and it will just have access to google. Corporations would love this... Think of it -- no IT staff at all, just a few high schoolers that know how to install a machine and get it on the net (Google will do the rest). Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

    The Lounge beta-testing question code-review

  • Page Refresh
    M Matthew Hazlett

    The page load event refreshes the dataset. I am at a loss :-( Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

    ASP.NET delphi database sysadmin help 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