-
Hi Qwer and welcome to our forum!
How much code do you have? I agree with Franck that converting to managed code is a good idea. VB.NET should do the trick.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Franck - you rock dude! Prizes start at 500 posts.
:)
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Innovision and welcome to our forum,
I think it's bad practice to close the window on open since it could lead to a flashing behavior and bad user experience - i.e. they won't understand what happened. Better to switch them to a view and say ''You don't have access to this form'' or something like that. You'll want to disable save to prevent ...
-
Hi Tim and welcome to our forum,
Good question! I worked on the Windows Common Dialogs back in NT 3.1 and 3.5 days (early '90s). They have gone through several changes since, but they are available as part of the operating system. You'll want to search MSDN/Google for ''Windows Common File Open Dialog'' or something like that. It will require ...
-
thanx vt_asparagus by ur comments,
but my problem i thought is the next.
my two methods are:
<WebMethod()> Public Function RetrieveDataTyped(ByVal id As Integer) As DataSet
SqlDataAdapter1.SelectCommand.Parameters(0).Value = id
SqlDataAdapter1.Fill(DsTyped3)
Return DsTyped3
End Function
<WebMethod()> ...
-
Hi,
No there is no access to button show/hide property by code. In your case, why don't you use conditional formatting with user role instead?
Regards,
Franck Dauché
-
Hi,
I was wondering if I can hide a button through the managed code (VB)? I know I can do it in InfoPath but I would like to display my button for only specific users which I would check during OnLoad event.
If there is no access to button properties using code I can always create an additional view without a button and swich to that view ...
-
Hi Matt,
OK, I'll forward to MS.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
The InfoPath SDK is one of the best resources. It has several Access examples. There may also be an Access example on the MSDN labs site. Go to Resources on our site and search for the link. Cheers!
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Could you verify the error message that you are getting? I have not seen that one before.
As for you second comment, in your web service you can add a parameter your your web method. For example an int for ID. Then in InfoPath:
- Make a connection to your web service and method with the ID parameter
- Then go to your data source task pane and ...