Recent content by jrunowski

  1. J

    Working with control values in a collection

    Perfect thank you both for the help!!!!!
  2. J

    Working with control values in a collection

    Thanks JohnH for the quick reply, im not really sure how directcast works or how i would use that code. Could you show me how i can define the directcast during my For Each loop and define the value of that progress bar? Again thanks for the help
  3. J

    Working with control values in a collection

    During my form_load event I create a series of progressbars and labels for each server listed in a XML file. I figured out how to change the text property of the label controls using: For Each control In gbServerNames.Controls 'Check control name to update correct label controlname =...
  4. J

    Changing Dynamic Controls at Runtime

    So far it just seems it would have been easier; granted i am an extreme newbie. I think i just need to read up more on Control Collections.
  5. J

    Changing Dynamic Controls at Runtime

    Thanks JohnH i'll give that try, I was reading a lot of articles on this and it seems like control arrays in vb6 would have worked. I wonder why they removed them from .net?
  6. J

    Changing Dynamic Controls at Runtime

    Oh that sounds perfect, how do i search the Controls Collection?
  7. J

    Changing Dynamic Controls at Runtime

    Hello, I was wondering how to change the text of a label at runtime after it was created using the Controls.Add function. Since i am using dynamic values to create these controls i dont know the name of the control until after it has been created. For Example: I Use this code to create...
  8. J

    Create Edit Remove items in a XML File

    Got it!!!! i used this instead: XNode.ParentNode.RemoveChild(XNode) There was a lot of guess work put into this app, im sure this could be coded better. If anyone has any ideas for better code let me know. Thanks
  9. J

    Create Edit Remove items in a XML File

    Does anyone know why the "Library" xml tags are left after a .removeall on the node i want to delete? <?xml version="1.0"?> <libraries> <Library> </Library> <Library Name="LIB02"> <Location>LOC02</Location> <Server>SRV02</Server> <Database>DB02</Database> </Library>...
  10. J

    Create Edit Remove items in a XML File

    Thanks Raven65, i found an article about XPath while reading through. Here is what i have so far; i know for a fact there is a better way of doing this but it works. I call the sub with this edit_xml_file("name", "location", "server", "DB", "LIB02", "DEL") edit_xml_file Sub: Public Sub...
  11. J

    Create Edit Remove items in a XML File

    I was wondering if anyone had some good sites i could visit to read up on the XML namespace. I've been having a lot of trouble writing a vb.net program to read from a xml file edit items in that file and delete items in that file. I know im such rookie, it seems so simple with the XML...
  12. J

    Getting Outlook Contact Counts

    I wanted to get a list of all my MS Exchange users and their contact counts. I found code from the MSDN to get contact counts but thats just for my session. Is it possible to get all users contact counts? Here is the code i found: Public Sub get_count() ' Create Outlook application. Dim...
  13. J

    How do you pass parameters to a vb.net .exe?

    Ya that didnt work out the way i wanted it to; in fact i got some runtime errors when i started to add code. I ended up using the prior solution, thanks for all the help.
  14. J

    How do you pass parameters to a vb.net .exe?

    Great thanks for the help that worked....i also found this as well. Function GetCommandLineArgs() As String() ' Declare variables. Dim separators As String = " " Dim commands As String = Microsoft.VisualBasic.Command() Dim args() As String = commands.Split(separators.ToCharArray)...
  15. J

    How do you pass parameters to a vb.net .exe?

    Hi, I was wondering how you pass parameter's to a vb.net exe. My goal is to create a scheduled task that runs once a day and executes certain functions based on the parameters being passed to the exe. For example: If my program is called MyApp.exe and i have 2 Sub's called Start() and...
Top Bottom