Search:
Type: Posts; User: jcis
Search:
Search took 1.79 seconds.
-
Public dTimeStart As Date
Private Sub Command1_Click()
dTimeStart = Now
End Sub
Private Sub Command2_Click()
MsgBox "Time Ellapsed (seconds): " & DateDiff("s", dTimeStart, Now)
End...
-
-
Is there some way you can simply let Sub1 Loop1 work and each time it ends processing an image (or as many as you want) it calls the process in Sub2, then it continues?
The great advantage there...
-
What you see is both the Picture and the Image, they are 2 different things. I would simply use a Picture variable to do it, not the picture in the PictureBox:
Dim MyPic As Picture
Set...
-
Yes that's why I made that aclaration (In Sql Server). In some other DB engines it's not possible to use integers to add or substract to days like that: T2.[Date] = [ACB].[Date]-1)
In that second...
-
You could use a subquery for your 2nd condition
SELECT [Close], [5_day], [20_day]
FROM [dbo].[ACB]
WHERE ([5_day] > [20_day] AND [Date] = '20200402')
AND EXISTS(SELECT 1 FROM...
-
I think I'll keep using Inno Setup. Thanks!
-
Hey guys! so many years without using the forum or VB6!
I used to deploy an old App using INNO Setup, i need to move this to P&D, i created the installer succesfully but now i need to include in...
-
Omg 13 years old thread resurrected lol.
Btw Eduardo's answer is much better! No need to be adding rows to cut merging.
-
If i'm not mistaken no patch has been released for WinXP to make it inmune to ransomware attacks like WannaCry, so upgrade.. or at least unplug the internet cable.
...
-
Sitten has already given the correct answer here, just as a comment, If you have something inside each text line that can be used as field separator then you should be able to arrange that data...
-
Well If ReferenceEquals(,) return True (the case we're talking about) then yes, I'm assuming that both object variables reference the same object (same place in memory) and off course i would expect...
-
Your VB6 Version is not ok, you should scale Himetric Picture ScaleMode to the ScaleMode you need, assuming this code is in the Form it should be something like:
Private Sub Form_Load()
Set...
-
It looks to me that, when using literals, ReferenceEquals and IS are lying to us. ReferenceEquals returns True when both are not the same instance, if they were, by changing firstInstance value,...
-
-
-
I want to do exactly what is explained HERE The answer there is what i need, but it seems Datatables don't implement AsEnumerable() in VS2010, any ideas?
-
Select Lastname instead of Select Firstname ?
-
A little look into the future, from the programmer point of view i assume the only thing that needs to be found here is the a way to apply force from inside the glove. Taking something simple as...
-
It's your application responsibility to track whether the transaction started or not. It's not something ADO/DAO can tell you. The best way to structure this is, for example:
On Error Go To...
-
Is there a valid reason to stay waiting on Form1 while Form2 is being shown? Is there any code that you need to execute during that time? if not, if all you want is just wait there then you should...
-
VBScript:
msgbox wordIsRunning
function wordIsRunning
dim wdApp
on error resume next
set wdApp = GetObject(, "Word.Application")
wordIsRunning = (err.Number = 0)
-
In VB, an object variable can be treated as a pointer, so I would simply create a Class to replace that Struct.
-
It'se gone now, but it happen some days and yes, looks like something related to specific region/s.
The reason I assume the problem is fonts.googleapis.com and related Google stuff is that only...
-
ajax.googleapis.com / fonts.googleapis.com
It seems these sites have been blacklisted or something. This is making many sites just freeze when loading, I can't enter sites like youtube or even...
-
Ok you're right, then the query the OP posted is the one to use, the only reason it is not working is that it needs an alias for the table, this is the syntax:
SELECT COUNT(1) FROM (SELECT...
-
this is the syntax
SELECT COUNT(DISTINCT(CodEmisor)) from FONDOS
What are you concatenating there? what's inside variable rs2 ? Is it a string containing something like " FROM <TABLE>" or a...
-
I've seen that hardcoded text into VB Forms/modules/Classes can be readen by openning the EXE file, they usually appear with one blank separation, example "book" "b o o k". But i don't think there is...
-
You only need one event, that will work for all images in the control array, index variable automatically takes the value corresponding to the picture the user is placing the mouse on.
Also, you...
-
When using control arrays the first param is the index, and you need to use it to reference the active item in the array:
Private Sub BankButton_MouseMove(index As Integer, Button As...
-
Hey dee-u. Actually i'm not Binding or applying format because i didn't want to affect how the date is being displayed i want to keep showing format "DD/MM/YYYY" but i want sorting to sort correctly...
-
<Custom:XamDataGrid.FieldLayouts>
<Custom:FieldLayout Key="masterRow">
<Custom:FieldLayout.SortedFields>
<Custom:FieldSortDescription Direction="Ascending" FieldName="ClosingDate"/>
...
-
Everything inside those IF look the same, so the short version is simply:
t.Text = Text1(Index)
I bet you missed something else there
-
Using Mod as techgnome suggested you can even short all your code to this:
Dim lngIndex As Long
lngIndex = Index Mod 10
If lngIndex = 0 Then lngIndex = 10
t.Text =...
-
Welcome to the forums Mous :)
I don't think he still needs help with this (14 years later). See the main page of this Forum, there you'll find many active threads.
-
By "I do not want to load each one individually" I assume he means he doesn't want to add LoadPicture() in code once for every Picture he wants to load, or else, what would be the reason for him to...
-
No problem, tell us if you need more help, i've been posting loops like this using DIR() some weeks ago.
-
Nz(,) is the Access version of ISNULL(,) but it is a function of the Access application and not the Access driver, it will fail if you try to use it from outside the Access application, that's why...
-
You could simply load them in a loop by using DIR(). About altering the loading order: what's the criteria you want to apply to define the loading order? for example if you want to load them...
-
Welcome to the Forums :wave:
CVMichael is the sound expert here, these are some threads from him that will help you for sure:
VB Tone Recognition
VB6.0 – Sound and DirectXSound Tutorial
|
Click Here to Expand Forum to Full Width
|