Access visual C# in visual foxpro 9 - visual-foxpro

How do I access visual C# code in visual fox pro 9? I've a code in C# language and need to run it on visual foxpro 9.

Is your C# code in a web service? Visual Foxpro can make calls to XML web services. VFP support for XML Web services is handled through SOAP using WSDL. VFP comes with the SOAP 3.x toolkit.
Here is a good article that demonstrates how to use VFP to call a XML web service.

Related

Windows GUI Library for Office 2013-like windows?

Visual Studio 2012 and Office 2013 have in my opinion an amazing GUI. Are they built with some Microsoft library which is publicly accessible and usable; if so which one?
There is none. It's a custom Win32 C++ application with a ton of code.
The closest you can get without inventing your own controls is to create a Win32 application that uses the Windows Ribbon Framework. This is only officially accessible through plain Win32. The MFC and WPF versions are non-native look alikes. There is a .NET Windows Forms wrapper for the native Win32 Ribbon.
If you are after a library to duplicate the ribbon functionality in your own application you could consider using WPF and use the Fluent Ribbon Control Suite. This is almost identical to the ribbon found in Office 2010 in my opinion.

Can Visual Studio installe with ms sql server be used to modify a .net windows app?

I am trying to modify a .net written in visual studio 2008. However, when I loaded and try to build the website, I get a bunch of errors that several controls like firstname.text are not declared even though the app has been working.
It is possible that I am getting this error because I am using the BI version fo visual studio?
Thanks alot for all the help.
No it is not possible. If I understand correctly, you're using BIDS to modify a .NET project.
Business Intelligence Studio is a completely different program than Visual Studio (though they are based on the same editor). If you want to modify the .NET project, you will need an Instance of Visual Studio, not BIDS (Business Intelligence Developer Studio).

How do I create a Silverlight application in Visual Studio 2008?

I need to create a Silverlight application in VS 2008 for Win CE 6.0.
I installed VS 2008 SP1 and the Silverlight 2 SDK, and then Silverlight Tools for 2008.
However, when I open VS 2008, it's asking two options as follows:
Add a new ASP.NET web project to the solution to host Silverlight
Automatically generate a test page to host Silverlight at build time
I don't know which one I have to select if I want to build my application using C#.
If you want to add the silverlight output to an existing C# application, it's probably better to choose the second option. You don't need a complete ASP.NET webapplication.

Asp.Net Web Service Application missing in Visual Studio 2010 [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
VS 2010 Web Service project template missing?
I'm wondering why Asp.Net Web Service Application is missing in Visual Studio 2010. If it's updated to something new in Visual Studio 2010 what is it? If it's drop then how can I accomplish that task?
ASP.NET Web Service Application project template is not available for .Net framework 4.0, however, available for .Net Framework 3.5.
If you're building your application on .net framework 4.0, You can use WCF Service Application as ASMX in legacy. Please note that you'd need to enable AspNetCompatibilityMode to access HttpContext objects.
If you still want to use ASMX, choose ASP.NET Empty Web application and then you can add ASMX files to the project.
To create a ASP.NET Web Service Application in Visual Studio 2010 using the .NET Framework 4.0, first create a new project targeting the .NET Framework 3.5 (as the ASP.NET Web Service Application template is available for this version). Then right-click the project and re-target it to use the .NET Framework 4.0. Build, debug, done!
I too had the same problem when publishing web services from Navision. For that I created the project based on the .Net framework 3.5 (as the ASP.NET Web Service Application template is available for this version) in Visual Studio 2010 and it works fine for me.
I hit the same problem. It looks like .svc files are no longer necessary as of WCF 4.0, as Configuration-Based Activation will take care of this for you.

How to add WCF service reference in Visual Studio 2005?

What do I need to allow Visual Studio 2005 to add WCF service reference to a project?
I know I should just use Visual Studio 2008, but I'm preparing for a "what-if" situation where the client does not have VS2008 just yet.
If you want visual studio 2005 integration they have to have at least .net 3.0 installed. The client can then use svcutil.exe to generate the proxy.
Take a look here on how to use WCF in VS 2005 using the orcas extensions:
http://www.15seconds.com/issue/061130.htm
Alternatively:
From what I can tell MS never released a final WCF add in for VS2005, but the final CTP is still out there: http://downloads.zdnet.co.uk/0,1000000375,39328336s,00.htm
You can use that WCF add in instead of the more general and more beta orcas extension that is mentioned in the 15 seconds article. I believe the CTP will give you the "add service reference" option.
In this case, I think your best bet is probably to provide the already-generated proxy class(es) to the client.
The following is a post that will walk you through all the necessary to create a WCF service in Visual Studio 2005 including how to add necessary references:
http://tyblog.in/

Resources