pauloschultz's Q&A profile
Smart Device Development Get processor usage
Hi, does anybody knows how to get processor usage percentage, i mean like how it looks at the windows xp task manager. thanks in advance I would guess that would be a sum of 3 and 4 divided by current time minus #1. You can run a little experiment to confirm that. ...Show All
.NET Development Error 80070005
Hello, I developed for 4 month a web site with visual studio 2005. The site runs using VS2005. Mathematical computations have been done using EXCEL (Microsoft.Office.Interop.Excel). When running the site under IIS (XP pro), I get the message detailled under. I tried to give permissions on EXCEL to IUSR_MACHINENAME, then to everybody without results. It will be impossible to deploy the site until this error is solved. Thank you to help me. Server Error 80070005 in '/SiteOPCVM' Application. -------------------------------------------------------------------------------- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005. Description: An unhandl ...Show All
SQL Server sql backend/access frontend
I have a database with a sql backend and an access frontend. I put it in a folder on the network for users to access. First, they were getting errors like not being able to access the database if someone else had it open and not being able to perform certain functionality. It was suggested that i put a mde on each of the users pc. i gave them all access to their own front ends on the folder because they use different pcs. this solved the problem. however, i need a way to perform updates without manually creating mdes for every user. i used to work for a co that there was one mde was put into a folder on the network with a config file. The users access the database through CITRIX. Whenever they accessed the shortcut on the server, it create ...Show All
Windows Forms How to set false enabled button?
I want to set false enabled button when I click another button but I don't know how to do that... this is my code: button1->Enabled(False); but it doesn't work...Any suggestions joeycalisay wrote: let me guess button1->Enabled = false; I also tried this but it doesn't work...Other suggestions ...Show All
Visual C++ Memory leak in vc2003 and vc2005
hi i have a c++ application that does not use MFC or any windows headers. it is a console application that uses 2 external libs. namels jpeg64.dll and vl.lib [for matrices] . my application was leaking memory and i fixed most of it and the remaning leaks where fixed using insure++. But insure++ still shows memory leaking and this hapens inside the winMainCrt function, malloc.c and calloc.c, for which i have not control of. Now i tried to write a simple c/c++ program like this int main(int argc, char **argv) { return 1; } and the same leak is reported. So i went and downloaded the Borland c++ editor and then ran the same program and insure++ reported no leaks for the program above!! whts exactly is hapening here, anyone s ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Several REF/Runtime/documentation bugs/suggestions
Hi, everybody. I've been doing things with D3D10 for some time and I must say that I'm overall impressed, it's a very good piece of software. However, there are some things I'd like to see improved. The first one is improvement of documentation - I hope, that it will be done before release :) There are lots of problems here - some wrong (SampleLevel parameters) / missing (how to use SampleCmp - it never says it needs a SampleComparisonState, in fact it does not even mention such type anywhere - I found it in fxc10.exe; pitch behaviour for block-compressed textures (it is not mentioned in docs as it was in D3D9, though it was different from D3D9 in June SDK - and was changed in August SDK to D3D9 way); the deprecation of BGRA fo ...Show All
Visual Studio Express Editions installation failure of VB 2005 Express
AppName: setup.exe AppVer: 8.0.50727.42 ModName: vsscenario.dll ModVer: 8.0.50727.42 Offset: 0003a490 I have downloaded the .iso version of Visual Basic 2005 Express edition as mentioned in the manual installation instructions and after extracting the .iso image using isobuster, I tried to install the same by double-clicking the setup.exe file but after sometime it gave me the above mentioned error report and closed down. I have also tried installing the windows installer version 3.1. but to no success. [09/11/06,07:54:14] Setup.exe: [09/11/06,07:54:14] Setup.exe: ========== Logging started ========== [09/11/06,07:54:14] Setup.exe: ===================================== [09/11/06,07:54:14] Setup.exe: GetGlobal ...Show All
Software Development for Windows Vista Intel(R) 82801ER SATA RAID Controller
When I want setup Vista RC1 from DOS, I will need to install raid driver. When I put floppy into floppy-drive, setup begin copy driver-files to HDD, when I will seen "blue screen" with error. This driver was worked correctly in Vista Beta 2. How can I correct this problem. +1 And many other people face the same issue. Actually, I did not see anybody succeeding in an installation of Vista RC1 on a motherboard with the Intel 82801 ER Sata Raid controller :/ Valery. ...Show All
Visual Studio Team System Call the data compare from code?
Is it possible to code around or call the data compare from code I would like to use this functionality to keep some DB's in snyc automatically. If you want to do this now there are several third party solutions for this sort of thing, Red Gate's SQL Data Compare ( http://www.red-gate.com/products/SQL_Data_Compare/index.htm ) provides an API to allow you to do this or you could look at a solution such as log shipping. - James ...Show All
Windows Forms installing .net framework automatically
Hi! I have a software, which should be run from CD (no installation), however I need to install - or offer to install .net framework 2.0 on the computer of course. I've tried ClickOnce and it works well, but it installs the software to the client computer. Now the question is, how to install the corresponding framework I expect that I will have to have a piece of unmanaged code, which determines if the framework is already installed (and starts my application) or that will start the right framework package (right platform and language). How should be this done Thanks. Hi, thanks for reply, but I don't find anything new there. You have to instruct the user to manually install the framework, or you h ...Show All
Visual Studio Team System Build Fails with "cannot register assembly" error
My team is using TFS and Team Build to automate build/deploy procedures. In building one of our solutions I get the following error: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(2720,9): error MSB3216: Cannot register assembly "[ASSEMBLY PATH AND NAME HERE]" - access denied. Access to the registry key 'HKEY_CLASSES_ROOT\[ASSEMBLY NAME HERE]' is denied. So, I check out the Microsoft.Common.targets file, line 2720, and find this: <!-- *********************************************************************************************** *********************************************************************************************** ...Show All
SQL Server Local cubes connection
Hello, I have created 3 local cubes which resided in the same .cub file. The cubes created from AS 2005 cubes. How can I make ADOMD connection to all 3 cubes at the same time in my client application (C#) The problem is that Initial Catalog (database name) in connection string in case of local cubes is the same as the cube name. Thanks, GB Yes, XMLA script is working for me. I found the instructions hear: http://cwebbbi.spaces.live.com/blog/cns!7B84B0F2C239489A!883.entry Thanks, GB ...Show All
SQL Server Configuring Connection Manager for 6.5 database
Greetings once again SSIS friends, I am trying to configure a connection manager for a database that is still using SQL Server 6.5 But it is not working properly. I put the server name, user name and pass word, I select the Native OLE DB\Microsoft OLE DB Provider for SQL Server as my provider. When I click Test Connection it says the connection is fine but then the drop down list for the list of databse names hows nothing! Am I using the wrong provider ! I'm confused! First at all; you need to create a DSN to point to the 6.5 DB in the server/computer that would run the package. This is Control Panel->Administrative Tools-->ODBC Data Source Administrator. Make sure you create that DSN as 'System DSN' so is ...Show All
SQL Server Error: duplicate key row
What might cause the following error when inserting rows in tables that have primary keys defined as IDENTITY (1,1) duplicate key row in object 'aa' with unique index 'aa' The rows are inserted one at a time using the parent IDENTITY key as a FK constraint in the child table which also has an IDENTITY KEY. However, this scenario does not sound like it would cause an error. ...Show All
SQL Server Install additional instance in a cluster
I am looking for a best practice or any suugestion on the best way to install an additional Sql 2005 instance in a cluster environment. We have a production environment that is active/active/passive and need to install an additional instance with a little impact to the current production instances as possible. Ant suggestions or articles I can review Hi...see the whitepaper at the following address: http://www.microsoft.com/downloads/details.aspx FamilyID=818234DC-A17B-4F09-B282-C6830FEAD499&displaylang=en It contains multiple sections and information on installing Sql2k5 in a clustered environment... HTH ...Show All
