dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Spectre 001

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    563

    Read Knowledgebase article Q186246. Hope this...

    Read Knowledgebase article Q186246.

    Hope this helps.
    Spectre
  2. Replies
    5
    Views
    697

    www.allapi.net - It is a replacement for the API...

    www.allapi.net - It is a replacement for the API viewer and the database that comes with it has almost all of the Win2K and XP APIs.

    Hope this helps.
    Spectre
  3. Replies
    3
    Views
    668

    Also (just in case), the enumerated constants for...

    Also (just in case), the enumerated constants for ADO are not available in ASP unless you import them from the type library in a metadata tag, or include the .inc file from MS containing the...
  4. Replies
    4
    Views
    1,552

    The problem is that you are trying to write a...

    The problem is that you are trying to write a binary blob to a file usint text file operations. When print# encounters a Chr$(0) it assumes that it is at the end of the line. You need to open your...
  5. Replies
    1
    Views
    851

    When VB load a string into a textbox it load up...

    When VB load a string into a textbox it load up to the first Chr$(0), anything past this will be truncated. Store your compressed data in a string variable (it will accept your entire compressed...
  6. As long as the dll has a type library registered...

    As long as the dll has a type library registered you can use OLEView (installs with Visual C++) to generate the idl (interface definition) which will show all of the exported functions along with...
  7. Replies
    2
    Views
    763

    Instead of using the INFINITE constant, use an...

    Instead of using the INFINITE constant, use an appropriate number of milliseconds to wait. Once the time period expires, your program should continue. INFINITE indicates that the program should...
  8. Replies
    2
    Views
    986

    Or you could use the SearchTreeForFile API ...

    Or you could use the SearchTreeForFile API

    Private Declare Function SearchTreeForFile Lib "imagehlp" (ByVal RootPath As String, ByVal InputPathName As String, ByVal OutputPathBuffer As String) As...
  9. Thread: UpLoad

    by Spectre 001
    Replies
    2
    Views
    986

    You can do what you ask using the WinInet APIs. ...

    You can do what you ask using the WinInet APIs. All of the info you need is in MSDN, but you'll have to dig for it.

    Hope this helps.
    Spectre
  10. Replies
    4
    Views
    833

    chanti's formula is correct, however, the VB Rnd...

    chanti's formula is correct, however, the VB Rnd function produces a pseudorandom number. In other words, if you don't re-seed the random number generator between calls, you will end up with the...
  11. Replies
    9
    Views
    1,385

    why not use the SetTimer/KillTimer APi functions,...

    why not use the SetTimer/KillTimer APi functions, the interval parameter is a long which should allow for intervals approaching 49 days.

    Hope this helps.
    Spectre
  12. Replies
    4
    Views
    899

    You can also use the API CopyFileEx, it will not...

    You can also use the API CopyFileEx, it will not only copy the file, but also allow you to set up a callback function that will be notified of the progress so you can display it.

    Hope this helps....
  13. I'd like to add that the reason for this...

    I'd like to add that the reason for this threading behavior in VB 6 is to allow VB 6 objects to be thread safe (safe to call from true multithreaded applications written in other languages). So,...
  14. VB 6 does not support multithreading. VB 6...

    VB 6 does not support multithreading. VB 6 apartment threaded objects and programs are limited to execution in an STA (Single Threaded Apartment). This means that your exe or object can spin up as...
  15. Replies
    7
    Views
    1,125

    Use a reference table (a table that ties a set of...

    Use a reference table (a table that ties a set of items from one table to an item in another).

    Table crossref
    pk_crossref - primary key
    fk_item - foreign key item being manufactured
    fk_material...
  16. Thread: recordset

    by Spectre 001
    Replies
    5
    Views
    1,358

    Re: recordset

    Akim is correct.

    Spectre
  17. Replies
    1
    Views
    1,416

    Re: Calling windows API

    From AllAPI.net API_Guide


    private Declare Function SearchTreeForFile Lib "imagehlp" (byval RootPath as string, byval InputPathName as string, byval OutputPathBuffer as string) as Long
    private...
  18. Replies
    1
    Views
    959

    Re: ADO and MTS

    Connection pooling is something that is done by MTS for you (You don't have to do anything for it to happen, if it can pool the connections it will). As for your performance problem, if you are doing...
  19. Re: How can we access properties of activex from a form

    I don't believe that you can do it in the Form_Load because your object hasn't been created yet. You can't access objects on your form until after the form is loaded (after the Form_Load is...
  20. Thread: recordset

    by Spectre 001
    Replies
    5
    Views
    1,358

    Re: recordset

    You can use one...


    'get first recordset
    rs.Open sql, cn
    'Process first recordset
    While Not rs.EOF And Not rs.BOF
    'Process records
    Wend
    'Close recordset before using it again
  21. Replies
    2
    Views
    702

    Re: Pls help me !

    It seems to me that you could take two approaches to this. If it is not a secuity concern, have the client that wishes to transfer a file to another client request the IP of the receiving client...
  22. Replies
    3
    Views
    725

    Re: Converting BaseX to BaseY

    Here are a base conversion function that I wrote for a program some years ago. It is set up to use 32 bit numbers, but could be converted to 64 bit easily. I'm converting from the given base to all...
  23. Replies
    3
    Views
    725

    Re: Converting BaseX to BaseY

    Here are a base conversion function that I wrote for a program some years ago. It is set up to use 32 bit numbers, but could be converted to 64 bit easily.


    public Function Convert(Number as...
  24. Replies
    2
    Views
    515

    Re: checking sql server existence

    You can use the sqldmo object. Look for details of how to accomplish in MSDN.

    Hope this helps.
    Spectre
  25. Thread: recordset

    by Spectre 001
    Replies
    6
    Views
    779

    Re: recordset

    I think that asOpenDynamic is getting you in trouble here. Since you are opening a recordset that is kept up to date with the database, ADO cannot gurantee the number of records at any given time,...
Results 1 to 25 of 27
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)