Search:

Type: Posts; User: corheart

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    3,856

    Play sound in DataTrigger

    Hi,

    I work in VS2010 - and I am a beginner in WPF, in our WPF project we have a sort of a timer that retrieve data from a server every 1 second, according to that data we change the GUI (i.e....
  2. Re: Top most window and still TaskBar cover window

    Thanks LaVolpe it works perfect :thumb: ...

    Sadly in my real application the front Form has a parent and it's another application that launch mine, but it's minor problem I am sure now i can...
  3. Re: Top most window and still TaskBar cover window

    Thanks for reply,

    but I did specify the value of top most (Const HWND_TOPMOST = -1) I just placed it hard coded value and not a constant for simplicity

    the problem I have is with Form2 behavior...
  4. [RESOLVED] Top most window and still TaskBar cover window

    Hi,

    I have a problem ... tried to look for answers but failed...

    say you have 2 Forms, both set to be top most using API SetWindowPos when one half covering the other, and is set to be on top...
  5. Replies
    12
    Views
    7,151

    Re: how to use CreateObject and catch events ?

    Thanks dilettante, will need to go over your code and try to understand what you done in order to try and fit it to my own application
  6. Replies
    12
    Views
    7,151

    how to use CreateObject and catch events ?

    Hi,

    I created a variable type Object and using CreateObject create instance of a COM server

    i.e


    Dim oApp As Object

    Set oApp = CreateObject("MyCOMServer")
  7. Replies
    3
    Views
    2,382

    Re: month and year wise report

    been a while since i worked with sql but i think for dates you need to use between :

    where (segment_trans.date between #" & (fdate.Text) & "# and #" & (tdate.Text) & "# )
  8. Re: [HELP] Visual Basic Error, Run time error (9)

    BTW, also BldR() and F() need to be Redimed
  9. Re: [HELP] Visual Basic Error, Run time error (9)

    Hi fathonezic,

    you are trying to access an uninitialized array, you need to Redim it before you can set/get values from it.
    try adding the following line just before the first loop

    Redim...
  10. Replies
    10
    Views
    873

    Re: listbox question

    You can clear the ListBox before you populate it with the list of files, this can be done by using List1.Clear
    However, there are two problems with this solution:
    If your list of files is...
  11. Replies
    4
    Views
    764

    Re: [help] multi find and replace

    Hi,

    Doing it with a database should be fairly easy, simply send sql command to update the table in the relevant field, something like:
    "UPDATE <TableName> SET <FieldName> = " & """" & "GGGG" &...
  12. Replies
    5
    Views
    1,121

    Re: Mid Error

    Hi,

    My guess is you maybe have a reference to library (menu Project -> References) that has collision with vb Mid function,
    I would try to remove 1 by 1 and see if it solve the error but it...
  13. Re: Winsock control - part working

    Hi,
    I am not expert in Winsock components, so i dont know about that but maybe i can help with pinpointing whats wrong

    in your code you did place "On Error Resume Next" this will make sure you...
  14. Re: Correct procedure for declaring variables

    Like si_the_geek said, native variables (i.e. integers, long, string, double, date etc.) does not need to be released/set to null, vb gracefully deal with them by itself, the only thing you need to...
  15. Re: Correct procedure for declaring variables

    Hi,

    If I understand correctly your problem, I think your real issue understands variable scope,

    Variables that were created inside subs and functions disappear once that functions end (or you...
  16. Replies
    4
    Views
    534

    Re: Resizing form and detecting mouse button

    The Resize event of a form only fire after the sizing is finished (when you release the left button)

    So it only fire once in a resize session, and only when you release the button,
    Hope that...
  17. Re: URGENT HELP NEEDED. How to seperate the price from the item in a string like this

    if you know the index of the item from the list you want the i would do something like :




    sCurrency = "ยข"

    Label1.Caption = Mid$(List1.List(index), InStr(1, List1.List(index),...
  18. Replies
    9
    Views
    1,273

    Re: Click a command button by code

    there is no diffrence between the 2 statement, setting the value of command button to true, in run time, fire it's click event.

    according to MSDN, Value property of command button set/return if...
  19. Replies
    7
    Views
    1,845

    Re: Write flushing to disk

    My application at some points write several times in one second, using DoEvents will make my application look like it takes 100% all the time, or most of the time, can not try this, although i realy...
  20. Replies
    7
    Views
    1,845

    Re: Write flushing to disk

    I do handle the terminate event in my code, my app is a COM server to another application, so the only event applicable to this is terminate event, but if you use Task manager to close the...
  21. Replies
    7
    Views
    1,845

    Re: Write flushing to disk

    Thanks vbfbryce,

    i am aware of this solution to force write flush by closing the file,

    But i am trying to leave it as last resort,

    i need a diffrent way to flush the write buffer and not...
  22. Replies
    7
    Views
    1,845

    [RESOLVED] Write flushing to disk

    Hi everyone,

    In my application i open a log file when the application loads and close it when it unload/terminates.

    my problem is the data is not writen the same time i call print/write but...
  23. Replies
    16
    Views
    13,051

    Re: common dialog cancel error

    Glad it helped :)
    This setting applay only for debugging, when your code actualy working as .exe the error trapping is working as intended.
    Don't have solid idea why to use "break on all errors"...
  24. Replies
    16
    Views
    13,051

    Re: common dialog cancel error

    Any chance your VS is marked to stop on all errors,
    In this case even with On Error statement you will stop with error message while debuging.
    You can check this when right clicking on the code...
  25. Replies
    4
    Views
    13,828

    Re: Resource Editor missing

    Thanks allot, you were right i was the 2nd user and the IT didn't reinstalled VB

    did the registration and Resource editor is on :)
  26. Replies
    4
    Views
    13,828

    Re: Resource Editor missing

    the item "Vb6 Resource Editor" is missing i don't have it to check, i need to add it to the add-in manager so i can check it and load it
  27. Replies
    4
    Views
    13,828

    [RESOLVED] Resource Editor missing

    Hi, Can some one please help me ?

    How do add "vb6 resource editor" to the Add-in Manager , Available Add-ins, window ?

    when i installed vb6 i installed all options, but when i open new project...
Results 1 to 27 of 27



Click Here to Expand Forum to Full Width