Ro0ke's Q&A profile
Visual Studio Tools for Office MS office automation - (AppID for PowerPoint to automate..)
Hi, Server side automation of Office is not recommended but I have to deal with it. I got the solution at this link. http://support.microsoft.com/kb/288366/ and it provides the registry values to set for word, excel and access as [HKEY_CLASSES_ROOT\AppID\WINWORD.EXE] "AppID"="{00020906-0000-0000-C000-000000000046}" [HKEY_CLASSES_ROOT\AppID\EXCEL.EXE] "AppID"="{00020812-0000-0000-C000-000000000046}" [HKEY_CLASSES_ROOT\AppID\MSACCESS.EXE] "AppID"="{73A4C9C1-D68D-11D0-98BF-00A0C90DC8D9}" Word and Excel automation is working. Now,I need the appID for PowerPoint which is missing in the article found in the link. Please let me know what is the registry value I have ...Show All
.NET Development Collection without duplication
I can't find a collection in the framework that doesent allow duplicated values. is there an alternative thanks in advance Have you seen System.Collections.Generics.Dictionary Its saves a pair of values at each index 1 is Key the orther is Value, Key is Unique and it cant be duplicated if your try to insert a duplicate it'll raise an exception!!! Best Regards, ...Show All
.NET Development What happens when I kill debugee using task manager?
What happens if the debugger is doing something and the debugee is suddenly killed by task manager I am trying to ensure that my debugger does not crash when this happens. What errors should I expect I want to emphasize that we do indeed consider this a valid scenario. The interfaces handle it, and the implementation of ICorDebug should be robust to it. At the interface level, when the debugee rudely exits: 1) An ICorDebugManagedCallback::ExitProcess callback will be dispatched. It may be delayed until all other outstanding ICorDebug callbacks ahve returned. 2) Other exit events (AppDomain unload, Thread exit, etc) may not be delivered in this case. But you will certainly get the exit-proces ...Show All
Visual Studio Express Editions Why do I need to sleep the thread?
The following code only works if thread.sleep in fitth line is 10000 or higher. Why is that Is there a way to better program when the web browser document, including all frames, is fully stored in the htmldoc Dim wbBrowser As New SHDocVw.InternetExplorer Dim HTMLDoc As MSHTML.HTMLDocument Dim iHTMLCol As MSHTML.IHTMLElementCollection, HTMLDoc = wbBrowser.Document Thread.Sleep(10000) iHTMLCol = HTMLDoc.parentWindow.frames.item(4).document.getElementsByTagName( "span" ) there may well be but I would consider using a WebBrowser control as it will be easier to handle as well as having a document_completed or something similar, event which w ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 360 controller
Hi there, Quick question about the 360 controller. Are there drivers that I need to install When I plug it into my machine it does not find drivers. Or can I not use it on my PC Thanks! Get a program such as WinRAR, Open the "Microsoft Common Controller 32bit.exe" installer with it, Manually extract all the contents, Enter the folder called 'update', Right click on 'update.inf' and choose 'install'. For me, add to this: Open device manager, choose "have disk" and select the xnacc.inf file from the extracted directory and it worked, just installing inf alone does not. ...Show All
Windows Forms status bar articles
where can i find articles for status bar management The Windows messages (WM_*), the events the StatusStrip control can generate or the actual text and/or language displayed on the status bar Please be as specific as you can be. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Completely confused
I recently downloaded XNA and took the video tutorials I could find, but every one of them seemed to have a diffrent version then mine. I found the XNA tutorial microsoft provided, and started following it. Right in the middle of it when I first started coding, it began to get very confusing. His coding was much diffrent then mine, and he was pasting in new coding. I began to fool around with it trying to make it as close to his as I can, but I just got more confused. What are the best tutorials up to date for an complete new person to game designing Here are a selection of sites offering tutorials that I found useful http://www.xnatutorial.com/ good video tutorials about c# and XNA he ...Show All
Visual Studio 2008 (Pre-release) hiding column/control
Hi, Just wanting to know if anyone has an example code (XAML) of how to hide a column or control - ie depending on a value of a data the control that binds to it will either be visible or hidden Thanks in advance. Regards, you can use DataTrigger and set the Visibility property to hidden or collapsed http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=698879&SiteID=1 ...Show All
SQL Server Multivalue Parameter SQL Server 2005 SP1
Hello, I've installed SP1 for SQl Server 2005 and I noticed that the option "Select all" on a multi value parameter drop down (using web browser) is missing. Even if I can see it on VS 2005..... Anyone can help me Thank you very much. Where did you find this information in Books Online Can you provide a link I'd like to take a closer look, because we also use this feature (which is admittedly funky) extensively. Joe ...Show All
Visual Studio 2008 (Pre-release) More documentation about dispatcher priority, please?
I've found only this documentation. -->1 -->2 Is there other docs around the web Are you able to order these properties list by priority I heard Send is the highest and SystemIdle the lowest one. Member name Description ApplicationIdle Operations are processed when the application is idle. Background Operations are processed after all other non-idle operations are done. ContextIdle Operations are processed when the context is idle. DataBind Operations are processed at the same priority as data binding. Inactive Operations are not processed. Input Operations are processed at the same priority as input. Invalid This is a ...Show All
SQL Server Need Tutorial for SQL Server Reporting Tool
Hi I need good tutorial for Sql Server Reporting Service . I m a beginner ...... Regards Niroshan Free training CD ROMs http://www.appdev.com/promo/freecd.asp PC=SN00031 Videos http://content.ricksql.com/content/ Google http://www.google.ca/search q=reporting+services+filetype%3Adoc+rendering&hl=en http://www.google.ca/search hl=en&q=reporting+services+filetype%3Adoc+handson&meta = cheers, Andrew ...Show All
SQL Server Simple why doesn't my time dimension aggregate question
Hi all, I have a simple time dimension - it has a unique key JUST for the lowest level (months) then orders itself by text for quarters and years. Its the first AS2005 Time dimension I've built, however, its not aggregating from the leaf level (months) up to quarter and year. Is there a setting, property I've missed. Seems rather than simple. Note I've mapped Year to the Years property, likewise Quarter to the quarters and months to the months. Any help would be appreciated. Thanks, Mark If it is only the one dimension then the calculate statement is not your problem and adding a second one would not help (in fact it could introduce other issues). There are quite a few different situatio ...Show All
SQL Server SQL Reporting Services WS - check user input
Hi, What is the best way of ensuring that users of a report entere data in all the provided input boxes I have written a vb function that checks the above requirement – but when I deploy my report and use a Reporting Services WS to retrieve the data the function no longer works. Any ideas any body Thanks Then you probably would need to built a custom web site before calling the Reporting Services. That customization is not supported in Reporting Services. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server Can't define a Named Set across Dimensions for use in Pivottable
I have an accounts dimension and two related dimensions ([Date Account Created] and [Sales Region]), where each account has one associated date account created and one sales region. I am looking for a way to define a named set that gets created with the cube that will give me "Accounts Created in Last 30 Days from NorthEast and MidAtlantic". More specifically, I want to get the set to show up in Excel 2007 so I can easily select that set to narrow my analysis/research. The problem I've been seeing is that I can't create a set that shows up in the Accounts dimension whenever I use other dimensions to define the set. Here's what I've tried. Any help/advice would be great as I feel I'm missing something basic. ...Show All
SQL Server fuzzy lookup taking too much time
I have a SSIS package where a small table of 270 rows are fuzzy looked up with a table in another sql server and inserts the records to a temporary table. This takes more than 3 hours in debug mode or so and never goes beyond this step.I have used a OLE DB destination to insert to temporary table and temporary table doesn't get a value. How big is that other table The fuzzy will build an index to start with, and this can take time. Review the options on the second tab to influence the index. Also check obvious things like blocking or such like What about a profiler trace, anything untoward ...Show All
