-
Ok got it now,
this objMail.From = ''valid email address'';
must be a valid eMail address and also the next line was missing,
objMail.Attachments.Add(mailAtt);
That's it. Maybe someone wants to do the same. Hope this can help then.
Listen to Motörhead cos they play Rock'n Roll :)
-
For number 1, you should be able to add conditional formatting on the submit button that disables it until at least one check box is checked. The conditional formatting will like this like:
field1 = false AND
field2 = false AND
field3 = false AND
...
Disable this control
For adding more than five conditional statements to a control, check out ...
-
Hi,
Looks like the font of an activex controls are not changing based on the current table/form font.
Is there a way to set the font of an activex control to the font used in the table?
Also, XP theme is not applied to activex controls, is there any thing like a manifest file to enable XP theme?
Thanks,
Nick
-
Haha, ''master opinion'', thanks for the compliment, but I don't think I deserve it!
I also agree with Abhishek. If you're trying to do realtime data flow you will want to use a database, instead of a text file. You should be able to get much more performance this way.
This is what I see happening, you have two sections: The top section is a ...
-
Scenario:
Have a form that a user will fill out to request access to various IT applications. After filling out personal information name, office, telephone # etc. there are a series of check boxes that the user can check to request access to various applications.
On my form, I do have a submit button at the bottom of the form. When the user ...
-
Hi,
I am a newbie to this site and glad I found it.
I would like to use Infopath to drive a control CMS for a website using a connection like SQLXML or other HTTP interface. All I have really seen from Infopath is it saving an XML document or mailing it in office. The only use Infopath has for me is it I can create forms that talk to external data ...
-
Hi all,
kind of answering my on post. I think I am on the right track.
This is what I have so far:
One button with the functionality to browse your local file system (code below):
[InfoPathEventHandler(MatchPath=''CTRL1_5'', EventType=InfoPathEventType.OnClick)]
public void CTRL1_5_OnClick(DocActionEvent e)
{
IXMLDOMNode nodeText = ...
-
Thanks for the response Patrick. I will report back any solutions I find to my problem. Thanks again.
-
Hi Michel DEGREMONT,
You have to give Full Trust to the form,
after giving Full Trust to the form, you don't get permission denied error,
I hope this will help you.
K.Ramana Reddy
-
Infopath uses a username and password to access the SQL database so it needs to have been told both of these to access it.
Don't know if i understand the question properly but hope this helps