Search Results - VBForums

Search:

Type: Posts; User: Daniel Duta

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. 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...
  2. Replies
    10
    Views
    317

    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...
  3. Replies
    10
    Views
    317

    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...
  4. Replies
    10
    Views
    317

    [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...
  5. 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.
  6. 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...
  7. 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...
  8. 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...
  9. Replies
    20
    Views
    501

    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...
  10. Replies
    20
    Views
    501

    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...
  11. Replies
    20
    Views
    501

    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...
  12. 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...
  13. Replies
    20
    Views
    501

    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...
  14. Replies
    20
    Views
    501

    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...
  15. Replies
    20
    Views
    501

    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...
  16. Replies
    20
    Views
    501

    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...
  17. Replies
    20
    Views
    501

    [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...
  18. Replies
    4
    Views
    285

    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...
  19. 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
  20. Replies
    4
    Views
    285

    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...
  21. Replies
    77
    Views
    44,344

    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.
  22. Re: How to determine the presence of a child form

    Excellent ! :thumb:
    Thank you all.
  23. 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...
  24. [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...
  25. 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...
  26. 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...
  27. 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...
  28. [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...
  29. 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.
  30. 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 =...
  31. 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...
  32. Replies
    11
    Views
    480

    Re: [RESOLVED] About RenderPNG function

    Well, I don't understand this point completely. Actually, I don't understand it at all. Do you mean that whatever I set the AutoRedraw property to true a bitmap somewhere is created ? I don't see any...
  33. Replies
    11
    Views
    480

    Re: About RenderPNG function

    After many attempts I have managed to use the RenderPNG function properly. Yes, LaVolpe, I set the form to AutoRedraw=True from beginning and I tested your function in many possible scenarios...
  34. Replies
    11
    Views
    480

    Re: About RenderPNG function

    Thanks for reply, Sam. Yes, I have tried but whenever the main Form is re-sized (maximized/minimized) all pictures visible previously are disappearing. I think once the form is resized my pictures...
  35. Replies
    11
    Views
    480

    [RESOLVED] About RenderPNG function

    Hi,
    This thread is related to my previous issue regarding how to display a png image in a simple/simplest way. The Api function created by LaVolpe a few years ago...
  36. Re: How to open a resource file ?

    Thanks for your hint, LaVolpe. It seems that you are very busy these days :)
    For those interested in this small procedure I used the code below :

    Private Sub btnScript_Click()
    Dim...
  37. [RESOLVED] How to open a resource file ?

    Hi,
    I have loaded a text from notepad to a res file and I intend to get this info in clipboard when a click event is fired. The idea is I don't know how to get back the data stored in that res file....
  38. Replies
    3
    Views
    262

    Re: A WIA Image

    Hi LaVolpe,

    I am honored to have a response from you on this topic. You had great contributions to vb community over time and like other guys I take this opportunity to thank you for all your...
  39. Replies
    3
    Views
    262

    [RESOLVED] A WIA Image

    Hi all,
    I have a reference to the well known WIA library that provides many benefits to users who need to handle images in many ways. In my case, I just want to set a picture position inside a Form...
  40. Re: Classic VB6 to be supported at least through 2024.

    Until it is released a new vb6 version we could try to take a look to that very promising B4J developed by Erel - he has just released 2 new versions for Windows and IOS - which is 100% free and...
Results 1 to 40 of 207
Page 1 of 6 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.