Archive

Archive for the ‘Visual Studio 2008’ Category

A Comprehensive Example for Connection to SAP with Visual Studio 2008

January 9th, 2009

——————————————————————————-

Required :

  • Visual Studio .NET 2003
  • Visual Studio 2008
  • SAP Application Server [ Any acceptable version for RFC]
  • SAP .NET Connector 1.1 or 2.0 [ 2.0 is suggestion]

——————————————————————————-

As I promised in my previous articles, I will just explain the building stones of connection to SAP using Visual Studio 2008 development tool.

Before reading this article, I suggest my readers should firstly read my two articles. One of this article is for the basic explanation of .NET Connector in Visual Studio .NET 2003. And the second article is for explaining the logic of connection to SAP with Visual Studio 2005 or Visual Studio 2008.

In this article, we will use SAP .NET Connector 2.0 version. SAP .NET Connector is an add on for Visual Studio .NET 2003.  So, we need Visual Studio .NET 2003 development tool. After installing the SAP .NET Connector add on, we will create a ‘class library’ project in Visual Studio .NET 2003. Below, I showed this operation.

sap_conn_vis2008_1
Read more…

C#, SAP, SAP .NET Connector, Visual Studio, Visual Studio 2005, Visual Studio 2008

Free Chart Control for Framework 3.5 from Microsoft

December 20th, 2008

Finally, Microsoft has relased his own chart control. In fact, it is more truth if we say Microsoft bought Dundas firm’s chart controls. But, as a result, Microsoft has a chart control that can integrates his own developer suites. Now, we can say the nightmare of looking for free chart controls or using Excel chart controls via COM has just finished.

I had been using Corlos Aguilar Mare’s chart controls in my ASP.NET projects because of being free. Now, I feel that I have to thank to Carlos. ;)

I will give some basic knowledge about this control in this essay and complete this essay with a sample .

You can download this free chart control from this link. If you want to glance at some samples you can also reach them with this link.

Microsoft presents his chart controls in two different dll groups. The first dll group is for window applications and the second is for the web applications which will be implemented with ASP.NET. Install the first executable file called ‘MSChart.exe’ that I have referenced in first link. Later on installing, you will see 4 dll files under “…\Program Files\Microsoft Chart Controls\Assemblies” path. These dll files are:

  • System.Web.DataVisualization.Design.dll
  • System.Web.DataVisualization.dll
  • System.Windows.Forms.DataVisualization.Design.dll
  • System.Windows.Forms.DataVisualization.dll

As I mentioned just before, there are 2 dlls for windows applications and 2 dlls for web applications and therefore, there are 2 dll groups totally. The dll files that start with ‘System.Web’ is for web group and the dll files start with ‘System.Windows’ is for windows group.

You can drag and drop these dlls into toolbox of Visual Studio or you can install another add on that is developed for Visual Studio 2008. You can download this add on via this link. When you downloaded and installed, you will see a control named ‘Chart’ underlying ‘Data’ tab of toolbox. An important point, it is not possible to use the chart control of add on without installing MSChart.exe file. But, this add on is not absolutely required. If you install MSChart.exe and if you drag and drop the dll files that I have mentioned above into toolbox is an another solution to use chart control.

Before stepping to my sample, let’s look at the examples of ‘WebSamples’ that I have mentioned above.

Read more…

.NET Framework 3.5, C#, Chart Control, Visual Studio, Visual Studio 2008