I have written a PowerPoint Add-In and am working on the install package. I created the setup project and am trying to set a registry entry to the location that the application is installed (whatever that may be). I must do this to have access to the install directory as with COM add-ins all the application path properties in the Framework return *OFFICE's* application path, not my add-in's. So in the registry part of the setup I have set several static values but also want to set one that is dynamic based on the install location. Anyone know how to do this? --Tony Archer "I can build it good, fast and cheap. Pick any two."
Tony Archer
Posts
-
How Do I: Set the installed Path in the Registry from a setup project? -
How do I copy a file and display progress?Anyone know how to initiate a file copy and display the progress of said copy? I can't figure out how to use the CopyFileEx API and it's callback. That's the only way I've seen to do this. --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
Converting C++ project into COM objectI have a working C++ project which I wish to have encapsulated into a COM dll and not being a C++ developer myself I was wondering how much effort would be involved in something like that (in general) Basically I just want to provide interfaces into the work being done so .Open(FileName) instead of clicking File-Open in the app --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
How do I: Split an .AVI file?Hmm, not that helpful to me. Though admitedly I am a sad little C# newb :) HOWEVER, I used one of my valuable "Get the answer from a Microsoft dev" points and was given a C++ sample which does EVERYTHING and more that I need and quickly. The code (and much more) can be found on MS MSDN Here. You have to download about 130 or so meg of a huge file and then look search inside the file for "AVIedit." I hope this is helpful to some of you. I have the extracted source which zipped is only 36k so email me if you would rather not download the massive file. --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
How do I: Split an .AVI file?Hehe, I searched for everything BUT AVI. split avi cut avi edit avi just not avi. I figured I'd just get a bunch of "how to show an avi on your form" type results :)' Thanks! --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
How do I: Split an .AVI file?The question isn't how do I split it into binary chunks which are unplayable but rather, "How do I split it into multiple playable .avi files?" What I'm actually trying to accomplish is to cut a section out of an avi and have a shortened version which is playable. I also need this process to be fast. The avi's are in RLE format and their audio is PCM (if that helps). I also do not need 3rd party applications to do this it must be done within my app (even if I have to kluge a commandline to do it for me). Also, importantly, I need to be able to tell it from what point to what point to cut out...though that seems obvious to me. Thanks in advance for your help, you all are excellent! --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
Video Editing Component?VirtualDub is a stand alone application and therefore does not meet my needs. My whole purpose is to take a convoluted process with external programs being used and tie them into one easy interface. After spending all night working on it, the components from NCTSoft do not synch up nicely. Their audio editing component is nice. and their video components do what they were intended for, but it is nigh-on impossible to get them to synch without a slight delay between the two. Anyone know of another video editing component? I have 20 days to build this project (rediculous, yes?) And therefore would MUCH rather not have to build something from scratch. --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
Video Editing Component?Thank you. I'd looked at their audio editing component (which does exactly what I want, by the way) but hadn't taken a hard look at their video studio component. Your post convinced me to look at it closer and it will do what I need. THANK YOU! For anyone else this company makes many multimedia components as ActiveX DLLs They also have a few .NET components. http://www.nctsoft.com/ NCTVideoStudio - video editing NCTAudioStudio - audio editning NCTAudioEditor - a drop down audio editing control (very nice) NCTImageStudio - image editing (haven't checked it out) NCTPhotoStudio.NET - ?? image processing (haven't checked it out) NCTSWFProducer.NET - Make macromedia flash files. (haven't checked it out) NCTFinancialChart.NET -?? NCTDiscWriter - burn dvd's / cds from what I can tell (haven't checked it out) NCTDialogicVoice - ?? looks like some text to speach thing, but I'm not sure --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
Video Editing Component?Ok, sorry, let me specify. I need to be able to cut/paste sections of an avi file (including sound). Select sections of it and play just those (to preview it) etc. Imagine most wave editors, but add the video element to it as well. Small request, isn't it? :) --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
Video Editing Component?Does anyone know of a control, activex component or otherwise which allows one to edit AVI files and their embeded sound? I have a time sensitive project of which that will be a part. I need to be able to embed the interface into my own but would rather do as little work as possible on the actual editor (due to the time constraints). I would also rather buy a fully supported component than a free one-off project (uless its REALLY robust) --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
MS Office Add-In's: Need References...Oops, no I typed the wrong letter. I am well aware that they all compile to the same thing and use the same object structure. I meant VS as in Visual Studio Add-Ins. I am interested in Office Add-Ins. Specifically Power Point. I cannot seem to find many docs on automation of powerpoint (or office in general) from .NET I already wrote an the add-in, so now there is an extra button on the toolbar when I run Power Point. The button when clicked opens a custom form but I am having trouble finding documentation on how to interact with Power Point from that form. Specifically, - How do I get a reference to the power point application so I can set my form's .owner property (or .parant)? - How can I programatically make power point go into full screen mode? - How can I read/set notes for specific slides in the current .ppt file? --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
MS Office Add-In's: Need References...So my original question remains. All the articles I saw were for vb add-ins. --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
MS Office Add-In's: Need References...Ok, haven't read them yet but just noticed there are quite a few articles listed under Add-In's on the main page. PS to webmaster (the search functionality could stand a tweak I think) --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
MS Office Add-In's: Need References...I've developed a Power Point add in which works well enough right now (except it doesn't interact with PowerPoint (other than the button on the toolbar) yet. :-D Essentially it automates some background processes for the creation of some multimedia. In any case I've found it very difficult to find good articles and/or code examples out there for actually manipulating powerpoint itself (or any other office app for that matter). Perhaps I've been entering the wrong search criteria...I don't know. In any case the C# Code Project community has been VERY helpful in the past, so I just wanted to ping your # minds for some reference materials be they web sites or books. I *have* found several books out there but have not yet had a chance to look any of them over. So any recommendations would be great. --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
Changing the fugly Setup Wizard icon in MSI files.Thank you. Modifying the form's graphic will do fine for my purposes. Just didn't want it to look too crappy :) --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
Changing the fugly Setup Wizard icon in MSI files.Can one modify the icon shown in the setup wizard easily? is there a property somewhere for this that I'm missing? --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
I have msdn'd and googled but its still not clearFirst, some actual resources for those willing to learn to research :) Read This Now step by step: Read the article called "Using Visual Studio .NET 2003 to Redistribute the .NET Framework" Download the plugin for VS 2003 NOTE: You will not notice anything visibly different with your installs. There's no pretty wizard or anything. However, when you compile your application you will notice that the setup contains the dotnetfx.exe file in it as well as a few others. You can zip up the whole lot of 'em and just have users run setup.exe Of course by doing this your distribution size just grew by 23 megs or so... --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
Help: Outlook Add-In. How do I set the button icon?Heath, You absolutely ROCK! It was actually the C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Office.dll that was missing. I sent it to my boss, he put it into the install dir for the project and POOF everything worked. Guess I have to manually set copy local to true. I would have thought that VS would recognize if something is not a standard Framework file (as VB6 does with com components) Oh well, that won't happen to me again. Reading that article you linked me to now. Looks promising. Thanks! --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
Help: Outlook Add-In. How do I set the button icon?I have written an add-in for Outlook which adds a button to the toolbar. It works great and now I'm trying to tweak it. I cannot for the life of me figure out how to set the icon next to the text. I've tried several suggestions I've seen on the net to no avail. Keep in mind that there is no form for the plug-in that is loaded until AFTER you press the button. Note: The project is actually written in VB. Why in the world would I post in the C# forum? Because all the good people are now using C#. If you don't know the VB equivalent code, no big deal I can read C# well enough. Also, what distribution files need to be included (other than the 1.1 framework)? It installs great on my two machines running power point 2003 and power point 2000. However, both machiens have the development environment already on them. I sent my manager the .msi and he installed and says the button is not there. So I'm guessing some dependancy is missing. --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
Storing multi paragraphed "Memo's" in a database (Access)This is the definitive answer. TextArea boxes in forms generate vbCrLf's (carriage return line feeds) every time you hit enter. So 2 hits of the enter button and you have a new paragraph. Well, sounds like you're just storing the raw data into Access and then pulling it out onto the page. IF you do that there will be no formatting displayed. But if you look at your source you will see that the returns are there. So, what you do is leave it formated as is in the database. Change the display page code to look like:
<% myData = rs.Field("somefield").value 'The below line could just replace with a "< B R >" but I like to keep the return as well as it makes for easier reading of the source code myData = replace(myData, vbCrLf, "< b r >" & vbCrLf) response.write(myData) %>
Obviously the < b r > has no spaces. it wasn't showing in the paost without them. --Tony Archer "I can build it good, fast and cheap. Pick any two."