Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Disferente

    Help with URL Protocol

    I have put the following in my registry to be able to send commands to my app it from a webpage. What do I need to change with it and what do I need to put in my app to be able to use output from the app and display it as a webpage? [HKEY_CLASSES_ROOT\custom] "URL Protocol"="" @="URL:custom...
  2. Disferente

    Add reference to Class Library at runtime.

    I don't see why not, the dll I have and use creates tabpages on an existing tabcontrol. I think that would be somewhat similar to MDI.
  3. Disferente

    Event handler on object.

    In a variable Dim obj as object=Nothing is it possible to attach an event handler so I can be notified when the variable is assigned something, the only thing I can think of to do it is to make a timer that checks if "obj is nothing" a couple of times a second and I would really like to avoid that.
  4. Disferente

    Add reference to Class Library at runtime.

    I changed a few things but now it works great. I am not using InvokeMember at all and I removed the Dim t as type. Public ClassO as object Dim scl As System.Reflection.Assembly = System.Reflection.Assembly.LoadFile("C:\MyDll.dll") Dim obj(1) As Object obj(0) = "Software\\Something\\Other"...
  5. Disferente

    Add reference to Class Library at runtime.

    Looks like it could be what I need, but I can't get it to work as I need. Is there any way of invoking non shared members?
  6. Disferente

    Add reference to Class Library at runtime.

    How do I use a class library dll that I don't add a reference at design time. I only want to use it if it is selected in the program.
  7. Disferente

    Change Visual Basic 2008 Publish to not use space in folder names?

    I am trying to publish an application of mine to a webhost. The problem I have is that the on the webhost you can't have files or folders with space (" ") in the names. Is there any way that I can change it from using "Application Files" to perhaps "ApplicationFiles" I have looked around but...
  8. Disferente

    Open a CCITTFaxDecode Image

    I need to open a CCITTFaxDecode Image from a pdf file and load it into a bitmap for me to process it. Could anyone please tell me how to or give me some tips about how to go about it.
  9. Disferente

    VB6.0 Service Pack 5

    When you open the about screen, look at the top. There it says "Microsoft Visual Basic 6.0 (SP6)" SP6 will say different if you have another service pack of course.
  10. Disferente

    Scan for files in directory tree

    I used the API before but changed because it took minutes to find each file (I have more than 50k files to search through). Now I'm using shellexecute to call "dir /a/s>file.text" then read the file in and find what I need with InStr. All in all it is many hundred times faster, more difference...
  11. Disferente

    ado filter

    Don't you do like this? rs3.Filter = "Type LIKE '%ST'
  12. Disferente

    Focus of controls in picturebox

    Putting tabstop=true on getfocus and tabstop=false on lostfocus works great. At first when I read it I was a bit skeptical because I thought that it would trap the pressing of tab. Thank you
  13. Disferente

    Focus of controls in picturebox

    Does not seem to work for me. Neither activate nor decativate are called when I switch between the program and other windows. The only time activate is called is when the form is loaded.
  14. Disferente

    Focus of controls in picturebox

    I have a several controls with a picturebox as container. All of the controls and the picturebox has tabstop set to false. When one of the controls have focus and I switch to another window and then back it is always the picturebox that has focus, is there any good way I can prevent that and...
  15. Disferente

    Submitting Form Data

    Yes there is. Using winsock you can quite easily post form data without any browser. You can find all info you need of the http here: http://www.w3.org/Protocols/rfc2616/rfc2616.html
  16. Disferente

    Help converting vb2008 code to vb6

    Something like this should do it: Dim s As String s = vbNullString Dim i As Integer i = 0 dim nicbytes() as byte dim serialbytes() as byte nicbytes=strconv(nic,vbFromUnicode) serialbytes=strconv(serial,vbFromUnicode) dim c as variant If len(Nic) > len(Serial) Then For Each c...
  17. Disferente

    Position form on screen

    Something like this should work: Private Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Long Private Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Private Sub MSFlexGrid1_Click() Dim Rec As RECT GetWindowRect...
  18. Disferente

    Couple of Quickies

    Unload" the forms that are open.
  19. Disferente

    Couple of Quickies

    You should probably not use End to end the program as that does not give it time to properly unload everything.
  20. Disferente

    Button depressed without clicking

    It looks a bit different, but it's nothing I can't live with. Thank you all for your help.

Part and Inventory Search

Back
Top