Use our Google Custom Search for best site search results.
Search
-
And if you try to design a brand new form with code ?
-
It sounds a little weird ! Can you try this :
try to create a code project, load VSTA (don't put any code) and tell us how fast it is?
try to do the same but on another computer if it's possible.
-
Hi, your C# project is not so big and when a client load your form he just load a Dll include on your form template. Can you make a copy of the code and remove the code from "form options", "programming".
And tell us if your form load quickly ?
-
If you try to open your form with rich client, it will work because the client infopath will launch the code but with browser form the command is just load on the server so the URL is openning on the server.
-
Ok no problem, I supposed your code is C# or VB (compatible2003)
-
Hi,
Do you use code on your form ?
can you attach your form template (when you reply just click on option and upload your file template...)
-
Hi, do you want to use browser form or rich client form?
To see if it's the code is the problem can you remove this line and tell us if ithe form load slowly :
UserDomain = System.Environment.UserDomainName + "\\" + System.Environment.UserName;
-
Hi, on browser form the code: System.Diagnostics.Process.Start("url"); will just work on server, if you try to use that on client, it will open your url just on the server.
-
Hi, as Jimmy said you have to use relative Xpath:
string EmplID = rows.Current.SelectSingleNode("EMPLID", NamespaceManager).Value;
instead of
string EmplID = rows.Current.SelectSingleNode("/dfs:myFields/dfs:dataFields/tns:GetEmployeeDataResponse/tns:GetEmployeeDataResult/NewDataSet/EmplEdu/EMPLID", ...
-
Hi Tariq, there is no way to disable a control with code. You can do a conditionnally formatting to set a field to read only.