pu132's Q&A profile
Visual Studio Trouble installing the December MSDN Library
I received the latest MSDN DVD distribution the other day. The package included the December 2006 version of the MSDN Subscriptions Library. When I try to install this updated version of the library my XP/SP2 system totally hangs trying to do something on/with the DVD. If I put the DVD in a system that does not have VS 2005 installed and does not have any previous version of the library installed I can read the DVD without any problems. My question is has anyone else seen this problem with the December library If so, have you found any workarounds other than to stay with the previous library version Thanks Neil Thanks for the reply. I'd really rather try to get an answer to what changed on the Library DVD that is causing DLA the is ...Show All
Smart Device Development Hello I am trying to create a program
That shows the time from the hardware SO I want to press the button and then have the output display on a screen in a box.. Actually VS 2005 supports NETCF V1 (there's no NETCF 1.1) projects on PPC 2003, SP 2003 and WM 5.0 devices. Project templates for NETCF V1 have (1.0) in the template name. VS 2005 includes NETCF V1 SP3 runtime except for SP 2003 which does not support RAM installation of NETCF and runs whatever version is in ROM. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Single Solution - Multiple Project configuration help
I've done some looking around, here and through google, and I still can't seem to fix my problem. I wanted to make a single solution, which contained two project...each project was identical except one was targeted towards windows while the other was targeted to the 360. I can't get this to work, as sometimes my project will build and debug on windows, and sometimes it will build and deploy to the 360. Most of the time though, it just builds and gives me a 360 connection time-out message or just does nothing at all. I've been looking at the solution properties, and it seems feasible to set up GSE to have one solution, with two projects each targeted to different platforms, with the user able to pick which platform to build and debug before ...Show All
Visual C++ Executing Code
I have used Jcreator, CodeWarrior and a dozen other compilers for various languages. Now I am using Visual C++ express to compile code (in C++ of course) and I seem to have run into a snag. In literally every toher compiler, there is a prominent 'Execute' button, however, I have looked, searched the database (as futile as that was), searched through everymenu, enquired throughout the digital world, looked at instruction s and lessons and everywhere I thought an answer could be found, and Lo, I have not discovered where Visual C++ Express has hidden its 'Execute' command/button. My professor has some version of Visual C++ where there is a single button that both compiles and Executes code, but Express apparently has no such thing. ...Show All
SQL Server WITH CHECK OPTION and INSTEAD OF triggers
I know that INSTEAD OF triggers are not allowed on updatable views that use WITH CHECK OPTION, but this is different. WITH CHECK OPTION has no effect on a view used to update a table with INSTEAD OF triggers. Can you create an updatable view that uses WITH CHECK OPTION on a table that has INSTEAD OF triggers The following code demonstrates the problem. Comment out the create trigger statement to see the behavior change. create table test (test int not null) GO create view test_view as select * from test where test < 0 with check option GO /**/ create trigger test_insert on test instead of insert as insert into test select * from inserted GO insert into test values (1) GO insert into test_view values (2) GO select ...Show All
SQL Server Behaviour issue with remote inserts
I have an issue doing remote inserts and don't understand why there is a behaviour difference between local and remote inserts. So far i have not been able to find an answer. It may be something to do with parametised query execution but i`m not sure yet. Below is the scenario If i do a insert into server.db.dbo.remotetable select * from dbo.localtable and the local select returns say 3 values, 3 inserts will occur on the destination server where as if the insert into is local only 1 insert would occur! Why Is it possible to get the remote query to behave like a local and do the 3 records in 1 insert Its currently playing havoc with a trigger i have on a production box. To test this i've supplied some very si ...Show All
Visual C# Exception opinions?
I'm just busy writing a dialog box which needs a property to be set before ShowDialog is called. In the OnLoad, I'm checking whether it's been set and throwing an exception if it hasn't. Question is: which exception is most appropriate I'm leaning towards InvalidOperationException. Of course, I could change the dialog's constructor to take the value as an argument, but I've got a notion that dialogs should provide a parameterless constructor --- is that right, or did I dream it The dialog cannot usefully instantiate a default instance of the class whose properties it is modifying, and it would not make sense for the dialog to be displayed without a properly instantiated class. It is up to the calling process to create an instance ...Show All
Visual Studio Express Editions Converting a ListBox to a TextBox
I believe this is probably pretty simple.... I am creating a program to create a text file. The program is very simple. Upon load, you choose an active directory. The program then searches the active directory for a file type (in my case *.wma files) and returns the foundFiles into a ListBox (ListBox1). I have all of that figured out and working nicely. I believe what I need to do now is copy the contents of the ListBox into a TextBox so that I can export (even copy and paste would be nice, which I can't do with a ListBox) the files into a Text File. If I can just get the contents of the ListBox into a TextBox, I should be fine. How do I do that Why you ask I am archiving my music library onto CD and I want to be able to put the b ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vertex Shader and Output
Howdy, Im new to shaders. I am curious is there a way for a vertex shader to actually modify the vertex stream or return its results some where else other than straight to the rasterizer. I understand how to make proceedural textures etc.. by ouputing to a different rendering target. But can vertex shaders modify memory (not just what they send to rasterize). Or is this something the only Geometry Shaders can do Any help is appreciated. Thanks, -H I've not looked into it in any detail due to being an Nvidia owner, but ATI's "Render To Vertex Buffer" technology might well do what you want. Alternatively, if it's an occasional bit of processing then IDirect3DDevice9::ProcessVertices() could be ...Show All
SQL Server Can't change name of report
Good Morning Guys, Can anybody tell me how to change the name Property of a report on the Report Server When im using the standard Webpage, i can change all the properties i want. But when i try the same in code. Changing the name property gets me a read-only exception. The description does change but i actually want the name to change. public string setProperties( string property, string value, string itemPath) { try { Property [] props = new Property [1]; Property setProp = new Property (); setProp.Name = property; setProp.Value = value; props[0] = setProp; rpServer.SetProperties(itemPath, props); } catch ( SoapException ex) { throw ex; } return "" ; } Is there an easy way around this, ...Show All
Visual Studio Express Editions Visual Basic windows forms
Hey, I've only started using Visual Basic tonight, and I've never touched any previous form of VB and/or Visual Studio. So this is probably the newbie-ist question you've seen for a few years if not ever. Anyway, I've got a task set out whereby I must create a testing program as such, with multiple choices. I've created a form for every question, along with a welcome form and a grade form. My question is simply, how do you link the forms, so that a user can click the button labelled "Continue1" and it opens up form2, within the same space and so on and so forth. Any help would be more than gratefully received. Thanks! on your form load, instead of "Me.Score" - that should ...Show All
SQL Server Moving from 2000 to 2005: issue Accessing cursor returned by sp
I have a number of triggers that call a stored procedure that returns a cursor. The triggers then use the results of this cursor to do other actions. My problem is that this works fine in SQL2000 but just won't work in SQL2005. When I try to access the results of the returned cursor, I get an error -2147217900 could not complete cursor operation because the set options have changed since the cursor was declared. If I port the code contained in the sp into the trigger, it runs fine. But having to port over the sp's code defeats the whole concept of being able to re-use the sp. Does anybody have any ideas of what could be going on I look forward to a quick response. Dennis Please post an exa ...Show All
.NET Development File search
Is there anything in the .net library that would allow me to search for a file on a pc, ie. sql2005 installer I need a method that allows me to search specific locations for specified files rather than just checking a predefined path ie File.Exists(filename) as the user may have moved those files to a different location. ta Mark I'm somewhat new to .Net and I tried this sample but got the following error when I use c:\ as the root. Access to the path 'c:\System Volume Information' is denied. Is there something I can do to tell it to ignore errors or exceptions Using something higher up in the tree worked fine. Thanks Dan ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Model animation
Hi, I'm working with XNA gamestudio for a while now, it's really great but there's no support for model animations I already searched the entire internet for some good tutorial or example but there isn't any. I just can't believe model animation isn't supported by standard Because...what is a game without animated models Also if anyone has some information about loading bones it would be welcome. I really hope that there's someone out here who can help me with this. I really enjoy using XNA gamestudio and I wan't to start writing games! Thanks for any help, jeroen there's a codeplex project here: http://www.codeplex.com/animationcomponents ...Show All
Smart Device Development hDeviceWindow = 0xcccccccc
All my calls to d3d9->CreateDevice fail and return the error code D3DERR_INVALIDCALL. I used the de bugger and it think I have traced to problem to the D3DPRESENT_PARAMETERS structure. whenever I instanciate it, it's variable hDeviceWindow is set to 0xcccccccc, the value that the compiler assigns to variables that are not explicitly instanciated. I am fairly certain this is the cause of the problem, but I have no idea how to fix it. Here is my source code: /* still need to do: 1. initilize sound system 2. initilize input system 3. add particle structure and .x file functions */ #define DIRECTINPUT_VERSION 0x0800 #include "d3d9.h" #include "d3dx9.h" #include "dinput.h" ...Show All
