Search Results - VBForums

Search:

Type: Posts; User: Arnoutdv

Page 1 of 11 1 2 3 4

Search: Search took 0.05 seconds; generated 11 minute(s) ago.

  1. Re: question on how to msflexgrid cell format

    The MSFlexGrid doesn't have normal input capabilities.
    So how do you get your input at the moment?
    KeyPress event or a floating textbox on top of the grid?
  2. Replies
    4
    Views
    138

    Re: Please Help VB6

    It's a question about a concept.
  3. Re: Convert MD5 (Hash) To Original Text

    Simple, you can't.
  4. Replies
    7
    Views
    151

    Re: MsgBox (-True + -True) * 75

    Zucht
  5. Replies
    7
    Views
    151

    Re: MsgBox (-True + -True) * 75

    Otherwise I would have used >= ;)
  6. Replies
    7
    Views
    151

    Re: MsgBox (-True + -True) * 75

    Not at all.
    True is -1, so (--1 + --1) * 75 => (1 + 1) * 75 => 2 * 75 => 150
  7. Re: Read Text file content from External DLL Resource file

    The InStr() function requires a start position:


    lgBuffPos = InStr(1, stBuff, Chr$(0))
  8. Re: How to set the alignment of forms irrespective of screen resolution in VB 6??

    This is only a "problem" if the user can resize the form.
    If the form has a fixed size then the resolution doesn't matter, only DPI settings can mess things up.
  9. Re: Connecting to Excel 2010 with VB 6 lates service pack error

    On which line does the error occur?
  10. Re: Need Help : Insert record and adjust number sequence

    That's some strange request.
    Adding a new record with an already existing TransactionNumber and then updating all other records to modify their TransactionNumber also.
    What is the use for having a...
  11. Replies
    4
    Views
    384

    Re: Need Active reports for vb6 latest

    It's a commercial product, so yes you have to buy a license
  12. Replies
    61
    Views
    2,489

    Re: What if there was a NEW vb6

    It is pathetic.
    We have multiple VB6 projects too, and we still maintain and update them
    But blaming Microsoft for replacing VB6 with VB.Net in 2002?
    The VB6 IDE and compiler environment still...
  13. Replies
    5
    Views
    1,352

    Re: String conversion to Unicode using vb6

    Guys this thread is from 2005!
  14. Replies
    6
    Views
    299

    Re: DLL location on 64bit OS

    And use a decent installer instead of knowing it better and install files manually
  15. Replies
    61
    Views
    2,489

    Re: What if there was a NEW vb6

    Not again, please stop, it's really getting pathetic...
  16. Re: Ms Access interruption and delete all table by interruption

    With removable devices you have to face the fact that the user can remove the device while your program is still running, thus corrupting the MDB file.
    You can check on what type of storage device...
  17. Re: [RESOLVED] Problem with Coloring Cells in a MSHFlex grid

    You don't need to mess with ForeColorSel and BackColorSel properties.
    Just tell the grid not to highlight the selected cells:


    With MSFlexGrid1
    .FocusRect = flexFocusNone
    .HighLight =...
  18. Re: Problem with Coloring Cells in a MSHFlex grid

    Have a look at post #30 in this thread on XtremeVBTalk:
    http://www.xtremevbtalk.com/showpost.php?p=824613&postcount=30
  19. Replies
    6
    Views
    314

    Re: Questions about flexgrid

    .TextMatrix() property
    .Col, .ColSel, .Row and .RowSel properties
  20. Re: JavaScript Bitwise Right Shift Operator (>>) in VB6

    Have a look at VBspeed for various implementations of ShiftRight
    http://www.xbeat.net/vbspeed/c_ShiftRight.htm
  21. Replies
    3
    Views
    205

    Re: Msflexgrid metrics

    According to me, you don't need to take into account the width of the gridlines.


    Private Sub Command1_Click()
    With MSFlexGrid1
    .Cols = 5
    .Rows = 4
    .BorderStyle = flexBorderNone...
  22. Thread: Valid Check

    by Arnoutdv
    Replies
    3
    Views
    194

    Re: Valid Check

    The Validate event is raised when you want to leave the control.
    The advantage of using the KeyPress event is that you can realtime block invalid entries.
  23. Thread: Valid Check

    by Arnoutdv
    Replies
    3
    Views
    194

    Re: Valid Check

    You can do this in the KeyPress event.
    The KeyAscii value contains the current pressed key (numeric value).
    If it's not valid the set the KeyAscii to 0
  24. Replies
    12
    Views
    416

    Re: Writing to binary file

    Huffman encoding
    http://en.wikipedia.org/wiki/Huffman_coding
  25. Thread: X,Y plane ^_^

    by Arnoutdv
    Replies
    5
    Views
    234

    Re: X,Y plane ^_^

    What do you mean with "xy plane"?
    Please explain what you want to do first.
  26. Replies
    12
    Views
    416

    Re: Writing to binary file

    I never use Iif:
    http://visualbasic.about.com/b/2006/12/02/beware-the-iif.htm
  27. Replies
    12
    Views
    416

    Re: Writing to binary file

    But how do you get the value 80?
    And how do you proceed to next byte?

    Say you have a bit string "10110011001001", which is 14 bits long.
    Then you would need 2 bytes to store the bit-pattern

    ...
  28. Replies
    12
    Views
    416

    Re: Writing to binary file

    If you want to do binary encoding then you have to do bit manipulations.
    You start with a byte array to store your "bits", because a single byte contains 8 bits.

    So if you have 3 characters...
  29. Re: error - Class MSComDlg.CommonDialog of control CommonDialog1 was not a loaded con

    Remove the CommonDialog control from your form and add it again.
    If there was a problem with the reference to the Common Dialog Control then the control on your form might be replaced with a Picture...
  30. Re: How to use VB6 to send username and password to web page

    It's about Visual Basic 6...
  31. Replies
    2
    Views
    142

    Re: removing brackets

    You could simply use the Replace function to get rid of all unwanted characters.



    Dim sLine As String

    Line Input #1, sLine
    sLine = Replace(sLine, "{", "")
    sLine = Replace(sLine, "}", "")...
  32. Replies
    8
    Views
    271

    Re: [RESOLVED] Val(True) = 0. Why?

    The other numeric conversion methods are all locale aware.
    I need to deal with a lot of text based data files in which numeric values are stored in the "US" format, that is with a decimal point.
    So...
  33. Thread: kb to mb

    by Arnoutdv
    Replies
    4
    Views
    231

    Re: kb to mb

    Divide the number of KB by 1024 :-/
  34. Re: Reading the text from a textbox in another application

    VB6 does not have a Convert class/object.
    Also MessageBox.Show should be MsgBox

    Why are you using VB6 instead of VB.Net, based on these above mistakes I assume you never used VB6 before.
    VB.Net...
  35. Replies
    27
    Views
    579

    Re: Syntax error...

    http://www.w3schools.com/sql/sql_update.asp
  36. Replies
    5
    Views
    219

    VS 2012 Re: vb.net application on linux OS

    Don't have clue.
  37. Replies
    25
    Views
    700

    Re: VB6 window fitting pic imbeding

    The Picture control can be set to AutoSize = True
    Then the control will take the size of the image loaded, resize your form accordingly
  38. Re: How to load properly a text file in an array?

    I hope this works for you:


    Option Explicit

    Private Sub Command1_Click()
    Dim dValues() As Double

    dValues = ParseFile("C:\Users\ArnoutV\Downloads\file1.txt")
    End Sub
  39. Re: How to load properly a text file in an array?

    The file looks organized too me.

    If you read the file line by line then start with different parsing blocks when the line starts with a "~"
    Ignore all lines starting with "#"
    The first block...
  40. Replies
    5
    Views
    219

    VS 2012 Re: vb.net application on linux OS

    I believe the WebBrowser control relies on the installed Internet Explorer.
Results 1 to 40 of 429
Page 1 of 11 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.