Answer Questions
Plago Populating a VisualCollection from a background thread
Hi all, I have a UIElement whose child VisualCollection I'd like to populate using a background worker thread. BackgroundWorker initially seemed like it would do the trick, but I haven't been able to get it to work correctly. What is the proper way for me to declare/scope/use my UIElement so that I can populate the VisualCollection in Thread "B" and when the work is complete, actually use said object in the rendering (UI) thread Right now I'm running into thread affinity issues. BackgroundWorker.RunWorkerCompleted allows me to return simple data back to the UI thread, however attempting to return my UIElement generates an exception when I try to access it's members, since it is 'owned' by the background thread. Is there ...Show All
nagual20 Is database necessary to generate report
Hello, Members I want to generate a REPORT when user click the submit button.Clearly... I will place two textboxes with Name Ph No when I click SUBMIT button It must generate a report displaying two fields. Is database necessary to generate report Help me..please... Sincerely, bharath. If you do not want data from a database you do not need one when creating the report. You can just choose a blank report, and cancel the database part. and you can use parameters if the values for your report will be coming from the users ...Show All
smarr Q about installing VSTO SE
I have just downloaded the latest VSTO SE It says that if you have previous versions such as the v3 CTP you need to restore the PC to an earlier restore point I have got the following installed in Visual Studio 2005 but how can I tell if this is the v3 CPT or something else Microsoft Visual Studio Tools for Office 77646-008-0000007-41359 Microsoft Visual Studio Tools for the Microsoft Office System It also appears in control panel / Add Remove programs, is it OK to un-install it from here or will I really need to reinstall my PC and VS 2005 It's been a couple of months since I uninstalled ctp 3, but I believe that it was so labelled in Add or Remove Programs. I did uninstall from the Control Panel, in ...Show All
pratyusha kothi Installing VS2005 on Vista Business: Error in installing MS Document Explorer 2005
I downloaded the Windows Vista from MSDN and installed it successfully but when I attempted to install VS 2005 (Team Edition for Software Architects) It failed due to the following error: The following components failed to install: - Microsoft Document Explorer 2005 And the log shows the following detail: [11/19/06,21:11:28] Microsoft Document Explorer 2005: [2] Error code 1603 for this component means "Fatal error during installation. " [11/19/06,21:11:28] Microsoft Document Explorer 2005: [2] Setup Failed on component Microsoft Document Explorer 2005 [11/19/06,21:11:35] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper() with HRESULT -2147023293. [11/19/ ...Show All
Ryan Carlson Purchasing Visual Studio 6.0
Visual Studio 6.0 is no longer available on my MSDN Universal subscription. Is there any way to get a legal copy of it via a MSDN subscription or being able purchase it separately Don't ask me why I need it... ;) Unfortuantely, Microsoft officially stopped supporting Visual Basic (and therfore Visual Studio) 6.0 back in early-mid 2006. If it is not available from your subscription and you did not burn a copy to cd you are out of luck on that avenue. You may be able to find it from a software discounter. Some avenues you mght try include: www.newegg.com www.zipzoomfly.com If you are in school your university or educational institution may have acccess to a copy that could be used. Make s ...Show All
AndyL app.config
I have a managed dll C# code that is called from non managed C++ using the COM wrapper. this code initializes a servicesHost for WCF Uri baseAddress = new Uri ( "http://localhost:8080/BOSDcm" ); Console .WriteLine( "inside StartListening" ); m_myServiceHost = new ServiceHost ( typeof (WCFBOSService. BOSService ), baseAddress); m_myServiceHost.Open(); this works fine if called from a managed code, because app.config is reading correctly. but in my case I supose because the unanaged code does not loads app.config I got an execption. my question is: How I can force to load app.config so the ApplyConfiguration methods will find the correct data thanks, Dani. ...Show All
DINESH CHAUDHARI Performance question
If I understand the process correctly, accessing any Office object or property from managed code will suffer an interop penalty. I have ancountered this issue in my .NET add-in (IDTExtensibility2, Word 2003, .NET 1.1 SP1): It adds several items to context menus (and there are a lot of them!). A function that ran over all the context menus, found our items (by tag) and enabled/disabled them took over 10 seconds to execute. I had to replace it with a macro call, which ran much faster. Question #1: Is such a penalty unavoidable with manage code or did VSTO (any version) manage to improve it. Question #2: If C++/CLI native interop is significantly faster, is it possible to use it with VSTO and isolate areas that do a lot of COM ...Show All
vppsit SandcastleGUI v1.13 (freeware) available for download
Hi, SandcastleGUI v1.13 is available for download. The product can be downloaded from my website: http://www.inchl.nl The v1.13 version includes some new features such as: - Support for online MSDN-links. - Documenting of specified namespaces instead of entire assemblies. - Multiple output templates. - Multiple output types (website and/or .CHM-file). - Custom header (company logo and productname). - Custom footer (copyright line). - Custom images can be inserted into XML-documentation. - C# syntax formatted code examples (colors and code-folding). If you have any problems using the product, please send me an email. Kind regards, Stephan Smetsers stephansmetsers@hotmail.com ...Show All
Shawnk unified binding root limitation in Visual Studio 2005 ?
There is a known limitation with the source control binding root in VS 2002 and 2003 (http://support.microsoft.com/ kbid=896702). They claim on the above MSDN page is that the limitation does not exist in VS 2005. However, I am running 2005 and I have just seen this issue when I tried to add some header files from a folder that is a sibling of the folders my current project is in. The new files are shared from a different project and I really don't want to move them. VS 2005 pops up a dialog that says "Some of the files you are adding are outside the project's binding root, etc. etc...." Any ideas Thanks in advance. Mark Hi Mark, The article http://support.microsoft.com/ kbid=896702 refe ...Show All
R.K.S. Visual Studio 2005 error - The given path's format is not supported
When I attempt to create a new project in VS2005, I get a dialog box saying "The given path's format is not supported." It's a simple local path on my C: drive, and the folder DOES exist. I browse to a new location, just in case, and get the same error. When I attempt to create just a new file, I get "The operation could not be completed. The filename, directory name, or volume label syntax is incorrect." Just to be pedantic, I'd like to note, I believe that last comma is grammatically incorrect ... I believe that line should read, "The operation could not be completed. The filename, directory name or volume label syntax is incorrect." I had difficulty removing 2003 Ent Edition; I've had difficulty insta ...Show All
ginnyK error: Cannot obtain value
Hello, When i am debuging my application, i can't read the values of the variables used in the application. I see only the message: "error: Cannot obtain value" as the value. How can i fix this I use the tool visual studio 2005, vb .net and sql server 200. os windows xp Wouter I'm getting the same problem, using Oracle's ODP.NET. The value of an OracleParameter is shown as "error: Cannot obtain value", but a QuickWatch reveals that the internal value, as obtained from the database, is visible - it is just refusing to make it available in the pubic properties. This problem only started last week, but ODP and the .NET framework hasn't been changed... Is it possibl ...Show All
furjaw What does "Navigate to Lollipop" mean on my visual studio
Hi I am getting a disabled button on the standard toolbar titled "Navigate to Lollipop" . Can some one tell me what is this regards Vishal Just did a google on visual studio 2005 and lollipop and found out that it is to do with the class designer, where a lollipop comes up when a class implements an interface regards Vishal ...Show All
TinSoldier Orcas Jan CTP does not have the May 2006 LINQ CTP functionality, March CTP should!
I have seen a few qestions pop up about GetTable() not being public and a few other LINQ to SQL (DLinq) capabilities not being in the Orcas Jan CTP . The Orcas Jan CTP is an interim build which does not contain all the May 2006 LINQ CTP features. Those features are planned for the Orcas March 2007 CTP. For those who are curious about the process, here is how it works: - Each feature, whether shown before in a preview like LINQ preview or not, has to pass a bunch of quality gates. This is an interesting but intense process that takes a while. - As each feature passes the quality gates, it makes its way to a common branch which eventually builds the entire product with several dozen components. - Orcas CTPs are like trains with s ...Show All
Computer-Desk DataContract issue
Hi, I want to design a simple ServiceContract that has an OperationContract like this: [ServiceContract()] public interface IClientPublisher { [OperationContract(IsOneWay=true)] void Publish(object message); } I want to be as generic as possible here, I don't know who is calling me, all I have to do is save the message to disk. Is this possible When the client[1] invokes the method, I get this error There was an error while trying to serialize parameter message. The InnerException message was 'Type 'ConsoleApplication1.Order' with data contract name 'Order:http://schemas.datacontract.org/2004/07/ConsoleApplication1' is not expected. Add any t ...Show All
McWhirter Using Excel as a front end for data entry
I am interested in using Excel 2003 as a front end to enter data into an Access database using VSTO 2005. Can anyone be so kind to point me to some sample code or URL where I can get somemore information. I went through quite a number of examples on the web, but they all show data binding to display data. I need some help in writing code to enter data into a relational database. Thanks in advance. Hi Tom Just to be certain we're looking at the same thing: are you using VSTO 2003 or 2005 (My test was in 2005). Thanks Cindy. I will try that. tom Yup, that would make a difference - and more sense :-) It sounds as if this has something to do with how the TableAdapter was crea ...Show All
