ReLoad's Q&A profile
Visual C++ winuser.h error
Everytime i try to include winuser.h i get this: C:\Program\Microsoft Visual Studio 8\VC\PlatformSDK\include\winuser.h(42) : error C2146: syntax error : missing ';' before identifier 'HDWP' C:\Program\Microsoft Visual Studio 8\VC\PlatformSDK\include\winuser.h(42) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Program\Microsoft Visual Studio 8\VC\PlatformSDK\include\winuser.h(42) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Program\Microsoft Visual Studio 8\VC\PlatformSDK\include\winuser.h(43) : error C2146: syntax error : missing ';' before identifier 'MENUTEMPLATEA' C:\Program\Microsoft Visual Studio 8\VC\PlatformSDK\include\w ...Show All
Windows Forms Click Once overhead?
Is there some kind of overhead with using click once When I install my application, it says it downloads 22 mb of data and once it is install windiws says it is taking up 264 mb. Installing the application using the setup project, it is typically taking up around 32 mb. thanks. ...Show All
SQL Server Selecting version of remote SQL instance into local variable?
Hello all, I'm a bit new to SQL Server and T-SQL (my background is in DB2 ), so hoping you can help me with this. I'm writing a T-SQL script that's hopefully going to scan a bunch of SQL server instances and record the results. We've got a mix of SQL2K and SQL2K5 instances, and for part of my script I only want to run something if the remote instance is SQL2K. I'd tested this on my local PC with several instances created and it worked fine. When I try and run it for instances located on other servers it barfs . From what I've found from looking up the error message it looks like I've got myself a loopback -- but I don't know how to get around it - any ideas please DECLARE @tempdata TABLE (scratch sql_variant) DECLARE @debug tinyi ...Show All
Visual C++ Retrieving bitmap pixel dimensions
Hi, How can I retrieve the pixel dimensions of an HBITMAP object without using MFC Thanks. ---Dan Please limit your use of this forum for its intended scope: C++ language issues. This question is best asked here: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32.programmer.gdi&lang=en&cr=US ...Show All
SQL Server Error while back-up the Database
Hi, I'm facing a problem whereby I can't back-up one of the databases on the SQL Server. I'm using the method of right clicking the database, select "All Tasks" and click on "Backup Database" to backup all my databases. Basically, I managed to back all the databases using the same method as stated above EXCEPT one of it (let says Database A). Actually, throughout the backup process of Database A NO ERROR being prompted BUT when I check for the tape contents Database A is excluded from the contents AND when I purposely back-up Database A again and check the contents of the tape, it indicates that the back-up is incomplete! So what should I do in order to back-up that particular database successfully ...Show All
SQL Server Analysis 2005 Cube Processing in 64-Bit Environment
I have problems with processing cubes on AS2005. I get this error message while processing: Memory error: Allocation failure: Not enough storage is available to process this command. Error in the OLAP storage engine. This machine has 6GB of memory and once it hits 3.5GB the processing stops. AWE is turned on. I would appreciate, if anyone can help on this. Thanks, Gopal Analysis Services is not AWE aware. So it can only use 2GB on a 32bit box (3GB if you have /3GB switch in boot.ini). Looks like the processing operation is running out of memory. What are the number and sizes of dimension and partition tables Do you have aggregations Look at the processing log (in the process dialog) and ...Show All
Visual Studio Team System Adding a previously deleted directory
Hi, We've come up with an interesting issue with TFS that I'm hoping to find a workaround for. We had a directory named 'Core' (with a number of sub directories) in source control which was deleted. Sometime after this a directory with the same name, and existing at the same position in the directory structure, was added rather than undeleting the old directory. This has caused the old deleted directory and previous structure to not be viewable in Source Control Explorer - the only way to view them is by syncing back to a change before 'Core' was readded. This causes a number of problems, such as not being able to undelete the old structure (due to the existance of the new directory) and not being able to view the old source without pri ...Show All
.NET Development Problems getting Orcas and or Framework 3.0 working on XPSP2
Hi, I'm really stuck on my project to install various .NET / framework 3.0 / Vista development learning resources installed on my Windows XP SP2 system... My system is pretty well equipted, HP laptop with AMD Athlon 64 etc...I've installed the framework 2.0 & express editions of VS, as far as I know without any problems...I installed the Windows PSDK (the latest, with the .NET 3.0 samples and updated win32 and VistaBridge stuff, and that seemed to go OK also, and used the utility to 'update' my express vs editions, (well i think it really only affects C++), and it changed the exe, include, lib paths properly and C++ is able to compile sample programs properly (at least those that do not require Vista). C# Express is willing to op ...Show All
SQL Server Invalid class string in Enterprise manager
Hi, Sorry to be cross-posting, but I'm not getting much response to this... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=807314&SiteID=1 ...which I don't even think is in the right forum anyway. can anyone help Basically, I get a error box saying "Invalid class string" in Enterprise Manager whenever I try to run a query. nope didn't work. I installed the Analytical services, ran the regsvr line (which worked) but still having the same problem. btw, I used to have some version of SQL Server 2005 installed (as part of Visual Studio 2005) but removed this, as I though this was causing the problem. I tried a repair of Visual Studio 2005 hoping this might help, which t ...Show All
Gadgets Bandwidth Monitor
Does anyone if it is possible to create a bandwith monitor sidebar gadget and if so has anyone got any examples I could look at. Regards Ian Anything is possible! So long as you're willing to get into coding ActiveX COM DLL's. We've tried getting acccess to this sort of information before via WMI and ran into security issues, likewise the sysmon.ocx ActiveX COM can't access it unless you're running as Administrator. SNMP is an option, I don't know if you'll run into security issues with that. You'll need to either code your own ActiveX COM or file a freeware one. For some strange reason, Microsoft restricted access to performance stats to Administrators only. So you've got a problem from the start! ...Show All
SQL Server You are not authorized to view this page
Our Reporting Services was working fine i think maybe the secuity update messed our server now we can't see out reporting default website we messed around with the IIS and we were able to get to show the home pages of the reporting services when we click on the report it gets "not authorized to view pages" we messed around more with IIS and get can't see the homepage of Reporting Services the secuity patch was framework 1.1 we did remove the patch but the same problem we are not sure if this was the cause or not anybody know what i can do to resolve not access the website and fix You are not authorized to view this page Need help asap Was this issue ever resolved I'm having similar issues, but with a new inst ...Show All
Windows Forms ClickOnce and plugin directories
Hi, I was wondering if it's possible to configure ClickOnce such that subdirectories containing other assemblies (such as plugins) are created in the cache. At present, I have a directory containing a number of plugins and because in the ClickOnce cache all assemblies seem to be thrown together in one directory, the app doesn't work. It tries to look for the plugins in a "plugins" subdirectory and it doesn't find it since it doesn't exist. Is there a way to specify the directory structure in either the deployment or application manifests Thanks in advance for any assistance anyone might be able to provide. Norman You can definitely do this. Just create subfolders as part of your Visual Studio p ...Show All
.NET Development is there a cross framw in .net 2.0
Is there a cross frame support in .net 2.0 If no what is the solution kangkang wrote: Is there a cross frame support in .net 2.0 If no what is the solution ...Show All
Visual Studio Trouble installing the December MSDN Library
I received the latest MSDN DVD distribution the other day. The package included the December 2006 version of the MSDN Subscriptions Library. When I try to install this updated version of the library my XP/SP2 system totally hangs trying to do something on/with the DVD. If I put the DVD in a system that does not have VS 2005 installed and does not have any previous version of the library installed I can read the DVD without any problems. My question is has anyone else seen this problem with the December library If so, have you found any workarounds other than to stay with the previous library version Thanks Neil Another update (if it helps). I uninstalled Sonic DLA and then restarted my system. After that I was able to get to the D ...Show All
SQL Server Report Layout - forcing absolute position
Greetings, I have a report with all of the required data, but am having trouble with the positioning of the elements. The report has header-like, body and footer-like sections but I am forced [I think] into using only the body section of the report since SSRS won't let me put fields in the header/footer area (msg: fields cannot be used in headers or footers). btw - my report is always one page... never more. The center section (a table) may change in number of rows, but it will always fit on the page. So -- easiest way to ask this is: how can I lock the position of a field (or text box) to ensure it will always be in the same spot (acting like a header / footer) Thanks in advance. ...Show All
