Search:
Type: Posts; User: Arnoutdv
Search:
Search took 0.17 seconds.
-
The Date datatype is just a double.
The integer part is the date since 30 December 1899 (date = 0)
The fractional part is the number of seconds divided by 86400
No needs for roundtrips :)
-
Then a 1 million dollar question still needs to be answered, what needs to be done when 2 records/items are the same?
-
Does VB.Net also has the concept of UDT or Structs?
Or is an UDT a lightweight class in .Net?
-
Is there a specific reason for having the grid bound to a dataset?
In other words can it be disconnected?
-
Convert your form to a user control.
If you insist in having a form in a form then use the SetParent API, but you can get strange behavior
-
And what if you set .TextMatrix to ""
With grid
.Redraw = flexRDNone
For f = 1 To .Rows - 1
If .ValueMatrix(f, 2) = 0 Then
.Cell(flexcpPicture,...
-
You want to merge to 2 arrays?
What would the outcome look like?
-
You can reduce it to a single loop if you sort the data while keeping the indices of the items.
Then you need a single loop in which you just compare the current item with the next item.
An...
-
Maybe a silly question, but why do you have 2 arrays if the contain the same data?
And what needs to be done when there more than 1 instances of a value in the data?
-
Check this codebank sample, you can call this method to change the appearance for a range of cells:
https://www.vbforums.com/showthread.php?901180-MSFlexGrid-The-power-of-the-FillStyle-property
-
You refer to a field in sSql1 which you don’t use (yet)
-
So remove all error handling from UserControl_Resize events and handle the error in Form_Resize()?
-
Can you show more of the code including the error handler?
-
It makes sense as in it behaves the same as when running from the IDE.
Now you have to start bug hunting and that can get frustrating.
You can use an external debugger, I don't have any experience...
-
Are you 100% sure all the external files used by the DLL have not been changed since 2023?
When you compare the 2 DLL files, the old and the new, are the exactly the same?
-
Aha, I thought you meant VS2023, but you mean the year 2023 :)
So if you recompile the same source from 2023 again in 2024 then DLL can not be used from VB.Net?
While the previous compiled...
-
What happens if you compile to P-code?
-
You have to explain in more detail what you are doing.
The source code for a DLL written in VB6 can not be compiled using Visual Studio 2023.
The source for a DLL written in VS2023 can not be...
-
Maybe you should start with writing down all requirements and use cases first.
Now you ask for A, you get a solution for and then you say, but I can’t get B.
Then you get an answer for B, and then...
-
Use a Count and a Group By in the query
-
I assume you are aware of these concepts:
https://en.wikipedia.org/wiki/High-frequency_trading
https://www.investopedia.com/terms/h/high-frequency-trading.asp...
-
I use the vsFlexGrid and always use basic coding statements like:
For lRow = .FixedRows To .Rows - 1
'
NofActiveCols = .Cols - .FrozenCols - .FixedCols
-
Why do you need them? They are simple additions and subtractions of the current available properties
-
I also use CreateObject.
But I don’t use Excel as a database, just need to read values.
Then I often use the Excel object to save the current worksheet to a tab delimited file and process this...
-
Don't put in a Const but in a Public variable.
-
The angle before hitting a wall is the same as the angle when bouncing of, but seen from a different perspective.
When calculating the angle then it's 180-Angle
See this article on WikiPedia:...
-
Try the method as described in this thread by Elroy:
https://www.vbforums.com/showthread.php?852227-Installing-the-VB6-IDE-on-Windows-10-64-bit
-
I have no problem using vb6 with office 64bit versions.
But I do not use Ado to communicate with Excel
-
So some sort of Photoshop automation?
https://github.com/Adobe-CEP/CEP-Resources/tree/master/Documentation/Product%20specific%20Documentation/Photoshop%20Scripting
-
Using Photoshop or VB6??
Or do you want to simulate Photoshop from VB6?
-
Office and VBA and it's drivers are all 64bit.
VB6 is a 32bit application and can only use 32bit drivers.
It seems that there is no 32bit version of Microsoft.ACE.OLEDB.12.0 installed, available or...
-
What value of did you expect?
Is the program stuck in an endless loop?
You really should provide more information
-
There is an unace.dll, the source has never been made available.
-
Why not use an existing tool?
Like PeaZip: https://peazip.github.io/ace-files-utility.html
-
Thanks for sharing guys!
I managed to download the ZIP file from this codebank submission by dilettante:
https://www.vbforums.com/showthread.php?531321-VB6-Huge-(-gt-2GB)-File-I-O-Class
Using...
-
I think validation should be done when the user exits the input field.
Not by trying to modify/limit the input on the fly.
I would let users input a text value.
In the validate event I would...
-
Post the relevant code and the error number and message
-
Why not use Do .. Loop, though the effect of multiple exit clauses is not the same as using continue
-
Visual Basic 6 comes with a compiler.
Or are you looking where to get VB6 Professional?
-
You mean bezier curves?
https://www.vbforums.com/showthread.php?727765-BSpline-based-quot-Bezier-Art-quot
|
Click Here to Expand Forum to Full Width
|