I need to write an event listener which will execute my custom C# code while uploading a document in the list. For example, When I upload a pdf document ( which is having some editable text fields ) in a list , my c# code will write some information to the pdf and it will get attached to the list.
Can someone guide me to the right direction ?
I understnd this is connected to your question yesterday. You have also mentioned that you don't have any experience working with c#.
This MSDN Page should get you started but I strongly advise some developer to help you if you don't have any experience working with ShrePoint.
This is the nice place for you to get started, this link details about what is an eventhandler,when to use it & its types.
Refer this for example on Attachment Events.
Both the above links are 2007 but it holds good for 2010 as well.
Related
Can someone please tell me how I can get the VBA IDE icons files [pictured]
I have spent the last several hours trying to find a way to expose them via FaceId all the links I have found are either for making a ribbon or a form with the faces on there I just want the files.
Google wasn't my friend this time, even with the advanced search tools where you can specify the type as an icon
I used the BeCyIconGrabber as detailed in the comment from #Vegard from How to Geek
Still took a while to find what I was after, I also found this which has some of the icons I was after.
I have a few custom functions that I'd like to add to my custom tab and group in the ribbon bar. I'd like to use a custom image I created and took a snapshot of (.png). I've seen a few websites that explain how to do so, such as this one,this one, and this one; however, this is way over my head and I'm not even sure where to put the code to insert the file. Can anyone help me understand this better?
Any help is appreciated!
the thing that I was looking for was an XML editor. I found more specific instructions on an Excel Add-in website. Thanks anyways.
I've taken a look at the Apple docs for creating help files that use the built-in help menu at the Apple doc site. I think I have a pretty good grasp on the concepts, as long in the tooth as they may be. I searched a bit further on the web for a shorter tutorial-ish way to do something, in my opinion, rather simple. I found a bunch and most describe a process found here.
However, for the life of me I can't get it working on 10.9 using Xcode 5.0.2. I have created the help files, added the Apple hooks in the header of the html file, run the Help Indexer, added the files to Xcode, and added both CFBundleHelpBookFolder and CFBundleHelpBookName to my Info.plist. The help menu item opens Help, however it does not open my help file. I get a page that says "The selected topic is currently unavailable."
Does anyone out there have a better tutorial to create a very simple help book and get it working?
I understand your confusion. When I first tried to add a Help Book to my application, it never seemed to work, but eventually using the Apple Help Programming Guide it got there. I found I had to actually install the app into /Applications before the system would find it. (I am not sure if this is strictly necessary).
NOTE I am not sure the link you listed is correct. The Apple Help Programming Guide states:-
Select the help bundle in the Add Files dialog and click Add.
Select the “Create Folder References for any added folders” radio button and click Add
PS I suggest you examine the Package Contents of your app, and check that it actually does contain the Help Book.
First of all, I am developing an application in VB.NET, till yesterday it was all good. I saved the project and closed it, now when i started working on that application, i found that there was no way to open the UI area for the application. I am able to see the code behind it i.e. on dashboard.Designer.vb but not the UI. I am able to see the the application after running it using F5. What would be the possible reason for it, and how i can solve it.
Secondly, i tried to find search a lot for this tool but unable to get any, if somebody can tell me what tool is this or any similar tool, it would be of great help.
I was searching for long and found the answer:-
What we need to do is just add the following code in the blank dashboard.vb file
Public Class dashboard
End Class
And this will get the form back.
The second question was answered by #Code Gray
1. Outlook like sidebar and display in Outlook
2. Outlook navigation bar control for .NET application
Update2: For now, I'm considering saving a temporary copy of the document in html format to display it, but this kills my idea to show the user's real time affect on the document. It's just bad practice to re-save at every character input and reload the browser. So, I suppose this may just be impractical for now. I'll keep my ear to this thread for any answers that might arise. Thank you for your help.
Update1: The WebBrowser works for PDF, but not Word Documents for some reason. Instead of displaying in the browser control, it opens the document in word. This is apparently something having to do with file to program association within the operating system, but I'm programming this to work on machines besides my own. Therefore, I'll either need a work around, or a way to change the setting programmatically.
Interestingly, when I right click on a doc file, click Open With, and select Internet Explorer, it opens Word.
Original Question:
I'm writing a VB program that fills in
values within a word document. I'm
utilizing the Microsoft Word 12.0
Object Library as a Reference.
I'd like to provide a scrollable preview pane to my user that is within
the form he or she is using. It
would be even cooler if the user could
edit the document through this pane.
I've done Interop extensively, so I'm
well aware of how to write and edit a
Word document. I just want to put it
into a frame and preview it. I'll
probably try to select around the
document based on what is changing as
the user provides input so they can
see what's being changed and where.
Thoughts?
Thanks
Would the print preview not do this?
Edit: Removed previous answer since it's not recommended by MS.
This article talks about using the WebBrowser control to open OFfice documents instead
http://support.microsoft.com/kb/304643/
Okay, I'm answering my own question, but leveling up those that tried to answer. I've decided that the best solution is to actually open the word document, but keep my form's TopMost property set to True. Then, I can doc my form in the upper right, display the document being edited behind it, and select around to each point being manipulated. This effectively accomplishes what I was after.
Thank you to those that provided answers here. They led me to learn quite a bit of stuff.