I have iinherate a vb.net application that has died with the new windows 10 update. It was using the graphing package
DataVisualization.Charting. Somehow I get an error that says it is not defined. I'm thinking that i have to re-register this but have forgotten how. I know is is simple but...
Somewhere along the line my "System.Windows.Forms.DataVisualization" namespace is no longer recongized. The only thing I can think of is there was a window 10 update. How do I get this re-register or whatever the proper term is.
Many thanks
I'm still looking for a better way - in the mean time I found that I can clear the the series and then rebuild the entire chart. Not pretty but it works
I am using system.windows.forms.datavisualization.charting. But I'm not using data binding. I populate several series on a given chart from several sources. All I want to do is change some of the initial conditions and see what the graph will look like.
Thanks
It may be obvious but I missing it.... How do I reset the chart so that I can use new data for the same control. I have tried the disposed method without luck. Any help would be appreciated.
Sorry,
Here is the actual connection string
Data Source=D:\Projects\WorldData\Country.accdb; Provider=microsoft.ACE.OLEDB.12.0;
I have tested, via File.Exist to make sure the file is in fact there. I have also added the "Persist Security Info" parameter with no effect. The crazy thing is...
probably missing the obvious -- but don't understand your response. I've traced the CnLocalDB object and it clearly identifies the connection strring but fails to open
Here is the code --- I've tested to see if the DB file exists and it does -- I have, (I hope) it is a simple oversight - but for the life of me I can't see it.
Imports System.Data.OleDb
Imports System.IO
Module BasicModule
' data reader information
Public CnLocalDB As New...
I'm running out of options. I have a visual basic 2008 program that uses an Access DB with no problems. DB opens any I perform many queries
I recently tried to use another Access DB and the connection fails to open each time. Both DB's are the access-2007 version.
Are there certain options in...
I'm using the chart control, pretty cool. The problem I'm having is that I need a way to clear the chart so that I can put in a new set of data in. Currently my code just keeps adding additional lines.
I've looked and looked and can't find something like .clear or .reset
Any help would be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.