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
T

Tony Pottier

@Tony Pottier
About
Posts
80
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to add image to sql server database ?
    T Tony Pottier

    Hi, There is an "image" data type in SQL Server which is basically a binary datatype. http://msdn.microsoft.com/en-us/library/ms187993.aspx[^] Storing binary inside a database is generally strongly advised against though. Before you do that you might want to check if using the filesystem could be a better solution.

    Database database question csharp sql-server graphics

  • Set the size of the drawable part of a form
    T Tony Pottier

    Well yeah; I knew this was a dumb question... After more than 3 yrs of .NET I feel ashamed. Thank you dude!

    C# question csharp help tutorial workspace

  • Set the size of the drawable part of a form
    T Tony Pottier

    Hello, This is probably a dumb question so I'm sure you'll be able to help. On a typical form; you can set the width & height, but it sets the size of the whole form (including the windows buttons and borders). How to set the size of the drawable part of the form only. eg: On this window, how to setup the blue part to be 640x480; not the whole thing? Thank you!

    C# question csharp help tutorial workspace

  • Sheet music
    T Tony Pottier

    by "fast" i mean that I don't want it to lag when a user uses the scrollbar because it has to redraw. Anyway .NET will give me a much shorter development cycle.

    WPF csharp question wpf winforms graphics

  • Sheet music
    T Tony Pottier

    Hello, I'm an experienced programmer and I need to write a program capable of displaying a music sheet on screen. My problem resides on the technology used for display. I first thought of OpenGL as I have experience with it and the TAOFramework that makes the use of OpenGL possible on .NET. Then, well I have extensive knowledge of windows forms and all but I'm not really up to date on the latest versions of the framework so I think it could be done with WPF Microsoft marketted as wonderful. So; my question for those still reading: could I write a fast, customm controller capable of displaying music sheet using WPF and if so could someone point me to some good starter page? Thank you!

    WPF csharp question wpf winforms graphics

  • Programming for my kids
    T Tony Pottier

    story of my life. Started at ~12 with Basic, moved to the old VB, I tried C but it was too hard for me at that time. Then came VB .NET, I learned PHP meanwhile which is C friendly, so I moved to C# and then real C when I was older and smart enough to understand the way the machine works (pointers!) I did some microcontroller ASM, like PIC. My answer is "thanks, but no thanks".

    The Lounge question tutorial discussion

  • Visual Studio autogenerated code
    T Tony Pottier

    some else if would be much better indeed, and the switch/case would be even more appropriate for this stuff, but still it doesn't real shock me.

    The Weird and The Wonderful visual-studio csharp

  • Visual Studio autogenerated code
    T Tony Pottier

    I don't see any horror here. What do you want to do if you need to check for those keys?

    The Weird and The Wonderful visual-studio csharp

  • is this posible can you show me how it is done
    T Tony Pottier

    I used to dig forums and such, but I never posted the homework subject in a forum and asked for ppl to do it. Seriously, don't expect someone to answer this.

    C / C++ / MFC lounge career

  • Writing data to the sound card
    T Tony Pottier

    Well I was trying to write a MP3 player I could easily port to the Nintendo DS by going very low level (ie: fwrite to the sound card). But well, if can't speak directly with the sound device I guess this isn't going to work.

    C / C++ / MFC question

  • Writing data to the sound card
    T Tony Pottier

    Too bad then :(

    C / C++ / MFC question

  • Writing data to the sound card
    T Tony Pottier

    That's again an API. Is there a way to do something like fopen("soundcard","w") ?

    C / C++ / MFC question

  • Increment string value in VC++ 6.0
    T Tony Pottier

    sscanf should do the trick no?

    C / C++ / MFC c++ question

  • Writing data to the sound card
    T Tony Pottier

    Hi, I'm trying to write a wav file to the sound card, but how are you supposed to do this? You can find various libraries to play all kind of music but what's hidden behind those libraries? Basically, what should I do to directly send data to the sound chip? I can't find much information about this... Thanks, Tony

    C / C++ / MFC question

  • Two Countries Separated by a Common Parser
    T Tony Pottier

    Sadly or not DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") is working fine in France. On a sidenote, I've already had this problem in my app where I had to parse numbers. I chose a standard to store them as strings (en-US, in xml config files and other things where you need to store strings) and forced the app to run en-US. It saves you a lot of time and debugging :)

    Clever Code csharp database testing debugging beta-testing

  • It's the thought that counts
    T Tony Pottier

    Well there are lots of cases where catching and doing nothing is ok.

    The Weird and The Wonderful

  • Format date to system timezone
    T Tony Pottier

    Hi, I have DateTime objects that are all GMT+0 times. I'd like to display them in my program so that it matches system's timezone. For instance, the DateTime "2009-03-14 16:00:00" would be ouput as a string as "2009-03-14 17:00:00 (GMT+1)" if my system timezone is set to GMT+1. How can I do this? DateTime.ToString MSDN doc doesn't help; I'm not sure if there's an easy way to do this :/

    C# question help

  • Quotes of the day:
    T Tony Pottier

    Why kind of monster can write such SQL?

    The Weird and The Wonderful database tools announcement

  • Steal Information from another website(Or say anything)
    T Tony Pottier

    If the data you're interested in is always in the same xpath, you can just load the html into an XMLDocument.

    C# com question

  • how to show massage before form is load
    T Tony Pottier

    What you describe is named a "splash screen". There are lot of examples on this site describing how to do this.

    C# help tutorial 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