Search Results - VBForums

Search:

Type: Posts; User: Daniel Duta

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    425

    Re: A basic question about strings

    Thank you all for your reply. Usually I am looking for simple or elegant solutions and always I appreciate when a routine is based on the VB6 native functions/resources. I am aware of the VB6...
  2. Replies
    11
    Views
    425

    A basic question about strings

    Hi all,
    I know it sounds simple but I dont find a straightforward solution. I have a string that contains some empty spaces (one, two or even more) among other substring and I would like to replace...
  3. Replies
    3
    Views
    220

    About COM CLSID

    Hi all,

    http://10tec.com/vb6-project-references-update/

    I have just found this small and free tool called OCXUpdater that allows to replace the specific properties of an old ActiveX with other...
  4. Thread: New to VBA

    by Daniel Duta
    Replies
    8
    Views
    425

    Re: New to VBA

    It is right, this forum is allocated to VB6 answers and questions. But even if your thread will be moved to the office section you should have in vba something like this :

    Option Explicit
    Private...
  5. Re: Making .NET COM DLLs Reg-Free for VB6 app

    I was a bit surprised to read this especially when it is coming from a veteran of this forum.
    I thought it is preferable to have here a confrontation of ideas and not one of feelings.
    When a guy...
  6. Re: VB6 Cairo-Blending-Performance (Collision-Handling using the Physics-Engine)

    I have doubts the effect is related to my hardware components. My PC is running on Windows7 SP1, 4Gb RAM, with DirectX 11 and GeForce GTX 460 / 1024 Mb memory. I don't know if my SP1 has installed...
  7. Re: VB6 Cairo-Blending-Performance (Collision-Handling using the Physics-Engine)

    In this new version the spheres seem to have a different behavior. The fps decreased to 60 in average and sometimes the balls are not rendered perfectly. I don't know if it is something related to...
  8. Re: VB6 Cairo-Blending-Performance (Collision-Handling using the Physics-Engine)

    Hi Olaf,
    Thank you for your details. So that static variable for colors does the trick. Now the balls behaviour is more spectacular. I intend to transform this small sample in a screensaver as a...
  9. Re: VB6 Cairo-Blending-Performance (Collision-Handling using the Physics-Engine)

    Hi Olaf,
    It is one of the nicest graphical demo I have seen in vb6. I just wonder if it is possible to change the spheres color in runtime so as to have a new randomly color after each collision. I...
  10. Re: VB6 Rendering of Nodes in a Graph (with Hover over Connections)

    Nice demo. Maybe it would have been useful if we had had some additional features such as possibility to add/remove nodes or connections in real time but anyway the app offers a good base for other...
  11. Replies
    10
    Views
    423

    Re: Permutation

    Hi Mark,
    Your function is very ingenious and works fine. In addition, the results are pure permutations in terms of recursivity. If we take a string like "aaaa" the function will return 24 cases as...
  12. Replies
    10
    Views
    423

    Re: Permutation

    So if the string has 100 characters we should use 100 nested loops ...:confused: What will we do when the string length is in run-time determined ?
    Well, in this case n is the total number of...
  13. Replies
    10
    Views
    423

    [RESOLVED] Permutation

    Hi all,
    I am looking for a recursive algorithm that could display all possible permutations of 4 characters with themselves. Let's say we have the following string "a, b, c, d". We know from math...
  14. Re: [RESOLVED] How to check if a Word in a TextBox contains "+" Dosnt work For me

    James, you are a valuable poster of this forum. It is obvious it was just a little misunderstanding. Sorry for any inconvenience caused.
  15. Re: [RESOLVED] How to check if a Word in a TextBox contains "+" Dosnt work For me

    That is true. But as Datamiser has noted, in the second post Salsa has hinted he actually wants to find out if that character is missing from that string that is the same thing with If...
  16. Re: How to check if a Word in a TextBox contains "+" Dosnt work For me

    What should I re-think? Let's take the string s="One+two". If InStr(s, "+")=0 then my text doesn't contain the "+" character. The question was simply "How to check if a Word in a TextBox contains...
  17. Re: How to check if a Word in a TextBox contains "+" Dosnt work For me

    I wonder why InStr(TxtServiceName.Text, "+") <> 0 or InStr(TxtServiceName.Text, "+") > 0 or If Not InStr(TxtServiceName.Text, "+") > 0 when InStr(TxtServiceName.Text, "+") = 0 does the same thing...
  18. Replies
    20
    Views
    770

    Re: [RESOLVED] AppActivate issue

    I've got the hWnd value with FindWindow and after that I passed it in the SetWindowPos function. I don't need to create a new session of IE via CreateObject("InternetExplorer.Application") but...
  19. Replies
    20
    Views
    770

    Re: AppActivate issue

    Both functions above helped me finally to expand the IE window. After dozens of attempts...I took the Magic Ink advice and I removed the AppActivate from my application because of its unstable...
  20. Replies
    20
    Views
    770

    Re: AppActivate issue

    I tried other 2 methods, GetObject(, "InternetExplorer.Application") and a loop in CreateObject("Shell.Application").Windows, but I failed in both of them. Simply, if I minimize the current instance...
  21. Re: [VB6] - Module with advanced mathematical functions for real and complex numbers.

    Hi Anatoly,
    Regarding your functions of min/max, I just wonder why didn't you build only one function, both for max and min, without any limitation on how many numbers are compared (number of...
  22. Replies
    20
    Views
    770

    Re: AppActivate issue

    Many attempts and no success.. At least I found that error occurs in same cases in relation with the window state - for example, when the IE window is minimized. Now I try to maximize a possible IE...
  23. Replies
    20
    Views
    770

    Re: AppActivate issue

    In this case I should have FindWindow()=0 but in all cases/attempts the hwnd value was greater than zero (the Msgbox never displayed any message). Do you mean that Invalid procedure call or argument...
  24. Replies
    20
    Views
    770

    Re: AppActivate issue

    This error is not related to SendKeys command at all. I have commented all lines below AppActivate AppWFM and this line only gives the error. It is somewhat related to that parameter which in my case...
  25. Replies
    20
    Views
    770

    Re: AppActivate issue

    Hi, guys, I am honored by your support. Unfortunately the SetForegroundWindow function in conjunction with FindWindow gives the same run time error 5: Invalid procedure call or argument. However, I...
  26. Replies
    20
    Views
    770

    [RESOLVED] AppActivate issue

    Hi,
    This time I met a strange issue when I tried to activate an application window. I have to insert some data on some fields of a website. For this purpose I use SendKeys with success but whenever...
  27. Replies
    4
    Views
    392

    Re: Google Earth Plugin

    I read that article before my post but I haven't seen any row regarding the COM library usage. On the other hand, to my knowledge of English, "deprecation" is more an advice than a verdict related to...
  28. Re: Find Data in Listview VB 6.0

    Maybe something like this :

    Private Sub Text1_Change()
    If Len(LTrim(Text1.Text)) = 1 Then
    Call FilterList(LTrim(Text1.Text))
    End If
    End Sub
  29. Replies
    4
    Views
    392

    Google Earth Plugin

    I don't know if somebody here had some experience with Google Earth automation but is known it comes with a rich COM library that should allow us to integrate many facilities in those applications...
  30. Replies
    92
    Views
    50,673

    Re: [VB6] GDI+ Usage & Samples

    I can't believe it. This guy was waiting for a response almost 2 years... No doubt it is a record of this forum :)
    My respect, Rebo.
  31. Re: How to determine the presence of a child form

    Excellent ! :thumb:
    Thank you all.
  32. Re: How to determine the presence of a child form

    Hi guys, Thank you for your feedback.
    Honestly, I had some similar suspicions about it but I wasn't sure. It seems that this form is an illusion in spite of the fact that it does simulate very well...
  33. [RESOLVED] How to determine the presence of a child form

    Hi, I have to work these days with a web application developed in Silverlight and my program has to detect if that app is open or not. For this purpose I used the known FindWindow function that...
  34. Re: [RESOLVED] How to convert a byte array ?

    You are absolutely right, Arno, the Clipboard usage is redundant in this case. Just fg.Clip = myText does all the work.

    Me neither :) I tested an idea, it worked and I thought that it is the right...
  35. Re: How to convert a byte array ?

    After many attempts I have managed to solve my issue avoiding the byte array conversion. Knowing the FlexGrid control has a useful Clip property I preferred to transfer my text file from the vb...
  36. Re: How to convert a byte array ?

    Thanks for reply, Arno. As I mentioned above I need a 2D array as result because my flexgrid requires a 2D variant array for its LoadArray method. Let's say I would split further the byte array as...
  37. [RESOLVED] How to convert a byte array ?

    Hi,
    I have a small text file with 2 columns (tab delimited) which was stored as resource file. When I try to get back the file, its content is provided as byte array using the native function...
  38. Re: vbRichClient Form.SetMinMaxDimensions strange behaviour

    This feedback is not very polite. Instead to see the Olaf's effort and generosity was more important a whining remark about a lack of an update.
  39. Re: Sql simple Query Dosnt Show Results no matter what i change or do why?

    Try to format your interval limits before to run the query itself. I think the Access requires the american data format which starts with "month"
    Dim fstDate As Date, secDate As Date

    fstDate =...
  40. Re: Sql simple Query Dosnt Show Results no matter what i change or do why?

    Have you tried
    RsT.Open "Select TOP 1 * From ZHistory Where " & _
    " ZDateStart BETWEEN #" & Dstart.Value & "# AND #" & DEnd.Value & "#", CN
    Anyway if want to get only the first record in my...
Results 1 to 40 of 216
Page 1 of 6 1 2 3 4



Featured


Click Here to Expand Forum to Full Width