Search Results - VBForums

Search:

Type: Posts; User: Arnoutdv

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    11
    Views
    153

    Re: Stopwatch with miliseconds

    What did not work??

    Timer is an intrensic VB6 function...
  2. Replies
    11
    Views
    153

    Re: Stopwatch with miliseconds

    Your question is about formatting a time value, not about measuring the elapsed time.

    Sample:


    Option Explicit

    Private m_dStart As Double

    Private Sub cmdStart_Click()
  3. Replies
    12
    Views
    251

    Re: TreeView question

    Check the .HotTracking property
  4. Replies
    14
    Views
    402

    Re: Not sure how to proceed...

    MSHFlexGrid supports unicode.
  5. Re: [RESOLVED] IStorage,IStream,IStorage.CreateStorage

    Are you creating a BIFF8 or BIFF9 file? Or will it be a XLSX file (which is just a ZIP archive containing XML data)?

    Pfff, all the best with you neck/back!
  6. Re: [RESOLVED] IStorage,IStream,IStorage.CreateStorage

    Are you going to share anything of this project?
  7. Re: How to read a unicode text file line by line.

    The number of lines can only be retrieved when processing the whole file.
    Unless each line has the same lenght then you can calculate the number of lines based on the length of the first line and...
  8. Replies
    11
    Views
    264

    Re: Hi, I'm new and want to ask a question

    Yes, but this will only work for command prompt started from within Windows.
    If you you boot your computer with MS-DOS 6 or whatever then VB6 programs will not work.
  9. Re: How to read a unicode text file line by line.

    Your question makes no sense to me.
    The byte order of a file will not change, this has nothing to do with actual way the file stored on a storage device.
  10. Replies
    11
    Views
    349

    Re: Threeway Splitter Form

    I find using picturebox controls the most easy way to create splitters.
    Do you have a specific reason for not using pictureboxes as containers?
    ...
  11. Replies
    5
    Views
    156

    Re: Obtain locale week start

    Maybe I misunderstood your question.

    If you want to know which day of the week is the actual first day of the week for given local settings:


    Dim lDate As Long

    lDate = Date
    Do...
  12. Replies
    5
    Views
    156

    Re: Obtain locale week start

    The weekday function should do what you need.





    Debug.Print WeekDay(Date, vbSunday)
    Debug.Print WeekDay(Date, vbMonday)
    Debug.Print WeekDay(Date, vbUseSystemDayOfWeek)
  13. Thread: Query problem

    by Arnoutdv
    Replies
    1
    Views
    91

    Re: Query problem

    Start reading this:
    http://www.w3schools.com/sql/sql_where.asp
  14. Replies
    5
    Views
    139

    Re: Block Loading a Listbox

    No, a ListBox is an Object, so you can't just copy the content.
    What's wrong with a loop to copy all items?
  15. Replies
    6
    Views
    326

    Poll: Re: vb6 runtime error

    You have inserted a space in the word RecordSet


    Dim id As Integer
    Private Sub cndadd_Click ()
    If Data1.Record set.RecordCount =0 Then
    id =0
    Else
    ...
  16. Re: CommonControls (Replacement of the MS common controls)

    The download links are in the first post of this thread:
    http://www.vbforums.com/showthread.php?698563-CommonControls-(Replacement-of-the-MS-common-controls)&p=4277565&viewfull=1#post4277565
  17. Replies
    3
    Views
    476

    Re: Programming language

    Just do a Google search:
    https://www.google.com/search?q=introduction+in+programming
  18. Thread: SQL from VB

    by Arnoutdv
    Replies
    5
    Views
    292

    Re: SQL from VB

    http://www.connectionstrings.com/
  19. Thread: SQL from VB

    by Arnoutdv
    Replies
    5
    Views
    292

    Re: SQL from VB

    According to my limited knowledge of VB5 there is no big difference in accessing databases using either VB5 or VB6.
    So just for ADO samples using VB6 or, if ADO does not work with VB6, use DAO.
  20. Thread: Search

    by Arnoutdv
    Replies
    1
    Views
    142

    Re: Search

    Loop through all rows of the flexgrid.
    Then check for each column if there is a match, if there is no match then set the .rowheight of the row to zero.

    Sample on XtremeVBTalk:...
  21. Re: CommonDialog Color Data Type?!

    It's a Long
  22. Replies
    7
    Views
    436

    Re: Type Mismatch (Error 13) ?!

    There still can be an error when running your program on a different computer.
    If not all components are (correctly) installed you would not get an error 13, so something else is different in...
  23. Re: VB6 needs to populate Excel sheet, not using an Excel Macro. Is it possible?

    Your thread title says VB6 and you are using Visual Studio 2012??

    Nevertheless using Office Automation you can do whatever you want with Excel, either using VB6 or VB.Net
  24. Replies
    7
    Views
    282

    Re: Changing Msgbox Font?!

    Have a look in this thread:
    http://www.vbforums.com/showthread.php?617350-VB6-Unicode-classes-functions
  25. Replies
    19
    Views
    476

    Re: Improve VB6 Controls' Appearance?!

    There are a lot of freeware controls, with and without source code.
    Like in the Codebank the component suite by Krool:...
  26. Replies
    3
    Views
    216

    Re: Get image from database

    There are many tutorials for this.
    In the database forum FAQ is also a link:
    http://www.vbforums.com/showthread.php?376767-Database-How-can-I-store-images-(or-other-files)-in-a-database
  27. Replies
    6
    Views
    288

    Re: Cannot find COMDLG32.OCX

    If your application can not use it then your install packages either misses the specified control or the installation failed, maybe due to invalid user rights.
  28. Re: Difference between Visual Basic Enterprise (Version 6) and Visual Basic 6.0 Run-T

    No the latter will only install the required runtime modules for executables generated with VB6.
    You need Visual Basic 6 Professional or Visual Basic 6 Enterprise.
  29. Re: Saving MSHFLEXGRID data to table

    Please re-read post #24
  30. Re: Saving MSHFLEXGRID data to table

    Also all the conversions for the "date" values will fail too.
    These columns are no date values.
    You better rethink what you want to achieve.

    You are pulling a pivot table using a complex query...
  31. Re: Saving MSHFLEXGRID data to table

    The .TextMatrix property returns a string.

    So you need to use CInt(), CDate() etc.
  32. Re: MsFlexgid Error When referencing crosstab querry

    Then MyCon is not initialized yet....
  33. Re: MsFlexgid Error When referencing crosstab querry

    Use the debugger to step through your code, then you can see what happens.

    If the .State = 1 then the you set the MyRecset to Nothing.


    If MyRecset.State = 1 Then
    MyRecset.Close
    Set...
  34. Re: MsFlexgid Error When referencing crosstab querry

    On which line does the error occur?
  35. Replies
    2
    Views
    285

    Re: HELP DBF Files - vs2013

    On GitHub:
    https://github.com/SocialExplorer/FastDBF

    Connection strings when using ADO:
    https://www.connectionstrings.com/dbf-foxpro/
  36. Replies
    7
    Views
    420

    Re: problem about counter in vb6 plz help

    The post by Passel is post #4 ...
  37. Re: Something New (For Me) - Shelling Program - Btn Click

    Wouldn't AutoIt be better suited for this?
  38. Re: Use Visual Studio to develop an Apple cell phone App

    Another option:
    http://phonegap.com/
  39. Re: Use Visual Studio to develop an Apple cell phone App

    I have no experience with this, but I found some links:

    Marmalade, VS add on, not free:
    https://www.madewithmarmalade.com/blog/using-visual-studio-develop-ios

    Xamarin might be an option, but...
  40. Replies
    4
    Views
    251

    Re: MsFlexGrid sorted

    Do you have a fixedrow? Because FixedRows are not sorted, because they are fixed :)
    Also execute the sort after you have filled to complete grid, not for every read statement.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width