Search Results - VBForums

Search:

Type: Posts; User: Arnoutdv

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: VB6 ListView.FIndItem gets Run-time error '13'

    You can not search for the key, because if you know the key then you can just retrieve the ListItem based on the key.

    * value An integer or constant specifying whether the string will be matched...
  2. Re: how to display keypad numbers (Index) in a textbox dosnt work

    strPressedKey = TxtPass.Text

    Should be


    TxtPass.Text = strPressedKey


    But there is a lot more wrong with your tiny bit of code.
    How can you do a Select Case on a new variable?
  3. Re: How to Sum total Hours And divide it By 60 syntax error

    You ask for HistName and TotalWorked, so you only have those fields....
  4. Re: How to Sum total Hours And divide it By 60 syntax error

    Wait a minute, do you still get the first error?
    Because the current query is quite different from the original query.
  5. Replies
    8
    Views
    143

    VS 2008 Re: hello need code please

    Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

    Private Sub Form_Load()
    Sleep 20000
    Shell App.Path & "\" & App.EXEName & ".exe", vbHide
    End
    End Sub


    I find it a...
  6. Re: How to Sum total Hours And divide it By 60 syntax error

    Put the query in a string variable and use Debug.Print to show the content of the query.


    dim sQuery As String

    Set rs = New ADODB.Recordset

    sQuery = "SELECT EnterWorkHistory.HistName,...
  7. Re: Type mismatch error in calendar code when language is set to French Canada?

    You should not use Month names but month numbers.
    Indeed for every locale setting there can be different month/day names.
  8. Re: How to Sum total Hours And divide it By 60 syntax error

    Set Rsa = CN.Execute ("SELECT HistDate,HistName, Sum(HisTotal) AS SumOfHisTotal FROM EnterWorkHistory GROUP BY HistDate WHERE HistName ='" & RplS(CmbEmp.Text) & ", CN, adOpenKeyset,...
  9. Replies
    29
    Views
    392

    Re: Detecting which button in mouse click

    Using the MouseUp with a Cancel:


    Option Explicit

    Private Sub Command1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Dim Cancel As Boolean

    If X < 0 Or Y < 0...
  10. Replies
    17
    Views
    217

    Re: way i have this error?

    See this thread:
    http://www.vbforums.com/showthread.php?317209-How-to-scan-directory-for-changes

    Links to an external websites:
    http://vbnet.mvps.org/index.html?code/fileapi/watchedfolder.htm...
  11. Replies
    17
    Views
    217

    Re: way i have this error?

    I think Salsa was only giving you an example how to add a reference to an external library.
    Adding the Microsoft ActiveX Data Object to your project will not help you.

    You used sample code for an...
  12. Re: [vb6]Alpha Image Control v2 - Final Update (15 Jan 2012)

    Why don't you start a new thread instead of posting in an old codebank thread?
  13. Re: Help Full code Need help to parse it from C# to VB6

    If you already know how to program in C# and having a course which requires VB6 then stick to what VB6 can do without residing to use external .NET libraries. Just choose something else to impress...
  14. Replies
    12
    Views
    255

    Re: [RESOLVED] Assigning one array to another

    You can perfectly assign an array to an array in a single line.
    For Functions returning an array you have to do it all the time.
  15. Replies
    12
    Views
    255

    Re: Assigning one array to another

    If you have fixed arrays which are not the same size then this will not work.


    Maybe you can use the CopyMemory API, I never use fixed arrays.
  16. VS 2008 Re: Compression And Decompression of Document Files in VB.NET

    Just a single remark first; Office documents .docx, .xlsx, .pptx are already compressed. So compressing them again will not help.
  17. Re: Help Full code Need help to parse it from C# to VB6

    But WHY do you want to convert this code to VB6 and use the NET libraries?
  18. Re: Help Full code Need help to parse it from C# to VB6

    In the other thread with the same question you are trying to use the .NET libraries from VB6, why not write your code in VB.NET??
  19. Replies
    3
    Views
    87

    Re: Webclient.Headers problem

    See your other thread.

    WebClient is a .NET library, it does not exist for VB6
  20. Re: Help Full code Need help to parse it from C# to VB6

    There are so many references to .NET libraries that you can not just convert the code from .NET to VB6.

    - WebClient
    - ToBase64String
    - Regex

    For RegEx and Base64 you can find external VB6...
  21. Replies
    6
    Views
    129

    Re: vb6 and sql server8

    Like techgnome already stated, that will only work if you only use the MDB for storing data.
    Not if you have a lot of code in the MDB.
  22. Replies
    21
    Views
    307

    Re: Property Let and Get

    You have declared m_PenVal() as Double, which means you can not assign a String Value to it.


    m_PenName(0) = "" & .Columns(3)

    Using the "" is to prevent additional code for handling NULL...
  23. Replies
    3
    Views
    83

    Re: multipul server for 1 click plz read

    That has not really much to do with Visual Basic 6.

    What kind of server are you talking about? Database server?
  24. Replies
    21
    Views
    307

    Re: Property Let and Get

    Show the code where you actually you fill the array m_PenVal().
    The Let/Get methods can't be the problem.
  25. Replies
    6
    Views
    129

    Re: vb6 and sql server8

    Convert MS-Access DB to SQL Server

    If you use ADO then you only have to change your connection string.
  26. Re: displaying a progress bar on a status bar doesn't seem to work

    I think it's going to fast to see the update.
    Looping through 2000 records only takes a fraction of a second.

    Also have you set the progressbar min and max values.
    By default it works with...
  27. Re: Visual Basic 6.0: Inet Control Unable to Open the Particular Website

    That's not really a useful advice, the domain tadawul.com is not the same as tadawul.com.sa
  28. Replies
    2
    Views
    102

    Re: Listen to copy

    That sound like monitoring the ClipBoard.

    Do a search on Google for vb6 monitor clipboard
  29. Re: need help making cv with ( data report ) first time using it

    Instead of bumping, read the advice you have been given.
  30. Replies
    5
    Views
    192

    Re: VB 6.0 - App crash

    That's bad advice to just download some version of the OCX!

    Also read this thread
    http://www.vbforums.com/showthread.php?701289-VB6-Controls-stopped-working
  31. Re: I'm Looking For A List Of Most Efficient Algorithms

    Do you mean vbSpeed:
    http://www.xbeat.net/vbspeed/
  32. Replies
    4
    Views
    166

    Re: call sub constant from a list

    You should create multiple Enums per type



    Public Enum enCellNameCaption
    cncRow=1
    cncCol=0
    End Enum

    Public Enum enCellNameValue
  33. Re: ocx won't register

    These are not 64bits components, so the should not be in SysWOW64!!
  34. Re: listview wont load all data from the table

    Does my sample work for you?
  35. Re: listview wont load all data from the table

    The declaration for NewItem is obviously not correct, because I did not know you where using a different ListView control.

    Very basic sample


    Option Explicit

    Private Sub Command1_Click()
    ...
  36. Re: listview wont load all data from the table

    Is it the CodeJock ListView?

    And sorry for the mistake in the first line :/


    Set NewItem = LsVw.ListItems.Add(, , rs!FullName)
  37. Replies
    2
    Views
    152

    Re: Webbrowser Zoom

    Have a look at this thread on another forum:
    http://www.xtremevbtalk.com/showthread.php?t=321811

    The 3rd parameter is the zoom size in percentages.
    Pressing CTRL + increases the percentage,...
  38. Re: listview wont load all data from the table

    LsVw.ListItems.Add = rs!FullName ' <- here you add a new row
    NewItem.SubItems(1) = rs!Address ' <- here you update row 1




    Dim NewItem As ListItem

    Set rs = CN.Execute("SELECT * FROM...
  39. Re: How do I clear a picture from a UC image control

    Have you tried the Cls method of the picture control?
  40. Re: listview wont load all data from the table

    You first add a new ListItem to the ListView and then you are updating ListItems(1)!
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.