i have problem to insert path file into an array and listview(detail) using open file dialog wit multiselect property, please give me sample to make it?
View Complete Post
I am getting error in here
987 is where i put clientname.text
Dim objCmd As New SqlCommand("Create Table " + clientname.Text + "(name
Varchar(50), event Varchar(50), date1 datetime, username Varchar(50),
password Varchar(50), " + strCommandText + ")", objConn) objCmd.CommandType = CommandType.Text objCmd.ExecuteNonQuery()
Dim objConn2 As New SqlConnection("Data
Catalog=mrpoteat; User ID=xxxxx; Password=xxxxxx;") objConn2.Open() Dim strCommandText2 As String = "" For index2 = 1 To Attachments1.Items.Count Step 1 If String.IsNullOrEmpty(strCommandText2) Then strCommandText = "@pic" + index2.ToString() &
I have an InfoPath web-enabled form in MOSS 2007, that is integrated with a K2 blackpoint process for an approval workflow.
Once the form (a Purchase Order request form) has been approved in the K2 workflow process, I switch the form view to a "print-friendly" view for the requestor to view from the browser. However, now I need to go one step further with this scenario:
1) I need to somehow insert/embed an image with the scanned-in signature of the approver (likely stored in a SP doc library) at the signature line section of my form. Also, what are the security requirements for storing such images, but not granting
all users access to these (e.g. only services accounts that need to access this for embedding into the form, etc.)?
2) Then I need to convert this final "print-friendly" view of the form (with the signature image) to a PDF document so that I can store it in SharePoint (and email it to the requestor using K2's email event capabilities).
Can anyone help me with a solution to both of these requirement, or point me to some resources for this (even 3rd party components are open-game).
How to upload file attachements from info-path forms to Sharepoint document library?
I need to add attachement from local-PC/Any User to Sharepoint Document Library.
Any help please?? Appreciated
I'm programatically looking ito a .aspx file and getting the file class name declared in its CodeBehind. For example, when analyzing myFile.aspx I read in its Page Directive and found its CodeBehind equals "myApplication\myPage.aspx.vb". Then I use the code below:
Dim Assm As System.Reflection.Assembly = System.Reflection.Assembly.LoadFrom("myApplication\bin\myApplication.dll")
Dim ClassType As Type = Assm.GetType("myApplication\myPage.aspx.vb")
' myBaseType = "myApplication.Forms.BasePage"
Dim myBaseType As System.Type = ClassType.BaseType
Now I want to read the BaseFile (class = myApplication.Forms.BasePage). However, to read in this file, I need I need to get its full path instead of its namespace.class hiearchy. In this case, the BasePage is wrapped in a different namespace declaration thus I cannot just change the '.' to '\' in order to get the path.
How can I get the path of BasePage so I can read it? Thank you - Frank
My problem is this, i have a nested listview that works fine but if i need to do an insert and the nested listview dont have retrived any values (that is no posts created) i cant get hold of the fk that i need. If i put a hiddenfield in the parents listview with the fk how can i find it in codebehind when i do an insert?