Jump to content
Software FX Community

Financial Extension .NET - The input string was not in correct format


User (Legacy)

Recommended Posts

Hi,

The demo period for the Chart Financial has expired on my computer and on

the suggestion from the support team I have reinstalled Chart FX 6.2 Windows

Forms and then Financial Beta again. Now I get "Format Exception:The input

string was not in correct format" when I run Wizard (from Step 1 to Step 2).

The DesignTimeData property is set to:C:\Program Files\ChartFX for .NET

6.2\Wizard\MarketDataSmall.txt

Bojan

Link to comment
Share on other sites

Dear Bojan,

Running the wizard here produces no problems.

I do have a couple of questions for you.

1) Are you testing WinForms or WebForms?

2) Does this happen in a new application?

The best way to test this is to create a new dummy application and see if

you get the crash when running the wizard.

If you don't get the crash then something with the wizard re-entry is

crashing.

For that I would need to see your code snippet in InitializeComponent()

3) What is your choice when you are at the first screen?

Best way to do this is check the tool tip as you hover over the mini chart

It 'should' be one of these values:

High-Low-Close, Open-High-Low-Close, CandleStick, Three Line Break, or Point

and Figure

Hope this helps.

-cjs

"Bojan Kuhar" <bkuhar@telkomsa.net> wrote in message

news:eS5vR7u%23EHA.1580@webserver3.softwarefx.com...

> Hi,

>

> The demo period for the Chart Financial has expired on my computer and on

> the suggestion from the support team I have reinstalled Chart FX 6.2

> Windows Forms and then Financial Beta again. Now I get "Format

> Exception:The input string was not in correct format" when I run Wizard

> (from Step 1 to Step 2). The DesignTimeData property is set to:C:\Program

> Files\ChartFX for .NET 6.2\Wizard\MarketDataSmall.txt

>

>

> Bojan

>

Link to comment
Share on other sites

> Dear Bojan,

> Running the wizard here produces no problems.

> I do have a couple of questions for you.

> 1) Are you testing WinForms or WebForms?

It's Windows Forms

> 2) Does this happen in a new application?

Yes

> The best way to test this is to create a new dummy application and see if

> you get the crash when running the wizard.

> If you don't get the crash then something with the wizard re-entry is

> crashing.

It crashes with the new application.

> For that I would need to see your code snippet in InitializeComponent()

<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

Dim Pane1 As SoftwareFX.ChartFX.Pane = New SoftwareFX.ChartFX.Pane()

Dim resources As System.Resources.ResourceManager = New

System.Resources.ResourceManager(GetType(ViewFX))

Me.Chart1 = New SoftwareFX.ChartFX.Chart()

Me.Financial1 = New SoftwareFX.ChartFX.Financial.WinForms.Financial()

Me.Panel1 = New System.Windows.Forms.Panel()

Me.Panel2 = New System.Windows.Forms.Panel()

Me.Panel2.SuspendLayout()

Me.SuspendLayout()

'

'Chart1

'

Me.Chart1.AxisX.LabelsFormat.Format = SoftwareFX.ChartFX.AxisFormat.Date

Me.Chart1.AxisY.ForceZero = False

Me.Chart1.DesignTimeData = "C:\Program Files\ChartFX for .NET

6.2\Wizard\MarketDataLarge.txt"

Me.Chart1.Dock = System.Windows.Forms.DockStyle.Fill

Me.Chart1.MarkerShape = SoftwareFX.ChartFX.MarkerShape.None

Me.Chart1.Name = "Chart1"

Me.Chart1.NSeries = 5

Me.Chart1.NValues = 20

Pane1.Proportion = 40

Pane1.Title.Alignment = System.Drawing.StringAlignment.Near

Me.Chart1.Panes.AddRange(New SoftwareFX.ChartFX.Pane() {Pane1})

Me.Chart1.Size = New System.Drawing.Size(808, 462)

Me.Chart1.TabIndex = 0

Me.Chart1.UserLegendBoxObj.Flags =

(SoftwareFX.ChartFX.LegendBoxFlag.SkipEmpty Or

SoftwareFX.ChartFX.LegendBoxFlag.Default)

'

'Financial1

'

Me.Financial1.Chart = Me.Chart1

Me.Financial1.Compression.Interval =

SoftwareFX.ChartFX.Financial.WinForms.Compression.Day

Me.Financial1.Gallery.Analytical.PriceDisplay =

SoftwareFX.ChartFX.Financial.WinForms.PriceDisplay.Close

'

'Panel1

'

Me.Panel1.Dock = System.Windows.Forms.DockStyle.Top

Me.Panel1.Name = "Panel1"

Me.Panel1.Size = New System.Drawing.Size(808, 48)

Me.Panel1.TabIndex = 1

'

'Panel2

'

Me.Panel2.Controls.AddRange(New System.Windows.Forms.Control() {Me.Chart1})

Me.Panel2.Dock = System.Windows.Forms.DockStyle.Fill

Me.Panel2.Location = New System.Drawing.Point(0, 48)

Me.Panel2.Name = "Panel2"

Me.Panel2.Size = New System.Drawing.Size(808, 462)

Me.Panel2.TabIndex = 2

'

'ViewFX

'

Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)

Me.ClientSize = New System.Drawing.Size(808, 510)

Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.Panel2,

Me.Panel1})

Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)

Me.Name = "ViewFX"

Me.Text = "ViewFX"

Me.Panel2.ResumeLayout(False)

Me.ResumeLayout(False)

End Sub

>

> 3) What is your choice when you are at the first screen?

> Best way to do this is check the tool tip as you hover over the mini chart

> It 'should' be one of these values:

> High-Low-Close, Open-High-Low-Close, CandleStick, Three Line Break, or

> Point and Figure

>

I have tried all of them and still no luck.

Thanks

Bojan

Link to comment
Share on other sites

  • 2 weeks later...

Dear Bojan,

Apologies for the Delay.

I am afraid I cannot reproduce your error with my latest code here.

You probably have the beta version and that could be buggy.

Please contact support AT softwareFX dot com attention Charles and I will

see what I can do for you.

-charles

"Bojan Kuhar" <bkuhar@telkomsa.net> wrote in message

news:jA8u%23JaAFHA.1140@webserver3.softwarefx.com...

>

>> Dear Bojan,

>> Running the wizard here produces no problems.

>> I do have a couple of questions for you.

>> 1) Are you testing WinForms or WebForms?

>

> It's Windows Forms

>

>> 2) Does this happen in a new application?

>

> Yes

>

>> The best way to test this is to create a new dummy application and see if

>> you get the crash when running the wizard.

>> If you don't get the crash then something with the wizard re-entry is

>> crashing.

>

> It crashes with the new application.

>

>> For that I would need to see your code snippet in InitializeComponent()

>

>

> <System.Diagnostics.DebuggerStepThrough()> Private Sub

> InitializeComponent()

>

> Dim Pane1 As SoftwareFX.ChartFX.Pane = New SoftwareFX.ChartFX.Pane()

>

> Dim resources As System.Resources.ResourceManager = New

> System.Resources.ResourceManager(GetType(ViewFX))

>

> Me.Chart1 = New SoftwareFX.ChartFX.Chart()

>

> Me.Financial1 = New SoftwareFX.ChartFX.Financial.WinForms.Financial()

>

> Me.Panel1 = New System.Windows.Forms.Panel()

>

> Me.Panel2 = New System.Windows.Forms.Panel()

>

> Me.Panel2.SuspendLayout()

>

> Me.SuspendLayout()

>

> '

>

> 'Chart1

>

> '

>

> Me.Chart1.AxisX.LabelsFormat.Format = SoftwareFX.ChartFX.AxisFormat.Date

>

> Me.Chart1.AxisY.ForceZero = False

>

> Me.Chart1.DesignTimeData = "C:\Program Files\ChartFX for .NET

> 6.2\Wizard\MarketDataLarge.txt"

>

> Me.Chart1.Dock = System.Windows.Forms.DockStyle.Fill

>

> Me.Chart1.MarkerShape = SoftwareFX.ChartFX.MarkerShape.None

>

> Me.Chart1.Name = "Chart1"

>

> Me.Chart1.NSeries = 5

>

> Me.Chart1.NValues = 20

>

> Pane1.Proportion = 40

>

> Pane1.Title.Alignment = System.Drawing.StringAlignment.Near

>

> Me.Chart1.Panes.AddRange(New SoftwareFX.ChartFX.Pane() {Pane1})

>

> Me.Chart1.Size = New System.Drawing.Size(808, 462)

>

> Me.Chart1.TabIndex = 0

>

> Me.Chart1.UserLegendBoxObj.Flags =

> (SoftwareFX.ChartFX.LegendBoxFlag.SkipEmpty Or

> SoftwareFX.ChartFX.LegendBoxFlag.Default)

>

> '

>

> 'Financial1

>

> '

>

> Me.Financial1.Chart = Me.Chart1

>

> Me.Financial1.Compression.Interval =

> SoftwareFX.ChartFX.Financial.WinForms.Compression.Day

>

> Me.Financial1.Gallery.Analytical.PriceDisplay =

> SoftwareFX.ChartFX.Financial.WinForms.PriceDisplay.Close

>

> '

>

> 'Panel1

>

> '

>

> Me.Panel1.Dock = System.Windows.Forms.DockStyle.Top

>

> Me.Panel1.Name = "Panel1"

>

> Me.Panel1.Size = New System.Drawing.Size(808, 48)

>

> Me.Panel1.TabIndex = 1

>

> '

>

> 'Panel2

>

> '

>

> Me.Panel2.Controls.AddRange(New System.Windows.Forms.Control()

> {Me.Chart1})

>

> Me.Panel2.Dock = System.Windows.Forms.DockStyle.Fill

>

> Me.Panel2.Location = New System.Drawing.Point(0, 48)

>

> Me.Panel2.Name = "Panel2"

>

> Me.Panel2.Size = New System.Drawing.Size(808, 462)

>

> Me.Panel2.TabIndex = 2

>

> '

>

> 'ViewFX

>

> '

>

> Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)

>

> Me.ClientSize = New System.Drawing.Size(808, 510)

>

> Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.Panel2,

> Me.Panel1})

>

> Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)

>

> Me.Name = "ViewFX"

>

> Me.Text = "ViewFX"

>

> Me.Panel2.ResumeLayout(False)

>

> Me.ResumeLayout(False)

>

> End Sub

>

>

>>

>> 3) What is your choice when you are at the first screen?

>> Best way to do this is check the tool tip as you hover over the mini

>> chart

>> It 'should' be one of these values:

>> High-Low-Close, Open-High-Low-Close, CandleStick, Three Line Break, or

>> Point and Figure

>>

>

> I have tried all of them and still no luck.

>

> Thanks

>

> Bojan

>

Link to comment
Share on other sites

Thanks Charles,

In the meantime I'll try to uninstal and reinstal everything (6.2, service

pack and Financial Extensions)

Regards

Bojan

"Software FX Support" <support@softwarefx.com> wrote in message

news:oh40jrHCFHA.2536@webserver3.softwarefx.com...

> Dear Bojan,

> Apologies for the Delay.

> I am afraid I cannot reproduce your error with my latest code here.

> You probably have the beta version and that could be buggy.

> Please contact support AT softwareFX dot com attention Charles and I will

> see what I can do for you.

> -charles

>

>

> "Bojan Kuhar" <bkuhar@telkomsa.net> wrote in message

> news:jA8u%23JaAFHA.1140@webserver3.softwarefx.com...

>>

>>> Dear Bojan,

>>> Running the wizard here produces no problems.

>>> I do have a couple of questions for you.

>>> 1) Are you testing WinForms or WebForms?

>>

>> It's Windows Forms

>>

>>> 2) Does this happen in a new application?

>>

>> Yes

>>

>>> The best way to test this is to create a new dummy application and see

>>> if you get the crash when running the wizard.

>>> If you don't get the crash then something with the wizard re-entry is

>>> crashing.

>>

>> It crashes with the new application.

>>

>>> For that I would need to see your code snippet in InitializeComponent()

>>

>>

>> <System.Diagnostics.DebuggerStepThrough()> Private Sub

>> InitializeComponent()

>>

>> Dim Pane1 As SoftwareFX.ChartFX.Pane = New SoftwareFX.ChartFX.Pane()

>>

>> Dim resources As System.Resources.ResourceManager = New

>> System.Resources.ResourceManager(GetType(ViewFX))

>>

>> Me.Chart1 = New SoftwareFX.ChartFX.Chart()

>>

>> Me.Financial1 = New SoftwareFX.ChartFX.Financial.WinForms.Financial()

>>

>> Me.Panel1 = New System.Windows.Forms.Panel()

>>

>> Me.Panel2 = New System.Windows.Forms.Panel()

>>

>> Me.Panel2.SuspendLayout()

>>

>> Me.SuspendLayout()

>>

>> '

>>

>> 'Chart1

>>

>> '

>>

>> Me.Chart1.AxisX.LabelsFormat.Format = SoftwareFX.ChartFX.AxisFormat.Date

>>

>> Me.Chart1.AxisY.ForceZero = False

>>

>> Me.Chart1.DesignTimeData = "C:\Program Files\ChartFX for .NET

>> 6.2\Wizard\MarketDataLarge.txt"

>>

>> Me.Chart1.Dock = System.Windows.Forms.DockStyle.Fill

>>

>> Me.Chart1.MarkerShape = SoftwareFX.ChartFX.MarkerShape.None

>>

>> Me.Chart1.Name = "Chart1"

>>

>> Me.Chart1.NSeries = 5

>>

>> Me.Chart1.NValues = 20

>>

>> Pane1.Proportion = 40

>>

>> Pane1.Title.Alignment = System.Drawing.StringAlignment.Near

>>

>> Me.Chart1.Panes.AddRange(New SoftwareFX.ChartFX.Pane() {Pane1})

>>

>> Me.Chart1.Size = New System.Drawing.Size(808, 462)

>>

>> Me.Chart1.TabIndex = 0

>>

>> Me.Chart1.UserLegendBoxObj.Flags =

>> (SoftwareFX.ChartFX.LegendBoxFlag.SkipEmpty Or

>> SoftwareFX.ChartFX.LegendBoxFlag.Default)

>>

>> '

>>

>> 'Financial1

>>

>> '

>>

>> Me.Financial1.Chart = Me.Chart1

>>

>> Me.Financial1.Compression.Interval =

>> SoftwareFX.ChartFX.Financial.WinForms.Compression.Day

>>

>> Me.Financial1.Gallery.Analytical.PriceDisplay =

>> SoftwareFX.ChartFX.Financial.WinForms.PriceDisplay.Close

>>

>> '

>>

>> 'Panel1

>>

>> '

>>

>> Me.Panel1.Dock = System.Windows.Forms.DockStyle.Top

>>

>> Me.Panel1.Name = "Panel1"

>>

>> Me.Panel1.Size = New System.Drawing.Size(808, 48)

>>

>> Me.Panel1.TabIndex = 1

>>

>> '

>>

>> 'Panel2

>>

>> '

>>

>> Me.Panel2.Controls.AddRange(New System.Windows.Forms.Control()

>> {Me.Chart1})

>>

>> Me.Panel2.Dock = System.Windows.Forms.DockStyle.Fill

>>

>> Me.Panel2.Location = New System.Drawing.Point(0, 48)

>>

>> Me.Panel2.Name = "Panel2"

>>

>> Me.Panel2.Size = New System.Drawing.Size(808, 462)

>>

>> Me.Panel2.TabIndex = 2

>>

>> '

>>

>> 'ViewFX

>>

>> '

>>

>> Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)

>>

>> Me.ClientSize = New System.Drawing.Size(808, 510)

>>

>> Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.Panel2,

>> Me.Panel1})

>>

>> Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)

>>

>> Me.Name = "ViewFX"

>>

>> Me.Text = "ViewFX"

>>

>> Me.Panel2.ResumeLayout(False)

>>

>> Me.ResumeLayout(False)

>>

>> End Sub

>>

>>

>>>

>>> 3) What is your choice when you are at the first screen?

>>> Best way to do this is check the tool tip as you hover over the mini

>>> chart

>>> It 'should' be one of these values:

>>> High-Low-Close, Open-High-Low-Close, CandleStick, Three Line Break, or

>>> Point and Figure

>>>

>>

>> I have tried all of them and still no luck.

>>

>> Thanks

>>

>> Bojan

>>

>

>

Link to comment
Share on other sites

Uninstalling and Reinstalling will not help you.

There is only one version of Financial downloadable to you and it is

probably buggy as it is a Beta.

We need to release the new bits for Financial. (Coming Soon...)

If that is your only gripe I would say don't uninstall.... Just ignore it.

-cjs

"Bojan Kuhar" <bkuhar@telkomsa.net> wrote in message

news:5ZtSwQPCFHA.1560@webserver3.softwarefx.com...

> Thanks Charles,

> In the meantime I'll try to uninstal and reinstal everything (6.2, service

> pack and Financial Extensions)

>

> Regards

> Bojan

> "Software FX Support" <support@softwarefx.com> wrote in message

> news:oh40jrHCFHA.2536@webserver3.softwarefx.com...

>> Dear Bojan,

>> Apologies for the Delay.

>> I am afraid I cannot reproduce your error with my latest code here.

>> You probably have the beta version and that could be buggy.

>> Please contact support AT softwareFX dot com attention Charles and I will

>> see what I can do for you.

>> -charles

>>

>>

>> "Bojan Kuhar" <bkuhar@telkomsa.net> wrote in message

>> news:jA8u%23JaAFHA.1140@webserver3.softwarefx.com...

>>>

>>>> Dear Bojan,

>>>> Running the wizard here produces no problems.

>>>> I do have a couple of questions for you.

>>>> 1) Are you testing WinForms or WebForms?

>>>

>>> It's Windows Forms

>>>

>>>> 2) Does this happen in a new application?

>>>

>>> Yes

>>>

>>>> The best way to test this is to create a new dummy application and see

>>>> if you get the crash when running the wizard.

>>>> If you don't get the crash then something with the wizard re-entry is

>>>> crashing.

>>>

>>> It crashes with the new application.

>>>

>>>> For that I would need to see your code snippet in InitializeComponent()

>>>

>>>

>>> <System.Diagnostics.DebuggerStepThrough()> Private Sub

>>> InitializeComponent()

>>>

>>> Dim Pane1 As SoftwareFX.ChartFX.Pane = New SoftwareFX.ChartFX.Pane()

>>>

>>> Dim resources As System.Resources.ResourceManager = New

>>> System.Resources.ResourceManager(GetType(ViewFX))

>>>

>>> Me.Chart1 = New SoftwareFX.ChartFX.Chart()

>>>

>>> Me.Financial1 = New SoftwareFX.ChartFX.Financial.WinForms.Financial()

>>>

>>> Me.Panel1 = New System.Windows.Forms.Panel()

>>>

>>> Me.Panel2 = New System.Windows.Forms.Panel()

>>>

>>> Me.Panel2.SuspendLayout()

>>>

>>> Me.SuspendLayout()

>>>

>>> '

>>>

>>> 'Chart1

>>>

>>> '

>>>

>>> Me.Chart1.AxisX.LabelsFormat.Format = SoftwareFX.ChartFX.AxisFormat.Date

>>>

>>> Me.Chart1.AxisY.ForceZero = False

>>>

>>> Me.Chart1.DesignTimeData = "C:\Program Files\ChartFX for .NET

>>> 6.2\Wizard\MarketDataLarge.txt"

>>>

>>> Me.Chart1.Dock = System.Windows.Forms.DockStyle.Fill

>>>

>>> Me.Chart1.MarkerShape = SoftwareFX.ChartFX.MarkerShape.None

>>>

>>> Me.Chart1.Name = "Chart1"

>>>

>>> Me.Chart1.NSeries = 5

>>>

>>> Me.Chart1.NValues = 20

>>>

>>> Pane1.Proportion = 40

>>>

>>> Pane1.Title.Alignment = System.Drawing.StringAlignment.Near

>>>

>>> Me.Chart1.Panes.AddRange(New SoftwareFX.ChartFX.Pane() {Pane1})

>>>

>>> Me.Chart1.Size = New System.Drawing.Size(808, 462)

>>>

>>> Me.Chart1.TabIndex = 0

>>>

>>> Me.Chart1.UserLegendBoxObj.Flags =

>>> (SoftwareFX.ChartFX.LegendBoxFlag.SkipEmpty Or

>>> SoftwareFX.ChartFX.LegendBoxFlag.Default)

>>>

>>> '

>>>

>>> 'Financial1

>>>

>>> '

>>>

>>> Me.Financial1.Chart = Me.Chart1

>>>

>>> Me.Financial1.Compression.Interval =

>>> SoftwareFX.ChartFX.Financial.WinForms.Compression.Day

>>>

>>> Me.Financial1.Gallery.Analytical.PriceDisplay =

>>> SoftwareFX.ChartFX.Financial.WinForms.PriceDisplay.Close

>>>

>>> '

>>>

>>> 'Panel1

>>>

>>> '

>>>

>>> Me.Panel1.Dock = System.Windows.Forms.DockStyle.Top

>>>

>>> Me.Panel1.Name = "Panel1"

>>>

>>> Me.Panel1.Size = New System.Drawing.Size(808, 48)

>>>

>>> Me.Panel1.TabIndex = 1

>>>

>>> '

>>>

>>> 'Panel2

>>>

>>> '

>>>

>>> Me.Panel2.Controls.AddRange(New System.Windows.Forms.Control()

>>> {Me.Chart1})

>>>

>>> Me.Panel2.Dock = System.Windows.Forms.DockStyle.Fill

>>>

>>> Me.Panel2.Location = New System.Drawing.Point(0, 48)

>>>

>>> Me.Panel2.Name = "Panel2"

>>>

>>> Me.Panel2.Size = New System.Drawing.Size(808, 462)

>>>

>>> Me.Panel2.TabIndex = 2

>>>

>>> '

>>>

>>> 'ViewFX

>>>

>>> '

>>>

>>> Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)

>>>

>>> Me.ClientSize = New System.Drawing.Size(808, 510)

>>>

>>> Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.Panel2,

>>> Me.Panel1})

>>>

>>> Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)

>>>

>>> Me.Name = "ViewFX"

>>>

>>> Me.Text = "ViewFX"

>>>

>>> Me.Panel2.ResumeLayout(False)

>>>

>>> Me.ResumeLayout(False)

>>>

>>> End Sub

>>>

>>>

>>>>

>>>> 3) What is your choice when you are at the first screen?

>>>> Best way to do this is check the tool tip as you hover over the mini

>>>> chart

>>>> It 'should' be one of these values:

>>>> High-Low-Close, Open-High-Low-Close, CandleStick, Three Line Break, or

>>>> Point and Figure

>>>>

>>>

>>> I have tried all of them and still no luck.

>>>

>>> Thanks

>>>

>>> Bojan

>>>

>>

>>

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...