dcsimg

Search:

Type: Posts; User: dprontnicki

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Re: Creating Table in Word from string array

    OK So I figured it out. I was correct, word does not like that the first array is "0". So I changed the approach slightly.

    Instead of:



    For row As Integer = 0 To userInfo.Count - 1
  2. [RESOLVED] Creating Table in Word from string array

    Hi I have a method that creates a table in Word and populates it from a string array. The problem I am having is it throws a (Exception from HRESULT: 0x800706BE) and closes word when run.

    BUT, if...
  3. Re: Passing a List(Of Object Classes to a Control

    Yes update gauge is called before. The way it works, You select a license type from a drop down and fetch the info from the license servers. Once fetched, a new form appears with all the gauges. One...
  4. Re: Passing a List(Of Object Classes to a Control

    Si,

    So then the problem is obviously here: I am trying to take each one of those User object classes and pass it to a datagridview, each user to a row.

    I have done this many times with MySQL...
  5. Re: Passing a List(Of Object Classes to a Control

    Wow, I feel really stupid now... This is what happens when you work with the flu. :)
  6. Passing a List(Of Object Classes to a Control

    I could use some help... I have two object classes; LicenseServerInfo, and LicenseUserInfo, as well as a Control Class; LicenseServerGauge




    Public Class LicenseServerInfo

    Public Sub...
  7. Replies
    9
    Views
    281

    Re: Help with RegEx - Finding Format

    Just sent you the text from file in private message, You will see that there is not much more to it, it just keeps repeating. But to answer your question, the format is always the same but sometimes,...
  8. Replies
    9
    Views
    281

    Re: Help with RegEx - Finding Format

    I would like to but it's our license file and contains proprietary information. Is it absolutely needed?
  9. Replies
    9
    Views
    281

    Re: Help with RegEx - Finding Format

    The "|" does not exist in the original string. I put that there for explanation purposes.
  10. Replies
    9
    Views
    281

    Help with RegEx - Finding Format

    I have a string that I need to extract some lines from, the problem is there is no rhyme or reason to the strings. Only format is consistent. How can I can find the lines in red?
    I need to find...
  11. Re: Search for Multiple "Blocks" of text in rich text box.

    So I haven't had much luck trying different Regex from what I've been able to read online tonight...

    I have a rich text box with content as example below:

    167887

    I am trying to parse the...
  12. Re: Search for Multiple "Blocks" of text in rich text box.

    Hi Top Shot,

    I am still very new and learning RegEx. In your suggestion, I'm not sure how to set the start and end variables and what the variables sWords and ctr are. I also notice you have a...
  13. Re: Search for Multiple "Blocks" of text in rich text box.

    Hi top Shot,

    I am still very new and learning RegEx. In your suggestion, Im not sure how to set the start and end variables and ehat the variables sWords and ctr are. I also notice you have a...
  14. Search for Multiple "Blocks" of text in rich text box.

    Hi,

    I have a small method I found that will look at a rich text box and find an instance of some lines of text and return them. The issue I am having is it currently only finds the first instance...
  15. Re: Color Change of Line in Rich Text Box Based on Number of

    Mc_VB,

    Thank you very much! This worked great. I really need learn/get better at Regular Expressions. :)
  16. [RESOLVED] Color Change of Line in Rich Text Box Based on Number of

    Hi,

    I have a rich text box that populates from a license program. There are lines generated as such: Users of 86815AECCOL_T_F: (Total of 14 licenses issued; Total of 6 licenses in use)

    I have...
  17. Re: Exit Application from Form called from different Class/Method

    Si and kpmc,

    Thank you so much for all your help!! After a little testing and back and forth I was able to get it with your help!

    He is what I did...

    In the XrefServices Class:
  18. Re: Exit Application from Form called from different Class/Method

    I'm game for trying anything... But what do you mean by "calling your forms properly"? can you provide a sample, or do you mean what you stated in early post about Using instead of Dim?
  19. Re: Exit Application from Form called from different Class/Method

    OK so here is what I did but it is obviously wrong. :) I think I have tunnel vision from trying to figure this out. :)

    In the XrefServices class I have the function:



    Public Class...
  20. Re: Exit Application from Form called from different Class/Method

    Hi Si,

    Thank you for your reply. So change method to a function? Obviously that makes sense. :) I will try that now.

    Just to make sure I'm following you, so in your example keep the...
  21. Re: Exit Application from Form called from different Class/Method

    I apologize, I not sure I follow what your asking.

    The frmProgressBox is always open while running the methods listed on the click event of the Yes button and remains open. frmMessageBoxXr will...
  22. Re: Exit Application from Form called from different Class/Method

    I get no exceptions when calling Application.Exit() and the methods called from the yes button click, will continue; there are about ten methods called in succession. The frmMessageBoxXr is called...
  23. Exit Application from Form called from different Class/Method

    Hi,

    I have a program that is run within AutoCAD that launches a form (frmProgressBox) from the Main class when the program is initiated:



    Public Class Main

    <CommandMethod("MCDT",...
  24. VS 2015 Auto Resize Borderless Form based on Label Height

    Hi everyone,

    I am trying to get a form with a border style of none to autosize its height based on the height of a label. The label height may have one line or ten lines. I have minimum height set...
  25. Re: Loop Through Sub-Folders - Find and Replace

    Inferrd,

    Thank you so much!!



    That makes a lot of sense, and that explains the issue I was having when trying that approach!
  26. Re: Loop Through Sub-Folders - Find and Replace

    Inferrd,

    Thank you so much!!! I like this approach; to your point of not accessing the parameters over and over.

    Not to push my luck, but what would need to be done to include the folders...
  27. Re: Loop Through Sub-Folders - Find and Replace

    OOOHHH, I get it now. Thank you very much! I like your condensed version also. And thank you for the ToString note. :)
  28. Re: Loop Through Sub-Folders - Find and Replace

    Thank you Inferrd,

    I am a little confused... So the first argument should be the full path name, how do i set that if I dont know the path before hand. This is designed to work within the folder...
  29. Re: Loop Through Sub-Folders - Find and Replace

    Thank you Inferrd,

    I am a little confused... So the first argument should be the full path name, how do i set that if I dont know the path before hand. This is designed to work within the folder...
  30. Re: Loop Through Sub-Folders - Find and Replace

    Hi jmcihinney,

    Thank you for the reply. I HAVE been playing with the overloads. I have tried:


    Dim files As IO.FileInfo() = dirInfo.GetFiles(SearchOption.AllDirectories) With no luck and:

    ...
  31. Loop Through Sub-Folders - Find and Replace

    Hi all,

    I hope someone can help me. I am writing a utility for myself to rename files with a find and replace. The program works as is but I have been trying to figure out how to get it to go...
  32. Thoughts and opinions on the use of (Me.)

    Hi everyone,

    Just wanted to get some thoughts and opinions on something I've been wondering about. The use of Me..

    I know in some cases it is required and needed. While I've been learning,...
  33. VS 2015 Re: Custom Button Class - Vertical Text - TranslateTransform -90

    passel,

    Thank you so much!! That makes perfect sense. I get it now, your shift the rotation point and x, y axis's. Thank you again so much!!!
  34. VS 2015 [RESOLVED] Custom Button Class - Vertical Text - TranslateTransform -90

    Hi everyone,

    I am creating a custom vertical button and I am running into a problem when I rotate the text -90. I have found many articles/posts on custom controls, learned a lot, but cant seem to...
  35. VS 2015 Re: Datagridview Cell Values to Object Collection

    The reason I am doing that is because the data grid has all the layers from the company. A drawing may not contain all the layers in the data grid. So I am trying to compare the layer names in the...
  36. VS 2015 Datagridview Cell Values to Object Collection

    Hi Everyone,

    Is it possible to take the values of a column in a datagridview and make an object collection from them? I need to convert/look at the layers in a datagridview and compare to layers...
  37. VS 2015 Re: For Each Row in Data Grid View

    For anyone else out there looking to do this...

    I have figured it out. It turns out to be an AuotCAD thing with dictionaries. I had to add a if statement to the addplotstyle sub. You cant inject...
  38. VS 2015 [RESOLVED] For Each Row in Data Grid View

    Hi all i was hoping someone could help figure this out. I have been playing with it for days now and I just cant seem to figure it out. I have looked all the intranet for help but nothing seems to...
  39. VS 2015 MySQL Multiple Word Search - Record must contain all words

    Hi all,

    I am looking for some help here. I have some code that someone help me with in the past and it works exactly as intended. I am now working on another project were I need to change the way...
  40. Replies
    7
    Views
    2,365

    VS 2015 Re: Check if Listbox contains item

    TnTinMN,

    If Not lstQueue.Items.Contains produces an error on Contains. ArgumentNullException - Argument not specified for parameter 'value' of 'Public Overloads Function Contains (value of object)...
Results 1 to 40 of 78
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width