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
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
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...
i used this instead:
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
Does anyone know why the "Library" xml tags are left after a .removeall on the node i want to delete?
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")
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...
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.
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)...
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...