Yones's Q&A profile
Software Development for Windows Vista LessThan cannot be used on decimal type ?
How do you do comparisons on currency values in rule conditions I want to do a simple discount test for a price < 50.00, where price is decimal type. Am I missing something easy Unless I am missing something, this works for me without the extra m on the RTM bits. I used an int OrderValue and in my rule, I compared it to 29.99 and worked just like that. ...Show All
Visual C++ typecasting a pointer?
Hello everyone, I'm using VC++ along with a 3rd party library to capture and display images from a CCD video camera. I'd like to aquire the grayscale values in order to do some image processing but I'm a little uncertain as to the correct way. The images are either 8, 10 or 16-bit grayscale. The images are loaded into a buffer as follows: uInt8* imageBuffer; imageBuffer = (uInt8*)malloc(ImageWidth * ImageHeight * BytesPerPixel * (sizeof(uInt8)); At this point I call the grab function from the 3rd party library, passing the above pointer as one of the arguments. My question is how do I access the values that are stored in the buffer Let's assume I know a priori that the image is 10 bit...do I typecast the pointer as 16-bit and get the ...Show All
Visual Studio Unable to find manifest signing certificate in the certificate store
Hi all, I changed PCs and moved my VS projects over to the new one. In doing so the clickOnce certs are not valid. I got the "Unable to find manifest signing certificate in the certificate store" when I tried to publish. I got the error resolved by creating a new certificate. Problem is now, when my users try to update the programs, it is telling them that the certificates do not match and the applications will not update nor run. How can I resolve this regards Bill Please review the article http://support.microsoft.com/ kbid=925521 (discusses dealing with expired certification). I believe you are running into the same problem. Thanks, Jay ( jaysh@microsoft.com ) ...Show All
Community Chat IE7 Vulnerability discovered.
Hi. A vulnerability has been discovered in Internet Explorer, which can be exploited by malicious people to disclose potentially sensitive information. http://secunia.com/Internet_Explorer_Arbitrary_Content_Disclosure_Vulnerability_Test/ What do yo think about this Regards. I guess it depends on the severeness and depending on it it may be put up on Windows Update as a download as a security patch. It can be anything from 2 days to 1 month maybe. Again, depends how severe it is from the Microsoft POV I think ...Show All
SQL Server Multiple DataBases single report
Ok Here's the senario, I am currently designing a report which will be used in a production environment by multiple users. Now each of these users might be looking at a different production database, now i want to be able to create a single report that can be pointed at any one of these databases depending on which user calls the report. All the databases have the same structure but may contain different data, so in effect the query I am using can remain the same it is just the datasource connection info that needs to change dependant on the user and the database they are looking at. I could create multiple instances of the same report each with a connection to the different databases, but i would prefere to have only a single report. ...Show All
Visual Studio Team System Application Test Center for Visual Studio 2005
If I have Visual Studio 2005 - does it automatically include Application Test Center Please Advise Hello Karen, If you have Visual Studio 2005 that mean you don't get Application Center Test. ACT is shipped with Visual Studio 2003 Entrprise. We have a new tools for testing in "Team System for Tester" which is a seperate product. For information go to the below link http://msdn.microsoft.com/vstudio/teamsystem/products/compare/default.aspx look for " Visual Studio Team Edition for Software Testers " Thanks, Anjana [MSFT] Microsoft Developer Support This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Visual Studio Team System Not able to capture save button click action
Hi all While using Web Test , some events are not captured in my script, i.e In my application there is an button for save option and while recording , i am not able to capture save button click action , Please let me know whether to change any settings are some thing wrong in my recording The only problem is that , VSTS was not capturing the button click action events , it is not recognitaon the events for add button , delete button and for modify button please send any changes has to be made or to add any code to the script ...Show All
Software Development for Windows Vista LoaderLock was detected in Vista
I just got a new pc with Windows Vista loaded VS2003 and have a program that works in Windows XP it uses Reference DirectX AudioVideoPlayback but in Vista the program does not work, it load, but try to play a mp3 cPlayer = New Audio(File) and cPlayer will = nothing so I loaded Visual Basic Express converted the program and the program loads ok but if I try to play the mp3 file I receive the error message. LoaderLock was detected Message: DLL 'C:\Windows\assembly\GAC\Microsoft.DirectX\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang. is attempting m ...Show All
Visual Studio Team System Web and Load Test Editor missing
We went to edit existing web and load tests from Solution Explorer and it opens them as XML. The plugins for web and load test editors are gone. We can browse for them but, don't know where to look. We get an error message opening VS that says "Could not load file or assembly "Microsoft.VisualStudio.QualityTools.LoadTest, Version=8.0.0.0, Culture=neutral, publickey token=b03f5f7f11d50a3a or one of its dependencies. strong name validation failed (exception from hresult: 0x8013141a). We checked C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies and all of the qualitytools seem to be there. Hi Jim, What parts of VS Team System are installed on this client If you look i ...Show All
Visual Studio Express Editions Resize Position
Hi I have a button on my form and what I want it to do is stay in the middle of the form when I resize the form. Thanks for any help b0bd0gz Works like a charm Thanks nobugz ...Show All
Game Technologies: DirectX, XNA, XACT, etc. TotalRealTime behaviour
I've used GameTime.TotalRealTime.TotalMilliseconds to access the wall clock time and it looks like it pauses when I drag the game window using mouse. Is it right and is it good :) In my case I need to keep the projectile going even in this case because my game is a network one and if the player drags the window all projectiles should fly in a synchronized manner on both PCs. I use DateTime.Now.Ticks as workaround and get what I need, but anyway I wanted to let you know about this effect. same thing happens after you click the window icon in the top left the screen pauses while the move,size, close etc menu is up. It may be just a case of the draw calls are skipped and the updates are called as per normal ...Show All
SQL Server Normalize data
Hi, I have a table like this: Pk_QuestionID Question Choice1 Choice2 Choice3 Choice4 correctChoice 1 XYZ a b C d 3 This has to be transferred to a more normalized schema like this Pk_QuestionID Question 1 XYZ And Pk_OptionID Fk_QuestionID Choice_Description isCorrect 1 1 a 0 2 1 b 0 3 1 c 1 4 1 d 0 We can use either the unpivot-merge or a SQL Union ALL statement to achieve ...Show All
SQL Server Extra column in destination
I have worked with straight-forward simplistic SSIS up to now, so I apologize if this is a simple question. I have a SQL table destination that accepts daily data from an AS400 table. We now have a need to datestamp the incoming data so I added a new column to the destination table where I want today's date. Is there a data flow transformation that I need to use to default the destination column to today's date Time is not a consideration and not needed, just the date. Thanks for the information. guyinkalamazoo3 wrote: Thanks again for the help! Yep, no problem. There are a whole host of other dates available for your use as well, if you look in the system variables list. System::ContainerSt ...Show All
Visual C++ Visual C++ deployment error
Hi VC++ team: I have gone through your posts on the redeployment problems for VC++. I still have this error. Can you please help me. 1. I installed MS Visual Studio 2005 on my laptop. I now moved the executables with their dll's to my laptop and lo behold, the program works fine. 2. I then un-installed MS Visual Studio 2005 on my laptop and now tried the program and it crashes with the error message - " The application failed to initialize properly (0xc0150002). Click on OK to terminate the application ." 3. I then installed the MS Visual Studio 2005 C++ redistributable package (vcredist_x86.exe) which installs the necessary components to port my VC++ program over. But the error continues with the same message. ...Show All
Visual C++ The specified module could not be found. (Exception from HRESULT: 0x8007007E)?
I've just experienced this runtime exception for the first time. I'm trying to instantiate a managed c++ dll object from a c# executable, and it raises this exception. Im running WinXP, and using Visual Studio I first read several groups, and came across an excellent article by Grimes on this topic. http://www.ddj.com/documents/q=1/ddj0604f/0604f.html . I also found a pretty useful blog at both http://www.ddj.com/documents/q=1/ddj0604f/0604f.html . I also found a pretty useful blog at both http://blogs.msdn.com/cheller/archive/2006/08/24/how-to-embed-a-manifest-in-an-assembly-let-me-count-the-ways.aspx and http://www.conceptualinertia.net/blog/blogs/conceptual_inertia_net/archive/2006/05/20/19.aspx Assuming that embedding my mani ...Show All
