Search:

Type: Posts; User: dprontnicki

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    654

    Re: PInvoke Unbalanced Stack Error

    Thank you for the reply but I am still getting the same error. I have tried every combination of my existing code with changing to int32 and integer as well as your shorter version with int32 and...
  2. Replies
    4
    Views
    654

    PInvoke Unbalanced Stack Error

    I found some code online to map and disconnect network drives and I am getting an error I am unfamiliar with. I am trying to disconnect a "M:" Drive from a local UNC server and then path it to a...
  3. Replies
    16
    Views
    1,440

    Re: Opinions Requested - Program Settings

    That's a good one!!! :bigyello:
  4. Replies
    16
    Views
    1,440

    Re: Opinions Requested - Program Settings

    Well then you should win an Oscar because your performance is flawless. LOL :)
  5. Replies
    16
    Views
    1,440

    Re: Opinions Requested - Program Settings

    I love the bug! :)
  6. Replies
    16
    Views
    1,440

    Re: Opinions Requested - Program Settings

    peterst,

    Thank you so much!! This is gold. I was looking on how to do this for another project and you explained it so well with great examples. I really appreciate it. I will be using this...
  7. Replies
    16
    Views
    1,440

    Re: Opinions Requested - Program Settings

    dday9,

    Thank you for the input. That is the exact reason I asked the question. It was starting to get crazy. :) Your suggestion is the way I was leaning, I guess I was looking for validation that...
  8. Replies
    16
    Views
    1,440

    Opinions Requested - Program Settings

    Hi Everyone,

    I am looking for some insight and best practices advise and opinions. Understanding that hard coding paths and variables should be avoided as much as possible, but with that aside. I...
  9. Re: [RESOLVED] Raise Event C# Conversion Help

    Hi jmcilhinney,

    Thank you so much for the information. I have read through the link you sent me as well as subsequent links from there. I "believe" I understand it but have two questions I was...
  10. Replies
    5
    Views
    1,426

    Re: Deserialize JSON to Object Class

    Thank you peterst,



    <JsonProperty("company_1_LayerName")> Public Property Standard_1_LayerName As String


    Unfortunately this still requires me to "hard code" the key value. I am "trying" to...
  11. Replies
    5
    Views
    1,426

    Deserialize JSON to Object Class

    I apologize if this is a stupid question but, when deserializing a JSON file to an object class, do the Property names in the object class HAVE TO be the same as the key names in the JSON file?

    If...
  12. Re: Raise Event C# Conversion Help

    Shaggy Hiker and jmcilhinney,

    Thank you very much for all your help. And your conversation. I agree as well that I don't fully understand why its a function, but using it like below seems to work....
  13. [RESOLVED] Raise Event C# Conversion Help

    I found this method online and converted it from C# but I am having an issue as it states: 'Public Event AssemblyResolve as ResolveEventHandler' is an event, and cannot be called directly. Use a...
  14. Replies
    0
    Views
    1,091

    VS 2019 Get Vectors To (AutoCAD)

    If there are any AutoCAD programmers on here I could use your help.

    I have a method that moves a grip point to a certain location via GetVectorTo (get from two points). It works great when the...
  15. Re: Search String Array by Multiple Words

    si_the_geek,

    Thank you so much! I see what your doing. Keep count/track of the found words from the search array in a file and then if the count of found words matches the array then add it to the...
  16. [RESOLVED] Search String Array by Multiple Words

    I have a function that returns files in a directory and sub-directories based on a search word. What I cant seem to figure out is how to return the file name if ONLY two or three words match. Meaning...
  17. VS 2019 Re: All Data Grid View Rows to DataGridViewSelectedRowCollection

    jmcilhinney,

    Thank you very much, as usual I was over thinking and over complicating things. Thank you very much for the detailed explanation. I really appreciate it.

    I ended up going the non...
  18. VS 2019 Re: All Data Grid View Rows to DataGridViewSelectedRowCollection

    @jmcilhinney

    Hi I have tried your suggestions, and dont believe I am doing it correctly because it does not work. LOL :)


    Public Sub CreateLayer(ByVal selectedLayerRows As IList(Of...
  19. VS 2019 Re: All Data Grid View Rows to DataGridViewSelectedRowCollection

    Thank you I will give that a try...
  20. VS 2019 [RESOLVED] All Data Grid View Rows to DataGridViewSelectedRowCollection

    I have a method that utilizes a variable as a DataGridViewSelectedRowCollection:


    Public Sub CreateLayer(ByVal selectedLayerRows As DataGridViewSelectedRowCollection, Optional layerModifer As...
  21. Replies
    8
    Views
    1,475

    VS 2019 Re: Word - Bullet List Formatting

    Delaney,

    That worked, changing the location of applying the formatting produced the desired results. If there is one thing I am constantly learning is that the order of a process can change the...
  22. Replies
    8
    Views
    1,475

    VS 2019 Re: Word - Bullet List Formatting

    OK so both suggestions worked as far the last bullet being the right size. But to your point it does add an empty one at the end which is 12pt. So I have played with trying to delete the last bullet...
  23. Replies
    8
    Views
    1,475

    VS 2019 Re: Word - Bullet List Formatting

    I will give it a try. I have had it working where it was adding an extra bullet but couldn’t figure out how to remove it after. Could you show how that would be done?
  24. Replies
    8
    Views
    1,475

    VS 2019 Re: Word - Bullet List Formatting

    Delaney,

    Thank you for the response but unfortunately placing those lines of code before loop, causes the bullets AND text to be 12pt.




    wrdBulletRange =...
  25. Replies
    8
    Views
    1,475

    VS 2019 [RESOLVED] Word - Bullet List Formatting

    I have the following code that works great for inserting a list of bullet points. (Inserting strings and making them bullets.)

    My only issue and for the life of me cant figure it out is, the last...
  26. Replies
    16
    Views
    2,348

    Re: [RESOLVED] REGEX - Find and Replace

    Final in case anyone else is looking to do the same. Thank you again dday9. I am very grateful.




    Public Sub FindAndReplaceEquipment(ByVal ocalcFile As String, ByVal revision As String)

    ...
  27. Replies
    16
    Views
    2,348

    Re: REGEX - Find and Replace

    I figured it would be orelse statement for the XElement. Was just curious how that would tie into setting the appropriate value. 708 -> 710.75, 648 -> 650.75, etc. I guess I could do If ElseIf...
  28. Replies
    16
    Views
    2,348

    Re: REGEX - Find and Replace

    So this is working great. Again I really like this approach and appreciate all your help. I learned a lot and can see myself using this approach for other things in the future.

    Small "problem",...
  29. Replies
    16
    Views
    2,348

    Re: REGEX - Find and Replace

    :) Just updated my message. Yes it seems to be working I will keep testing and let you know.

    Thank you soooo much for all your help.
  30. Replies
    16
    Views
    2,348

    Re: REGEX - Find and Replace

    Yes sorry that was an oversight on my part with the try catch. after removing for testing and stepping through per your suggestion, I get the below error.

    "Data at the root level is invalid. Line...
  31. Replies
    16
    Views
    2,348

    Re: REGEX - Find and Replace

    That did the trick.

    One last question and I'll leave you alone. :)

    While stepping through the code, the For each statement never fires....




    Public Sub test(ByVal ocalcFile As String,...
  32. Replies
    16
    Views
    2,348

    Re: REGEX - Find and Replace

    This is great. I see what your doing and like it. One small problem. I am getting "SingleOrDefault" is not a member of XElement.

    And just to be clear I will DIM an XElement for each value then add...
  33. Replies
    16
    Views
    2,348

    Re: REGEX - Find and Replace

    Here is the stripped down version....
  34. Replies
    16
    Views
    2,348

    Re: REGEX - Find and Replace

    Thank you dday9, I really appreciate it. I sent you a private message as I am having hard time getting you a sample file due to size restrictions.
  35. Replies
    16
    Views
    2,348

    [RESOLVED] REGEX - Find and Replace

    I am trying to perform a find and replace on blocks of text. I am looking for each block that opens with <GenericEquipment> and closes with <\/GenericEquipment>. I am able to do that with this:
    ...
  36. VS 2019 Create Bullet Points in Word with Formatting

    I was not sure if this should go under Office Development, but that seemed to be VBA and not .net. If this is in the wrong place I apologize ahead of time. I have also posted this question to another...
  37. Replies
    6
    Views
    2,289

    Re: Make Tab Key work as Enter Key

    I have a combobox with a list of names in it. When you start typing a name it highlights the suggested name that you started typing. If you press enter it completes the name in the combobox and...
  38. Replies
    6
    Views
    2,289

    Make Tab Key work as Enter Key

    I have a combobox with auto complete mode set to SuggestAppend and source to ListItems. I have a key down event for when enter is pressed. I would like for the tab key to do the same thing.

    I have...
  39. Re: Count number of Instances of user name if another column is not null

    That did it, thank you very much! It's always something simple. :)
  40. [RESOLVED] Count number of Instances of user name if another column is not null

    I have a database that stores information on program usage in MySQL.

    177986

    I use the following query to get the average duration and number of times launched by user name:

    SELECT username,...
Results 1 to 40 of 151
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width