|
I've got VS2013 and Office 365. Trying to create a project with the Excel Workbook template says that my Office installation is missing required parts and to reinstall it. According to Microsoft you can't create Excel workbooks with Visual Studio 2013 when your Office is delivered via Click-to-Run because you can't customize the install and tell it to install the bits that communicate with Visual Studio. I've got Office 365. Is there any way around that? It seems really stupid that I can't create workbooks because I have the poor version of Office.
Luigi Thirty fucked around with this message at 20:41 on Jul 24, 2014 |
# ¿ Jul 24, 2014 20:37 |
|
|
# ¿ May 2, 2024 11:48 |
|
candy for breakfast posted:Nthing everyone else here: WPF/MVVM is not easy. It took all of us some time to understand it. Once you hit that 'aha' moment then you realize it turns into something spectacular and never want to go back to winforms. Confirmed that nothing I have ever done has made me feel stupider than trying to write this in WPF.
|
# ¿ Sep 7, 2014 19:18 |
|
I'm bad at WPF. I have a byte array containing 8 bytes of image data (so an 8x8 1bpp image) that I want to display as a 64x64 Image on a window. I've been trying to use that WriteableBitmapEx library to load the image data into a WriteableBitmap and bind the Image to it but it's documented poorly and I can't work out how to do that. To make sure it works, I bound the 64x64 WPF image to a 64x64 96dpi WriteableBitmap and when I do .Clear(Colors.Black) on it, only the right 1/4 of the image is cleared to the right color. I'm really confused.
|
# ¿ Nov 18, 2015 05:03 |
|
Mr Shiny Pants posted:How do you bind the image? I'm not even trying to bind the actual image now, just get the drat thing to work right at all. Here's the Image on my WPF window. TestCharacter is a WriteableBitmap property which is not initialized at start time. code:
code:
|
# ¿ Nov 18, 2015 20:13 |
|
EssOEss posted:I believe you have to surround any touching of the WriteableBitmap with a .Lock() and .Unlock() pair, to properly synchronize everything. I got an access violation still. I changed it to just SetPixel() but the results are wrong. Starting with a black image, this code: code:
|
# ¿ Nov 18, 2015 23:51 |
|
Bognar posted:Just a guess, but I think this might be because you're using PixelFormats.BlackWhite. Try Bgr32 or Pbgra32. That got it working thanks.
|
# ¿ Nov 19, 2015 01:43 |
|
I updated my Visual Studio 2015 from Update 1 RC to Update 1 release. Now when I start the application I get an error sound and it locks up on the start page. Is this happening to anyone else?
|
# ¿ Dec 3, 2015 02:46 |
|
I'm generating an Indexed4 format BitmapImage from an arcade game's graphics ROMs. Which encoder can I use to save this as an image file in a native 4bpp indexed format? I'll take third-party encoders if I need to.
|
# ¿ Apr 17, 2017 02:28 |
|
|
# ¿ May 2, 2024 11:48 |
|
The native format is raw binary but mechanically similar to PBM. 1 bit from each of the 4 ROMs gets combined into a palette index for a pixel. I was able to encode it as an uncompressed 16-color TIFF and load it into an image editor so my problem's solved.
|
# ¿ Apr 17, 2017 20:23 |