| |
SharpGrid Support
Started by jpmic at 10-05-2006 1:19 PM. Topic has 3 replies.
 
 
 
|
|
Sort Posts:
|
|
|
|
10-05-2006, 1:19 PM
|
jpmic
Joined on 11-06-2003
Posts 23
|
Custom Draw not working - Implements IsgGridCustomDraw
Attachment: CustomDraw.zip
|
|
|
|
|
|
Hello,
There are some examples on how to use the custom draw with Implements IsgGridCustomDraw in this forum. I have tried all of them and I also managed to code what I wanted with this (in VB6). The main problem is that the exe application is only running on the computer on which it has been compiled.
Here is what I did :
1. I downloaded the CustomDraw example 2. I made an exe file from my computer. 3. I ran the exe file on my computer and it worked fine. 4. I copy the exe to another computer (let's cal it computer2) 5. I ran the exe from computer2 and the application does not open. I only hear a windows beep sound and the application is not open because I cannot find it in the task manager. I also tried to debug by putting a message box at the first line of the form_load code and it doesn't show anything. 6. STRANGELY, I compiled and made an exe with the CustomDraw example FROM computer2. When I run it on computer2 it works. Then if I copy it on my computer, it doesn't run.
Conclusion
1. The application will only open on the computer on which the exe was builded. 2. When I remove the "Implements IsgGridCustomDraw " code, the application works on both computer. The problem really comes from the "Implements IsgGridCustomDraw" line code.
Does anyone know where the problem could be? I am attaching the customDraw example that I downloaded from this forum.
Thank you.
Regards,
|
|
|
|
|
Report
|
|
|
|
10-05-2006, 2:07 PM
|
ericc
Joined on 03-01-2005
Posts 1,857

|
|
|
|
Jpmic, Thank you for your question. Unfortunately, I have been unable to reproduce the described behavior when creating an Exe form the provided sample and running it on another machine. The attached sample and Exe works well in my testing using Window XP SP2, VB6 SP6, and SharpGrid build 1127. Please let me know if you do not receive similar results.
Please ensure you have the latest updates installed on your system for Windows, Visual Studio, and SharpGrid. You can find the SharpGrid update to build 1127 here.
Please let me know if I can be of further assistance. Thank you!
|
|
|
|
|
Report
|
|
|
|
01-15-2010, 6:52 AM
|
hemantm
Joined on 01-15-2010
Pune
Posts 1
|
Re: Custom Draw not working - Implements IsgGridCustomDraw
|
|
|
|
|
|
Hi Ericc,
We are also facing same problem.
Can you please tell us what is a solution?
Thanks
Hemant
|
|
|
|
|
Report
|
|
|
|
01-17-2010, 11:36 PM
|
Andrey - DD
Joined on 08-01-2007
Russia, Novosibirsk
Posts 671

|
Re: Custom Draw not working - Implements IsgGridCustomDraw
|
|
|
|
|
Hemant,
Can you try the suggestion described in this KB article:
Problems Distributing Your Applications When Using Custom Drawing:
http://www.datadynamics.com/forums/493/ShowPost.aspx
Thank you,
Andrey T.
|
|
|
|
|
Report
|
|
|
|
|
GrapeCity » Product Support » SharpGrid Suppo... » Re: Custom Draw not working - Implements IsgGridCustomDraw
|
|
|
|
|