Safar's Q&A profile
SQL Server pfpagealloc error
I am running Sql Server 2005 SP 2 CTP and keep getting an error which says Internal Error pfpagealloc.cpp file is corrupt. This did not happen with SP1 and is very speradic. I get the problem when using both excel and the visual studio browser to manipulate an anylsis services database. I can then try again and everything works. I also get the same problem sometimes with my overnight rebuild of the cube. Paul Please report this with http://connect.microsoft.com/sql . This looks like a memory pressure problem. See if you get enoght memory for Analysis Server. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Smart Device Development What Are My Development Environment Options For Developing C#/.NET CF WM5.0 Apps?
Hi. What are my development environment options for developing Windows Mobile 5.0 applications in C# and .NET Compact Framework2.0 Am I limited to VS2005 Are there thirdparty development tools And if not, can I purchase only VC# instead of entire VS suite of development languages Thank you. I currently have VS C# Express Edition. As noted by Microsoft, there is not support for WM5.0 application development in any of the express editions. The problem is I am development applications for at-home personal productivity use. It is very doubful I would ever use the product beyond hobbie work. Please advise. Thank you. you cannot purchase VC# seperately, its all within VS.NET development suite tools. im not sure about if you are limited t ...Show All
Visual Studio Team System R
Maybe a Bug in Visual Studio 2005 SP 1 !!! I'm able to reproduce on different machines with Windows XP and Vista with (Vista Update for VS SP1) Problem: 1. Start Solution and run Tests - works fine as desired. 2. Rerun Tests - VS freezes and processorload becomes 50% Additional Information: We have a Solution with ~ 95 Projects and the tests are grouped together in ordered tests. Is someone out there who has similar problems or can help Greets, Helmut Have you tried running "devenv /resetuserdata" from a VS command prompt and seeing if this fixes the issue Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All
Visual C# Direct draw handle
I have a direct draw handle that i need to draw a rectangle to. but in c# the drawing is done on the paint events. How can I draw using a directdraw handle Technically, you don't need to use the Paint event. Sounds like you're working on some kind of game, you probably have a main loop where you generate scenes at a rate of (hopefully) no less than 30 per second. Just blast your rectangle to the screen, don't wait until Windows tells you it is ready to paint... ...Show All
SQL Server Passing Text in parameter dropdown
I have a month drop down list. In my dataset I have the code which generates month name for all months. In my parameter list I want the functionality of the user able to select 'All' as Month name. How can I achieve this in the query and parameter. Code for month generation is as. SELECT DISTINCTSUBSTRING(DATENAME(mm, T1.OPEN_TIME), 0,4) AS Month, DATENAME(mm, T1.OPEN_TIME) AS MONTH_NAME_FULL, DATEPART(mm, T1.OPEN_TIME) AS MONTH_NUM FROM APPS237.Cats.dbo.Pd T1 Order By DATEPART(mm, T1.OPEN_TIME) Thanks, Kiran. You can use the UNION ALL clause to add the 'All' entry to the beginning of the table generated by your query. For example, SELECT DISTINCT SUBSTRING(DATENAME(mm, T1.OPEN_ ...Show All
Internet Explorer Development BUG: onpropertychange event fires incorrectly when setting padding style for TEXTAREA
I've observed some strange behaviour concerning the onpropertychange event and TEXTAREA elements. Changing certain style properties cause the onpropertychange event to fire not only for the property being changed, but also for the value property. I've been able to reproduce this behaviour in both IE6 and IE7. For example, if you place the following HTML on a page and click on the TEXTAREA element, the result is two alert messages, the first one, which is unexpected, for the 'value' property, and the second one for 'style.paddingLeft'. <textarea onclick="this.style.paddingLeft='20px';" onpropertychange="alert(window.event.propertyName);"></textarea> This applies to all the 'padding' properties. Ferna ...Show All
SQL Server Microsoft Sql Server Embedded Edition Service
Hello All, Can someone tell me the actual significance of SQL Server Embedded Edition How is it different from SQL Express edition I understood that WSUS 3.0 version uses (installs) the latter when it could not find any SQL 2k or SQL 2k5 other than SP1 release (please see Issue 33 in: http://technet2.microsoft.com/WindowsServer/en/library/94d1385f-4872-4c29-8822-3a4ec5e45ae41033.mspx mfr=true ) on the host machine. Besides, when i installed WSS v30 release version, i saw this instance being installed (during the configuration of the Sharepoint products and technologies wizard just after the installation is done). Now with this instance installed, i tried opening this instance (instance name being Microsoft#SSEE) through SQL Serv ...Show All
SQL Server How to show a line between table column headers and the details
I am using table object to present report. table row1 has all the column names and table row2 has the data. How can i put a horizontal line between column names and the data rows. Thank you very much. ...Show All
Visual C++ Smartbridge Alerts
I too am receiving the "entry point not found" message. I have very little technical knowledge and would appreciate assistance in any fashion. thanks. Helen McLaughlin Ok, I think I got it solved here. Here's what I found. After searching my system for files with PSAPI.dll in the name, it returned 4 files that were Verizon Online references and one of them had a subheading of SmartBridge. All 4 were an older date than my system/32 PSAPI.dll file. I renamed those 4 as PSAPIOLD.dll. Since each had different subheading names there were no conflicts. I restarted my system and the error message had departed. Hope this helps. Bob S. (viobass) ...Show All
Visual Studio Team System Renaming Objects & Generating scripts? How handled?
I haven't had a chance to play around with the new tool too much yet, but will quite a bit in my new role (once I start it.....). I remembered an issue from previous dev days and a different tool where the developer had renamed an object within SQL Server. I ran the change compare, generated a script, and reviewed with the developer. He was okay with it, even though it dropped one table and created a new one instead of renaming it. The question I have here - what will happen if I rename an object inside the tool Will that name change be generated as part of my change script or could I potentially run into the same issue as the very bad one that happened in my example above. I realize that I have no control outside of the tool, but that le ...Show All
Microsoft ISV Community Center Forums Running a macro if new mail if from a specific address
Hello, I'm currently trying to write a macro that is run when new mail is received in Outlook 2002 (possibly XP not sure though) I would like the macro to check if the new email is from a specific address (in this case sales@falcontrunking.co.uk ), delete the email, and display a message saying "There is a new message in the Sales Inbox". I know how to run a macro when a new message is received and I know how to show a message box saying "There is a new message in the Sales Inbox" but I don't know how to check if the new message has been received from a specific address. Can anyone help me This should do what you're looking for. You may need to adapt it slightly to fit your ...Show All
Windows Forms Problem with animated Gif in Richtextbox control
With chat application, it's normal to display animated emoticons inside the chat message. I am using richtextbox control for user to enter their chat message. This chat also provide users with emoticons list, where they can pick any emoticons available. Once they click on one of the emoticons, it will be copied (using clipboard) and pasted on the richtextbox at the position of the caret. Everything is fine up to here. There are two problems that bugged me for 3 days without any solution. 1) Pasted image in the richtextbox is not animated (only still image pasted) 2) Pasted image is not transparent despite property of the PictureBox has been set to Transparent or even Color.White. Here is the code i am using: private void pictureBoxPic1_ ...Show All
Visual Studio 2008 (Pre-release) TextBlock versus Label
What is the difference When to use one versus the other Unlike Label, a TextBlock element can do ... Thank you in advance for your help. Pradeep Thank you all for your help. In summary: 1. Use Label if you need accelerator keys. 2. For all other purposes, use TextBlock as it is more efficient. Regards, Pradeep ...Show All
Windows Forms SuspendLayout ignored for mdi forms?
Hi, I have a form with three dozen controls in a layout. When I ShowDialog this form it's almost instantaneous, but if I add it as a tabbed MDI form, it takes three seconds to draw the controls. We can see a wave of textboxes appear from top to bottom then another wave of labels from bottom to top. Has anyone seen this behavior before Is there any fix Thanks, Charles "Tabbed MDI form", not sure what that is. If you are using a TabControl, are you calling the TabControl's SuspendLayout() method ...Show All
SQL Server SSIS Question
I can't find the Watch Window when I'm in the designers view of SSIS. Is there a trick I'm missing Thanks, MM ...Show All
