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.
Tony Pottier
Posts
-
How to add image to sql server database ? -
Set the size of the drawable part of a formWell yeah; I knew this was a dumb question... After more than 3 yrs of .NET I feel ashamed. Thank you dude!
-
Set the size of the drawable part of a formHello, 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!
-
Sheet musicby "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.
-
Sheet musicHello, 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!
-
Programming for my kidsstory 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".
-
Visual Studio autogenerated codesome 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.
-
Visual Studio autogenerated codeI don't see any horror here. What do you want to do if you need to check for those keys?
-
is this posible can you show me how it is doneI 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.
-
Writing data to the sound cardWell 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.
-
Writing data to the sound cardToo bad then :(
-
Writing data to the sound cardThat's again an API. Is there a way to do something like fopen("soundcard","w") ?
-
Increment string value in VC++ 6.0sscanf should do the trick no?
-
Writing data to the sound cardHi, 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
-
Two Countries Separated by a Common ParserSadly 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 :)
-
It's the thought that countsWell there are lots of cases where catching and doing nothing is ok.
-
Format date to system timezoneHi, 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 :/
-
Quotes of the day:Why kind of monster can write such SQL?
-
Steal Information from another website(Or say anything)If the data you're interested in is always in the same xpath, you can just load the html into an XMLDocument.
-
how to show massage before form is loadWhat you describe is named a "splash screen". There are lot of examples on this site describing how to do this.