topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday May 24, 2025, 2:40 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 224 225 226 227 228 [229] 230 231 232 233 234 ... 438next
5701
General Software Discussion / Re: automate database building
« Last post by Renegade on April 26, 2012, 01:13 AM »
Re-reading, I think I misunderstood before.

Are you simply looking to match chemical names, e.g. "chemical name", to the PDFs as in "chemical name.pdf"?

Here's a quick hack that will let you paste in a word list and check 1 folder:

* ChemicalPdfCheck.exe (9.5 kB - downloaded 401 times.)

But that's all it does. It's VERY simple.

I don't have time right now to do much more, but here's what it is in case anyone wants to continue after you verify that it's the kind of thing you're looking for. (Maybe I can finish later.)

Here's the code for the 1 method to check:

Code: C# [Select]
  1. private void button1_Click(object sender, EventArgs e)
  2.         {
  3.             DialogResult dr = folderBrowserDialog1.ShowDialog();
  4.             if (dr != System.Windows.Forms.DialogResult.OK)
  5.             {
  6.                 return;
  7.             }
  8.             // display the selected path
  9.             textBox2.Text = folderBrowserDialog1.SelectedPath;
  10.  
  11.             // find the files that are missing
  12.             foreach (string s in textBox1.Lines)
  13.             {
  14.                 if (File.Exists(folderBrowserDialog1.SelectedPath + @"\" + s + ".pdf"))
  15.                 {
  16.                     // do nothing
  17.                 }
  18.                 else
  19.                 {
  20.                     // got a missing file - add it to our list of missing ones
  21.                     textBox3.Text += s + "\r\n";
  22.                 }
  23.             }
  24.  
  25.         }

5702
Living Room / Re: good Videos [short films] here :)
« Last post by Renegade on April 26, 2012, 12:49 AM »
Yes, Coraline was great.
...And if you want dark, go with this:

The Backwater Gospel
Bachelor film project 2011 from The Animation Workshop.

As long as anyone can remember, the coming of The Undertaker has meant the coming of death. Until one day the grim promise fails and tension builds as the God fearing townsfolk of Backwater wait for someone to die



Love the style...

Finally got around to watching that. Pretty good! Disturbing, but good. :)
5703
Announce Your Software/Service/Product / Re: OpalCalc 1.42
« Last post by Renegade on April 26, 2012, 12:03 AM »

It's just so much nicer to do math in words rather than fart around so much.

"Number of farts allowed safely before causing global warming catastrophe."  :P

Screenshot - 2012-04-26 , 3_02_28 PM.png

:P

5704
Renegade

Try www.unlockpdf.com



Didn't try that one...
5705
Weird, printed fine here. Only thing I noticed is that it appears to be A4, and I'm US 8.5x11. But the page scalling option on Adobe reader did fine with it ... Now if that wasn't set/adjusted to fit contents to page ... Some printers may tend to (fail/error) react badly to the print job.


Hmmm...


no answers, but we have had similar experiences with PDF's that will not print on one printer, but will print quite happily on another...


Seems like you guys have it nailed there -- it's a printer specific problem for the PDF. It's just bizarre though.


prints here as well using PDF x-change viewer.. looked into the document's permission and there is no restriction. in fact printing is set to 'High Resolution'. something is wrong with Adobe, i guess?
 (see attachment in previous post)


Again, odd.

I tried to unlock the PDF and failed. I wanted to try to convert it to a DOC or RTF or anything else to see if she could print that way.

In any event, it's just seeming extremely bizarre that a printer-specific problem would surface for a PDF in Acrobat Reader, but not in the Acrobat plugin for Firefox (the browser that it did print in). I guess the print job is sent by Firefox there, and that somehow gets around the issue.

Don't ya just love computers sometimes? :D :P
5706
Living Room / Re: Do a Barrel Roll ;)
« Last post by Renegade on April 25, 2012, 10:02 PM »
Ah - first I've seen it was today.
5707
Living Room / Do a Barrel Roll ;)
« Last post by Renegade on April 25, 2012, 08:51 PM »
Just click... And enjoy the ride~!

https://www.google.c...h?q=do+a+barrel+roll

;D

5708
This is the file:

* form-c2.zip (1114.76 kB - downloaded 276 times.)

Sigh... Bizarre... She could print everything else... just not that... It's locked against some things, but I managed to print it, but I have the full version of Acrobat...

No idea...

And no - didn't try on the Mac. :P ;D
5709
Can anyone save the document as an RTF or anything else?
5710
Drat...

I wasn't even drinking when I first posted...

The C2 form. Half way down or so.
5711
Weird, printed fine here. Only thing I noticed is that it appears to be A4, and I'm US 8.5x11. But the page scalling option on Adobe reader did fine with it ... Now if that wasn't set/adjusted to fit contents to page ... Some printers may tend to (fail/error) react badly to the print job.

Hmmm... Odd...  :huh:
5712
Living Room / Re: Post Your Funny Videos Here [NSFW]
« Last post by Renegade on April 25, 2012, 11:04 AM »
Insincerity BS: US smaller allies are the US' "best/closest allies, and punch above their weight".


THAT WAS ******* AWESOME~!

He's just such a complete douche, and man... what a brilliant way to show it! ;D
5713
My friend's wife contacted me to help with a PDF that wouldn't print... Naturally my first reaction is that it's locked and being idiots, so I don't even bother farting around with it -- I go straight to Screenshot Captor and do a scrolling image that I cut into 5 pages.

...

 >:(

Just about done editing some scroll lines in Photoshop when she finally prints the PDF...

http://www.fco.gov.u...s/applications-forms

Will not print in Adobe Acrobat Reader.

Will print in browser...

Huh? Seriously?

A comment about the UK govt - i.e. NSFW
Just how small does your dick need to be to lock a stupid inconsequential form so that people can't print it? And does locking a form against printing make you feel tough?


Ahem... Anyways...

Does anyone know what you'd get that kind of bizarre behaviour? I mean Adobe -- we already know the UK govt is bizarre. ;) :P
5714
Post New Requests Here / Re: CSV/Excel Parsing & Formatting Utility
« Last post by Renegade on April 25, 2012, 10:35 AM »
@Renegade: csv is easily handled by the XLSX library (EPPlus, extension of ExcelPackage, both on CodePlex) that I use to write the Excel .xlsx files 8)

Always good to know another solid library! Thanks for the tip! :)
5715
Finished Programs / Re: DONE: 1-action Unzip
« Last post by Renegade on April 25, 2012, 10:09 AM »
Here is the app. FastUnzip Snack. There is no settings dialog or anything. Just install and it will associate to ZIP files (may add more by request). Then just double click on a ZIP file and it will extract to the current folder as a sub-folder of the ZIP file name. So if you have a Zip file called MyZip.zip, it will extract to a folder called MyZip. Once extracted, the folder is opened.

For now that is all it does, but I may add other features.
Maybe adding a settings box that gives an option to show a popup menu when double clicking a ZIP to Extract Here or Extract to sub-folder.

Any other ideas?

Wow. That was fast. Can I ask what you used?
5716
Post New Requests Here / Re: CSV/Excel Parsing & Formatting Utility
« Last post by Renegade on April 25, 2012, 09:17 AM »
FWIW, this: http://www.codeproje...58/A-Fast-CSV-Reader - is an excellent free component. It's very easy to use and you can then handle text however you like. I've used it before and it's been excellent. However, it requires programming... it's not hard, but still, you need to know a little bit.
5717
Finished Programs / Re: DONE: 1-action Unzip
« Last post by Renegade on April 25, 2012, 08:20 AM »
Ok, well I think I'm going to try my had at making the app.  ;)

If you take advantage of one of the available command line utilities, I'm sure you can save a TRUCKLOAD of time.

(Believe me... anyone can make a zip utility, but it takes SKILL to make a good one.)
5718
Living Room / Re: FBI: Hundreds Of Thousands May Lose Internet In July
« Last post by Renegade on April 25, 2012, 07:07 AM »
Seems to me that the FBI needs a good EMP so we can watch them go WTF as they are KO'd.
5719
Finished Programs / Re: DONE: 1-action Unzip
« Last post by Renegade on April 25, 2012, 04:49 AM »
+1 for 7-Zip, and if you want to minimize clicks, turn off 'Cascaded context menu' in Options/7-Zip, so Extract Here and Extract to <folder> are directly available in the right-click context menu. Less than 2 clicks is useless imho, would you want all your zip-files to be extracted on double-click?

Personally, I like getting the ZIP context menu on a double-click. It's insanely fast compared to opening a full program, and you have every available option right there.

But if you have 1-click extraction for a double-click, you always still have the right-click menu available. So, you really don't lose anything. You simply have to figure out what you want to do.

It's really all just a matter of how you like your work-flow. Some people are simply slow, and slower methods are good enough for them.
5720
General Software Discussion / Re: automate database building
« Last post by Renegade on April 25, 2012, 02:41 AM »
You mean to use EXCEL files?
That sounds good., and are there any kind of files similar? That can store blobs., etc

Excel doesn't use data types like that, so you can't store a blob in it. Blobs are for RDBMSes.

Can you post a PDF?

but, cant EXCEL store a pdf or any other type, file in a cell?
if not, which specific RDBM would you suggest? (for a veeery simple task as this, that doesnt require to learn much)

as for the pdfs, an example is this:
http://www.purolite....n%20Chem%20Specs.pdf
(renamed as Hydrochloric Muriatic Acid.pdf)

Well, yes, Excel *can* have a file embedded, but not in a cell (AFAIK).

For an RDBMS, just about any will do. Take your pick of whatever you like really.

For the PDF... Sorry. You're hosed. Completely hosed.

The data in the PDF is in the first normal form (and *maybe* the second normal form). i.e. It's all mixed up and jumbled so as to be useless as a database.

Now, it *is* possible to write some software to go through all the different cases and to parse it all, but it is VERY far from being a trivial/easy task. Actually, it's pretty easy, but it is extremely time consuming.

The only solution I see that is remotely quick is to cut each line at the = sign then use the left side as a key and the right as a value. Keys can either be unique or not, but I would probably want to normalize things and try to force them to be unique.

Someone else may have a better idea.

As for extracting the data from the PDF, no clue. I loathe working with PDFs because they are a terminal format where once they are in that format, that's the end. Trying to get anything back out of them is a nightmare. You can try to save a PDF as a DOC to see just how terrifying the monstrosities that are produced are...

I couldn't save the file you had as a DOC because it has a <bad font>, whatever that means... (not even as HTML...)

I tried copying & pasting... No luck. Cells are collapsed to spaces, which effectively reduces any hope of the second normal form to the first normal form, i.e. useless.

It's better to go from database to PDF. That makes sense and is manageable. Going from PDF to anything is nigh hopeless.
5721
General Software Discussion / Re: automate database building
« Last post by Renegade on April 24, 2012, 08:26 PM »
You mean to use EXCEL files?
That sounds good., and are there any kind of files similar? That can store blobs., etc

Excel doesn't use data types like that, so you can't store a blob in it. Blobs are for RDBMSes.

Can you post a PDF?
5722
Finished Programs / Re: DONE: 1-action Unzip
« Last post by Renegade on April 24, 2012, 07:14 PM »
Sorry... It's not in v6.7. :(

It's too bad, because it really was as fast as you could possibly get. Just for interest sake, here are some videos of it:

http://www.altools.c...-Tutorial-Video.aspx

http://www.altools.c...Speed-Extractor.aspx

It was just ridiculously fast...

5723
Finished Programs / Re: DONE: 1-action Unzip
« Last post by Renegade on April 24, 2012, 07:07 PM »
Install 7-zip and set it in tools/options to associate with zip files.  Then just right click your zip file and you can unzip it right there, unzip to a folder named like the file, etc.

Oh yeah, Haozip does the shell extension thing too (as do probably lots of other compression tools); one of the places I visit suggested trying it, and it seems to be as fast as 7-zip, but with a fancier looking interface.  Of course if you just click-and-extract you don't ever see the interface...

Pretty much every other ZIP program has a context menu, but you still get stuck with a minimum of 2 clicks.

Universal Extractor is very good as it lets you unzip setup files as well.

There are a couple Japanese ZIP programs that let you extract in 1 click, but I forget the names of them.
5724
Finished Programs / Re: DONE: 1-action Unzip
« Last post by Renegade on April 24, 2012, 06:40 PM »
"You" came up with this - but Cnet claims it's $29.95 to buy! It's 5 clicks man, not $29.95 worth!

Or is that something evil that CNet stuck on there?

Well, I came up with the design and functional specs, but Jaehoon did all the coding.

ALZip 6.7 was the last freeware version I think. They changed the licensing model after I left the company. Long story there... So, the current version is a 60-day shareware trial.

I'm trying to find v6.7 for you now... I'll post back.
5725
"GDrive" is Google's version, to be announced any day now. I love all this storage; the more companies offering free products, the more users can be selective. Go Microsoft.

Everyone record this day. These are words that I NEVER thought I would see coming from Zaine's fingers!

+1

No doubt! :)

Pages: prev1 ... 224 225 226 227 228 [229] 230 231 232 233 234 ... 438next