Where minds and technology meet.
SharpGraph for .NET
ActiveBar
DynamiCube
ActiveReports
Data Dynamics Reports
ActiveAnalysis
ActiveReports for COM
Other
Download Trial Versions
Download Updates
ActiveBar
DynamiCube
SharpGrid
SharpUI
ActiveSizer
ActiveReports
Data Dynamics Reports
ActiveAnalysis
ActiveReports for COM
Other
ActiveBar
DynamiCube
SharpGrid
SharpUI
ActiveSizer
ActiveReports
Data Dynamics Reports
ActiveReports for COM
Other
ActiveReports
Data Dynamics Reports
ActiveAnalysis
Exporting Online Help
Standard Edition Online Help
Professional Edition Online Help
ActiveBar
DynamiCube
SharpGrid
SharpUI
ActiveSizer
ActiveReports
Data Dynamics Reports
ActiveAnalysis
ActiveReports for COM
Other
Support Forums
Support Options
Submit Support Request
Frequently Asked Questions
Knowledge Base
Videos
Documentation
About Us
Customers
Case Studies
Testimonials
Awards
Press
Resellers
Contact us
PRODUCTS
PRODUCTS
DOWNLOADS
DOWNLOADS
SUPPORT
SUPPORT
ORDER
ORDER
COMPANY
COMPANY
Welcome to GrapeCity
Sign in
|
Join
|
Faq
Forums
Videos
Blog
Twitter
Portal Home
ActiveReports
Data Dynamics Reports
ActiveAnalysis
Forums
Home
SharpUI for .NET Support
Started by BillNew at 04-02-2007 11:28 AM. Topic has 1 replies.
GrapeCity
»
Product Support
»
SharpUI for .NE...
»
Possible fix for "Setup Error: Failed to load resources from resource file"
Search
Rate this topic:
Comments (optional)
Sort Posts:
Oldest to newest
Newest to oldest
04-02-2007, 11:28 AM
BillNew
Joined on 02-03-2005
Posts 7
Possible fix for "Setup Error: Failed to load resources from resource file"
Was seeing this message upon exiting a program when using SharpUI
and a Style Manager:
"Setup Error: Failed to load resources from resource file"
Turns out that during the "Form Load" process that a Zero Byte
Style Sheet ".XML" file was getting loaded into a UImanager
object when the "LoadCurrentFormStyle" logic was called... this
in turn caused the color scheme to be messed up and the buttons
that use that manager to seemingly not work properly.
---
- Private Sub LoadCurrentFormStyle()
-
- Dim path As String = System.AppDomain.CurrentDomain.BaseDirectory()
- If Microsoft.VisualBasic.Right(path, 1) <> "\" Then
- path = path & "\"
- End If
-
- Dim XmlStyleFilename As String = path & "StyleSheets\MyStyleSheet.xml"
-
- Try
- UiStyleManager.Load(XmlStyleFilename)
- Refresh()
- Catch ex As Exception
- ' "Error loading selected style"
- End Try
-
- End Sub
---
Removing the Zero Byte Style Sheet ".XML" File then adding the
"If... End If" below to the above code will help resolve the issue:
---
- If Dir(XmlStyleFilename) <> "" then
- UiStyleManager.Load(XmlStyleFilename)
- Refresh()
- End If
---
Hope this helps someone else quickly resolve this error.
:)
Report
04-02-2007, 2:45 PM
ericc
Joined on 03-01-2005
Posts 1,857
Re: Possible fix for "Setup Error: Failed to load resources from resource file"
BillNew,
Thank you for your question. Unfortunately, I have been unable to reproduce the described behavior. Would it be possible for you to provide me with the style sheet your experiencing this behavior with after loading? Could you provide me with a screen shot or example of what is meant by the buttons being messed up / not working properly? Could you please explain how you expect them to look / act verses what you are encountering?
Also, im happy to hear you have found a resolution to the behavior encountered.
I look forward to hearing from you. Thank you!
Eric
Report
GrapeCity
»
Product Support
»
SharpUI for .NE...
»
Possible fix for "Setup Error: Failed to load resources from resource file"
(please select)
Forums Home
|- Search Forums
|- Active Topics
|- Unanswered Posts
User Options
|- Sign In
|- Join this community
|- Forgot Password
Announcements
|- ActiveBar Announcements
|- ActiveReports Announcements
|- ActiveReports for .NET Announcements
|- ActiveSizer Announcements
|- Data Dynamics WebSite Announcements
|- DynamiCube Announcements
|- SharpGraph for .NET Announcements
|- SharpGrid Announcements
|- SharpUI for .NET Announcements
|- Data Dynamics Reports Announcements
|- GrapeCity ActiveAnalysis Announcements
Frequently Asked Questions
|- ActiveReports 2.0 FAQ
|- ActiveSizer FAQ
|- DynamiCube FAQ
|- SharpGrid FAQ
|- ActiveReports for .NET FAQ
|- ActiveBar FAQ
|- SharpUI for .NET FAQ
Product Support
|- ActiveBar Support
|- Data Dynamics Analysis Support
|- ActiveReports 6 Support
|- GrapeCity ActiveAnalysis Support
|- ActiveReports for .NET 3.0 Support
|- ActiveReports for .NET 2.0 Support
|- ActiveReports for .NET Support
|- ActiveReports 2.0 (Visual Basic 6.0) Support
|- ActiveSizer Support
|- DynamiCube Support
|- SharpGraph for .NET Support
|- SharpGrid Support
|- SharpUI for .NET Support
|- Data Dynamics Reports Support
Knowledge Base
|- KnowledgeBase for SharpUI for .NET
|- KnowledgeBase for ActiveCube
|- KnowledgeBase for ActiveReports
|- KnowledgeBase for ActiveBar
|- KnowledgeBase for ActiveReports for .NET
|- KnowledgeBase for SharpGrid
|- KnowledgeBase for ActiveSizer
|- KnowledgeBase for DynamiCube
|- KnowledgeBase for SharpGraph for .NET
|- KnowledgeBase for Data Dynamics Reports
Forum Archives
|- ActiveReports for .NET 2.0 Visual Studio .NET 2005 Support
|- ActiveBar 3.0 Beta Support
|- support.activebar2.general
|- support.activereports.general
|- support.activereports.net
|- support.activereports2.stdedition
|- support.activereports2.proedition
|- support.activesizer.general
|- support.announcements
|- support.dcube.c++
|- support.dcube.delphi
|- support.dcube.ie
|- support.dcube.misc
|- support.dcube.vb
|- support.dcube.vfp
|- support.sharpgrid.general
Product Downloads
|- ActiveSizer Downloads
|- SharpUI for .NET Downloads
|- ActiveReports for .NET Downloads
|- ActiveCube Downloads
|- ActiveReports Downloads
|- ActiveBar Downloads
|- SharpGrid Downloads
|- ActiveReports for .NET 2.0 Downloads
|- SharpGraph for .NET Downloads
|- DynamiCube Downloads
|- ActiveReports for .NET 3.0 Downloads
|- ActiveReports 6 Downloads
|- Data Dynamics Reports Downloads
Web Site Feedback
|- Web Site Feedback
Employment Opportunities
|- Employment Opportunities
Contact Us
Privacy Policy
| Copyright © 1997-2012 — GrapeCity, inc.