AnaC's Q&A profile
Visual C# Export PowerPoint with C#?
Hi, Currently i am working on small application where i export all the slides in the powerpoint and display then in slide show using C# form.My Problem is that when my application runs on a system on which office is installed it works fine but it is giving me error when i am running on a system where office is not installed. I know two methods of exporting the power point one is using export option and other is using screen capture method. Please told me the solution to my problem that how i run my application on a system without office being installed on it.And i am com Yo dude, i dunno. Once I created a plugin for an enterprise app and it exported data to Excel from a datagrid. I used the method I explained and it worked for me ...Show All
SQL Server Use report parameters for Oracle 8i data source
Hello, The codes below does not work out using Oracle data provider:(Oracle v. is 8i) Select Decode(OSGID, 'AIR' ,'Room Air Monitoring', 'RRT' ,' Room Rountine Sample', 'SRT' ,' Room Supplement Sample', 'OAP' ,'Personal Other Area Samples', 'SFP','Person SFL Samples' ) Description, Count(QAONR) as TotalSample From VW_RA_LIMS_REPORT Where OSGID in ('RRT','AIR','SRT','OAP','SFP') And STATUSVALUE in (8500,8100) And RESULTUNIT='cfu/plt' And (BATCH =@StartDate ) Group By OSGID The code works if: BATCH='01/01/2006' I try code in Oracle SQL plus, when change @StartDate to &StartDate, it works. How to resolve this problem Thanks, Zixing I am using OraHome92 which do ...Show All
Software Development for Windows Vista SqlTrackingService does not work in Beta 2.2
Hello, I have a problem with tracking : I have worked through Hands-on Labs Beta 2, Lab 03, DefaultSQLServices. The compiler throws the error message: "Type or namespace SharedConnectionWorkflowTransactionService not found" When I delete this line the code will be compiled, but I get runtime errors. The persistence service and the tracking service do not work together as it seems. The persistence service alone works well. But the tracking service does not - no tracking records were generated. Take a look at this post for more information. ...Show All
SQL Server Beginning with SQL Express
Hi everyone, I want to set a database which will be made of two parts: - One main set of files which is shared among users - Another set of files which is proper to each users and will be mainly used for processing infos. Because I must support Windows 2000 and XP as O/S platforms, I can't use SQL Everywhere. It seems that I'm stuck with SQL Express. My questions are the following: - Can SQL Express manage database files with variable namepath - How can I configure SQL Express so that such a file may reside on a dynamically configurable path, I mean, which would be configured by application Many thanks in advance for your help, Stephane Hey Stephane, Just to clear up a c ...Show All
Software Development for Windows Vista view mode is not saved when browsing folders inside my NSE
Hi All, I'm developing a shell namespace extention and everything works fine except one thing - the view mode (details, list, etc.) is not saved when I go from one folder to another inside my NSE. I don't know what to do about this. Does anybody know how to preserve view mode while browsing folders (should I get current view mode from the parent folder and set it somehow when I create IShellView object ) In my NSE I use SHCreateShellFolderView() to return IShellView when it is requested through IShellFolder::CreateViewObject. My Explorer is not configured to remember each folder's view settings. Thanks in advance. ...Show All
Visual Basic set_textmatrix - MsFlexGrid to DataGrid conversion
Is there an equivalent The designtime IDE doesn't know what to do with, for example, AxMSFlexGridLib.DMSFlexGridEvents_KeyDownEvent Private Sub MSFlexGrid1_DblClick( ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MSFlexGrid1.DblClick and I don't understand this MSFlexGrid1_MouseDownEvent(MSFlexGrid1, New AxMSFlexGridLib.DMSFlexGridEvents_MouseDownEvent(1, 0, iMousePosX, iMousePosY)) in the context of the MSFlexGrid1_DblClick event End Sub Private Sub MSFlexGrid1_KeyDownEvent( ByVal eventSender As System.Object, ByVal eventArgs As AxMSFlexGridLib.DMSFlexGridEvents_KeyDownEvent) Hand ...Show All
SQL Server matrix data area conditional formatting off max value
I have a matrix where i'm trying to have the report select the maximum value in the data area (not including the subtotals) and bold that value. month day1 day2 day3 day4 total Jan 10 15 5 12 42 Feb 5 8 3 11 27 Total 15 23 8 23 69 I'm sure i will have to use the IIF function in conjunction with the InScope function. However i'm unsure on how to isolate to the max value and make sure the Inscope function does not affect the totals. any idea's are appreciated. Well that definately got me closer, but I found it highlights all the values in bold except the subtotals. so we accomplished not affecting the subtotals. here is a ...Show All
Visual Studio Express Editions AccessDatabaseEngine and VB 2005 Express
Hello, Is it possible to connect to "AccessDatabaseEngine" instead of "SQL Database" in VB 2005 Express. Will an "Access Database" icon show up in the Add>New Item> Template's Window Will be databinding possible Cheers Hello again, Slip of tongue. Yes, it is the coveted *.mdb. I believed that you yourself using *.mdb in NK The reason is portability, right Are you saying that on the end ADOX is not capable to create a table ---- "design with access" ----- did you Blood and sweat. Cheers, ...Show All
.NET Development Handle KeepAliveFailure WebException in Web Service
Hello. I had forced to set Expect100Continue to false in order to work with JBoss AS (Tomcat Web Server). That header created a lot of "noise" in messages exchanging. Once i did it the idle periods of Keep Alive became longer and i started getting KeepAliveFailure status in WebException when using WebService calls. I do not want to implement an easy solution (by overwritting GetWebRequest of SoapHttpClientProtocol and setup KeepAlive = false). I want to use KeepAlive mechanism but implement a recovery once I get KeepAliveFailure. For simple Http request i just implemented Http Request wrapper in which i catch a WebException and if it has status KeepAliveFailure i recreate the request and send it again. My question is how i can do ...Show All
Visual Studio Team System Project Creation Failed--Cannot connect to Sharepoint
I am getting a Project Creation Failed error message--appears that it has difficulty connecting to the Sharepoint site. This is a clean install of the TFS trial on a Windows Server 2003 SP1 box with WSS 2.0 SP2. Any ideas on why this is failing I checked to make sure the port the TFS project creation wizard was using to access the site with the port specified in the Sharepoint Central Administration website and they match. Perhaps a complete uninstall/reinstall is the only answer... 2006-06-13 19:01:31Z | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0 seconds 2006-06-13 19:01:31Z | Module: Wizard | Retrieved IAuthorizationService proxy | Completion time: 0 seconds 2006-06-13 19:01:36Z | Module: Intern ...Show All
.NET Development How about constructors that are selfaware?
I ran into a solvable problem that led to the following consideration: why not allow a return null from a constructor There maybe times when the state of a system may not allow the instantiation of an object. I posted the following on the Code Project: http://www.codeproject.com/script/comments/forums.asp msg=1591017&forumid=1650#xx1591017xx What do you think Hi Giancarlo Yes, there are imporant side effects to using partially constructed objects. You cannot assume any member variables have been initialized yet, you cannot assume the security state or culture. Consider the Dispose pattern. Inside your Dispose method, you should be freeing any unmanaged resources. You cannot assume they have been initialized, so you'll ...Show All
Visual Studio Express Editions Loading Error
I have been using C# for a really long timed, Installed it many times, but all of sudden, for no apparent reason my C# wont load because of this error. "The Procedure entry point lockClrVersion could not be located in the dynamic link library mscoree.dll" Has anyone heard of this error Have any ideas on what to do Thanks. -Teenprogrammer thank you for replying!!! See, its a very vauge error. Basically, I double Click C# Express Edition ( which I was able to use just yesterday ... ) and then without warning, I get my error message. If i try to uninstall VC# Express ... I get the error message. It seems to appear whenever anything related to C# Express is accessed ... Its really awkward and vau ...Show All
Community Chat Is the new java goin to nail down .net ???
hello guys , One of my frnds told me that the new java is goin to nail down .net.Is this true Regards jr Web Developer www.iitjobs.com nobugz wrote: Java has always had a sizable lead over .NET. I doubt the new version is going to change that unless they really messed it up... not according to Anders Hejlsberg ... http://www.regdeveloper.co.uk/2006/11/14/c-sharp_hejlsberg/ "If I look at where the innovation is occurring, I would venture to say that we're being a bit more innovative these days than is the case in the Java world," he said. "Java has generics, but they chose to do it in a different way where it's really just compile time sugar that goes away, ...Show All
Visual Studio Tools for Office 80040154 error creating a new Excel.Worksheet
This code: using Microsoft.Office.Interop.Excel; using System.Runtime.InteropServices; try { Application app = new Application(); if (app == null) { sb.Append("ERROR: EXCEL couldn't be started!"); } app.DisplayAlerts = false; Microsoft.Office.Interop.Excel.Workbook newWorkbook = new Workbook(); catch (Exception exc) { return exc.Message.ToString(); } Gets this error: "Retrieving the COM class factory for component with CLSID {00020819-0000-0000-C000-000000000046} failed due to the following error: 80040154." It would be nice to have a link to ALL errors VSTO generates from the main page. Still get better results from Go ...Show All
SQL Server An error occurred while performing this operation.
Hullo Team, I kindly request for your help so that I could be able to start reporting services. The main services are running but reporting services is not running. It actually gives me the following error TITLE: Microsoft SQL Server Management Studio ------------------------------ Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: The Report Server Windows service 'ReportServer' is not running. The service must be running to use Report Server. (rsReportServerServiceUnavailable) (Report Services SOAP Proxy Source) For help, click: http://go. ...Show All
