dcsimg

Search:

Type: Posts; User: jcis

Page 1 of 13 1 2 3 4

Search: Search took 0.14 seconds.

  1. 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.
    ...
  2. Replies
    8
    Views
    644

    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...
  3. 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...
  4. 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...
  5. 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,...
  6. Thread: i'm stuck....

    by jcis
    Replies
    14
    Views
    1,245

    Re: i'm stuck....

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

    Thanks JM :)
  8. 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?
  9. Re: VB6 using Like Operator in VB6 and Access

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

    by jcis
    Replies
    0
    Views
    432

    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...
  11. Replies
    4
    Views
    1,024

    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...
  12. Replies
    7
    Views
    792

    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...
  13. Replies
    5
    Views
    2,343

    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)
  14. Replies
    10
    Views
    1,183

    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.
  15. Replies
    3
    Views
    3,249

    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...
  16. Replies
    3
    Views
    3,249

    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...
  17. Replies
    11
    Views
    1,399

    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...
  18. Replies
    11
    Views
    1,399

    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...
  19. Replies
    14
    Views
    2,712

    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...
  20. 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...
  21. 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...
  22. 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...
  23. [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"/>
    ...
  24. Replies
    9
    Views
    873

    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
  25. Replies
    9
    Views
    873

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

    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.
  27. Replies
    9
    Views
    837

    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...
  28. Replies
    9
    Views
    837

    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.
  29. 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...
  30. Replies
    9
    Views
    837

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

    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
  32. Re: How to make an array of values that corresponds to an array of images?

    I would use a 2d array (matrix). With a 2d array you won't need to loop or anything; when you have x and y, the corresponding value/image will always be at position ArrValues(x,y), using this you...
  33. Replies
    9
    Views
    948

    Re: How to run opened form Directly?

    Are you serious? 8000 posts and you're not even able to succesfully read a simple if statement? Don't you see that code means that if a command line parameter is passed then it's used as Form name...
  34. Re: I Cant figure this Out Update Sold Remain Via Sql

    The 2nd code you posted, where is it called from? from an event/sub.. where?

    Maybe that code is being executed so many times in your code that SubSold becomes negative.
  35. Replies
    5
    Views
    1,546

    Re: Pivot or Crosstab Query?

    SELECT SUM(CASE WHEN DATEDIFF(DAY, upload_package_received_date, GETDATE()) = 0 THEN 1 ELSE 0 END) AS Today,
    SUM(CASE WHEN DATEDIFF(DAY, upload_package_received_date, GETDATE()) <= 7 THEN 1...
  36. Replies
    9
    Views
    1,218

    Re: A Class within a Class?

    JM, Another common scenario: As you know, an instance of a Class is a pointer, if you do this..


    Dim oPerson1 as Person, oPerson2 as Person

    Set oPerson1 = New Person

    Set oPerson2 =...
  37. Re: Adding listbox items to correct Flexgrid rows

    Flex starts at 1 and List starts at 0


    For j = 0 To List3.ListCount - 1
    .TextMatrix(j + 1, 0) = List3.List(j)
    Next
  38. Replies
    12
    Views
    1,311

    Re: Optimize very slow UPDATE

    I Found the solution, this is a common problem: Running Totals.

    This is one of the few cases CURSORS perform faster than UPDATES, in my case for example, in the last test i did UPDATE (with...
  39. Re: When form loses focus, 'Not responding' occurs

    You're missing a Call to DoEvents inside the loop.
  40. Replies
    12
    Views
    1,311

    Re: Optimize very slow UPDATE

    If I remove the line in red it runs much faster (it just takes 3 seconds to run):


    UPDATE #POS SET SaldoDespuesEvento = (
    SELECT SUM(Importe)
    FROM #POS CTACTE2
    WHERE ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width