ahmadifx's Q&A profile
Visual C++ fatal error RC1107: invalid usage; use RC /? for Help
Hi I'm trying to compile apache httpd-2.2.3-win32-src, that I converted to a vs2005 project using the wizard, but I get the following errors: fatal error RC1107: invalid usage; use RC / for Help I found something related to this in: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=123870&SiteID=1 but I can't figure out what to change since all my paths in Tools->Options->Project and Solutions->VC++ Directories start with something like $(FrameworkSDKDir) or $(VCInstallDir) and not the full paths. Could anyone tell me how to show the full paths or has anyone got a different solution to my issue. Thanks Martin Malek Sorry but I'm still getting the same results. I'm not able to complete the build due to the RC1 ...Show All
Visual Studio 2008 (Pre-release) WCF and Reporting Services
Hi! I am using the Reporting Services web-service and WCF. Because I am new to WCF I would like to ask you two questions: Question 1: Is it possible to send username/password when you generate a proxy class with svcutil I have tried to embed it into the URL but it does not work ( http://username:password@host ). As a workaround I enable anonymous access in IIS and then svcutil works fine. Question 2: I can now generate reports with the ReportingServicesClient and everything is great except for the anonymous part. I am looking for an example that shows how to set up authentication. I want to try both basic authentication and integrated windows authentication. Th ...Show All
SQL Server Scope & Case
In reworking some CASE statements to enhance performance, I followed Mosha's suggestion to use SCOPE and CASE to have faster queries that are still readable. They do perform much quicker (10x), but the calculated measure doesn't behave the same way. For example, in a calculation to determine a change in a measure from one period to the next and a date dimension that contains 1 year of data over 2 calendar years (October 2005-September 2006), the first year of the hiearchy returns no data. Adding another measure to the query results in values for both measures. This works as expected... CREATE MEMBER CURRENTCUBE.[MEASURES].[Account Change % Old] AS Case When [Date].[Calendar Year Hierarchy].CurrentMember.Level.Ordinal = 0 Then N ...Show All
SQL Server The value is too large to fit in the column data area of the buffer.
I am getting the following error on my SSIS package. It runs a large amount of script components, and processes hundred of thousands of rows. The exact error is: The value is too large to fit in the column data area of the buffer. I redirect the error rows to another table. When I run just those records individually they import without error, but when run with the group of 270,000 other records it fails with that error. Can anyone point me to the cause of this issue, how to resolve, etc. Thanks. "The value is too large to fit in the column data area of the buffer" is the Message property of the exception thrown in a script component when truncation occurs on a column write. You can tr ...Show All
Software Development for Windows Vista Bugcode_USB_Driver error w/USB devices attached
I just completed installing Windows Vista RC1 on a VMWare 5.5 machine, and everytime I power down Windows Vista when USB devices are attached, I get a BSOD with the Bugcode_USB_Driver error. If I remove the USB devices before powering down, which include a Intellipoint Explorer wireless mouse and a portable storage devices, the BSOD/error does not appear and system shuts down just fine. The following message appears during subsequent startup. Problem signature: Problem Event Name: BlueScreen OS Version: 6.0.5600.2.0.0.256.1 Locale ID: 1033 Additional information about the problem: BCCode: fe BCP1: 00000008 BCP2: 00000006 BCP3: 00000009 BCP4: 837DD5CC OS Version: 6_0_5600 Service Pack: 0_0 Product: 256_1 I get an "Access Denied" e ...Show All
Visual Studio Team System WSS & SSL
I am fighting with the TFS setup for the fourth day in a row. I am making progress, but now I hit a brick wall. In IIS I added a SSL binding to the Default Web Site that hosts the WSS stuff by setting SecureBindings to ":443:www.tfs.fnu.mycompany.com" That worked and I can now access the WSS stuff via the https protocoll on port 443. I then updated the TFS registration info with tfsreg, in particular for the WSS stuff I changed the ServiceInterface for BaseServerUrl and BaseSiteUrl to the new https DNS name. I can browse projects just fine, all over port 443 and SSL. But project creation doesn't work. I narrowed it down to the following problem. Team Explorer seems to call the /_vti_adm/admin.asmx on the WSS administr ...Show All
Visual Studio Express Editions Game problem
Hi, I am struggling to do a game. 6 values: 13, 99, 7, 32, 23 ,24 Enter the number: 3454 Suppose that 3454= ( ( ( ( 99 - 7 ) - 32 ) - 23 ) * 24) - 13 With these values , I must obtain the number that is entered. I am thinking on it but nothing comes to my mind . Would you please help me Hello You should start by understating the problem and then its solution and then code it. This is a nice problem that is common to give to students, you can find a discussion on the algorithm on many websites (such as here: http://mathforum.org/library/drmath/view/64637.html ) Thanks Damien ...Show All
SQL Server Sorting Reports with ReportExecution2005 web service
I've been banging my head against this for a while now and have searched through the documentation and google and posted to the newsgroups with no luck. The ReportExecution2005 namespace contains a sort method, but the documentation doesn't indicate how it's used. The method accepts a string for the sort item, but that string apparently has to be an integer. I've called the method and regardless of the input, the result is the same: * The sort method returns 1 and the report item passed in is the report item returned in the 'out' variable. * The sorting is not reflected in the output of the Render method. I can't simply use interactive sorting because, in our deployment, the SQL Server and Reporting Services are not accessible ...Show All
Game Technologies: DirectX, XNA, XACT, etc. My 2D game layer Editor and XNA to PictureBox question
I started to build my "2D game layer editor", if you want you can see the interface of the application at this link: http://www.tonigreco.it/_XNA_/Editor.jpg The question is: can I draw to PictureBox area using XNA framework And if yes, how Feel free also to post here your general ideas about how to making this kind of editor. Thank you, Toni Yes, this is a very good tutorial. But, if I understand right, it don't use .NET control for user interface, but it draw control like sprite. With my editor I want to use control like treeview, propertygrid and more. These controls work fine with little code to write. I don't have a time to write also my classes to draw and manage this kind of user interfaces. Bye Toni ...Show All
Visual C# Is it possible to "synchronize" 2 clients?
I have absolutely no idea where to post this, so just tell me if I did it wrong. After going through half the internet...okay that's an overstatement, but you get the point. I couldn't find the answer to this...maybe odd ...question. Okay so here's the problem. what I want to do is have 1 server (ASP.NET) and two client browsers. These two clients need to display the same page. And then (for the sake of an example) this page would have like a button or something. Would it be possible to have it so that if you click that button on client A it would also happen on client B I need to know in the first place if it is even possible. If not, just say so and I'm already happy :) If it is, I need some basic info on how to go ab ...Show All
SQL Server Deadlock at trigger
a trigger need to insert or update record at the other table in high traffic environments however, the deadlock happens; ie, a trigger running twice at the same time want to need to insert record at the table. i trid to change isolation as SERIALIZABLE or REPEATABLE , but i cannot solve the problem. i guess the "while loop" affects the result because i try to cancel the loop and execute smoothly. How to solve the deadlock Thx ----------------------------- i used the following commands to change isolation level: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE begin transaction commit transaction ----------------------------- the code are as follows: declare setskuCursor cursor local static for select item, qua ...Show All
SQL Server Bootcamp SQL Server 2005 Databases VMC Files Missing for course 7031A
Hi, Hopefully someone can help me with this. When I downloaded the files and after burning the DVD to create the DVD to setup the 7031A - Upgrading to Microsoft SQL 2005 course, all of the executable files (BCBase.exe, Upgrade.exe, InPlace.exe, SideBySide.exe and SQL7Upgrade.exe) are not in the Setup/Drives folder...the only item in that folder is a file called "placeholder.txt". Please, if anyone knows how to get these exectuables let me know. Thanks, David - EduCorp Training & Consulting ...Show All
Visual C++ Resize main window of an application
Hello, While resizing the main window, say reducing the size by mouse, I want that the window size cannot be further reduced when it comes to a minimum value. The application is developed using VC++ 2005 and MFC. Please tell me how I can do it. Once i posted the same inside my blog You can see the post here Restrict Window Sizing Taken from the post To accomplish the same, you may need to override OnSize message Here’s a sample snippet to do the same. const LONG MIN_WIDTH = 500; // Minimum width const LONG MIN_HEIGHT = 300; // Minimum Height void CMainFrame::OnSizing(UINT fwSide, LPRECT pRect) { // Set the minimum size if width going to be less than minimum width if ((pRect->right - pRect->left) <= MIN_WI ...Show All
Internet Explorer Development How to change the printer settings in IE 7 using Java script or CSS
I know there are tons of external Active X controls doing that, but according to Microsoft, they did lots of improvements in IE7’s printing. I want to change the page settings to landscape or portrait before printing it, from the html page itself, in IE7 if possible. How to do that :-) Hi, You may reference to this site for a workaround. http://web.tampabay.rr.com/bmerkey/examples/landscape-test.html ...Show All
Visual Basic Error reading Data
Hello, i try to read data type currency out of a database/ recordset and use it in VB 2005. For Dim Price As Double = Decimal .FromOACurrency(rs1a.Fields( "NW_Cur_PreisBrutto" ).Value) the result are: 10.000,00 € change to 0.0001 32.526,00 € change to = 3.2526 for Dim Price As Decimal = Decimal .FromOACurrency(rs1a.Fields( "NW_Cur_PreisBrutto" ).Value) the results are: 10000,00 € change to 0.0001D 32.526,00 € change to = 3.2526D thanks for your help Wolfgang Hello, thank you for your quick help. But i'm still lost. What i did, i changed my code as follows: ...Show All
