Search:

Type: Posts; User: jcis

Page 1 of 13 1 2 3 4

Search: Search took 6.44 seconds.

  1. Replies
    10
    Views
    518

    Re: How to get the time from one point to another

    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...
  2. Replies
    17
    Views
    513

    Where are Hack and MartinLiss?

    Where?
  3. Replies
    8
    Views
    447

    Re: two loops running concurrently

    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...
  4. Replies
    11
    Views
    393

    Re: MSHflexgrid - resizing cell or picture to fit

    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...
  5. Replies
    6
    Views
    830

    Re: Queryng he results of a query

    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...
  6. Replies
    6
    Views
    830

    Re: Queryng he results of a query

    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...
  7. Replies
    2
    Views
    340

    Re: VB6 Package & Deployment Wizard

    I think I'll keep using Inno Setup. Thanks!
  8. Replies
    2
    Views
    340

    [RESOLVED] VB6 Package & Deployment Wizard

    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...
  9. Replies
    9
    Views
    2,203

    Re: MsflexGrid Merge Rows

    Omg 13 years old thread resurrected lol.
    Btw Eduardo's answer is much better! No need to be adding rows to cut merging.
  10. Re: Which MS patch(es) should I apply to my Windows XP SP3 machine?

    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.
    ...
  11. Replies
    8
    Views
    715

    Re: List view spacing issues

    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...
  12. VS 2017 Re: Difference between Null, Nothing and ""

    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...
  13. VS 2005 Re: Picturebox.image in VB.NET is behaving same as PictureBox.picture in vb 6.0

    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...
  14. VS 2017 Re: Difference between Null, Nothing and ""

    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,...
  15. Thread: i'm stuck....

    by jcis
    Replies
    14
    Views
    1,358

    Re: i'm stuck....

    Indent your code :)
  16. VS 2010 Re: VS[2010]. Get DataRows with latest date using Group in LINQ

    Thanks JM :)
  17. VS 2010 [RESOLVED] VS[2010]. Get DataRows with latest date using Group in LINQ

    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?
  18. Re: VB6 using Like Operator in VB6 and Access

    Select Lastname instead of Select Firstname ?
  19. Thread: haptic glove

    by jcis
    Replies
    0
    Views
    464

    haptic glove

    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...
  20. Replies
    4
    Views
    1,252

    Re: BeginTrans / RollbackTrans

    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...
  21. Replies
    7
    Views
    894

    Re: Looping while Form is active

    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...
  22. Replies
    5
    Views
    2,782

    Re: Determine if WinWord.Exe is running

    VBScript:


    msgbox wordIsRunning

    function wordIsRunning
    dim wdApp
    on error resume next
    set wdApp = GetObject(, "Word.Application")
    wordIsRunning = (err.Number = 0)
  23. Replies
    10
    Views
    1,256

    Re: Simulating pointers in VB

    In VB, an object variable can be treated as a pointer, so I would simply create a Class to replace that Struct.
  24. Replies
    3
    Views
    3,277

    Re: ajax.googleapis.com is down

    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...
  25. Replies
    3
    Views
    3,277

    ajax.googleapis.com is down

    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...
  26. Replies
    11
    Views
    1,625

    Re: SQL count the number of DISTINCT rows

    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...
  27. Replies
    11
    Views
    1,625

    Re: SQL count the number of DISTINCT rows

    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...
  28. Replies
    14
    Views
    3,092

    Re: Decompile VB6 Program

    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...
  29. Re: Mouse Move event for an image that is part of an array.

    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...
  30. Re: Mouse Move event for an image that is part of an array.

    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...
  31. Re: WPF - XAML - XamDataGrid - How to sort by Date Field?

    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...
  32. [RESOLVED] WPF - XAML - XamDataGrid - How to sort by Date Field?

    <Custom:XamDataGrid.FieldLayouts>
    <Custom:FieldLayout Key="masterRow">
    <Custom:FieldLayout.SortedFields>
    <Custom:FieldSortDescription Direction="Ascending" FieldName="ClosingDate"/>
    ...
  33. Replies
    9
    Views
    908

    Re: how to make short

    Everything inside those IF look the same, so the short version is simply:


    t.Text = Text1(Index)

    I bet you missed something else there
  34. Replies
    9
    Views
    908

    Re: how to make short

    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 =...
  35. Replies
    11
    Views
    1,764

    Re: How to calculate the time difference

    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.
  36. Replies
    9
    Views
    876

    Re: [RESOLVED] Loading bmp's

    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...
  37. Replies
    9
    Views
    876

    Re: [RESOLVED] Loading bmp's

    No problem, tell us if you need more help, i've been posting loops like this using DIR() some weeks ago.
  38. Re: sum of columns in sql which includes null values

    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...
  39. Replies
    9
    Views
    876

    Re: Loading bmp's

    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...
  40. Replies
    2
    Views
    486

    Re: From frequency to integer

    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
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width