Print Page | Close Window

C# Problems

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4025
Printed Date: 17 November 2024 at 9:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: C# Problems
Posted By: dneilsen
Subject: C# Problems
Date Posted: 18 April 2006 at 6:09pm
I have just purchased this system for use in visual studio .net 2003 in the creation of C# apps.

I have been through a lot of the samples, tutorials and forum threads and there seems to be a lot of ideas on how to best use this software.

I have created my command bars, menus and icons in the studio designer application but here lies my problem...

Nowhere can I find any description of how to get these items from the studio designer and into my solution.  Can someone please explain to me the process of how to do this?





Replies:
Posted By: Oleg
Date Posted: 19 April 2006 at 7:41am

Hello,

Right click on CommandBars, choose load xcb file;

in code add LoadDesignerBars(null, null);



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: dneilsen
Date Posted: 19 April 2006 at 5:18pm
hmmmm
Thats what I was trying and it didnt work.

I have tried it in my application again and it still dosnt work but I tried it in a small test c# app and it works so there is something in my application stopping it working.  Ill have to hunt it down.

ok, next question. 
Is it possible to set up the xcb file as an embedded resource?  If so, would you have an example of how to do this?


Posted By: dneilsen
Date Posted: 19 April 2006 at 5:38pm
ok, the problem in my application seems to be that my main form has is an MDI container.  When this is set to false, the command bars load fine.
this.IsMdiContainer = true;

I fixed it as per the MDI example...  my bad.

Any information about loading the xcb as an embedded resource would be very helpfull however



Posted By: dneilsen
Date Posted: 20 April 2006 at 6:15pm
Does no-one know how to do this?


Posted By: Oleg
Date Posted: 21 April 2006 at 8:45am

Hello,

I really can't undestand where you have problem...

I just open MDI sample,  added

CommandBars.LoadDesignerBars(null, null);

load some xcb file in from context  menu.

and all work as expected.

Attach your project/xcb file and I will show what you must add.

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: dneilsen
Date Posted: 23 April 2006 at 6:20pm
I think we have our wires crossed oleg.

My menus are working from the xcb file fine.

However, when I distribute my application I dont want the xcb file to be a separate file in my install path.  Hence, I would like to compile the contents of the xcb file into my exe.

How would I do this?







Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net