Search:

Type: Posts; User: jian2587

Page 1 of 13 1 2 3 4

Search: Search took 1.01 seconds.

  1. Re: To all who's doing FTP: Here's an FTP class to simplify things drastically

    that would be As Object.
  2. Re: To all who's doing FTP: Here's an FTP class to simplify things drastically

    hi mathy, I'm not sure if you have the latest version. If not, please download it from the first post.
    In the zip file, there's a vbs script file with sample codes. check that one out. if you still...
  3. Re: To all who's doing FTP: Here's an FTP class to simplify things drastically

    this is awesome FD 80!

    oops i did not upload the latest codes I promised. It's a complete rewrite actually. Will do it soon.
  4. Re: To all who's doing FTP: Here's an FTP class to simplify things drastically

    when i think back, the only reason I write the ftp class this way (i.e. with control socket and data socket as two separate classes) is the idea that there can be MULTIPLE ftp transfers running...
  5. Re: To all who's doing FTP: Here's an FTP class to simplify things drastically

    Oh I don't think that's a bug. It's intended to be never cleared. Because every time a file list is obtained, a new list parser class is created...or did I not? in that case, it's good you changed it...
  6. Re: To all who's doing FTP: Here's an FTP class to simplify things drastically

    i see. i'm away from my source codes now. as far as i can remember, the ftp class invokes a parser class to parse the data. i can't duplicate your situation, but i'll peek around at the parser class,...
  7. Re: To all who's doing FTP: Here's an FTP class to simplify things drastically

    post some snap shots. that'll help me diagnose the problem.
  8. Re: To all who's doing FTP: Here's an FTP class to simplify things drastically

    Did you try logging in first? Was it successful?
    If it was, was the directory you were accessing protected? i.e. the server does not allow you to list its contents?
    If it wasn't, did you wait long...
  9. Re: To all who's doing FTP: Here's an FTP class to simplify things drastically

    Note: when up/downloading, the class file doesn't open/read/write the local file for you.
    When uploading, the NeedData event and SendComplete event will fire alternately, and repeatedly. You upload...
  10. Re: How to do massive amounts of work without crashing the computer?

    OK...that's one messy code. For clarity purposes, you can relegate the codes to individual functions.

    First, the simplest solution. Try adding a DoEvents statement somewhere in the loop.
  11. Re: How to do massive amounts of work without crashing the computer?

    Post codes so we can see which parts can be optimized.
  12. Re: How to do massive amounts of work without crashing the computer?

    If those objects are for processing, obviously you process one batch before loading the others.

    If the reason it freezes is because it takes up too much cpu cycles but not memory, then...
  13. Replies
    6
    Views
    1,406

    Re: How to dereference a pointer as a structure

    thanks jmcilhinney for the advice.:wave:
    unfortunately I'm not using C#.
    The fact that they all are .NET compliant leads me to think VB.NET might have something like that, too.
    I guess I'll just...
  14. Replies
    6
    Views
    1,406

    Re: How to dereference a pointer as a structure

    I only hope VB.net has a native method to do this, and I would like to know what it is. I dont want to use Marshal class's WriteByte or the WriteInts, nor do I want to use FillMemory API because they...
  15. Replies
    6
    Views
    1,406

    Re: How to dereference a pointer as a structure

    Thanks for your reply.
    I know that method; that's precisely the method I want to avoid. I want to change it directly, right away, on the spot, with the help of a structure. This is why I want to...
  16. Replies
    6
    Views
    1,406

    How to dereference a pointer as a structure

    I've an IntPtr which points to the location where a Bitmap stores its raw image, i.e. not pointer to the bitmap object, but pointer to the image data itself (which I obtained through...
  17. Re: VB6 - FTP Class for people doing FTP - FTP made easy

    it probably means it's already connected and closed.
    I've done a complete rewrite. Check this link:
    http://www.vbforums.com/showthread.php?t=278007
  18. Re: To all who's doing FTP: Here's an FTP class to simplify things drastically

    By the way, if you want to do progress kinda things, you can first get the file size by getting the file list info (then the parser will parse for you), and depending on what system the ftp server is...
  19. Re: To all who's doing FTP: Here's an FTP class to simplify things drastically

    CodeBank is the forum you are in right now; think of it as a place to store and share codes.

    I rewrote the whole thing from scratch, with better and more streamlined codes. This also means there's...
  20. Re: To all who's doing FTP: Here's an FTP class to simplify things drastically

    i have to admit, the class is full of bugs...and i did not follow the protocols correctly and fully.
    if possible, i want to do a rewrite.
    if you see me reply in a few days, that means i'm on it. if...
  21. Re: A 3 page PHP crash course covering from basics up to using web Forms

    yes you're right, but my statement covers a broader sense. Customized responses cover webpages and non-webpages. Indeed, webpage-only is an understatement of the capability of PHP.
  22. Re: A 3 page PHP crash course covering from basics up to using web Forms

    ah perhaps i should've clarified on the intended target.

    it's not for complete newbies though. It's for anyone who knows a bit of programming or some other programming languages but not php. So...
  23. Re: A 3 page PHP crash course covering from basics up to using web Forms

    lol never really meant that, in real life i suck at writing :p. Feel free to criticize :). I am experimenting with a new way of writing tutorial, and try to get the reader accustomed to the language...
  24. A 7 page DirectX 9 Managed Code with VB.net covering basics till terrain creation

    This is a 7 page crash course tutorial on DirectX 9 Managed Code with VB.net, covering quite a lot of the basics, up to the point of creating terrains. Tutorial is based upon www.riemers.net. No...
  25. A 3 page PHP crash course covering from basics up to using web Forms

    This is a 3 page PHP crash course I wrote for people who are interested in picking up PHP as fast as is possible. It covers all the basics up to loops, control flows, boolean logics and web forms. As...
  26. Re: How to code for COM, COM+ & DCOM components ??

    i feel irresponsible if I don't reply.
    The link I gave you actually does tell you how to set up the address on the client. It's
    done during the installation phase.
    I don't think you can use .NET...
  27. Thread: DDE Link

    by jian2587
    Replies
    12
    Views
    1,342

    Re: DDE Link

    DCOM is well supported in XP. As I'm not familar with the configuration settings, I
    suggest you run dcomcnfg in winXP and check the Help Topics. That should help you,
    or atleast get you started on...
  28. Re: How to code for COM, COM+ & DCOM components ??

    to differentiate COM, COM+ and DCOM, here's a good resource:
    http://www.sei.cmu.edu/str/descriptions/com_body.html

    to do COM programming, you can create an ActiveX DLL project, add a class...
  29. Replies
    15
    Views
    1,274

    Re: DLL in a VB project...how?

    no worries :) please tag this thread as Resolved from the thread menu above.
  30. Replies
    15
    Views
    1,274

    Re: DLL in a VB project...how?

    You got the declaration wrong.

    Private Declare Function XMLoadLibrary Lib "c:\xmRadio\XMRDll.dll" _
    (ByVal sName As String) As Integer
    Private Declare Function XMLoadImage Lib...
  31. Thread: DDE Link

    by jian2587
    Replies
    12
    Views
    1,342

    Re: DDE Link

    I don't think you're missing controls or references. Maybe it's configuration settings.
    You might wanna check this out:
    http://support.microsoft.com/kb/268550/EN-US/
  32. Re: Sending Left Mouse Click To Another Program

    Using mouse_event API and Coupled with a timer you can do what you want.
    To find the program's window, you might wanna use FindWindow API. When you get
    the hWnd of it, bring it up to focus using...
  33. Replies
    11
    Views
    1,016

    Re: Days in a month

    use either If ElseIf or Select Case on DTPicker.Month.
    Then display the days appropriate for that month.
  34. Replies
    9
    Views
    919

    Re: Deleting Extra Lines from Text File

    question: how do you do the deletion?
    if you're gonna remove a line, you must remove vbCrLf on that line as well.
  35. Replies
    15
    Views
    1,274

    Re: DLL in a VB project...how?

    the function doc will pretty much tell you how to use the DLL.
    To use exported functions of a DLL, we generally statically bind it to our application
    using a function declaration code, e.g.:
    ...
  36. Thread: DDE Link

    by jian2587
    Replies
    12
    Views
    1,342

    Re: DDE Link

    well i guess DDE doesn't work over the network, which is not what he wants.
  37. Replies
    15
    Views
    1,274

    Re: DLL in a VB project...how?

    Borland C++ Builder 5.0 is a C++ compiler.
    To determine whether it's an activeX DLL, the easiest way is to try to add it through Project->References and see whether VB accepts it. If not, it's...
  38. Thread: DDE Link

    by jian2587
    Replies
    12
    Views
    1,342

    Re: DDE Link

    here's a good resource for you: http://support.microsoft.com/?id=266717
  39. Thread: DDE Link

    by jian2587
    Replies
    12
    Views
    1,342

    Re: DDE Link

    if you wanna use COM, your server app should be created as an ActiveX EXE Project.

    And in your client app, you can use CreateObject and specify both the class name
    and the server address to...
  40. Replies
    15
    Views
    1,274

    Re: DLL in a VB project...how?

    is that an activex dll or a normal win32 dll?
    if it's an activex dll, goto Projects->Reference and browse for that DLL and add it.
    If you want to see the available...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width