MiltGrin's Q&A profile
Visual Studio Express Editions error PRJ0003 : Error spawning 'cl.exe'.
Hello, I am getting the error: error PRJ0003 : Error spawning 'cl.exe'. when building a sample code using Visual Studio 2005 PRO for x86. When I provide the path to cl.exe which is "C:\Program Files\Microsoft Visual Studio 8\VC\bin", i get error: error PRJ0002 : Error result -1073741515 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe'. What should I do Any pointers I have looked up the forums, but none of the solutions worked. Thanks, Sonia. I have looked for it, but the solutions did not work. I have a legitimate copy of Visual Studio downloaded from the internal website. Any other pointers Thanks, Sonia. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Any 3D tutorials for XNA?
Hi, does anyone know where can I find any tutorials, help etc. for developing 3D games with XNA I've played with 2D sprites, its all nice, now I want to move on :) I would like to be able to create simple things like terrain, skybox , move around map etc. Is this possible or I have to wait for beta2 / final release Thanks, ErnisJ I am sure it will. However the way to create vertex lists, custom vertex formats etc. are changed so it's easier to read a tutorial about how to do that. I had a few problems creating a custom format for my particle system but it worked out in the end. ...Show All
Visual Studio Express Editions Reports/graphs etc in VB express?
Hello All, Is it possible to display graphs based on data is the functionality in vb express or do you have to tap into the excel COM objects Any info would be great, thanks! Thanks nobugz, Im guessing I can use the system.draw class to manually draw say a rectangle dependant on the values of my data and let my data change the sizes at runtime, its nothing too extensive as far as reporting goes so would this basic funtionality work do you think Thanks ...Show All
Visual Studio Express Editions How to use my self-made browser to open html files by default
Hi, How can I make all files (file types associated with IE mozilla) to open in my self-made browser I have made a self-made browser and what I want to happen is that when everytime I click a link or a url, instead of opening the url in IE or Mozilla browser, I want it to open in my self-made browse by default. Thanks and more power! Ichi I have used the 'file association' to solve this. But then whenever i click a link, the browser I made is then opened (thats what I want) but the problem is that the url or the link was not opened in my browser. What could be the problem in my browser. I was trying to make the url be opened in my browser. I was thinking there must be some codes missing in my browser. Please help. Thanks and more po ...Show All
Visual Studio Team System sotre.query gives more columns then specified in SELECT
Hi, I'm new to TFS and trying to get all work items for a project in a gridview in asp.net. My code: query = "SELECT [System.Id], [System.Title], [System.AssignedTo], [System.CreatedDate], [System.CreatedBy], [System.State], [Microsoft.VSTS.Common.Severity] FROM WorkItems WHERE [System.TeamProject] = @project ORDER BY [System.Id]"; return store.Query(query, parameters); when I put the resulting workitemcollection as datasource in a datagridview I get 27 columns instead of the 7 I've specified in the select. Funny thing is that I do get different results (less rows) when I adjust the where statement but even if I select just 1 field (System.Title for example) I get 27 columns. Thanks, kip Yes, as I tri ...Show All
.NET Development What security model to use?
I need help in my desition of what security model to use for a program using web services. I'll have a database and an IIS server on one place containing the data for the application. The data will be reached by web services. The clients accessing the web services will do it through "unsecure" internet connections. The clients will be normal windows applications (not web apps). Both the servers and the clients will have .net framework 2.0 and the clients will be written in c#. The number of clients are limited to 5-10. Different users logging in to the client will need to have different privileges in the client application. I would prefere if all traffic was encrypted. There will be no need for clients to decide whatever th ...Show All
Architecture SOA Data Aggregation Best Practices
I'm just starting to think about implementing a SOA in my organisation and have a particular query/problem I was wondering if people had any experiences or best practices with, relating to combining data from different services... For example: Say I have a service which retrieves customer information such as GetCustomerInfo. I call this service passing in an id, and it will return various customer properties such as Name, OpenedData, Status etc which I could then map to a .NET class with public properties for use in my application. I now design a new line-of-business app to store customer referrals. This app will obviously have its own database schema, and as part of this needs to store the customer being referred. In the past, I would pro ...Show All
Visual Basic Compiling C code functions to call from VB
Hi I have a chip I need to reconfigure via a VB app. The company provides a C code API to do this (i.e. their software generates *.c, *.h files for us to call). I don't know C, but I want to compile it as a dll file to reference from my VB project. The files are plain C. Which wizard settings should I use, so that I can compile and link to it to access their functions from my VB code I have tried to do this, but keep getting an error message saying it could not add it as a reference: ...make sure file is accessible, and that it is a valid COM component. Thanks Thanks for the reply - I looked up PInvoke and found information relating to DLLImportAttribute, which looks like it will do the tr ...Show All
SQL Server SQL 2005 DW comparison to SQL server 2000
Dear all, I am developing a proposal to my company, which is a microsoft select client, for introducing SQL 2005 to a new BI project. The company already has SQL 2000. I would like to have a full tabular format of SQL 2005 SSIS Features comparison to SQL server 2000 DTS. Most of feature enhancement paper has only tell what is new but not tell about what is already existed and how much it is improved (in quality and quantity). Yes, tabular format is more useful. I tried to search through microsoft.com, technet but still cannot find the relavent one. Would you please give me a web link Please suggest. I am not impersonated myself like a competitor. You can verify my id by sending e-mail to chai ...Show All
SQL Server Specified cast is not valid
When I try to export to excel from VS 2005, I get the error "Specified Cast is not valid" Are there any specific reasons for this error or a kind of checklist googling did not help me too Shyam I found the cause of the problem. There were few textboxes in a rectangle (inside a table cell) which had integer values and the rest were just text. When I converted those integer values to string using cstr in the value expression, it started working. So the idea is that when somebody encounters this error, check if there are some fields with integer data combined with fields with text data and make it uniform for excel export to work. Wish Microsoft fixes this in their next SP. Shyam ...Show All
SQL Server Dynamic formatting question
Hello, I have a dataset that returns one column of data from which some fields are supposed to appear horizontally in the report, while the rest appear line by line vertically. Is it possible to take, for example, three consecutive fields from the dataset and merge the corresponding table rows that hold these fields in the report Perhaps using an expression or custom code Thanks in advance for any help. I'd be happy to provide examples of what I need if it can help clarify the question. RLGow Not exactly sure what you are trying to do, but you can write expressions that concatenate the value of multiple fields, such as: =Fields!ColumnA.Value & Fields!ColumnB.Value & Fields!ColumnC ...Show All
Visual C# tool to enumerate all referenced classes
Does anyone know of a tool that will parse C# sources and report a list of all .NET Framework classes that are referenced I don't think there's a specific way to find references for a given C# file (depends on project settings partially). But, you can reflect an assembly and use the Assembly.GetReferencedAssemblies() method to find out what assemblies are refenced by a given assembly. For example: Assembly assembly = Assembly .ReflectionOnlyLoad( "someAssembly" ); if (assembly != null ) { AssemblyName [] referencedAssemblyNames = assembly.GetReferencedAssemblies(); foreach ( AssemblyName referencedAssemblyName in referencedAssemblyNames) { System.Diagnostics. Debug .WriteLine(referencedAs ...Show All
Visual Studio 2008 (Pre-release) Condition for EventTrigger
Hi guys, Is there any possibility to put condition for EventTrigger as I can do for DataTrigger. <DataTrigger Binding="{Binding Source={StaticResource AnimationStateKey}, Path=Animate, Mode=TwoWay}" Value="1"> <DataTrigger.EnterActions> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetName="ListBoxScaleTransform" Storyboard.TargetProperty="ScaleX" From="1" To="2" Duration="0:0:0.5" /> </Storyboard> </BeginStoryboard> </DataTrigger.EnterActions> </DataTrigger> I have some variable in code which I'd like to check before I start the storyboard on routed event <Window x: ...Show All
Visual C# Multidimensional Arrays
Ok, my book really sucks I think. After struggling with an example in the book, I looked in the MSDN and searched these forums. I believe my book is wrong when it shows: int[,] student = new in[4][3]; I tried doing it that way but it errors. int[,] student = new int[5,4]; gives me no error and works. I am going to go with that. Unless someone can tell me that int[,] student = new in[4][3]; is indeed a correct format or what kind of a typing error it could be... The following also seems to be in the wrong format: int[][] x = { { 2, 3 }, { 4, 5 }, { 6, 7 } }; I don't think you can do it that way... From the above explaination It seems you have understood completely! foreach loop is a safe way to iterat ...Show All
Windows Forms RichTextbox image
Hey, in Visual C# 2005 is there a way to make the rich textbox have a background iamge Thanks :) wow...ok well I did that...but now how do I set it to have it in the Rich Text Box in the program Thanks :) EDIT: WOW, thanks alot! I figured out what it was, now I can see it and use it, wow that usercontrol thing might come in handy for me alot after all, now that I understand what you can do with it now. Thanks :) ...Show All
