Shaurya Anand's Q&A profile
Visual C++ excpt.h error
I’m working on a DLL that’ll export some functions. I tried this with File->New->Projects->Win32 Dynamic-Link Library, and then selected the radio button 'A DLL that exports some symbols'. When I try to compile the project (as it is with the default code inserted by VC++), I get these errors: d:\program files\microsoft visual studio\vc98\include\excpt.h(36) : error C2144: syntax error : missing ';' before type 'int' d:\program ...Show All
SQL Server SQL Server 2005, SQL Server 2000 Side-by-Side Installation on the same server
I am planning on installing SQL Server 2005 first and then install SQL Server 2000 as a separate instance on the same server. Has anyone had any experience with this setup When I ran the SQL 2000 set up it didn't force me to create a new instance but I still did. I also installed the files on different directories c:\program files\ just in case. If you have any experience of ideas about this configuration, please let us know. Thanks. ...Show All
Visual FoxPro access to this.propery
I've made a class 'adreslijst' and in it's init method I added a string property 'lijst' like this: this.addproperty('lijst', "bla") in an other method ('export_lijst') that I added to the class adreslijst I want to print the contents of the property 'lijst' like this: this.lijst when I execute the following code: object1 = CREATEOBJECT('adreslijst') object1.export_lijst() ...Show All
Visual Studio Team System Error Generating model for Olap Data Source
When I try to generate a data source for the TfsOlapReportDS in Report Manager I get the following error: An error occurred while generating model. (rsModelGenerationError) Get Online Help An error occurred during the generation of semantic model : [Create mapping between cube dimensions and database dimensions]Unexpected error occurred : Schema indicates that cube dimension '[Tea ...Show All
SQL Server Auto Create trigger after re-initialization completed
Hi all, Is it possible to create a trigger after creation of table during reinitialization if so, how can I do that Thanks in advance! Hi, Stephanie, If I understand your question correctly, you wan to create a trigger on subscriber db right after replication agent created replicating table on subscriber database. If so, you can use post snapshot script. To specify a post snapshot script in Management Studio, ri ...Show All
Visual Studio Team System Saving Document
When trying to save a document back to Foundation Server for one of the project I don't get an option to save it back to Team Foundation, just the file system. Any Ideas Thanks BenW If you are talking about saving an attached document to a work item back to TFS then we do not provide this functionality in v1. As a workaround you can always delete the existing attachment and then upload the update ...Show All
Windows Forms Font rendering problem (cut-off, spacing)
Hi, I have a very strange behavior on some fonts like Verdana, size 6.75f. Often the labels simply get cut-off and don't draw fully or there is too little spacing between the letters. See this screenshot: http://www.kingvest.de/prob.png Words like "of this" and "of it" appear as "ofthis" and "ofit" although definitely have a space in between ;) Also, in the lower half of the screenshot, the quotes like 422,86 get cut off although the labels are ...Show All
Visual C# dropDownList question
i want to get the index of the item that was selectes in the dropdownList so i tried to use the property selectedIndex but im getting 0 all the time.. how can i get the index of the selected item in the dropdownList thanks in advanced You first need to define the values in the drop down list property page. the two values are tesxt feild and value feild. Test feild will be visible to the U ...Show All
Visual Studio Team System Automated Build and Sourcecode Control
Hi, We are about to embark on a large project (4 years+). We are currently using VS2005 along with Sourcesafe. We need to get automated builds in place which tie in with the labeling of sourcecode and distributions. What products should we be looking to use .... teamsystem, sourcesafe and msbuild Any pointers would be greatly appreciated ... can't see the wood for the trees at the moment! &nbs ...Show All
Game Technologies: DirectX, XNA, XACT, etc. error 1304 and error 2350
Hi durirng the install process it gives the error messages listed in the subject but i get them the following way: during the coping of the files it comies up with and "Error 1304.error writing to file microsoft.xna.ui.xnastudiopackage.dll verify you have access to that directory" it tels me to cancel or rrtry and i clikc retry as i am the computer admin and it then pops up with the "internal error 235" and i am forced to cli ...Show All
Visual Studio Express Editions Is The OOP Microsoft.VisualBasic.IIf Equivalent To the Procedural If Then?
so I guess the thread was locked due to thinskinned vb'ers, unfortunately bronco has a fantastic question in his last post and it certainly warrants discussion. . . This Particular Microsoft.VisualBasic.IIf Is extremely important to me.... If Microsoft.VisualBasic.IIf is Equivalent to the Procedural "Classic" If then.... If it is Equivalent I can Transist to Pure OOP by using Descision Tables, Boolean Algebra and other CS tec ...Show All
Visual Studio 2008 (Pre-release) How to asynchronously display an image
If in my window xaml I have something like: ... <Image Source="http://www.slowserver/image.jpg" Width="20" Height="20" /> The window will be loaded and suddendly the application will freeze while the image is downloaded. After the image is displayed the application becomes responsive once again. How can I workaround this issue Is there an easy way to load the image in the background Thanks ! ...Show All
Visual C# Are strings any easier in the new C#?
I stopped using C# about a year ago. I hated the complexity of using strings. Gone were the days of MyString = "Hello"; I had to now make an object. String manipulation, which was once easy using MID, RTRIM, REPLACE, etc., now is tedious. Anyway, I was wondering if the newest version of C# has made it any easier Um, you couldnt do - string s = "Hello"; what was so hard a ...Show All
Visual C++ VS 2005 B2 getting exe files to work on other computers
When i try to run a file created by visual studio 2005 beta 2 on a computer other than the one i have visual studio 2005 on, i get an error message saying (translated from swedish into english): This program could not start because the programs configuration is wrong, the problem could be solved by reinstalling the program. on one computer (i think it was indows 2003 server) i solved it by copying msvcp80.dll, msvcp80d.dll, msvcr71.dll msvcr8 ...Show All
Smart Device Development Determining version of SQLCE at runtime
How can I determine at runtime which version of SQLCE is loaded on my Pocket PC. Actually, I created a netcf v2 project, a new project, not upgraded from vs2003. No refs to sql ce or system.data.common. I read somewhere that before doing vs2005 dev for smart devices, all other versions of vs should be removed. Didn't know if this meant just beta 2005 or if it includes 2003 as well. here's the link that mentions ...Show All
