Changing FormCode.VB to C# Code

R

R Tanner

Hi,

I should probably say I am brand new to InfoPath and I don't know C#
that well. (Although both of those facts will be changing very
quickly). But anyways, I went to VSTA and it opened up FormCode.vb.
I want to start programming this form in C#, so I can get practice
with it. I am pretty good with VBA, and I don't think VB is that much
different, so I'm trying to learn C#. So how would I change this to
C# instead of VB?

Thanks..
 
R

Rajitha

Hi,
You can do this in the following way.
1) Go to Tools-> Form Options -> Programming
2) Select C# from “Form Template Code Language†drop down under Programming
Language section.
3) Click on OK.
Hope this helps.
 
R

Rajitha

Hi,
You can do this in the following way.
1) Go to Tools-> Form Options -> Programming
2) Select C# from “Form Template Code Language†drop down under Programming
Language section.
3) Click on OK.
Hope this helps.
 
S

Swathi (GGK Tech)

Hi,
To change the language, follow the below steps.
1.Open the form in design mode.
2.Go to Tools -> Form options -> Programming.
3.There select c# in Form template code language drop down.
4.Click ok.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top