CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Sasie7679

Search: Search took 0.03 seconds.

  1. VB6.0 exe crashes with Janus GridEX control

    Hi,

    We are using Janus GridEX control(1.6e) for VB6.0. We compile our VB exe in windows 2003 server. With the latest security patch for OLE from microsoft, the exe crashes during compilation. We...
  2. EnumProcessModules API fails with Vista (64 bit system)

    Hi,

    We are using API calls for accessing process related information in visual basic 6.0(standard code as in Microsoft & other sites). We get the below mentioned error (using Err. LastDllError)...
  3. Providing close button in FarPoint TabPro control

    Dear All,

    Could somebody let me know whether there is any option to provide close (x button in active tab) button in FarPoint TabPro control (as in IE7.0). I have written code to remove a tab by...
  4. Adding context menu to Farpoint Tab Pro control

    Dear all,

    Could somebody give me the code to add a context menu to a tab control (example: when user right clicks in a particular tab, menu should be displayed for deleting the tab). Menu should...
  5. Replies
    7
    Views
    3,266

    Re: How to add a form to tab control

    We use FarPoint TabPro control. We need VB6.0 Forms to be placed inside the tab control. Since VB form is the top most container, i think there is no property or method to place the form in a tab...
  6. Replies
    7
    Views
    3,266

    Re: How to add a form to tab control

    Left and top properties are not working. I tried with form's move method, MoveWindow API, tab control's child position method (in tab activate event also). While navigating between tabs, the form...
  7. Replies
    7
    Views
    3,266

    Re: How to add a form to tab control

    I just gave an example of 5 forms. But in our live application we have around 50 forms. We have a new requirement to display all forms in a tab control. It would be time consuming to select all...
  8. Replies
    7
    Views
    3,266

    How to add a form to tab control

    Dear all,

    Could somebody tell me how to add a vb form to a tab control (VB 6.0)? I have some 5 forms and i would like to add each form to the tab control.

    Regards,
    Sasie
  9. Replies
    2
    Views
    7,577

    How to Hide Word 2007 Title bar / Ribbon

    Dear All,

    We currently use word in our application. We hide the title bar of word and display it in a ActiveX control (just the textual area). We use the below API for hiding the title bar.
    ...
  10. How to get exe path associated with a file extension

    We have a requirement to display all registered file extensions and there associated exe path. I can retreive the registered file extensions using "RegEnumKey" API by enumerating "HKEY_CLASSES_ROOT"...
  11. Re: How to get the exact window handle for a application opened using createprocess api

    Hi Thread1,

    Thanks for you continuous support. The call to "explorer.exe" does not fail. "CreateProcess" returns a value of 1. Any newly opened "Explorer.exe" gets attached to the existing...
  12. Re: How to get the exact window handle for a application opened using createprocess api

    If i open explorer exe with the below statement, the window handle is returned as zero.

    nRet = CreateProcess(vbNullString,"""C:\Windows\EXPLORER.EXE "" ""C:\Sample.jpg""", 0&, 0&, _
    ...
  13. Re: How to get the exact window handle for a application opened using createprocess api

    Code using GetGUIThreadInfo:
    >OpenViewer method is called by passing the File path and Exe Path
    >checked with mlngHThread Ã*s also

    Public Function OpenViewer(strFilePath As String, strExePath As...
  14. Re: How to get the exact window handle for a application opened using createprocess api

    Please find below the problem with the two solutions:

    EnumWindows
    The process id will be same for all the window handles created by a application. For example: When word is opened it contains...
  15. Re: How to get the exact window handle for a application opened using createprocess api

    Thanks for your Info. Could you please give an example for retreiving the exact window handle? "getguithreadinfo" returns a GUI pointer, but how to get the window handle of the top most window?
  16. How to get the exact window handle for a application opened using createprocess api

    Dear All,

    We have a requirement to open any document with a specific application and display it
    within a OCX control (Example - word, excel, adobe reader, MSPaint, Photoshop etc). We are using...
  17. How to Get Window Handle based on a file name

    Dear All,

    Is it possible get window handle based on a file name using vb?

    Regards,
    Suresh
  18. How To Open a file using a specific application using vb

    Dear All,

    We have a requirement to open any file using a specific application and showing it within a activex control.
    For example, bmp file can be shown in Internet explorer, paint brush, photo...
  19. Replies
    3
    Views
    1,043

    Why is comsvcs.dll getting unregistered

    In one of our machines comsvcs.dll is getting unregistered frequently. Could anyone help me in knowing the reason?

    Thanks,
    Sasie
  20. Replies
    4
    Views
    1,138

    Re: How to Automate any application using VB

    The files under a specific directory will be displayed in a tree structure. If the user selects a particular file, the file contents should be displayed in a container (ActiveX control) by opening...
  21. Replies
    4
    Views
    1,415

    Re: WaitforSingleObject fails (does not wait)

    We are using the same code. But i would like to know why the code is failing. It would be of great help if any solution is provided.
  22. Replies
    4
    Views
    1,138

    How to Automate any application using VB

    1. We have a requirement to open any application using VB and showing it within a container. Is it possible to automate applications using VB (i.e Acrobat reader, Paint, Word etc)? It can be any...
  23. Replies
    4
    Views
    1,415

    WaitforSingleObject fails (does not wait)

    In one of our windows XP pro with service pack2 machine, the below API's fail.

    1) MsgWaitForMultipleObjectsEx
    2) MsgWaitForMultipleObjects
    3) WaitforSingleObject
    4) WaitforSingleObjectEx

    In...
Results 1 to 23 of 23





Click Here to Expand Forum to Full Width

Featured