I'm wondering if any of you know what is the maximum number of .NET Framework CLR Runtimes that can be installed on a computer ?
I'm writing an application, that loads a specific Runtime, and, the first function I wrote enumerates through the installed Runtimes, using the ICLRMetaHost, IEnumUnknown, and ICLRRuntimeInfo interfaces. This function works correctly (I have two installed runtimes on my computer).
Thanks for any information.
Richard Deeming and Dave Kreskowiak,
Hey, thanks for the information. Yeah, I should have mentioned either 32-bit or 64-bit versions (my app is a 32-bit version running on WOW64). More than anything, I'm just curious,...
I got new project that I need to finish asap and I'm almost done, my app is working perfect but now I have problem which I have to fix asap. Problem is with connecting to mysql database ( remote ). My database server is installed on one server which have static IP, given by my routers DHCP, and i dont have any problem connecting when im in my WORKGROUP. now my question is, is it possible that i predefine in my connection string so i can connect to that database when im at my home ( so i do not have to connect to vpn manualy ). ?
here is my conn string
dim konekcija as new sqlconnection
"Data Source=SERVER IP,PORT;Network Library=DBMSSOCN;Initial Catalog=MYDATABASE;User ID=USERNAME;Password=MYPASS;>"
If you're talking about connecting to your MySQL server from outside of your network and you need to connect VPN first to get at it, there is NOTHING you can put in the connection string that will change that. You will still have to connect VPN manually first. The DbConnection objects don't know anything about connecting a VPN first.
My application creates a chart in Excel, then exports the chart as a .png file.
It works fine the first time i generate a chart, But when i do it a second time i get this error.
An unhandled exception of type System.Runtime.InteropServices.ExternalException; occurred in System.Drawing.dll
Additional information: A generic error occurred in GDI+
Code where i get an error.
Dim workbook AsNew Workbook()
Dim sheet As Worksheet = workbook.Worksheets(0)
Dim imgs As Image() = workbook.SaveChartAsImage(sheet)
imgs(0).Save(String.Format("img-0.png", ImageFormat.Png)) 'Gets first chart from excel (Error on this line)
Me.PictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
Me.PictureBox2.TabIndex = 1Me.PictureBox2.TabStop = False
PictureBox2.Image = Image.FromFile("img-0.png")