Search:
Type: Posts; User: bPrice
Search:
Search took 0.05 seconds.
-
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
-
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...
-
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,...
-
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:...
-
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"...
-
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...
-
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...
-
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...
-
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)
...
-
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.
...
-
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...
-
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...
-
Also checking with MSADO
cnn.ConnectionString = "Driver=SQLite3 ODBC Driver;Database=" & DBPath & ";"
cnn.Open
rs.Open strSQLExecute, cnn, adOpenKeyset, adLockOptimistic,...
-
Note the code snippet below:
Set rs = cnn.OpenRecordset(strSQLExecute)
rs.MoveFirst
Dim NewValue As Long: NewValue = Int(Rnd() * 10000)
Debug.Print "rs.RecordCount: " &...
-
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?
-
-
Right, and this is what I got from SQLite documentation before using the URI spec:
-
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...
-
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 =...
-
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...
-
Will try this and report back. Finally there is some use of .Content property ..
-
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...
-
Not sure if it's more appropriate to put this thread in the Database Development section of the forum. If that's the case ...
-
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,...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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.
-
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...
-
As much as I like that site, those are not freewares...
-
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...
-
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...
-
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...
-
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...
-
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...
-
I tried your method. Works.
-
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:
|
Click Here to Expand Forum to Full Width
|