Behrooz PB's Q&A profile
Software Development for Windows Vista Device Cannot Start (Code 10) in Vista, worked fine in XP
I've looked through lots of documents in MSDN, but have not found where to go for further information. It is a USB Driver made by someone who left the company, and we are looking to see what needs to be modified for Vista32 (not 64). Anyone know where to start for information on the differences in the drivers. I read http://www.microsoft.com/whdc/devtools/wdk/drvcompat_vista.mspx but that doesnt seem to address our problem. The answer is out there, soemwhere... Hi CatcJake : Did you find something about this I'm having the same issue and I'm completely stuck. I'm using .../6001/src/tool/usb/bulkusb sys file from WinDDK in Vista and it doesn't work at all. It works fine on XP. I was able to bri ...Show All
SQL Server Deserialize ACL problem
I'm developing a custom security extension to Reporting services. In my authorization class I have a problem to deserialize the ACL (secDesc parameter). I have many examples and I’m doing the same excepted for one thing I’m not in form authentication but I’m in windows authentication. The problem is in the method 'DeserializeAcl(byte[] ...)'. I encounter this kind of bug : BinaryFormatter versions incompatibility : Excpected version 1.0, received version 880850475.24252454. Thanx for your help Sorry but no. We stopped working on windows authentication with the extension. I designed the solution with using form authentication which is well documented. Eric ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Device is being used by a thread other than the creation thread.
Hi, My engine design is to create the Dx device and manage lost devices on the same thread, and to handle all resources operations and draw calls on another one. The application is responsible for all synchronizations between the two threads and ensure that no race condition could occur. Given that, D3DCREATE_MULTITHREADED flag is not needed because resources are always created, locked and used on the same single thread. So why is DirectX debug version sending me few warning messages "Device is being used by a thread other than the creation thread" on every Dx calls Is there something wrong in my design Thanks Guillaume >>A warning is just that, a warning. I totally agree. The ...Show All
Visual Studio Tools for Office Insert HTML to a Rich Text Content Control
Is there a way for the Rich text Control to load and handle HTML. I'm told that rich text should handle the HTML and allow it to be edited. Word accepts only plain text or its internal XML as direct input. For everything else you need a conversion filter; conversion filters are triggered only when inserting a file or pasting from the Clipboard. Both approaches are available to you as methods through the object model's Range and Selection objects. There is no way to "drop" HTML into a Word document's RichText control, nor extract it as HTML. What would be possible is to use a transform to / from WordProcessingML, Word's native XML language. ...Show All
Visual Studio Team System Pinpointing string concatenation with profiler
I have a specific problem that I cant seem to be able to resolve. I have inherited a big (200+ pages) asp.net 1.1 project in a bad shape. Performance counters indicate high CPU, big allocated bytes/sec, high % in GC and a lot of Gen2 collections. I have ported the project to .net2.0 and ran a few profiles on it (in both sampling and instrumental) and have found that about 50% of all allocated memory goes to String type and almost no activity in LOH (2 strings in total), so my first diagnosis is small strings concatenation abuse :) Now this is what I cant seem to do is to create a call graph to + and += operators of string type, as looking for those in 200+ pages will be a nightmare, so any idea would be appreciated. I tried to resolv ...Show All
SQL Server need Suggestion/advice
Hi guys, I would like to be advised from experts on one career related question. I have 5 + years of Experience as a DEV and Test. I had mostly worked on VB6, .NET 1.1[ asp.net ,C#] for 3 years as DEV and since 2 years i am into Software System testing [ its more related to Functionality Testing of applications built using .NET [ asp.net/c#, Sql server 2005 ]. I would like to switch the career to Core Development again and would like to seek experts's adivice.. Iam interested in learning SQL Server 2005 advanced features[ BI]: Could you pls suggest me one area in SQL server 2005 from below[ parameters:I should be able to learn it quickly on my own,great demand in the market , great scope for development in near fure e ...Show All
Software Development for Windows Vista WM ASF Filter set playback speed problem
I want to change the playback speed of asf file, i query the IAMExtendedSeeking interface, and then use its put_PlaybackSpeed(double Speed) method, but if the parameter Speed is not 1.0f, it will aways return E_INVALIDARG(0x80070057), in other words, this method can't change playback speed, what should i do ...Show All
SQL Server Incremental processing and aggregations
If I use the incremental processing option do I have to issue a separate process index command to get the aggregations rebuilt on the partitions that has been touched Or is this handled automatically by the incremental processing command Processing command has an option: Process affected objects. If selected, it will do processing of affected indexes and aggregations automatically for you. Some more information : http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnsql90/html/sql2k5_asprocarch.asp http://msdn2.microsoft.com/en-us/library/ms187199.aspx Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
SQL Server MDX Query returning top levels of dimension hierarchy
Hi, I use AS2000 which contains the cubes and dimensions. I issue a MDX query using ADOMD and then bind the results to and Asp.Net data grid. When i run the MDX query in the query editor it displays correct results. but when i execute the MDX query in the program it also return the top levels of the dimension hierarchy. I only want a subset (lower level in the hierarchy) to be returned. Here are the details: In our cube we have dimension Region_Country_RU. The hierarchy is as follows. Region(top),Country(Middle), and Reporting Unit(Lowest). The user wants to see Country info by selecting countries as DK,GB,US. This is the query to execute. In MDX query analyzer it gives proper output. SELECT NON EMPTY {{[Meas ...Show All
Visual Studio Team System Finding users of a project and their source control permissions
Hi, I want to find the users that use the source cotrol of a particular project programtically. E.g. I want to show that a,b,c,d,e are the users of project xyz and they have Checkin, Label and Lock Permissions. How can this be done Manasi After much investigation I found out that permissions can not be assigned to individual users. Permissions are assigned to groups and users are then adde to groups. ...Show All
Visual Basic What Events will be Triggered on Load
Hi, I am using some events to validate or store input data. So i used: Click Focus First index (0) or last character (to ensures masked text box string dosent have spaces (eg. "0 1") Enter Focus to First control for user input (ensures needed things are entered first KeyDown Validate Key Pressed (KeyCode) - For Custom Mask TextChanged Strore Data into variables Leave Validate input as a whole But sometimes these events are triggered on load and they cause errors, and they waste resources. Also i noticed (when i insert Break Points & run,) that the events are triggered a few times before completing, this causes the form to fliker (i think). So i tried AddHandler & RemoveHandler to prevent ...Show All
Smart Device Development Cinternet Session MFC VS 2005 SP1 Beta- Strange behaviour
Hi I recently upgraded to VS 2005 SP1 and is using the MFC CHttpConnection API. I had to compile the .exe program with a Static MFC lib as the current hardware device does not have the updated MFC libraries. OK. Here is how I am doing the tests. 1) Complete Hardreset of the winmobile 2005 device/emulator 2) copy the release version of the app to \ 3) perform the necessary setups 4) run the app. The App connects to the internet to download a file from my web server. Here are my observations: A) Using the emulator - No problem works immediately B) Using the HP Ipaq 6800 - Windows Mobile 5.1 - Works Immediately C) Using the HP Ipaq 69XX - Windows Mobile 5.1 - Need Workaround The App has a Cinternet Exception - "The ...Show All
Visual Studio 2008 (Pre-release) MessageSecurityException problem
I have a problem that's got me stumped I have a "self-hosted" server over wsHttpBinding, with message security and secured with a home-made certificate (for now at least), the clients are validated using a CustomUserNameValidator. This is in an intranet setting, but not in a domain, firewalls switched off.. From one particular machine I've got problems connecting to the service - I have the cert installed on the client in TrustedPeople (and using PeerOrChainTrust), the client finds the cert. - Before i switched off negotiateServiceCredential in the client I got either "the local security authority cannot be contacted" or another one that I cannot remember right now that stated something about something that does not ex ...Show All
Visual Studio 2008 (Pre-release) cannot find Linq after having installed orcas
Hello guys, I just installed orcas CTP Jan2007 and things seem to work fine .... but I do not find any trace of Linq. I went to add a refrence, there is no system.data.linq dll :-( I had installed the Linq may 2006 preview on VS 2005, and there it was, but now in orcas... nothing. Isn't this installed with orcas And if so, then what use for orcas ;-) Thanks a lot for any feedback - I am so excited to start working with Linq... Regards, Fabian See related post about Jan vs March CTP and features from May 2006 LINQ CTP for more information. Thanks. Dinesh ...Show All
Visual C# Retrieve column names using metadata
I am implementing an application that needs to quickly retrieve a list of column names of a table for an ODBC connection. Is there a way to use metadata to achieve the goal so that I don't need to run a query on the entire table Thanks. Hi, If you're using table adapters and dataset you can call the table adapter's FillShema method on the table you're interrested in. Next you just have to iterate on the table's column: DataSet ds = new DataSet (); ds . Tables . Add ( "MyTable" ); OdbcConnection conn = new OdbcConnection ( connString ); OdbcDataAdapter adapter = new OdbcDataAdapter (); adapter . SelectCommand = new Odbc Command ( &nb ...Show All
