Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem with Licenses.licx (Read 5387 times)
Mark_Wills
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 27
Joined: Mar 6th, 2006
Problem with Licenses.licx
Feb 15th, 2007 at 7:08pm
Print Post  
Hi there. I have installed .net on my new laptop, copied my project into the projects folder, and downloaded and installed the flowchart demo. However, the project will not compile. (It used to compile ok on my old machine).

The first error message refers to licences.licx. The error message is below. Can you suggest anything to get it running? I tried removing the references to Flowchart.net in Project/References, and adding them again, but it didn't work.

I don't know what the licenses file is for.

Any help much appreciated. It's time I bought this DLL, but I would like to get it running with the demo first and fix this issue with the licence file.

Thank you very much.

Mark Wills.
UK


Error1Unable to resolve type 'MindFusion.FlowChartX.FlowChart, FlowChart.NET, Version=4.0.3.27845, Culture=neutral, PublicKeyToken=a0d18338041985ba'C:\Documents and Settings\MR WILLS\My Documents\Visual Studio 2005\Projects\VED1\VED1\My Project\licenses.licx1VED1
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem with Licenses.licx
Reply #1 - Feb 16th, 2007 at 6:07am
Print Post  
Hi,

We have recently renamed the FlowChart.NET namespaces. Edit the FlowChart.NET line in the licx file and change

MindFusion.FlowChartX.FlowChart

to

MindFusion.Diagramming.WinForms.FlowChart

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Mark_Wills
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 27
Joined: Mar 6th, 2006
Re: Problem with Licenses.licx
Reply #2 - Feb 16th, 2007 at 7:52am
Print Post  
Hi Stoyan, thanks for the reply.

I edited the licenses file, and it has indeed stopped that error, but there are still 51 compile errors! (It used to compile with no errors!)

However, many of hem seem to be related to the fact that the object heirarchy has perhaps changed in this new DLL, so I'm sure I can fix those. The errors that concern me at the moment however are these:

Warning1The designer cannot process the code at line 57:

Me.FlowChart1.AllowInplaceEdit = True


The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified.  Please remove any changes and try opening the designer again.C:\Documents and Settings\MR WILLS\My Documents\Visual Studio 2005\Projects\VED1\VED1\frmCanvas.Designer.vb580
(I have not edited the code myself, it is unchanged (by me)) Has AllowInPlaceEdit been deprecated or removed?

and this error:

Error2Unable to find manifest signing certificate in the certificate store.VED1



Once again, any help much appreciated. The other errors are all the same:

MindFusion.FlowChartX.Box is not defined

and

FlowChartX is not a member of Mindfusion

It may be that things have simply changed in the new DLL, and I have to make some changes: no problem, or maybe these errors are simply related to the two more serious errors above?

Many thanks and best regards

Mark Wills
  
Back to top
 
IP Logged
 
Mark_Wills
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 27
Joined: Mar 6th, 2006
Re: Problem with Licenses.licx
Reply #3 - Feb 16th, 2007 at 8:23am
Print Post  
A little more information for you:

I changed the line in InitialiseComponent that created the flowchart object from:
[code]Me.FlowChart1 = New MindFusion.FlowChartX.FlowChart
[/code]

to:

[code]Me.FlowChart1 = New MindFusion.Diagramming.WinForms.FlowChart[/code]

When I try to open the form that contains the flowchart, I get the following error:

"The designer cannot process the code at line 23: Me.FlowChart1 = New MindFusion.Diagramming.WinForms.FlowChart The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again. "

Very strange?!

In addition, the following lines give a 'FlowChartX is not a member of MindFusion' error:

[code]Me.FlowChart1.ArrowTextStyle = MindFusion.FlowChartX.ArrowTextStyle.Rotate[/code]

[code]Me.FlowChart1.BoxStyle = MindFusion.FlowChartX.BoxStyle.Rectangle[/code]

[code]Me.FlowChart1.ExteriorBrush = New MindFusion.FlowChartX.SolidBrush("#FF7F7F7F")[/code]

Here is the entire FlowChart section from InitializeComponent:

[code]
       '
       'FlowChart1
       '
       Me.FlowChart1.AllowInplaceEdit = True
       Me.FlowChart1.ArrowTextStyle = MindFusion.FlowChartX.ArrowTextStyle.Rotate
       Me.FlowChart1.BoxStyle = MindFusion.FlowChartX.BoxStyle.Rectangle
       Me.FlowChart1.BoxText = "Comment"
       Me.FlowChart1.DefaultControlType = GetType(System.Windows.Forms.Button)
       Me.FlowChart1.DocExtents = CType(resources.GetObject("FlowChart1.DocExtents"), System.Drawing.RectangleF)
       Me.FlowChart1.Dock = System.Windows.Forms.DockStyle.Fill
       Me.FlowChart1.ExteriorBrush = New MindFusion.FlowChartX.SolidBrush("#FF7F7F7F")
       Me.FlowChart1.Font = New System.Drawing.Font("Microsoft Sans Serif", 3.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World, CType(0, Byte))
       Me.FlowChart1.GridColor = System.Drawing.Color.White
       Me.FlowChart1.InplaceEditFont = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
       Me.FlowChart1.Location = New System.Drawing.Point(0, 0)
       Me.FlowChart1.Name = "FlowChart1"
       Me.FlowChart1.ShowGrid = True
       Me.FlowChart1.Size = New System.Drawing.Size(292, 266)
       Me.FlowChart1.TabIndex = 10
[/code]

And I still have the error:

Error2Unable to find manifest signing certificate in the certificate store.VED1

Is this some GAC issue? Do I need to rebuild the GAC? If so, could you proide me a brief note on how to do that? I'm still making the transition from VB6 to .Net, and some aspects of .Net really confuse the hell out of me!

Many thanks for your kind assistanace once again. And I hope the information above is of use.

Kind regards

Mark Wills.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem with Licenses.licx
Reply #4 - Feb 16th, 2007 at 10:15am
Print Post  
Hello Mark,

Use the "Replace in Files" command from the VS Edit menu and replace all "MindFusion.FlowChartX" occurrences with "MindFusion.Diagramming.WinForms". Take a look at the "What's new" topic in the help file - there are a few other renamed namespaces as well.

Once the declarations for the FlowChart.NET related form members are ok, the errors should disappear. If you still have troubles, email me your project and our developer will fix whatever problems remain.

Stoyan
  
Back to top
 
IP Logged
 
Mark_Wills
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 27
Joined: Mar 6th, 2006
Re: Problem with Licenses.licx
Reply #5 - Feb 16th, 2007 at 12:31pm
Print Post  
Thank you Stoyan, that has helped.

I found that the brush objects have changed, but I have corrected that. (The brushes now seem to be in Mindfusion.Drawing) - I cheated and used the object explorer to find it!

Now I only have one error that prevents a build:

"Unable to find manifest signing certificate in the certificate store."

Sounds nasty to me!

Do I need to email you the project?

Thank you for your help. It is much appreciated.

Mark Wills
  
Back to top
 
IP Logged
 
Mark_Wills
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 27
Joined: Mar 6th, 2006
Re: Problem with Licenses.licx
Reply #6 - Feb 16th, 2007 at 12:49pm
Print Post  
Fixed it!

A quick google on the error message provided the answer.

The "Unable to find manifest signing certificate in the certificate store" error messsage was fixed by going into the properties of my project, clicking on the Signing tab, and removing the tick box in "Sign the ClickOnce manifests" - this fixed the problem. It can apparantly happen when projects are copied around (as in my case).

Thank you for all your help Stoyan, it is much appreciated. The project now compiles with no errors and no warnings, and runs fine. I think it's time to buy this. Do you accept PayPal?

Kind regards

Mark Wills
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem with Licenses.licx
Reply #7 - Feb 16th, 2007 at 2:07pm
Print Post  
Great news 8) I think our resellers SWREG accept PayPal, you can select that on the second page after choosing the license type.

Kind regards,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint