Search:

Type: Posts; User: Precision999

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. VS 2022 Re: Help with comparing itextsharp with itext7

    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 :(
  2. VS 2022 Help with comparing itextsharp with itext7

    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)

    ...
  3. VS 2022 Re: Adding text to bookmarks in a word doc without word automation

    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.
  4. VS 2022 Re: Adding text to bookmarks in a word doc without word automation

    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...
  5. VS 2022 Adding text to bookmarks in a word doc without word automation

    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...
  6. VS 2022 Re: Stamping text on a pdf with itextsharp using phrases in column text

    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...
  7. VS 2022 [RESOLVED] Stamping text on a pdf with itextsharp using phrases in column text

    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...
  8. VS 2022 Re: Call Excel function with Excel automation

    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 =...
  9. VS 2022 Re: Call Excel function with Excel automation

    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...
  10. VS 2022 Re: Communicating between ASP.net web app and windows form app

    OK, OK, I believe you!!!

    Seriously though, not using WCF is welcome advice! - I'll do some research on the web api option.

    Thanks
  11. VS 2022 Re: Call Excel function with Excel automation

    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 =...
  12. VS 2022 Re: Call Excel function with Excel automation

    Hi

    Yes, both those are options are selected.
  13. VS 2022 Re: Communicating between ASP.net web app and windows form app

    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...
  14. VS 2022 Re: Call Excel function with Excel automation

    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...
  15. VS 2022 Re: Communicating between ASP.net web app and windows form app

    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...
  16. VS 2022 Communicating between ASP.net web app and windows form app

    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...
  17. VS 2022 [RESOLVED] Call Excel function with Excel automation

    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:


    ...
  18. Replies
    5
    Views
    1,219

    VS 2022 Re: Using Git Bash from a form

    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...
  19. Replies
    5
    Views
    1,219

    VS 2022 Re: Using Git Bash from a form

    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...
  20. Replies
    5
    Views
    1,219

    VS 2022 [RESOLVED] Using Git Bash from a form

    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...
  21. VS 2022 Help with shell within backgroundworker

    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...
  22. Replies
    2
    Views
    855

    VS 2022 Re: Encode Barcode 128 with subsets

    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:
    ...
  23. Replies
    2
    Views
    855

    VS 2022 Encode Barcode 128 with subsets

    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...
  24. Replies
    8
    Views
    2,257

    VS 2022 Re: Using html front end vs winform

    Thanks for all the response guys. I'll look into all of these and see what works best for me.
  25. Replies
    8
    Views
    2,257

    VS 2022 Using html front end vs winform

    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...
  26. VS 2022 Re: Retrieve metadata from Amazon S3 file (getting non-public member data from an obj

    Hi

    Posting for anyone else who needs this - apparently you just need:


    response.Metadata("name of field/tag you want")
  27. VS 2022 [RESOLVED] Retrieve metadata from Amazon S3 file (getting non-public member data from an object)

    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...
  28. VS 2022 Re: Reading metadata from a file

    Thanks - oddly enough I'd just found that after I posted and am trying it now!

    EDIT: That works well - thanks!
  29. VS 2022 [RESOLVED] Reading metadata from a file

    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...
  30. VS 2022 Re: Sudden problem with automating Word

    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...
  31. VS 2022 [RESOLVED] Sudden problem with automating Word

    Hi

    When I try use this code:


    Dim jobsheet As String = "C:\projects\Mydoc.docx"

    Dim oword As Object
    Dim odoc As Object
  32. VS 2022 Re: Can't open explorer window to folder

    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) &...
  33. VS 2022 [RESOLVED] Can't open explorer window to folder

    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...
  34. Replies
    7
    Views
    1,491

    VS 2019 Re: Regex string not terminating

    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. :)
  35. Replies
    7
    Views
    1,491

    VS 2019 Re: Regex string not terminating

    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...
  36. VS 2019 Visual Studio code snippets occasionally disappear

    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...
  37. Replies
    7
    Views
    1,491

    VS 2019 Re: Regex string not terminating

    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.
    ...
  38. Replies
    7
    Views
    1,491

    VS 2019 [RESOLVED] Regex string not terminating

    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:
  39. VS 2019 Re: Timeout when reading directory on S3 bucket

    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...
  40. VS 2019 [RESOLVED] Timeout when reading directory on S3 bucket

    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...
Results 1 to 40 of 159
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width