coral bao's Q&A profile
Software Development for Windows Vista workflow and web apps
How do you go about utilizing WWF in a web application I'm currently looking into building a workflow system for publishing web pages in a cms. I've got a basic workflow built and have been testing it using a console application. I need to port this workflow to the web application where users would interact with it using webforms instead of a console app. I'm a little confused on how this would be done in a stateless environment. The workflow is the usual review process... a reviewer receives a notification via email that a page needs to be approved. They log into the web app and do their review and either approve or reject the page. If a ...Show All
.NET Development A Question on GC
I have a MDI program in which user can open different document and edit it. After several user use it, they report that it becomes more and more slow. So I watch the memory usage of it carefully and found a problem : it seems the memory is never released after a document is closed. I watch the memory cost in Tesk Manager, and found that whenever a document is opened, the memory cost increases. However, after the document is closed, the memory cost does not drop. When another document is opened, it cost more memory. I later realize that since the document is opened for a while, the objects it allocated have been moved to Generation 2. So ...Show All
.NET Development Concating Returned Values from a SqlDataReader using Column indexes
Hi all, I am using a objSqlCeDataReader to populate a ListView and am using column indexes to cycle through the objSqlCeDataReader when assigning them to sub items of the ListView. But, what I want to do is to truncate (concat) on of the columns data (the DataTime column) but am not sure how I catch this column in my code (to check what column I am at) so that I can truncate its returned data. The code I have so far is below... public static int PopulateListView(ListView grdGrid, string strQuery, int nColumns) { SqlCeCommand objSqlCeCommand = m_objSqlCeConnection.CreateCommand(); objSqlCeCommand.CommandText = strQuery; ...Show All
Visual C# Managed C++ Assembly not visible in C# Project in Same Solution -- Visual Studio 2005
I am using Visual Studio 2005. I have a Solution consisting of three projects: A main project "DiscoverNotes" written in C# A helper project, set as a /CLR DLL, in C++ A test project in C# Unfortunately, the using NotesApiAccessor line in the main project gives the error Error 1 The type or namespace name 'NotesApiAccessor' could not be found (are you missing a using directive or an assembly reference ) H:\DiscoverNotes\Controller.cs 8 7 DiscoverNotes Everything compiles properly, including the C++ code, except for the above error. The options for the C++ project command line are (in case I have selected an incorrect opti ...Show All
SQL Server connection error
hi, I installed sql server 2005 ,when i try to connect to sql server management studio iam getting this error. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider) I searched internet and found this :under sql server surface area configuration So I followed the following steps to change the setting from local connection to local and remote connect ...Show All
Windows Forms C++: Ambiguous symbol error
I have done a program with windows forms in "Visual C++". I have implemented a function that returns two values. For example: double functionExample(int parameter, [Out] double * result2); Before of this function, I have written this line: using namespace System::Runtime::InteropServices; But when compiling the project, I get this error: C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 ...Show All
Microsoft ISV Community Center Forums How to become an ISV
How to become an ISV what are the advantages of being an ISV and purchasing a MSDN Subscription what are the licensing Issues Having a MSDN Subscription and being an ISV can I deploy the developed applications to my clients How much should I pay to be an ISV and have a MSDN Universal Subscription (in Indian Rupees) Can an Freelancer be a ISV Can the Freelancer be a ISV and Work for a Company who is a MS Partner Please answer these questions in a sentence or two. Thanks Brenda.. The Contact number in India was useful. I Contact them once I'm in Bangalore after 25th November. Currently working in Switzerland. Do u think It is wise to t ...Show All
SQL Server The SQL Network Interface library was unable to register SPN. Error: 0x490
I recently installed SQLExpress Beta 2 on WinXP. After power up and logon there is a substantial delay - minutes - sometimes maybe forever. In the event viewer I see: "The SQL Network Interface library was unable to register SPN. Error: 0x490" This is on my home network with two computers one using WinXP the other Win2000 configured as a workgroup. I say maybe forever because if I tire of the wait and hit system reset - after the reboot this delay does not occur. What can I do (beyond uninstalling SQLExpress - which does work to eliminate the delay) to stop this probem Hello, The "connection tim ...Show All
SQL Server The 'A request to send data to the computer running IIS has failed' Exception
Hi guys, When I do the RDA process, this weird problem comes out. I don't think there is any problem with the connction between the SQLce Server Agent and SQL Server agent. Everytime I run the RDA process, it looks like it is waiting for the time out of the connection. And If I cancel this process and rerun it, it works out and seems there is no problem at all. The conclusion is that, if i start the RDA, 20 or 30 minutes after a previous RDA process, this exception is definitely coming out. BTW, the HResult in the exception is -2147012867. Help...... Cheers, Justin Did you try the higher timeout on the IIS Also try increa ...Show All
Windows Forms Error icon tooltip not visible when editing a cell
Hi, I copy/paste the code from the DatagridView FAQ "How do I show the error icon when the user is editing the cell " but the errorTooltip isn't diplayed when the user move the cursor over the error icon (but the CPU is 100% !!!!) I'm using a datagridview bounded to a dataview Any idea Thanks for your help That is correct. To correctly show the error icon and have the tooltip correctly show when its over the icon you'll need to create a custom DataGridViewCell that overrides GetErrorIconBounds. Without doing this, the grid still thinks the error icon is under the editing control. -mark ...Show All
SQL Server Import from RDL file fails to update report spec
Hello, list! I'm new to this forum and new to Reporting Services. Our third-party provider updates reports and sends them to us to apply on our web server. We use the ReportManager interface to upload the RDL file and, if necessary, change the datasource. We have been trying to update several reports for about two weeks -- one time we even deleted the report from the interface and uploaded it as if new. Still, the changes are not reflected when we run the report via the web site. Any ideas on how to get this working We are running SQL Server 2000 Reporting Services, service pack 2 applied two ...Show All
Visual Studio Team System A Minor fxCop Bug??
One of the dependencies in my application is on: Microsoft.Office.Interop.Outlook when fxCop can't find it and prompts me to browse for it it, the file dialog box prompts me to look for Office.exe or Office.dll and won't let me change it to the correct name in order to find this dependency. Is this a bug It's not a big issue - I've been able to ignore it, but it would be nice if there were a fix because I get it everytime I run fxCop. Thanks, Chuck Chuck, I can't repro this. I just tested this and FxCop asked me for either Microsoft.Office.Interop.Outlook.dll or Microsoft.Office.Interop.Outlook.exe. What versi ...Show All
Smart Device Development Is there no BackgroundWorker Process in the C.F.?
Is this true I can't find it under teh Components tab in VS... Thanks Tryst Yes, .Net CF doesn't support BackgroundWorker, this class is only supported by .Net framework 2.0, For more read about this class at MSDN ... ...Show All
Smart Device Development Designer Preview
Hi, how can I obtain the information, the current instance of a Control class is running in the Designer preview I didn't found a member that supplies me that information in the Compact Framework. Thank you! Yes, it's supported in CF 2.0. See the code below. bool designTime = false; if (this.Site != null) { designTime = this.Site.DesignMode; } // If "designTime" is true at this point // then you're in the designer. ...Show All
Microsoft ISV Community Center Forums jump to other slides of a ppt by selecting slide number from a combobox
can anyone tell me how jump to other slides of a ppt by selecting slide number from a combobox how will u first additems to the combobox and then how will you switch to the slide number selected in that combobox thanks in advance amzzz Hey thanks for trying atleast!! I wasnt hoping anybody would respond.....but thanks Actually wat I came across is all vba components come live only in slideshow mode I dont know I'm still trying! Again thanks for trying amzzz ...Show All
