Search:

Type: Posts; User: VB-Mike

Page 1 of 3 1 2 3

Search: Search took 0.11 seconds.

  1. Replies
    2
    Views
    747

    Re: TreeView to XML file - Help!

    I never did find anything. Probably the only way this could be done is to enumerate the nodes of the TreeView, then write out the XMLDocument node by node. In other words, write your own class...
  2. Replies
    2
    Views
    655

    Session Cookies - Possible??

    Is it possible to create a session cookie. In other words, a cookie that is created, then destroyed when the session ends or the browser is closed? I tried to create a cookie with no expiration...
  3. ASP.NET Calls to Secure Web Service - Ideas?

    I have an ASP.NET web application that makes secure calls (BASIC auth) to a .NET web service using credentials supplied via a login form. The problem I have is, how can I keep the user credentials...
  4. Replies
    0
    Views
    498

    Update ListViewItem from Thread

    I have a form that has an "Add" method. The Add method creates a ListViewItem object, then passes it to a class which is instantiated via a new thread. Since the thread has a reference to the...
  5. Replies
    2
    Views
    747

    TreeView to XML file - Help!

    Does anyone have any examples of how to save the values of a TreeView to an XML file? I have found numerous samples of how to load an XML file which I have successfully done. Now I need to write...
  6. Replies
    0
    Views
    690

    Web Service Error - Help

    I have written a .NET web service and a compact framework client application. When running the application I will occasionaly get the error "The response did not contain an end of entity mark"...
  7. Compact Framework\Web Service and Basic Auth

    I have a VB.NET Compact Framework application that talks to a VB.NET web service locked down with Basic authentication. Does anyone know how to pass Basic credentials to the web service so that I...
  8. Replies
    0
    Views
    510

    EventLog and get one item

    Does anyone know how to get just one item from the eventlog, not a collection. I have the eventlog item index, now all I need to do is pull back that single item and all its details...

    Any help...
  9. Replies
    2
    Views
    1,262

    I actually tried that with no luck. However this...

    I actually tried that with no luck. However this does work using a collection and looping backwards...

    Try
    Dim RemoteLog As New EventLog(inType, inServer)
    Dim...
  10. Replies
    2
    Views
    1,262

    System.Diagnostics.EventLog and Sorting

    It appears that when I get the EventLogs back it is getting the oldest first. Any idea on how to get the newest events first?

    Public Function GetEvents(ByVal inServer As String, ByVal inType As...
  11. WebService and returning service data or array

    I am trying to setup a web service that is called from a .NET compact framework application and returns all the services on a particular machine. I can get this to work by filling an ArrayList with...
  12. Replies
    2
    Views
    689

    Deffinitely something I had not thought of! ...

    Deffinitely something I had not thought of! Excellent, thanks for the feedback. I will give this a try. Any other thoughts and opinions would also be appreciated....
  13. Replies
    2
    Views
    689

    Persistent File I/O - Possible

    I would like, if possible to attach to a log file and read newly created data from it. For instance, I have a third party application that on occasion writes to a log file. I would like to find out...
  14. Replies
    1
    Views
    3,189

    Restore\Maximize another application

    In my application I am checking to see if another instance is already running. If so, I pop up a message box saying so. Instead, I would like to restore\maximize the original application from the...
  15. Replies
    2
    Views
    1,193

    Well, I think I answered my own question, but I...

    Well, I think I answered my own question, but I am not sure it is the correct way. Set my arraylist variable as public in my main module. Now I can access it anywhere. I know this works, but is...
  16. Replies
    2
    Views
    1,193

    ArrayList and Pass Between Forms

    I am trying to pass an ArrayList to another form. My assumption is that it will involve a Get and Set, but not sure how to implement it. Any help or code samples would be greatly appreciated!!!
  17. DirectoryEntry and invoke problems - Help!

    I am trying to call the backup method within IIS://LocalHost. This works easily via a VBS script but appears to be a real pain in VB.NET (console application). All this does is create a metabase...
  18. Replies
    1
    Views
    738

    Sharing xmlDocument between forms - Help!

    I need to share the xmlDocument object between forms, if possible:


    Form 1 or frmMain:

    Public doc As New XmlDocument()

    Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As...
  19. Replies
    5
    Views
    1,023

    Ok, think I have it figured out. Looks as if I...

    Ok, think I have it figured out. Looks as if I need to sleep the application thread for a moment within the loop. I believe the loop was moving to fast and not allowing enough time for the thread...
  20. Replies
    5
    Views
    1,023

    Ok, here is the other wierd thing. Put some...

    Ok, here is the other wierd thing. Put some output in the loop that calls the thread and the thread code itself:

    [1/7/2003 8:22:06 AM] - Thread initialized [TEST-thd_0]
    [1/7/2003 8:22:06 AM] -...
  21. Replies
    5
    Views
    1,023

    I apparently spoke to soon. For the most part I...

    I apparently spoke to soon. For the most part I am seeing the same issue as before. Essentially, all this app does is read server names, times, etc from a SQL db and reboot servers. The service...
  22. Replies
    5
    Views
    1,023

    Looks like I was going down the correct path, but...

    Looks like I was going down the correct path, but just not close enough. So far my testing looks good and I am seeing none of the problems that I was before. THANK YOU SOOOOO MUCH, hellswraith!
  23. Replies
    5
    Views
    1,023

    Threading and Loops

    I need to loop through a data reader and spawn a seperate thread for each item within the set. You can see my code below, but it does not appear to work as I thought. This application is running as...
  24. EventHandler and passing value - Possible?

    I am dynamically adding sub items via the registry to my main menu with code. I need to be able to pass a value from the EventHandler to the sub OpenURL_Click. Is this possible and if so, how???
    ...
  25. Replies
    2
    Views
    963

    Registry enumeration - Easy, I think.

    I would like to open a registry key, then enumerate through all its values. Need to get the value name as well as the value data. Probably an easy one....

    Thanks in advance!
  26. Replies
    5
    Views
    1,176

    Took an alternate path to my logic and placed the...

    Took an alternate path to my logic and placed the code in a do while loop and made the variable local to the thread. Appears to be working really well! Thanks again for the help...
  27. Replies
    5
    Views
    1,176

    I actually need to do the opposite: "The...

    I actually need to do the opposite:

    "The simplest case is if you have a shared variable that you need to update from different threads. To do this, you can use the System.Threading.Interlocked...
  28. Replies
    5
    Views
    1,176

    One more thing. I cannot dim the variable in the...

    One more thing. I cannot dim the variable in the Reboot sub-routine or it will get reset each time I recall the sub from within the sub.

    Public Sub Reboot(ByVal State As Object)
    If whatever =...
  29. Replies
    5
    Views
    1,176

    Variables and Threading

    Ok, here is my dilemma. I have a multi-threaded application using threadpooling that spawns multiple threads as needed. Inside my sub-routine I have a variable named strCounter. The problem is,...
  30. Replies
    2
    Views
    1,155

    Every config would be different, meaning each...

    Every config would be different, meaning each would have a different file system on a different server, etc. I think I would have to some how create multiple instances of the FileSystemWatcher for...
  31. Replies
    2
    Views
    1,155

    FileSystemWatcher Array - Ideas

    I need to read in a config file or from a database multiple directories to watch\monitor with the FileSystemWatcher. The number of FileSystemWatchers that gets created will have to be dynamic when...
  32. Replies
    2
    Views
    783

    Giving it a try now. Thanks for the quick...

    Giving it a try now. Thanks for the quick reply!!!
  33. Replies
    2
    Views
    783

    Form icon from image list - Possible?

    Could someone please fill me on on how to change my form icon based on an icon from an image list? Any help would be GREATLY appreciated!

    Thanks in advance.
  34. Replies
    7
    Views
    617

    Try this to close form2 from form1: Public...

    Try this to close form2 from form1:

    Public Class Form1
    Inherits System.Windows.Forms.Form

    Dim frm2 As New Form2()

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal...
  35. Replies
    7
    Views
    617

    This is not exactly what you are trying to do but...

    This is not exactly what you are trying to do but very similiar. Hope it helps:

    http://www.vbforums.com/showthread.php?s=&threadid=104649
  36. Replies
    0
    Views
    1,638

    OpenRemoteBaseKey - HELP!

    I am opening a registry key on a remote server via OpenRemoteBaseKey. The key opens fine, I gather the data I need, and then the user closes the windows form. I am connecting to this server via...
  37. Thanks Linda_SA. That more or less did it! Kind...

    Thanks Linda_SA. That more or less did it! Kind of a pain in the rump if you ask me. Too bad you can't simply referance a control on another form just by calling it like VB6. Guess that is part...
  38. Replies
    4
    Views
    798

    Got it! Major:...

    Got it!

    Major: System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.Location).FileMajorPart

    Minor:...
  39. Replies
    4
    Views
    798

    Ok, that is getting closer. When I look at the...

    Ok, that is getting closer. When I look at the version on the exe file it says what I specified in the AssemblyInfo.vb file. However when I set a var to System.Environment.Version.ToString I get...
  40. Replies
    4
    Views
    798

    Application versioning

    How do you set the major, minor, build, and revision numbers in VB.NET? Looked all over the place in the IDE and cannot find it. Is this done automagically? Also, when I look at the exe version it...
Results 1 to 40 of 119
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width