Bartley's Q&A profile
Software Development for Windows Vista Service started very late in Vista?
I have a service program with OWN_PROCESS, AUTO_START, no any dependency. This service works on Vista as well as w2k/wxp, except the Vista start it in a very late statement. In w2k/wxp, my service program can start before user logon. But in Vista, even the user has logon, it takes about 40 or more seconds before my service program start running. My PC is Celeron 3.0GHz, with 1GB RAM, I don't think it's the hardware's problem. Since my service is one part of the drivers for an input device, this is very important for me to load the service ASAP. Does any one know how to boost the load order for this type of services We ran into this problem, too, and just found the problem. If you have an ethernet card or interface that is c ...Show All
Visual C++ ReadOnly property on vc++ 2005
Hi, im new in this forum and i dont speak english so please try to understand. i wanna add a readonly property to a c++ class in a vc++2005 project. so i did this public class someclass { private: int _x; public: property int x { int get() { return this->_x; } } } and when i try to compile says "Error 3 error C3903: 'someclass::x': does not have set or get method" so i think i need some word like "readonly" before "property" like in VB but i cant find the correct keyword, i was looking in inet, in the vs help and in this forums but cant find the answer. Thanks and sorry bout my bad english. Property syntax is used in managed c ...Show All
Visual Studio Service pack 1 vs vista SDK
Does service pack 1 includes Windows SDK for Windows Vista Do you know if such a service pack is planned The Visual Studio and the Windows Vista SDK are two seperate products. I am not sure what you mean here: Does the Visual Studio Service Pack updates Windows SDK: no Will there be a Service Pack for the Windows SDK: no, instead expect updated SDK's ...Show All
Visual Studio @err,hr or its equivalent in 2005
In older versions of Visual Studio (6 i know for sure , 7 i think) you could put the string @ERR in to a watch window to see the last error (as returned by the function) and you could put ,hr on the end of any HRESULT to get the string equivalent of the error, This was terribly handy. Is there any equivalent in the newerversions of vs Thanks, Eric- Just a note, i am able to put "@err,hr" in my watch window and it seems to work the same as before Are you having problems w/ it. ...Show All
Visual Studio subreport overlaps
I have two subreport in my crystal report thy overlaps each other of they contain many rows, how can I prevent that ...Show All
Game Technologies: DirectX, XNA, XACT, etc. System.Timers
I like the model of specifying Game.TargetElapsedTime and responding to update events, but can I conrtol this on multiple components For example, let's say that I want to randomize the weather conditions in my game. I'd like this to update every minute or so. On the other hand, some things need to update every frame (ike controller input or sprites positions). One way to handle this would be to simply have methods like UpdateWeather() , and UpdateSprites() and so on, and have multiple if/then blocks in my main Update() code that determine whether it's time to call one of the other update methods. However, it'd be nice to offload this monitoring somehow so I could just declare in my init code how often certain components get updated. A ...Show All
SQL Server Quick question to check NULL values in input parameters in a stored procedure
Hi: I have a stored procedure that calls 3 stored procedures. If some of my input parameters are NULL, I would like to skip the call to another stored procedure. Can you someone please help me with this I would like to find out what is NULL, before I execute the other stored procedures. Thanks so much. MA check with is not null example If @Var1 is not null begin exec proc1 @Var1 end If @Var2 is not null begin exec proc2 @Var2 end If @Var3 is not null begin exec proc3 @Var3 end Denis the SQL Menace http://sqlservercode.blogspot.com/ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Farseer Physics Engine - 2D Physics For XNA (Release 1)
I just posted the first release of my Farseer Physics Engine on CodePlex. You can get it here (In the "Releases" section.): http://www.codeplex.com/Wiki/View.aspx ProjectName=FarseerPhysics Release includes source and binaries for the physics engine and the following demos: Demo 1: simply move a box around using the ASDW and LEFT/RIGHT arrow keys. The box is pushed around and rotated using forces and torque. Demo 2: similar to demo 1 execpt there are 3 boxes and they can collide with each other. You can cycle through different gravity directions using the space bar. (starts with zero gravity, then down, up, left, right, back to zero) Demo 3: similar to demo 2, but includes some non-convex r ...Show All
SQL Server SQL Update error
Why I am getting this error: update failed because the following SET options have incorrect setting: 'ARITHABORT' when trying to send this on the sql management express: update rates set rates.ORIGIN = '800880011_ali' where rates.rate_plan_id = 3 ...Show All
SQL Server include column from table in SELECT in an INSERT OUTPUT clause
Hey All – I am having problems with the OUTPUT clause in an INSERT. I have something like this: INSERT INTO dbo.Person ( PersonID ,Name ) OUTPUT p.AuditVersionGUID ,inserted.PersonID ,inserted.Name INTO dbo.PersonAudit ( AuditVersionGUID ,PersonID ,Name ) SELECT p.PersonID, p.Name FROM #Person p AuditVersionGUID is not and shouldn’t be defined on the Person table but I do have it defined in my #Person table. I get this error: Msg 4104, Level 16, State 1, Procedure spExtractPerson, Line 275 The multi-part identifier "P.AuditVersionGUID" could not be bound. I can accomplish this when I ...Show All
Visual Studio Tools for Office Does the Tools for Office edition still have the ability to build and deploy traditional VS applications or .NET websites?
Wrote an email to a college for advise about which version of Studio to upgrade to from 2003 professional I am asking for an upgrade of Studio for next year. Thinking that the "Visual Studio Tools for Office" might be better for me that the regular "Visual Studio Professional Edition". Main difference is that I only get vb & c++, and no Crystal Reports", but I get "Office Access 2003 Developer Extensions". College wrote: That sounds like a good idea at first, but I'm not sure that you assumptions of the capabilities of the Tools for Office edition on its own is entirely accurate. I am suspicious that you will only have the ability to build MS Office applications with the Tools for Office. I am not cer ...Show All
Visual Basic Visual Studio 2005 Pro - Academic Version
I'm thinking about ordering VS Pro from school, but they can't give me details (it's not kept in stock)... does anyone have the academic version and does it require internet regsitration/activation Some people are saying yes, others are saying no. Thanks Any mention of off topic item was evidence and reasoning for this on-topic question. There is nothing different about the environment for compiling 64 bit. Its really only a compiler switch. So I wouldnt get you hopes up that being able to compile for 64 bit is something amazing. That said if you compile for 64 bit - you get an additional combobox on the project advanced compile options which sets an attrribute in the project ...Show All
SQL Server Upgrading from SQLS2K to SQLS2005
My organization is planning to upgrade sql server 2000 to sql server 2005. One of the main reason to upgrade, is to utilize new security(encryption) feature provided by the SQL server 2005. Our main aim is to encrypt few columns of the database tables. I am in a dilemma on how to encrypt tables which already has data in it We have VB application that uses SQL server 2000 as backend. I do not want to change the frontend. Is there any why we could save the data in an encrypted form without changing the frontend Thanks Ks This is an orphan SID case. The reason why this happened is most likely because this particular DB was moved from a different server, and the corresponding login mapped ...Show All
Software Development for Windows Vista DirectShow replacement on the way for DirectX?
According to this site near the bottom, it suggests that DirectShow is going to have a replacement for the DirectX SDK. Is this in the works still http://www.toymaker.info/Games/html/gdce_-_xna.html DirectShow is no longer considered to be part of DirectX. It was moved out of that SDK and into the platform SDK. While it may be that they will collect DirectShow and the other dozen or so a/v technologies into some type of media sdk (which is what I read that article to say), I have no reason to believe that they will. And I have no information regarding any replacement for DirectShow any time in the near future. ...Show All
Visual Studio Team System Team build database project
My company is developing a distributed application. We have many solutions and projects. One of those projects is a Database project where we build C# stored procedures and deploy them to sql server 2005. The Database project references assemblies from other project that have been created on sql server. When we use team build to build the database project we get errors that it can't find the references to those assemblies. Again, these assemblies exist on sql server and are referenced in the project. My question is how does team build get the assemblies out of sql server when it builds a database project Jeff Sessions I'm not familiar with this, so it would be helpful if you'd post the build l ...Show All
