Search Results - VBForums

Search:

Type: Posts; User: Arnoutdv

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    95

    Re: Select Case question

    No, the case statements are evaluated one by one!
  2. Re: CommonControls (Replacement of the MS common controls)

    At the bottom of the first post there is a download link for the source code.
  3. Replies
    15
    Views
    311

    Re: Select Case error

    I assume the "Switch" is an untranslated piece of C code and should be a Case
    Because the End Select aligns with the Switch.
  4. Replies
    11
    Views
    293

    Re: [RESOLVED] UTF-8 question

    Thanks for sharing DrUnicode.
    I can use the given routines to make my FileReader class more robust, which main purpose is to read large text files (eg XML) in binary chunks returning line by line.
  5. Replies
    11
    Views
    293

    Re: UTF-8 question

    I posted a sample in the Codebank thread:
    http://www.vbforums.com/showthread.php?779565-Reading-and-Writing-UTF-16-and-UTF-8-Files&p=4780185&viewfull=1#post4780185
  6. Re: Reading and Writing UTF-16 and UTF-8 Files

    The routines to detect UTF8 in a file without BOM are quite complex and hardly fool proof.


    '---------------------------------------------------------------------------------------
    ' Procedure :...
  7. Thread: Excel Writer

    by Arnoutdv
    Replies
    12
    Views
    2,217

    Re: Excel Writer

    Yes I'm aware of that, but don't forget the source code is available, you can make an modification you want or need :)
  8. Thread: Excel Writer

    by Arnoutdv
    Replies
    12
    Views
    2,217

    Re: Excel Writer

    I think I tackled it.
    The way the internal stringtable was created has been changed to use the actual cell values.
    The escaping of the illegal XML characters in the stringtable values has been...
  9. Thread: Excel Writer

    by Arnoutdv
    Replies
    12
    Views
    2,217

    Re: Excel Writer

    I see the problem.
    Because in XML the characters " ' > < & must be escaped I modify the original string, which causes the Unicode characters added to string to be malformed.

    Will try to find...
  10. Thread: Excel Writer

    by Arnoutdv
    Replies
    12
    Views
    2,217

    Re: Excel Writer

    Can you give an example??
  11. Re: create excel file without excel installed in vb6.0

    Quick search revealed this C sample using the same API WideCharToMultiByte:
    http://www.codeproject.com/Articles/26134/UTF-to-UTF-to-UTF-simple-CString-based-conver
  12. Replies
    9
    Views
    221

    Re: vsprintf in VB

    The first returned result for a Google search on "vb6 printf"
    http://www.freevbcode.com/ShowCode.asp?ID=5014
  13. Re: VbAccelerator SGrid2 Runtime error '440' and Run-time error '0'

    No support is a harsh statement, all components on vbAccelerator are free and come with the source code.
    So nothing stops you from finding and squashing the bug yourself.
  14. Re: how recover formated drive, on same drive?

    Read this:
    http://www.partition-tool.com/resource/unformat-ntfs-fat-drive.htm
  15. Replies
    11
    Views
    289

    Re: Compare software versions

    String comparing will not get you the correct result.
    In VB6 there is no version functionallity built in.
    You have the App.Major, App.Minor and App.Revision properties, but no method to compare...
  16. Re: create excel file without excel installed in vb6.0

    Updated to support Unicode -> UTF8 :)
  17. Thread: Excel Writer

    by Arnoutdv
    Replies
    12
    Views
    2,217

    Re: Excel Writer

    Added UTF8 support for the string tables.

    Use the updated attachment form post #1
  18. Re: Help me compile this program chat reseller

    The ZIP file only contains an executable.
    I think you want us to decompile this executable to get the source code?
  19. Replies
    4
    Views
    211

    Re: Need Help : Mdi Child (Maximized Resize)

    You can not have child windows with mixed maximized/normal windows states.
    What do you want to accomplish with having a maximized child window and a floating window at the same time?
  20. Replies
    4
    Views
    211

    Re: Need Help : Mdi Child (Maximized Resize)

    Can you be more specific?
  21. Replies
    12
    Views
    406

    Re: Convert Word to PDF fails

    Because the first argument is not a filename but the current Word object.
  22. Re: create excel file without excel installed in vb6.0

    I posted a sample in the code library to create a XSLS file without Excel installed.
    It does some cell formatting too.

    http://www.vbforums.com/showthread.php?742127-Excel-Writer
  23. Re: Is there a fast way to navigate a Collection of objects?

    I can confirm your findings.
    Never knew the performance hit was that bad!
  24. Replies
    3
    Views
    175

    Re: Program causing Virus.Ramnit detection

    Check your compiled EXE/DLLs on https://www.virustotal.com/
  25. Re: Is there a fast way to navigate a Collection of objects?

    But in the case of the TS I hardly think that the type of FOR NEXT loop is the problem for his slow screen updating.
    Storing all drawing elements in a collection (OO way) and then let each element...
  26. Replies
    44
    Views
    1,188

    Re: Unicode Menus

    If it works and does what you need and it's has already been coded by someone else, then who cares how many lines of code is needed??
  27. Replies
    2
    Views
    138

    Re: Populate a MSFlexGrid

    Not with a single line statement.
    Just populate the grid by retrieving the data line by line from the recordset.
  28. Replies
    16
    Views
    296

    Re: Compile with all dependencies

    No you can not bind the external dlls into a single exe using the VB6 compiler.
  29. Thread: Query

    by Arnoutdv
    Replies
    9
    Views
    231

    Re: Query

    What's the problem with using IF statements to build a dynamic query?
  30. Replies
    5
    Views
    194

    Re: Delete record with yes no vb6

    If you look up the help for the MsgBox function then you will see the following first line:
  31. Replies
    26
    Views
    638

    Re: What's your sport?

    Till my 30's I played football (soccer).
    Nowadays I play water polo and like doing and training for triathlons (1/4, OD and 1/2).
  32. Re: vb6 aap running another vb6 exe from within the same MDI form of former vb6 exe

    Sounds like strange hack to get the forms of App2 to be shown in the MDI workspace of App1.

    Maybe this thread can get you started:...
  33. Replies
    9
    Views
    325

    Re: How to update a vb6 exe fast

    After you made your changes to the form you only have to recompile it to create a new executable.
    What part of this process do you want make faster?
  34. Replies
    13
    Views
    427

    Re: Instr function

    Less code is not per definition more efficient.
    Using the Split() would use more memory and processing time.
    My code maybe uses more statements but is quite efficient when dealing with large...
  35. Replies
    13
    Views
    427

    Re: Instr function

    Some code from a library to work with "multivalue" strings.
    In your case the Separator is ", "



    Public Function mvLocate(sString As String, sSearch As String, sSeparator As String) As Long
    ...
  36. Replies
    13
    Views
    427

    Re: Instr function

    The result is correct. "825" is found at position 2 in the string "1825, 8253"

    What kind of "magic" do you need? ;)
  37. Replies
    16
    Views
    481

    Re: How to interpret this array

    You have an array with indexes from -1 to 10.
    In other languages, like C, you can only specify the upper bound of an array.

    From the help:
  38. Re: set minimum column width in Vsflex8

    The .AutoResize only works when the control is retrieved from a database.
    If you have manual user input then you should call .AutoSize method in the .AfterEdit event.
    Then check if the current...
  39. Replies
    16
    Views
    620

    Re: ip calculator in vb6

    @NW: The question dates back to 2009!
  40. Thread: MSComm

    by Arnoutdv
    Replies
    9
    Views
    411

    Re: MSComm

    I would ask for a refund. :rolleyes:
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.