Search results for query: *

  1. B

    How to syncronize threads

    Ok. And if there are already 5 threads (shared property is 5) , how to wait the end of one of them before start the new thread? This is the problem. Tks
  2. B

    How to syncronize threads

    Hi! I have a program with a FileSystemWatcher. Everytime a new file is created in my folder I create a new thread to read him. Private Sub fSysWatcher_Changed(...) Handles oSysWatcher.Changed oTh = New Thread(AddressOf ReadFile) oTh.Name = e.Name oTh.Start() end sub But I have...
  3. B

    Error 1053 using FileSystemWatcher in a service

    Hi. I have Windows Service with this code. fSysWatcher is a FileSystemWatcher --------------------------------- --------------------------------- Protected Overrides Sub OnStart(ByVal args() As String) ' Inserire qui il codice necessario per avviare il proprio servizio. Il metodo deve...
  4. B

    Equivalet ofproperty bag in VB.NET?

    Hi! How to show the properties of a control in property windows? Is there something like the propertybag of VB6?! Thanks!!
  5. B

    Loading controls dinamically

    Thank you very much but... problem number two: the code I sent you is only a test. In my project i don't know the exact number of controls to load, then I can't use the Select Case! Thank you very much... and excuse me if my English is not very well, I'm an Italian boy!
  6. B

    Loading controls dinamically

    Thank you Bob Langlade. But I have a problem using your code: how to identifier the clicked button? I think to use the tag property, but the result of this code is always a messagebox with 5. Can you help me? Private WithEvents btnTest As Button Private Sub btnTest_Click(...) Handles...
  7. B

    Loading controls dinamically

    Hi! I have a problem: i have to generate dinamically 5 button. Private WithEvents btnTest As Button Private Sub Form1_Load(...) Handles MyBase.Load Dim i As Integer For i = 1 To 5 btnTest = New Button btnTest.Name = "btnTest" btnTest.Tag = i...
  8. B

    HideColumnHeader VB6 property. VB .Net?

    No. I want to hide only the header, not entire column. TKS Hi
  9. B

    Do I have to use multithreading???

    I have a folder containing 10 files. For each file I have to invoke Start() method of another class library. How to wait until it finish elaboration? Do I have to use multithreading? Help Me!!! TKS!
  10. B

    CreateObject? In .NET?

    I'm Italian... my English is not very well... I want to use the CreateObject because in my program I don't know preventively the name of the class library to istance cause I read it from DB. Did you understand?
  11. B

    CreateObject? In .NET?

    CreateObject cannot be used to create instances of classes in Visual Basic unless those classes are explicitly exposed as COM components. Is there any way to use CreateObject method or other similar methods with .Net components? TKS
  12. B

    CreateObject

    I'm an Italian boy... my English is not very well... Is there any way to intercept events of an object instanced by the CreateObject statment? Thanks!!
  13. B

    How to get DB Schema

    Ok! Thank you very much!
  14. B

    How to get DB Schema

    Is there any way to get the schema of a SQL Server Database? Thanks
  15. B

    How to copy a folder to an other location in VB.Net

    Is there any way to copy a folder to an other location using VB.Net? Thanks!!
  16. B

    How to create folder in VB.Net

    Is there any way to create a new folder using VB.Net? Thanks!!
  17. B

    Note bug in DeriveParameters Function with sqlTransaction object... How to?

    The DeriveParameters Function has a note bug: it does not check to see if the command is enlisted in a transaction before requesting the parameters from the server, so if I try to use it during a transaction... Error: Execute requires the command to have a transaction object when the...
  18. B

    How to hide listview colunmn headers?

    Is there a way to hide the listview column headers like the HideColumnHeader VB6 property? Thanks
  19. B

    How to hide listview column header in VB.Net?

    Is there a way in Vb.Net to hide the listview columnheader like the HideColumnHeader VB6 property? Thanks
  20. B

    HideColumnHeader VB6 property. VB .Net?

    Is there a way to hide the listview column headers like the HideColumnHeader VB6 property? Thanks
Back
Top