Search results for query: *

  1. D

    New DateTime in a Different Timezone

    How do I create a date in UTC?
  2. D

    New DateTime in a Different Timezone

    I am trying to figure out how to create a new DateTime object in a different timezone. For instance, no matter where the code is run from, I want the new DateTime object to be October 26, 2007 3:11pm Mountain Standard Time. Can anyone help me out on this one?
  3. D

    Change Daylight Saving Time Setting

    Is there a way to turn off/on the Daylight Saving Time system setting through VB.NET code?
  4. D

    Request for the permission of type 'System.Security.Permissions.SecurityPermission,

    I was getting a similar error when I was accessing a file on the local intranet. I changed the framework security settings and the problem went away. Control Panel - Administrative Tools - .NET Configuration - Configure Code Access Security Policy - Adjust Zone Security Go there and adjust...
  5. D

    grabbing "text,moretext" from csv file

    thanks Thanks for the response. Maybe it's time to upgrade to 2.0! I just finished writing my own function that's almost identical to what you posted. Well, time to start testing... (this was my last item to program in the application!). Wish me luck in ironing out the bugs!
  6. D

    grabbing "text,moretext" from csv file

    I have a comma seperated file (.csv) and I am seperating the elements using the string::split function, but I need a way to specify text that may contain commas but needs to be kept as one element in my array. Is there an easy way to do this? I know when you view a csv file in excel you can...
  7. D

    Accessing the program files directory

    Found what I needed. Application.StartupPath
  8. D

    Accessing the program files directory

    Is there a way to access the 'program files' directory, or what ever directory the program is running from? Similar to using Directory.GetCurrentDirectory to get the current directory.
  9. D

    How would I declare a structure with....

    Private Structure MyStructure dim strDate As String dim strName As String End Structure That is the basic structure format. But I don't think you can have a dynamically sized array of structures. Maybe I was doing something wrong, but it wouldn't let me do it when I was...
  10. D

    Keeping a TreeView Node selected

    I want the selected node to stay highlighted when the user activates another object on the form. The user will be editing attributes associated with the node, and I want the node to stay highlighted even when the treeview isn't the object in focus. Can anyone help me on this? Thanks
Back
Top