Search:

Type: Posts; User: bPrice

Page 1 of 9 1 2 3 4

Search: Search took 0.05 seconds.

  1. Re: vb6 webbrowser & supporting page with Java scripts!

    Hi, You might try Olaf's cFIE class:

    http://www.vbforums.com/showthread.php?706259-How-to-control-the-actual-installed-internet-explorer-with-webbrowser-control&highlight=cFIE
  2. Re: Want some guidance on translating texts in HTML snippets

    Well, it has been some days and finally .. I got a reply.

    To get the text from the html snippet is not difficult, I can just use Regex to strip all the tags, and then look at what's left. However...
  3. Re: Want some guidance on translating texts in HTML snippets

    I am able to translate pure text via a translation API over HTTP, using for example, the below function which has the API calling wrapped in.


    Public Function Translate(QueryText As String,...
  4. Want some guidance on translating texts in HTML snippets

    HTML snippet example:



    <table class="classA"
    style="word-wrap: break-word;font-family: Arial, Helvetica, sans-senif;border-collapse: collapse;color: rgb(51, 51, 51);font-size:...
  5. Re: VB6 SQLite DB-Demos (based on the RichClient-Framework)

    Olaf. Thanks for the detailed explanation. The CopyDatabase method has solved my problem, and CompactDatabase is a bit like VACUUM command.

    I ran into another problem today, that the "LIKE"...
  6. Re: VB6 SQLite DB-Demos (based on the RichClient-Framework)

    Hello, Olaf. ;) I have a few questions:

    1, How do I convert an In-memory DB into a disk file, i.e. InMemoryDump.db? I have learnt in other examples that it's possible to save a Recordset's...
  7. Split by Regular Expression. Want advice to improve speed.

    I have made a class to help me work with regular expression.

    The code of the class cRegex:


    Option Explicit
    Private mRegEx As RegExp
    Private mMs As MatchCollection
    Private mM As Match...
  8. RC5 SQLite - Error "Too Busy Prepare-Select Statements"?

    On some desktops, there are no problem. Things go well.

    On one however, the program won't execute further in the middle of the process. Maybe it's too slow or something. So a .CancelExecution is...
  9. Re: Questions about using other tools to replace Webbrowser Control.

    The above cJSWrap is very nice, and helpful.


    Private Sub Class_Initialize()
    With New cIEFeatures 'elevate the IE-Engine to its latest version (otherwise it will run in IE7-Mode by default)
    ...
  10. Re: RC5 SQLite - Potential pitfalls for working with cRecordset/cCommand/cSelectComma

    OK, here raises another more complicated situation:

    When updating cRecordset from two tables combined using JOIN, GROUP clauses, will there be DON'Ts and SHOULDs? Or it's just impossible.
    ...
  11. Re: RC5 SQLite cRecordset.UpdateBath serious bug!

    Actually today I got two problems costing me hours to find out why. The above problem is the second one though. The first one is about the the cCommand Object, note the code below:


    With...
  12. Re: RC5 SQLite cRecordset.UpdateBath serious bug!

    It starts to sound not like a bug but something that I am yet to know about data objects ...



    Even if it was true. It couldn't always be updating the 384 rows because the NewValue changes per...
  13. Re: RC5 SQLite cRecordset.UpdateBath serious bug!

    Also checking with MSADO



    cnn.ConnectionString = "Driver=SQLite3 ODBC Driver;Database=" & DBPath & ";"
    cnn.Open
    rs.Open strSQLExecute, cnn, adOpenKeyset, adLockOptimistic,...
  14. RC5 SQLite - Potential pitfalls for working with cRecordset/cCommand/cSelectCommand

    Note the code snippet below:


    Set rs = cnn.OpenRecordset(strSQLExecute)
    rs.MoveFirst
    Dim NewValue As Long: NewValue = Int(Rnd() * 10000)
    Debug.Print "rs.RecordCount: " &...
  15. Replies
    10
    Views
    4,531

    Re: WebkitBrowser update

    That's too bad... but it's very understandable.



    This is OK. The problem is IE-Webbrowser control can't be hosted in a cWidgetForm, right?
  16. Re: RC5 SQLite Question - Converting cRecordset into an In-Memory DB, or is it necess

    smart move:p
  17. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Right, and this is what I got from SQLite documentation before using the URI spec:
  18. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Having another question here:


    Private Sub th_ThreadEvent(MethodName As String, EventName As String, ByVal ParamCount As Long, P1 As Variant, P2 As Variant, P3 As Variant, P4 As Variant, P5 As...
  19. Re: RC5 SQLite Question - Converting cRecordset into an In-Memory DB, or is it necess

    Not so sure why a "out of memory" error will occur since the data is already stored in a Recordset?


    Set rs = cnn.OpenRecordset("SELECT ID, CREATION_TIME, ...")
    Set cnn2 =...
  20. RC5 SQLite Question - Attaching InMemory database by cConnection.Execute not working

    When testing by SQlite command line, I can get the following results:


    137091

    While writing code in vb6 as below, I don't get the desired results by Executing an SQL. It's possible to do it by...
  21. Re: RC5 SQLite Question - Converting cRecordset into an In-Memory DB, or is it necess

    Will try this and report back. Finally there is some use of .Content property ..
  22. Replies
    11
    Views
    1,139

    Re: DatGrid shows nothing!

    I haven't fully familiarized myself with all Widgets that can be used on a cWidgetForm class provided by RC5. But I am sure cwGrid eliminates all limitations, and you can basically customize it...
  23. Re: RC5 SQLite Question - Converting cRecordset into an In-Memory DB, or is it necess

    Not sure if it's more appropriate to put this thread in the Database Development section of the forum. If that's the case ...
  24. RC5 SQLite Question - Converting cRecordset into an In-Memory DB, or is it necessary?

    With a very large database at hand, two tables, with millions of rows, now I have concerns over the performance. I need to do thousands of SELECT queries, with aggregation functions, joining,...
  25. Re: RC5 cWidgetForm MinButton and MaxButton don't have any effect?

    After some digging I found forms that has the following border styles won't be affected by setting MinButton or MaxButton property:


    vbSizableToolWindow
    vbFixedToolWindow
    vbBSNone

    The others...
  26. [RESOLVED] RC5 cWidgetForm MinButton and MaxButton don't have any effect?

    The following lines didn't give the form a Min or Max Button:


    fMain.Form.MinButton = True
    fMain.Form.MaxButton = True
    fMain.Form.Show

    P.S. Anyone knows how to set the form start...
  27. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Tested and worked:

    136903

    I see that to use a persistable object, one has to implement property read/write via a PropertyBag class, which is unknown to me by the way until this post. So...
  28. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Well, I can do that. ;) The reason why the problem even occurred is that I took things for granted, "thought" it would work, and ran into an unexpected error. Obviously "things" turned out to be more...
  29. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Things aren't going so well. After changing the properties to "Persistable", it's successful to make the async method call, but I keep getting unexpected errors. The whole thing is tested before...
  30. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Hello Olaf,

    there is another problem with async method call:


    Debug.Print New_c.Timing, " PREPARE DB ", th.CallAsync("CreateNewRequests", SA, "YJ")

    SA here is an object of a user...
  31. Re: What happens to "Debug.Print" when compiled?

    Thank you for pointing out the reference to usage of Debug.Print. So I guess I have to remove them all manually since I use quite complex Debug.Print that involves functions and other variables.
  32. [RESOLVED] What happens to "Debug.Print" when compiled?

    For testing purposes I usually add debug.print to my project, but that is unnecessary if it's a compiled EXE or DLL. So I am wondering if the compiler deletes all debug object related statements...
  33. Replies
    5
    Views
    31,698

    Re: Visual Studio Code for VB6/VBA projects

    As much as I like that site, those are not freewares...
  34. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    A small example for VBA usage.

    1, First write your code for your class implementation in an ActiveX DLL Project in VB6. i.e. Inside class module cAsyncTesting, put the following code:


    Option...
  35. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    I *usually* use RC5 in my VBA projects. So far as it seems, it works great. As Olaf has pointed out that RC5 is COM, so basically you can utilize those classes in any other languages that has COM...
  36. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Well ... Why there is not a CancelCheck Event for my cThreadHandler. Perhaps we don't have the same version of RC5? Anyway, to find a bypass around this problem is not why I am here. In real...
  37. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    OK, I tested again today. The problem still remains.

    The class implementation:


    Option Explicit
    Public Event BeforeExecuting(cancel As Boolean)
    Function Adding(x As Long, y As Long) As Long...
  38. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Oh yes, there might be another problem but it's not fully tested.

    Supposing you have this in your method implementation:



    dim cancel as boolean
    RaiseEvent...
  39. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    I tried your method. Works.
  40. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Supposing there is a method implementation like this:


    Public Function Adding(x As Long, y as Long) as Long
    End Function

    And method calls like these:
Results 1 to 40 of 349
Page 1 of 9 1 2 3 4



Click Here to Expand Forum to Full Width