Search:

Type: Posts; User: clausowitz

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Re: PDDoc.SetInfo "Keywords", sFoundKeys not working

    Turned out the code was working after all.
    I just didn't see the keywords in the pdf preferences, because I wasn't using Acrobat Reader.
    When you right click the document and goto Preferences -...
  2. PDDoc.SetInfo "Keywords", sFoundKeys not working

    All,

    I am using VBA to search in pdf files for certain words. When found I want to save them in the pdf-document keywords. I have referenced Adobe Acrobat 10 Type Library.
    The code I use runs...
  3. Replies
    6
    Views
    1,162

    VS 2019 Re: error using File.Move

    thanks for the compliment.
  4. Replies
    6
    Views
    1,162

    VS 2019 Re: error using File.Move

    But how to catch the error before it terminates my process?
    At the moment when the error ocuures it says Can't create a file that already exists and terminates
  5. Replies
    6
    Views
    1,162

    VS 2019 [RESOLVED] error using File.Move

    I am saving files in a folder and rename them to a correct name (according to our system).
    I have the following options:

    1. if the file with the old name exists we want to give it a new name;
    2....
  6. [RESOLVED] define application installation folder

    I created an application which I install at a computer at work.
    When installing the application ends up in some complicated folder under AppData\Local\.

    Is there no way to always install the...
  7. VS 2019 Re: Font size changed after using LiveCharts.WinForms.GeoMap()

    Private Sub Form1_FontChanged(sender As Object, e As EventArgs) Handles Me.FontChanged
    MsgBox("font changed")
    End Sub

    It doesn't fire at all.
  8. Replies
    2
    Views
    816

    VS 2019 Re: ContextMenuStrip stay displayed

    Yes I am opening a new textfile but the textfile is just an example. I want to be able to copy it to any kind of file .doc, ppt, .txt
  9. Replies
    2
    Views
    816

    VS 2019 ContextMenuStrip stay displayed

    I am using a ContextMenuStrip in my program. When I click one of the menu items the text gets copied and the menu stays displayed until I click somewhere else in the form.
    The problem is that when...
  10. Replies
    18
    Views
    2,755

    VS 2019 Re: Create a List for multiple entries

    What I mean is.
    Your Listbox1 contains all files that matched one of the criteria (Test1, Test2 etc.)
    How can I see which criteria was found in what file?
  11. Replies
    18
    Views
    2,755

    VS 2019 Re: Create a List for multiple entries

    Chris,

    does this also store which strings were found?
    When retrieving I want to be able to select all files that contain "Test1"


    Private Sub Button1_Click(sender As System.Object, e As...
  12. Replies
    18
    Views
    2,755

    VS 2019 Re: Create a List for multiple entries

    Chris,

    does this also store which strings were found?
    When retrieving I want to be able to select all files that contain "Test1"
  13. Replies
    4
    Views
    868

    VS 2019 Re: DrawToBitmap not right

    No change, still the same.


    Private Function CreateScreenshot(ByVal Control As Control) As Bitmap

    Dim Screenshot As New Bitmap(1100, 800)
    Control.DrawToBitmap(Screenshot,...
  14. Replies
    18
    Views
    2,755

    VS 2019 Re: Create a List for multiple entries

    Let me give some clarification for what I do.
    I have an archive of about 4000 documents. With the code I loop through all the filenames and search for country names.
    When I find a country that I...
  15. Replies
    4
    Views
    868

    VS 2019 DrawToBitmap not right

    I am trying to create a screenshot of my geomap object:


    Private Function CreateScreenshot(ByVal Control As Control) As Bitmap

    Dim Screenshot As New Bitmap(Control.Width,...
  16. Replies
    18
    Views
    2,755

    VS 2019 Re: Create a List for multiple entries

    I tried following:


    For Each kvp In files
    If kvp.Key = sCountries Then
    For Each Str In kvp.Value

    Next
    End If
    Next
  17. Replies
    18
    Views
    2,755

    VS 2019 Re: Create a List for multiple entries

    I created as you suggested:


    ReadOnly files As Dictionary(Of String, List(Of String)) = New Dictionary(Of String, List(Of String))()

    If Not files.ContainsKey(sCountry) Then
    ...
  18. Replies
    18
    Views
    2,755

    VS 2019 Create a List for multiple entries

    I need to create a List to store multiple values like following example:

    I need to loop through all filenames in a folder.
    I compare the filename against keywords. When the keyword exists in the...
  19. VS 2019 Re: Font size changed after using LiveCharts.WinForms.GeoMap()

    So is there a way to identify this action at runtime?
  20. VS 2019 Re: Font size changed after using LiveCharts.WinForms.GeoMap()

    I tested the application at work on our laptop and there the issue doesn't occur. So it just happens at my desktop at home.
    No idea what makes it do that.
  21. VS 2019 Re: Font size changed after using LiveCharts.WinForms.GeoMap()

    I removed anything related to the GeoMap and then the font stays unchanged.
    As soon as i put this line again: ReadOnly geoMap1 As LiveCharts.WinForms.GeoMap = New LiveCharts.WinForms.GeoMap()

    the...
  22. VS 2019 Re: Font size changed after using LiveCharts.WinForms.GeoMap()

    That's what I tought but when I gray out this line it still happens.
  23. VS 2019 Font size changed after using LiveCharts.WinForms.GeoMap()

    I am using a GeoMap from LiveCharts in my application that shows the worldmap.
    When I open the form that displays the map all the other forms in my applications start using a completely different...
  24. VS 2019 Re: remove Listview column sortorder

    Yes I did realise that.
    But I have no idea how to write the code
  25. VS 2019 Re: remove Listview column sortorder

    tg

    it doesn't remove the arrow from the columnheader
  26. VS 2019 [RESOLVED] remove Listview column sortorder

    I have a windows form with a Listview.
    When I click the header of the listview an arrow is shown to indicate the sorting order.



    Private Sub ListView1_ColumnClick(sender As Object, e As...
  27. Replies
    5
    Views
    1,155

    VS 2019 Re: display label relative to textbox

    Changed the code a little to:


    Label2.Location = New Point(TxtSearch.Right - 20, TxtSearch.Bottom - 16)
  28. Replies
    5
    Views
    1,155

    VS 2019 display label relative to textbox

    I use a textbox on a sizable form. At the end of the textbox I display a label.
    I want the label to stay at the position at the end of the textbox when I change the size of the form.

    How can I do...
  29. Replies
    3
    Views
    1,709

    VS 2019 Re: progressbar math

    Of course :)
  30. Replies
    3
    Views
    1,709

    VS 2019 progressbar math

    I am trying to process files in a folder.

    I use a progressbar to show the progress.

    i = number of documents found


    ToolStripProgressBar1.Maximum = i
    ...
  31. VS 2019 Re: from CheckedListbox to Parameters.AddWithValue

    Thanks Wes.
    So I need to change the order in the query to match the database table.
  32. VS 2019 Re: from CheckedListbox to Parameters.AddWithValue

    I found a solution to set my datatable. There is one problem. Its updating the wrong fields with True or False



    Private Sub BtnSave_Click(sender As Object, e As EventArgs) Handles BtnSave.Click...
  33. VS 2019 [RESOLVED] from CheckedListbox to Parameters.AddWithValue

    Hi want to update a record in an access table with the values of a CheckedListbox

    I use this code to update the record but don't know how to loop through the CheckedListbox and get the values of...
  34. Replies
    12
    Views
    4,431

    VS 2019 Re: error sql query too complex

    I get it. Now its working fine.
  35. Replies
    12
    Views
    4,431

    VS 2019 Re: error sql query too complex

    MS Access

    SELECT * FROM Archief WHERE Id=1 Or Id=2 Or Id=3 Or Id=4 Or Id=5 Or Id=6 Or Id=7 Or Id=8 Or Id=9 Or Id=10 Or Id=11 Or Id=12 Or Id=13 Or Id=14 Or Id=15 Or Id=16 Or Id=17 Or Id=18 Or...
  36. Replies
    12
    Views
    4,431

    VS 2019 Re: error sql query too complex

    Still returned the same error:


    sSQLMissing = "SELECT * FROM Archief WHERE Id In (" & sql & ") ORDER BY [Id];"
  37. Replies
    12
    Views
    4,431

    VS 2019 Re: error sql query too complex

    That's not possible in my case since the records are selected based on some criteria:


    If Not File.Exists(sArchive & sDoc) = True Then
    iNum += 1
    sql =...
  38. Replies
    12
    Views
    4,431

    VS 2019 [RESOLVED] error sql query too complex

    I am trying to run a query which can be very long. For example:

    SELECT * FROM Archief WHERE Id=1 Or Id=2 Or Id=3 Or Id=4 Or Id=5 Or Id=6 Or Id=7 Or Id=8 Or Id=9 Or Id=10 Or Id=11 Or Id=12 Or Id=13...
  39. Replies
    7
    Views
    2,910

    VS 2019 Re: uncheck all parent nodes

    I did some more research and got it to work using this code:


    Private Sub UncheckTree(ByVal aTreeView As TreeView)
    Dim n As TreeNode
    For Each n In aTreeView.Nodes
    ...
  40. Replies
    7
    Views
    2,910

    VS 2019 Re: uncheck all parent nodes

    The TreeView.CheckBoxes property is set to True. TreeView.StateImageList is set up with the two images. Index 0 is a dotted line to make it appear empty. Index 1 is a flag.
    Still the images don't...
Results 1 to 40 of 71
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width