Rudemusik's Q&A profile
.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
Visual Basic Formating Single numbers to limit decimal places
Hi, I am new to .NET. I am needing to limit the number of decimal places to 4 for single type numbers. In VB6 I used to do this and it works also in .NET: Dim number As Single = 123.123456789 number = Format(number, "###.####" ) 'number = 123.1235 The problems with this are: 1) I am converting a number to a string, and I would like it to remain a number. 2) I will need to format every number and reformat after every mathmatical calculation to keep 4 places. Is there a way to limit all the single variables to 4 digits w/o having to format each variable. Also will this then restrain mathmatical results to 4 digits. Said another way: I want a global way to control the number of sign ...Show All
Windows Forms Clone control properties
Hi together, I am trying to clone a control. So I run thru all propertydescriptor elements from the following collection: PropertyDescriptorCollection originalProperties = TypeDescriptor.GetProperties(originalCtrl); Then I want to set the properties in a new control: PropertyDescriptorCollection cloneProperties = TypeDescriptor.GetProperties(cloneCtrl); foreach (PropertyDescriptor origProp in originalProperties) { // Get the corresponding property of the cloned control PropertyDescriptor cloneProp = cloneProperties.Find(origProp.Name, false); if (cloneProp != null) { if (origProp.ShouldSerializeValue(originalCtrl)) { object origPropertyValue = origPro ...Show All
Windows Forms Error starting ClickOnce app when "offline"
Hey I just deployed an ClickOnce app to my web server, and installed it with no problems at all. It runs fine and updates when i upgrade the version on my web server. The problem is that i live at a dorm where i have to use a dialer to connect to the Internet, and when im not connected i get redirected to a info page. When i start my application without having dialed up, i get the following exception: ERROR DETAILS Following errors were detected during this operation. * [11/22/2006 10:10:45 AM] System.Deployment.Application.InvalidDeploymentException (ManifestParse) - Exception reading manifest from http://info.k-net.dk/ : the manifest may not be valid or the file could not be opened. - Source: ...Show All
Visual Studio Team System Customer Support Representatives using TFS
We've moved over to TFS successfully. We've put our 8 projects in, and set all the sercurity up. THe developers, Project Managers and Developer Managers are loving it. The customer support people... well... they don't like it that much. The reason It's hard to search. They might want to search through ALL projects with a single key-word, and fine all issues that come up with that key word. They could write a query to do this, but that's a lot of tinkering if you want to search on: City, Province/State, Severity, start date, end date, customer name, customer number etc. HOw are other people handeling this with their Support department Are there better ways of doing this I heard a rumour that the TFS team will be releasing a "Quick Sea ...Show All
Visual Studio Tools for Office Project file has been renamed?
I have an asp.net web application (vb) that I am running is visual studio 2005 When i try to run the project I get the following error message. The debugger cannot continue running the process. The project file ' ' has been renamed or is no longer a part of the solution. I can run the project if I browse the start page. How can I correct this problem This forum is for questions concerning the VSTO technology, which has nothing to do with asp.net apps - not sure how you ended up here. You'll find ASP.NET forums at this location http://forums.asp.net/ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I like that... maybe with a list?
Hi: Are there any tutorials regarding applying any effects to sprites or textures For example I want to apply 'motion blur' based on the sprites velocity vector. Do I need to write some kind of custom shader or does the XNA framework have this included Any help greatly appreciated! Regards: John I would like to try is both ways... can anybody point me to some tutorials on creating a Pixel Shader and applying it to a 2D Texture using SpriteBatch.Draw Regards: John ...Show All
SQL Server Tabs missing from Reporting Servers home page
When I am trying http://localhost/Reports/Pages/Folder.aspx I am not seeing the all too familier "Contents" and "Properties" tabs along with deployed reports. Once in a while, I see that, but most of the time it is missing. Reporting Services got installed correctly though. It shows a very blank-ish Home page. Thanks Brian. I am a local admin in my workstation where I am trying to open the home page. And still I can not see the full home page of Reporting Services. ...Show All
Visual Basic Would like to know how to get updata values from DetailView?
I'm building a program which has a detailview of webform for user to edit data ( data is retrieve from SQL Server) my problem is how to Get values which was update by User I think is may work by funcation FindControl() , but not a good idea. could anybody here could give me a suggestion and how to do many thanks xxx you can get the updated value when DetailView occurs ItemUpdated event, and all the old values and new values can be found in the DetailsViewDeletedEventArgs p ...Show All
SQL Server How to hide columns conditionally based on header Column in Matrix?
Hi, I have a report in following layout, where I would like to hide the entire Commission measures if this report is for sliced for eg, by say Promoter Type For Media Promoter, show this: Sales Product A Product B Region A 80 50 Region B 90 30 For Affiliate Promoter, show this: Commission Sales Product A Product B Product A Product B Region A 100 200 80 50 Region B 50 70 90 30 What is the expression in Product cells (Product A &B) that can be placed to conditionally set the visibility to True or False based on the Promoter Type for Commission Anyo ...Show All
.NET Development parameters to Pass through Sql Query
Hi, I have a problem. I need to access the stored procedure dbo.GetCustomerListFromLocation from MS-Access and this stored procedure takes a parameter of Type nVarchar. Now I am calling this stored procedure as EXECUTE GetCustomerListFromLocation 'Vegas' Actually this query is bind to a report in MS-Access and from my application I would like to open rpCustomers. Now please help me in how to pass parameter to the above PTQ from VB.NET application. Thank you. Hi Andy, Instead of doing like this, better if you use parameters. You can refer the following example cmd.CommandText = "GetCustomerListFromLocation" cmd.CommandType = CommandType.StoredProcedure cmd.Parameters.Add( new System.Data.OleDb.OleDbPara ...Show All
Windows Live Developer Forums Does VE v4 provide less road information in Taiwan than v3?
I'm glad to hear the VE v4 has lauched, but the new map seems to provide less road information in Taiwan, a lot of roads and streets disappear on the new map. Is it possible for me to use the old version VE map or has any other solutions Thanks. excuse me but it seems that we share the same problem. i tried to look for anything that would help on the web but in vain. i'm looking forward to the result of the investigation. i would like to know whether this problem is fixable and when would it be fixed. if it is not, i'll be really grateful if i could use the previous version of VE. again, thanks for paying attention to me. ps. there is another lapse in VE v4 in Taiwan area. Please ...Show All
Windows Forms deploy nonav uninstall silently
ok Geniuses, i want to create a program that uninstalls silently For example, there is a program out there called nonav which uninstalls symantec antivirus completely however there are prompts in that program which i want to take away, and have it take the default prompts anyone know where i can begin Thanks i have a way of doing this thanx to unsupported yet very friendly symantec measures. email me if you need the instructions. iggy07@gmail.com ...Show All
Game Technologies: DirectX, XNA, XACT, etc. JIT register allocation and bounds checking
A few questions for Shawn or one of his buddies: 1/ Does the register allocator used in the XBox JITter use all of the available scalar floating point registers If not, how many can it deal with 2/ Does the XBox VM ever skip array bounds checking, and if so under what conditions 3/ Presumably there are no bounds checks when using unsafe code and pointers 4/ Are the method inlining limitations of the CF VM mentioned here still applicable to the XBox VM - especially the one about not inlining any method with floating point arguments or return values (yikes, that would be all floating point setters and getters!) Andy. I've got an archive of Andy's post. It was a little blunt, but also made ...Show All
SQL Server from AdventureWorks to AdventureWorksDW
AdventureWorks and AdventureWorksDW are good samples for transaction and dw. Is there any sample of SSIS package to load data from AdventureWorks to AdventureWorksDW For example, I'd like to update AdventureWorksDW db everyday from transaction db. How about if some dimensions changed, like employees, and productions Thanks! -Z Project REAL has examples. http://www.microsoft.com/sql/solutions/bi/projectreal.mspx ...Show All
