steve1_rm's Q&A profile
Visual C++ Getting Error Description.
Hello Everyone, Is there any way i get the Error Description or Exceptions Description when i use try { --- Some code here. } catch(...) { --Exception Descrption .. } I want to get the description in the catch block, is it possible if so then how can i get Thanks If you've got no way of narrowing the amount of possible exceptions down, there's really no reliable way of reporting an error back to the user. You should look through documentation, split the catch block into several pieces, and take any steps necessary to know exactly which exceptions can occur. ...Show All
Visual Studio Solution to Error message CorGetSvc could not be located in mscoree.dll
I just used a product called PC Relocator to move applications from my old laptop to my new one. After relocation, upon start of Visual Studio 2005 I received the following messages: 1) NGEN.exe -- Entry point could not be found: "The procedure entry point CorGetSvc could not be located in the dynamic link library mscoree.dll" 2) Microsoft Visual C++ Runtime Library: "Programs: C:\Documents a... This application has requested the runtime to terminate it in an unusual way. Please contact the application's support team for more information." 3) Visual Studio Just-In-Time Debugger: "An unhandled Win32 exception occurred in setup.exe[1124]. Just-in-time debugging this exception failed with the following error ...Show All
Visual C# PathGradientBrush and the OutofMemory Exception
I've recently been using the PathGradientBrush at work, and I've found that when it goes to create a new instance it throws an OutOfMemoryException every time. I've tried a clean reboot and it still does it, I've tried making sure barely anything is in memory and it still does it. The worst of it is, I've tried to execute the same code on my home PC and it works fine. Anyone got any ideas as to what might be causing the OutOfMemoryException at work Thanks very much for that. It did help, and the exception isn't thrown when instantiating the PathGradientBrush. Instead, I now get an ArgumentException when I try to apply a new ColorBlend to the InterpolationColors. I've checked to make sure it's c ...Show All
Visual Studio 2008 (Pre-release) problems with my SDK help
hi all, today i un installed May CTP and installed June CTP and June SDK set-up files. everything seems to be fine but when i press F1 for some help i get this message You have chosen to use local Help only for Search and F1 results, and the topic could not be found in local Help. also in Filtered by option i have all SQL Server *.* but not with .Net Framework3.0 Win32 Development i want my help to be filtered by .Net Framework3.0 thanks in advance Nani ...Show All
Visual C# curve length & area problem
greetings, can anyone help me about calculating the length and the area of a curve/closed curve I urgently need help, code or just the method ... I'm using .net 2005, c#. and I'm drawing the curve with using simply the points. thanks in advance. Hi, to calculate the length of the curve you will need to know the length of the circumference of the circle and the angle of the arc, so: Circumference = Pi * diameter Length of arc = Circumference * angle of arc (in degrees) / 360 The area of circle = Pi * r^2 Area will be: (angle of arc / 360) * area So in C# it would go something like: //Your values double circleRadius = 12; double ang ...Show All
Visual Basic Error tracking
Hi, I am currently doing a project using vb.net. i have problem with the program i write.. the output is correct but there are error message occur.. the error message is : System.NullReferenceException: Object reference not set to an instance of an object. may i know what is the problem.. Below is my code: Public Shared Function GetTAT() As ArrayList 'Retrieving data from SQL Server and calculate average TAT Dim i As Integer Dim sum As Integer = 0 Dim avg As Double = 0 For i = 1 To 12 Dim sqlMonth As String = "Select * from Ticketing Where DateClosed Like '" + i.ToString + "%'" sum = 0 Try Dim dsMonth As New DataSet Dim ad ...Show All
SQL Server sql server install problem
I am planning to work with replication topic and i have a problem with it. I have installed a SQL server 2005 standard edition.When i try creating a new publication it comes out with this error "Microsoft SQL Server Management Studio is unable to access replication components because replication is not installed on this instance of sql server. for information about installing replication,see installing replication in sql server books online Additional information: Execute permission denied on object 'sp_MS_replication_installed",database'master',owner'dbo'. (Microsoft SQL server ,Error:229) I have tried inserting the CD and reinstalling it.but didnt work. When i tried to Remove sql server from control panel add/ ...Show All
Visual Studio Tools for Office VSTO 2005 - Problem loading excel file from web server URL caused by IE Information Bar.
Hi, I have a problem loading an excel report from a url on a web page . In the system I am developing I want to keep the excel report data in a database and load it into an excel file to the display to the user when requested. The user can browse the reports currently saved in the system via a web page which is also looking at the database. When the user clicks on a report link on the web page a httphandler on the web server intercepts the call, sets the reportid recieved in a url parameter as a cached item in the server document and then streams the excel document back to the client. When excel opens on the client it reads the cached item and then calls a web service to populate the data in the worksheet using the report id. I am trying ...Show All
Software Development for Windows Vista .NET AutoUpdate for Software
I have an existing program that has an automatic software updater. The software is a monitoring program and should always be running. Process: Check internet for newer version. If found, rename the running program to "appname2.exe" After renaming, download the new version. Computer is rebooted and at that time, the software silently deleted the appname2.exe I've tried this on Vista and found a problem. The "silent delete" now prompts the user (admin level) if it's ok to delete the file. For now, I've modified the software to work on vista by renaming the old program and placing it in a program directory sub folder. THe program is only 400 kb so I'm not worried about size - and updates are rare. Thi ...Show All
SQL Server Determine Processor Architecture for SQL Server 2005
Determine Processor Architecture for SQL Server 2005 I like the new features in SERVERPROPERTY but there's a huge, glaring oversight in my opinion: it doesn't return the processor architecture. I'm trying to write a detailed server info collection script and (1) use only TSQL, and (2) have it return the processor architecture. Here's what I have so far: SELECT SERVERPROPERTY('InstanceName') AS [InstanceName] , SERVERPROPERTY('ServerName') AS [ServerName] , @@VERSION AS Version , CASE WHEN CHARINDEX('Intel X86',@@VERSION)<>0 THEN '32-bit' WHEN CHARINDEX('Intel IA-64',@@VERSION)<>0 THEN '64-bit' -- WHEN CHARINDEX('x86-64',@@VERSION)<>0 THEN '64-bit' -- WHEN CHARINDEX('AMD64',@@VERSION)<>0 THEN '64-bit' -- W ...Show All
Visual Studio Team System TF10216. I changed my DB from an old server to a new one and didnt work...
When trying to see the report website: Error The report server installation is not initialized. (rsReportServerNotActivated) (rsRPCError) Obtener ayuda en pantalla Obtener ayuda en pantalla Inicio When we try to open any webservice: The XML page cannot be displayed Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. Did you follow the steps for moving to new hardware here you have the article on MSDN http://msdn2.microsoft.com/en-us/library/ms404869.aspx ...Show All
SQL Server Newbie: please help with NS 2000 runtime error
We have a new big project coming, which will use Notification Services. So, I bought a book: "Microsoft SQL Server 2000 Notification Services" by Shyam Pather and did all steps including installing NS, setting up the environment, and creating the first sample NS application (Chapter03). Every single step was successful, no errors. I am pretty sure I didn't miss anything. All went well until I copied a sampla data file into the EventsWatchDirectory. At this point, the file name almost immediately changes to EventData.xml.20060908-160948.370.err (digits are different at every attempt, but please note the extension). I open this file using Notepad, and it is the exact copy of the original .xml file: <eventData> &nbs ...Show All
.NET Development Object dieing after some idle time
Hi, Need some help ragarding remoting . I have an application developed using remoting scneorio. I am using SAO singleton objects. My application is working fine. But when i left the application idle on client sie, (user machine and not server machine) say some half an hour, ,y application returns the error. I found that object is dieing after some idle period. Any guess why this is happening Thanks Vyanki Hi, Thanks for reply. Actually my application is working fine. Only thing is, when I left the application idle for an hour, it gives the error. So i anot able to figure out, are there any factors/IIS settings which are causing my objects to die after some idle time. Rgds Vyanki ...Show All
Windows Forms using windows addressbook
Hi, I hav developed a mailclient in mfc...........into which i hav to embedded windows address book.......i refered.....msdn.......but sufficient information is not given........i know its is possible.............can any one.........come out with a solution.......its urgent........ Thnx in advance, Sudhakar. Hi, Sorry to say but this forum is dedicated to the windows forms instead of MFC. They have something in common both focusing on the windows desktop application, but mfc seems out-dated and isn't suitable to be discussed here. ...Show All
Smart Device Development Designer issues after CF2.0 SP1 installation
I just installed the CF2.0 SP1 patch. Seeing other posts, I uninstalled the Beta 1 version I had used in developing some apps (because I needed more control over the datagrid), reinstalled the original CF2.0 from my DVD, and then loaded the SP1 patch. Initially, everything in my projects looked fine. However, after rebooting my machine later in the day, I now get designer errors on any form with a grid control. The main part of the message is: Could not load type 'System.Windows.Forms.DataGrid' from assembly 'System.Windows.Forms.DataGrid, Version=2.0.0.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes'. Actually, I also the following message as well, but it will go away on a recompile, although it comes back the ...Show All
