pdurbha's Q&A profile
Visual Studio Tools for Office Deplyment of VSTO project with proper security
Hi, We have a VSTO 2005 tools for office application which internally refers some .NET 2.0 assemblies. Now these assemblies are all private assemblies. While deploying my VSTO application in client's machine it's giving me security error. How can I deploy my private assemblies with proper security so that our VSTO application can execute with thise private asemblies in different machine I have gone through an articale in MSDN "Deploying Visual Studio 2005 Tools for Office solutions using Windows Installer" but it says only about public assemblies not about private assemblies. We cannot make our assemblies as public assemblies since we are referencing Microsoft's applicationblock for exception handling which are private assembl ...Show All
Game Technologies: DirectX, XNA, XACT, etc. EULA question
I'll buy MS Windows Vista in near future. The new software is installing on the same computer with current XP. XNA GSE EULA: "1. INSTALLATION AND USE RIGHTS. You may install and use one copy of the software on your device." Q: What does a "device" mean if i have a multiboot system If I have one HDD per OS it is illegal to install XNA on both XNA GSE EULA: "12. ... You can recover from Microsoft and its suppliers only direct damages up to U.S. $5.00." XP Home up to $5000. No comments. In any case for a quick glance nothing more, no contradictions as in XP EULA are. ...Show All
SQL Server in SQL2005 standard & Enterprize editon and Replication
Hi All, I like to know that in SQL2005 how many replication sides we can create for the same database. Can we create more that one are only one for each database. 1: SQL2005 Standard version Database 2: SQL2005 Enterprize version database Thanks ...Show All
Visual Studio Express Editions Scheduling a procedure
I need to run some code at a certain time. I can do a While loop controled by a Time variable, but I think that that is too inefficient. What is the best way to do this I have something in mind like the Application.OnTime of VBA. Thanks, Antonio At the moment I am using While timestart- Now.ToUniversalTime > System.TimeSpan.FromSeconds(120) Sleep(5000) End While Is there a better way to do it ...Show All
SQL Server SQl Server CE database connection issue
Hi, I have created my sql mobile database in c drive ( c:\SQlMobile\sqlmobile.sdf).now when i try to connect it with following code, it gives "The path is not valid. Check the directory for the database" error. i have tried all path options but no one is working.please help me. ( i am using visual studio 2005 and SQl server mobile) code: SqlCeConnection ssceconn = new SqlCeConnection ( "Data Source=c:\\SQlMobile\\sqlmobile.sdf;Password=XYZ11!@#" ); ssceconn.Open(); MessageBox .Show( "Ok" ); ssceconn.Close(); Try giving the database path in quotes. Modify the following line of your code from "Data Source=c:\\SqlMobile\\sqlmobile.sdf;...." to ...Show All
Visual Studio Team System Project->Tasks: bogus start dates?
So I have a fairly simple MSProject plan. I set up the tasks, assign to developers, input the work and get the calculated durations and, after leveling, start/end dates. All looks good in Project. Now I point it to a TFS project and do my Publish. All of a sudden, the Start dates for a handful of tasks get pushed out *months* from where they should be. For example, a task slated to begin in two weeks suddenly gets a start date of next May (even though the entire project is complete by this December). On the GANTT, you see a line drom the previous dependency vanish off way to the right. Funny thing is that I can Clear the leveling and re-level, and the dates in Project are right. But as soon as I Publish, they screw up again. Same tasks, di ...Show All
Windows Forms When CheckForIllegalCrossThreadCalls == true, does the framework inform of ALL the control access errors?
Hello, When I set the Control.CheckForIllegalCrossThreadCalls to true, Visual Studio generates an exception each time I try to access a control from a thread other than the thread on which the control was created. However, in some cases this exception is not generated. For example, I am using the ComponentOne Chart ( www.componentone.com ), and I am able to update the graphs of the chart from another thread without Visual Studio generating an exception. However, in 1 case out of 10, an exception is still generated, by the control itself, although visual Studio does not inform me that I am accessing the control illegally from another thread. That is, is seems that the framework (Visual Studio) does not inform of ALL the illegal acc ...Show All
Visual Studio error MSB4018: The "ResolveNativeReference" task failed unexpectedly.
We are building a C# project that includes a C++/CLI 2.0 DLL. This DLL includes several native .LIB files. When we compile the LIB's and the DLL's we have no warnings or errors. When we add a reference to the DLL in the C# exe project and try and build, we see the following error - which we cannot find data on after searching around with google. Here's the error, please help! C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1202,9): error MSB4018: The "ResolveNativeReference" task failed unexpectedly. 3>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1202,9): error MSB4018: System.ArgumentNullException: Parameter "metadataValue" cannot be null. 3>C:\WINDOWS\Microsoft.NET\Framework\v2.0 ...Show All
Windows Forms BUG: ReportViewer "Page 1 of 1" when actually "Page 1 of 2"
First, I admit: This is a little difficiult to reproduce. We are about to deliver an application with the ReportViewer embedded. It has saved us a lot of time and heartache. Until yesterday. A user went into a report with "Page 1 of 2" but because they wanted to check something they refreshed, then they refreshed again and then again and then again. Suddenly, the viewer read "1 of 1" but there were really two - how do I know because I saved and it had more than one page, I printed and it had more than one page and I typed in "2" and it navigated to page 2. I can make this happen again and again - all I need to do is refresh quite a few times. It is not a regular number of refreshes, sometimes 2 som ...Show All
Visual Studio step into dll source
How can i jump into a dll source when debugging myproject i have added the dll to my project refrences and i also have the source code of that dll. The question is how can i assign the source code to related dll so that when debugging my project it is possible to step into my dll source. thanx in advance. abdolghadere bidele dehlavi molaghab be mirza talbboof Hi, The information on how a dll can locate the source code is contained in the <assemblyname>.pdb file (if you compile a project in debug mode, this file will be generated under the \bin\debug\ folder) Make sure this pdb file is in the same folder as the assembly. If you don't have the pdb file, you'll have to recompile the assembly in debug mode. Hope this helps ...Show All
Smart Device Development Drive mapping across WiFi in Windows Mobile 5 ?
Has anybody successfully mapped a network drive to a Windows server across WiFi with a Windows Mobile 5 device Please enlighten me on what you did to accomplish this as I'm getting the error message "The network path was not found" followed by "The network resource was not found, or you don't have permission to connect to the network." no matter what I've tried and I've even configured my Windows XP Home edition to share drives and still the same problem. I'd write HP an email. Do they have a developer site that the public can access If they do, and you haven't already looked there, look there first. ...Show All
SQL Server insert simultaneously in 2 tables
Dear All, I am not an expert on T-SQL and I am trying out a small project to learn. I have encountered a problem, whereby I have 2 tables, 1 containing the header (header_id, header_file, admin_menu_id and admin_submenu_id) and then I have another table called header_details, where I am storing the language details for this header, with the fields being (header_details_id, fk_header_id, header_alt, header_caption and fk_language_id) Now I want to create a stored proc, first to insert the header and then the header details. I also want that if the header or header details already exist, I just do an update on these tables. I tried the following code but its not working:- ALTER Procedure [dbo].[INSERT_Header] ( @admin_menu_id int, ...Show All
Visual Studio 2008 (Pre-release) DataContext
What is the difference between DataContext="{Binding Source={StaticResource myDataSource}}" and DataContext="{StaticResource myDataSource}" where myDataSource is a DataProvider. the following code can demonstrate the difference between StaticResource and Binding when dealing with ItemsSource property: <StackPanel> <StackPanel.Resources> <DataTemplate x:Key="myTemplate"> <TextBlock Text="{Binding Name}" /> </DataTemplate> <ObjectDataProvider x:Key="cuisineDataProvider" ObjectType="{x:Type cc:CuisineCollection}" /> <cc:CuisineCollection x:Key="cuisineDataCollection" /> </StackPanel.Resources> <! ...Show All
Visual Studio Express Editions wide characters in program
#include "stdafx.h" #include <iostream> #include <string> int main() { std::cout << "Please enter your first name: "; std::string name; std::cin >> name; std::cout << "Hello, " << name << "!" << std::endl; return 0; } wchar_t where do i put this in for wide characters like japanese thanx kk thanx for your reply helping me tons i'll have to read those thing that u have typed in for me may i ask you questions again whenever i need help with this ...Show All
SQL Server Error using UnaryOperatorColumn on a Many-to-Many linked dimension
Hi, i made a small debugging environment for a problem i am getting, it has 2 fact and 2 dimension tables: FactAccount - fact - (AccountKey,Balance) DimAccount - dimension - (AccountKey,Code,Name) BridgeAccountReport - fact - (AccountKey,ReportKey) DimReport - dimension - (ReportKey,ParentReportKey,Code,Name,UnaryOperator) the dimension usage is as follows: for BridgeAccountReport DimAccount - Regular DimReport - Regular for FactAccount DimAccount - Regular DimReport - Many-to-Many using BridgeAccountReport as intermediate fact table DimReport has a self-referencing hierarchy using ParentReportKey. The idea is to be able to use the same facts recorded at the DimAccount level under different analysis structures recorded in DimReport. The p ...Show All
