I've played with a little bit of PDF stuff, though not a lot. I used PDF-Lib from www.pdflib.com. You can use the library for free, but it will display a banner across the created page. To not know is bad. To not wish to know is worse.
Zlosk
Posts
-
doable in Java but doable in .Net? -
doable in .net?I think all you need to do is set the InterpolationMode to Bicubic instead of Default. Example: e.Graphics.InterpolationMode = Drawing.Drawing2D.InterpolationMode.Bicubic e.Graphics.DrawImage(bmpImage, destRect, srcRect, GraphicsUnit.Pixel) Look up InterpolationMode in the help for all of the different modes. To not know is bad. To not wish to know is worse.
-
Managing MenusI had a similar problem with the MenuItem control, and I got around it by assigning string information to the Tag property. When looping through a collection of controls, I checked the type to see if it was a MenuItem, and if it was, I compared against the Tag instead of the Name like I was using for the rest of the controls. This still means you'd need to add the Tag info to all those forms, but your application code would still just be in the one place. To not know is bad. To not wish to know is worse.
-
Checking for .NET before runningIs there any way to check that .NET is installed before running? I'm looking to have my program put up an error message stating that .NET needs to be installed if hasn't been yet, kind of like how Windows programs used to tell you that you need to run the program in Windows if you try to start them up in DOS. To not know is bad. To not wish to know is worse.
-
Refresh without erasingI am working on an image editing application, and I was getting a noticeable screen flicker. Is there a way to override the WM_ERASEBACKGROUND message that gets sent during a Refresh? I have a bitmap in memory that I am copying to the screen, so erasing the background during a Refresh doen't do anything besides irritate me. I have come up with a workaround - I created my own screen painting subroutine and changed some of the Refreshes, Invalidates and InvalidateRgns to run my subroutine instead, but I still would like to know if there's some flag somewhere that you could set. To not know is bad. To not wish to know is worse.
-
database connectionYou are going to need to modify your connection string. This is done most easily by modifying the " Windows Form Designer generated code " - you know, the stuff you're not supposed to change. 1. Search for "ConnectionString" in the hidden text. 2. In that mighty long string, find "Data Source=". This will give you the full absolute path. I think you can just change out the full path to your relative one. Otherwise you can set the path to 'Application.StartupPath & "\Database\GradientDB.mdb"' To not know is bad. To not wish to know is worse.
-
Zoom/Pan/Scrollable PictureBoxI'd be up for both helping finish it and porting it. If you like, I can send you my code as well, goofy as it is, so you can see where I was coming from. To not know is bad. To not wish to know is worse.
-
Zoom/Pan/Scrollable PictureBoxI am working on an image editor app for a VB.NET class in college. I have been looking for code for a image display control that can zoom, pan, and be scrolled. Our professor is allowing us to use other people's controls as long as they are cited as being the creators of the control. I've tried writing a UserControl to do this, but it's ugly. I get a lot of flashing (from Invalidating) when I scroll, and I know there's errors in my math somewhere because I can't always scroll back to where I started. I'd also like to get a good old magnified pixelated look when I zoom, but instead I'm getting the bi-linear or tri-linear filtering. Is it possible to get around this and just get blockiness? Thanks in advance for any and all help. To not know is bad. To not wish to know is worse.