Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

icons on XP

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
cristi_ursachi



Joined: 07 Mar 2005
Posts: 11

PostPosted: Mon Apr 04, 2005 9:04 am    Post subject: icons on XP Reply with quote

I have a problem with icons of tree on a XP OS(it appears as a black square) but with only one(probably is something in style or...), the MessageBox with trial version information apper without text on this SO.
Any idea?
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Apr 04, 2005 11:55 am    Post subject: Reply with quote

The evaluation message uses a standard MessageBox to display the text - so this does seem to indicate something pretty seriously wrong with the the display settings.

It might be worth trying icons of different color depths (ie 16, 256, 16 bit) as sometimes these behave differently on different display systems. To ensure that the tree uses the icon you want you'd need to ensure that the icon only contains one image.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
cristi_ursachi



Joined: 07 Mar 2005
Posts: 11

PostPosted: Tue Apr 19, 2005 8:26 am    Post subject: strange Reply with quote

I can't solve this problem....The message box with evaluation text apper without text and the icons appear as black boxes. You tell me that the message box is standart messagebox, but my messagebox appear correct.
Any ideea?

I used color depth of icons: 32,16,8 but the problem still exist
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Apr 19, 2005 10:30 am    Post subject: Reply with quote

Does the messagebox have text for the OK button?

Which icons are black for the tree - your user defined row icons or the expand/collapse icons?

I suspect this problem may have something to do with the resources not loading properly for the DLL for some reason. If you could provide the following information about the problem system it may help track down the problem:

a. Version(s) of .NET framework installed

b. Does it have VisualStudio installed?

c. What language settings does it have?

If you could copy the FileBrowser sample to the target system and see whether this has the same problem. By default the compiled FileBrowser sample is at:

C:\Program Files\Infralution\VirtualTree\Samples\CS\FileBrowser\bin\Released

You need to place the following DLLs in the same directory:

Infralution.Common.dll
Infralution.Controls.dll
Infralution.Controls.VirtualTree.dll
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
cristi_ursachi



Joined: 07 Mar 2005
Posts: 11

PostPosted: Tue Apr 19, 2005 11:01 am    Post subject: Reply with quote

Q:Does the messagebox have text for the OK button?
A:no
Q:Which icons are black for the tree - your user defined row icons or the expand/collapse icons?
A:
user defined row icons

Q:Version(s) of .NET framework installed
A: 1.1 latest

Q:Does it have VisualStudio installed?
A: NO

Q: What language settings does it have?
A:Duch
Back to top
View user's profile Send private message
cristi_ursachi



Joined: 07 Mar 2005
Posts: 11

PostPosted: Tue Apr 19, 2005 11:08 am    Post subject: Reply with quote

I will test with FileBrowser...
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Apr 19, 2005 11:17 am    Post subject: Reply with quote

The evaluation message box does get the strings to display from the DLL resources - hence if the OK button text was visible this would point to a resources problem. However the OK button text is not visible so this points to something more related to the framework/drivers.

I have seen windows forms exhibit different behaviour when called from a DLL to what it does directly in an EXE - I suspect this might be what is occuring here - hence your program displays messageboxes OK.

You could try using the Infralution.Common.Translator class to show a message box (as this is what the evaluation message box is displayed with) and see what the result is.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
cristi_ursachi



Joined: 07 Mar 2005
Posts: 11

PostPosted: Mon May 09, 2005 1:53 pm    Post subject: finnaly ...huh... Reply with quote

After a lot of research I found:The problem is because of McAfee antivirus version 8.0;
-patch 10 solve the problem...
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon May 09, 2005 10:20 pm    Post subject: Reply with quote

Good work - how did you manage to track this down?
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
cristi_ursachi



Joined: 07 Mar 2005
Posts: 11

PostPosted: Fri May 13, 2005 6:35 am    Post subject: Reply with quote

Other developers had the same problem(messagebox without text) and I found this on a dotnet forum...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group