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 tried by adding the control alone in a form & compiled a temporary exe and it was also crashing. Could somebody let me know whether there is any patch or solution for the above issue?
Note: We are able to compile the exe...
User Profile
Collapse
-
VB6.0 exe crashes with Janus GridEX control
-
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) while calling “EnumProcessMod ules” API in a 64 bit system with windows vista (mostly for 64 bit process ids. Ex: notepad.exe etc). If ”CreateToolhelp 32Snapshot” API is called, all the processes are listed. We would like to know... -
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 using pop up menu. If we add a image, how can we trap whether the user has clicked in the image?
Regards,
Sasie -
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 be displayed only when it is clicked in tab header (Farpoint Tab Pro control).
Regards,
Sasie -
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 controls of each form and place them in the tab control. I tried using setParent API and it works fine, but some times the form position changes. I would like to know whether any other work around is there. -
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 -
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.
=============== =============== =============== =
Public Const GWL_STYLE = (-16)
Private Const GWL_PARAM = 394264704
SetWindowLong(m lngWordHwnd, GWL_STYLE, GWL_PARAM)
=============== =============== =============== =... -
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_R OOT" path. For retreiving the associated executable file path, i have to look in "Shell\Open\Com mand" registry path for each extension. The exe path will contain other information also (ex: ..\Windord.exe /dde). Is there a simpler... -
Sasie7679 started a topic How to get the correct Window Handle for a application opened using createprocess apiin Visual BasicHow to get the correct 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 CreateProcess Api to open the application. This APi returns process id and process handle. Once the application is opened, i need the exact window handle to show within the container (OCX control). I use "EnumWindow s" to enumerate all... -
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 -
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 shop etc. The user will specify the exe
path of the application alone. If word application has to be opened, user will specify just "WINWORD.EX E" or "WORDPAD.EX E" path.
I need the newly opened application... -
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 -
Important: WaitforSingleObject fails (does not wait)
In one of our windows XP pro with service pack2 machine, the below API's fail.
1) MsgWaitForMulti pleObjectsEx
2) MsgWaitForMulti pleObjects
3) WaitforSingleOb ject
4) WaitforSingleOb jectEx
In our code we trigger a process and when the process gets completed, we proceed to the next step. But in the above machine, "WaitforSingleO bject" does not wait and moves to the next step immediately.... -
-
Oem To Ansi
We have a document containing OEM characters. Please let me know, the different ways to convert OEM characters to ANSI characters using Visual basic (if possible with examples) -
I am not sure whether all applications support OLE. How to display a application in ActiveX control?. Because the application to be opened will be
known during runtime only....Leave a comment:
-
Automating applications using VB
Hi,
1. We have a requirement to open applications 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 application. When a user provides a particular
file name, the file contents should be shown within the container using the corresponding application (example: text file in notepad).
2. Is it possible to open a file using a...
No activity results to display
Show More
Leave a comment: