Search:
Type: Posts; User: Precision999
Search:
Search took 0.03 seconds.
-
Well I've done a lot of googling on this and it seems that I need to stick with itextsharp on this one - itext7 just seems to use more memory to achieve the same thing :(
-
Hi
I'm trying to convert some itextsharp stuff to itext7. This itextsharp function just compresses a pdf, replacing the original file as it does so:
Sub compresspdf(myfile As String)
...
-
Thanks for that link - I've got the xml editing idea to work OK for plain text, but it looks like it's going to be a bit of a faff for changing formatting, so I'll check this out.
-
Thanks - I'll have a look at that, but I suspect there's going to be a fee at some stage and I was hoping for a free solution.
I've also found some stuff online about editing the XML directly, so...
-
Hi
I've got a word doc with several bookmarks. I use a vb.net program to add text to some bookmark locations in the doc, save it as a pdf, and then save the doc to a new location.
I need the...
-
I still haven't found a 'proper' way to do this, but if it helps anyone else, a workaround is to stamp the columntext to a dummy pdf of the same dimensions as you want to use with a rectangle with...
-
Hi
I need some itextsharp help please working out how to position a rectangle to use with columntext. This may also involve a better understanding of how fonts work!
Here's the background:
I...
-
Success!
Here's the code which now opens a new excel file and then runs the macro from my personal workbook:
Dim PWB As String =...
-
Thanks for the links - part way through going through the first one I realised I didn't have the macro in a separate module in Excel, and as soon as I set it up properly it worked OK - I can now call...
-
OK, OK, I believe you!!!
Seriously though, not using WCF is welcome advice! - I'll do some research on the web api option.
Thanks
-
OK, just tried to call a macro from an existing xlsm as a test (this removes any possible issue of the macro being located in the personal workbook):
Dim myfile As String =...
-
Hi
Yes, both those are options are selected.
-
OK, sounds logical, so we're back to my original query: what's the easiest way to communicate between desktop app/server and ASP.net/server?
For example, a progress indicator - which could be as...
-
Hi
Thanks for replying.
That gave me the error:
Cannot run the macro 'test_call_sub'. The macro may not be available in this workbook or all macros may be disabled
I don't think this is...
-
Hi thanks for replying
I didn't want to muddy things by going into it in too much detail on what the windows form app does - it's a bunch of operations on existing pdf files. The pdfs are filed in...
-
Hi
I'm in need of some advice please on what level of communication can be achieved between an ASP.net app (run as localhost) and a windows form app.
In general terms:
1. I have a windows...
-
Hi
I have some macros in my personal excel workbook. I'd like to create a new Excel file and then call one of these functions in Excel with automation.
So to start Excel up I'm using:
...
-
Hi
I think I found the answer.
I can do this from cmd window by putting this line:
split myfile.txt -l 10000 --additional-suffix=.csv
into a new text file called 'script' and giving it...
-
Hi
Thanks for quick replies - I've done a process with parameters before, but I don't know how to pass a command to the bash?
I suppose what I'm really asking here is how to launch git bash...
-
Hi
I've been using some Git Bash in a very basic way to split up text files like this:
split myfile.txt -l 10000 --additional-suffix=.csv
I thought it would be useful to get this...
-
Hi
I've used a function from here:
https://stackoverflow.com/questions/26142723/get-extended-file-information-details
... to retrieve the 'Title' file property from a pdf file. It worked...
-
I fear it's going to be too complicated to piece together in that way, but I will try.
There are a few other options out there - the download from this youtube vid:
...
-
Hi
I need to encode a BC128 barcode (and save as a graphic file).
I've been looking for a nuget package which will support use of subsets and found that zxing.net (which I've used a little for...
-
Thanks for all the response guys. I'll look into all of these and see what works best for me.
-
Hi
Asking for a bit of general advice here: I've only ever coded in using winforms before, but I've been asked for a form to be made dynamic in layout, so it will re-size itself and show nicely on...
-
Hi
Posting for anyone else who needs this - apparently you just need:
response.Metadata("name of field/tag you want")
-
Hi
I've got some code working to download some Amazon S3 files, but I'm a bit stuck trying to get some metadata from each file.
Here's the copy code:
Dim request As...
-
Thanks - oddly enough I'd just found that after I posted and am trying it now!
EDIT: That works well - thanks!
-
Hi
What's the easiest way to access a given file's metadata?
I've got a bunch of pdf files and I need to read some of the PDF Information fields - title, subject and producer - and some of the...
-
I finally found a solution to this, so I'm posting in case this helps someone.
All I had to do was clear the contents of this folder:
C:\Users\(my...
-
Hi
When I try use this code:
Dim jobsheet As String = "C:\projects\Mydoc.docx"
Dim oword As Object
Dim odoc As Object
-
OK, this works:
Sub open_window(folder_path As String)
Dim proc As New Process()
proc.StartInfo.FileName = "explorer.exe"
proc.StartInfo.Arguments = Chr(34) &...
-
Hi
I've just had to replace my PC and have installed Visual Studio 2022 on the new one.
I've found I now get an access error with this command:
Process.Start("C:\Program Files")
I want...
-
Sorry I've not been able to get back to look at this much, particularly option of treating as JSON, but the non-greedy option worked for me! - thanks to everyone who posted. :)
-
Hi
Thanks for reply. Unfortunately I'm still too tied up to get back to this but I am DETERMINED to!
The text is just a small part of the from the source text of a web page, so I getting it...
-
Hi
I use code snippets a lot in Visual Studio and find they very useful. However, for some reason, now and again they disappear and I'm left with nothing listed under Toolbox/General
As this...
-
Thanks for the replies.
Unfortunately I haven't been able to get back to this yet as something urgent has jumped the queue.
I'll try to get back to it ASAP and let you know how I get on.
...
-
Hi
I'm struggling with a Regex look back in vb.net, hope someone can help.
Here's the text I'm searching:
Here's my regex string:
-
Thanks for replying - really appreciate you taking the time to do this.
It looks like the timeout problem was with TNT Drive. I'm copying the files down manually via WinSCP at the moment, and it...
-
Hi
I've got a program which gets a list of file names from an Amazon S3 bucket, which I connect to via a mapped drive in TNTDrive.
It usually works fine, but I've hit a limit with an unusually...
|
Click Here to Expand Forum to Full Width
|