Khan16688's Q&A profile
Software Development for Windows Vista Sequence workflow OR State Machine Workflow?
Now We are developing a project which needs to use the workflow technology. We want the workflow function based on the WWF,the workflow function needs to finish the following functions: 1)Workflow define; 2)Task list; 3)Workflow Monitor; Business example: When a purchase order is coming,we need do the following steps: 1)Input the order to the Order lists; 2)the Department Manager examine the order; 3)the CEO examine the order; In step 2 and 3,there are two results: approve , reject , In step 2 if the Manager reject,the workflow will go back to step 1,if he approved the step will go to step 3 if I use the sequence workflow can ...Show All
SQL Server SQL Server Express fails to install
I'm experiencing a problem installing SQL Server Express 2005. I thought I had the same problem as Tom from a recent thread but his error file is quite different from mine. The Visual Basic Express package properly installed everything except SQL Server. I've run it many times, but the service fails to start. I also downloaded the separate installation package for SQL Server Express and ran it several times, which also failed. It gets to a point where the services are installed, but when I try to manually start the SQL service it says that the service started and then stopped. The event viewer shows this error: Product: Microsoft S ...Show All
Visual C# Special characters in identifiers
Hi, I've noticed that it's now possible to use special characters in identifiers (diacritical marks). I was wondering is this now a supported feature or is it just by accident of some sort (and should be avoided). For example: int irklis = 3; // compiles without problem (notice the ' ' and ' ') private void par d t(int .....) { ... } // notice the ' ' and ' ' Thanks in advance! Thanks for that link. Now that explains everything. Cool. Maybe I can convince my boss and the rest of the team to take advantage of this feature. Thanks for your time, Jon! ...Show All
Visual Studio Team System How the change in the data of Cube will be reflected?
Hi, All I have created one Cube and generated reports in SQL SERVER 2005. Now I have done sone changes in the the tables of Data source view of the cube. But it is not reflecting in the data of Cube. I have used proccessing the cube but its showing error while running. Please any body help me how the change in data in Table will be reflected in my cube. Is there any method by which the cube will be automatically updated whenever there will be change in the table of data source. Maybe this article can help you http://msdn2.microsoft.com/en-US/library/ms244674.aspx ...Show All
Visual C++ docking windows
Does anyone know how to dock a window on the side of the screen THANKS! That helps a lot, but one more question: is there a way that I can get rid of the window frame ...Show All
SQL Server 2000 - Add New Report wizard blows up
Could anyone help PLEASE! I get this EVERY TIME I try to use the wizard... BTW, the hyperlinks shown in the message are USELESS - 404's result... TITLE: Show technical details ---------------------------------------- TITLE: Microsoft SQL Server ---------------------------------------- This wizard will close because it encountered the following error: For help, click: http://www.microsoft.com/events.asp progname=MicrosoftSqlServer&progver=9.0&msgsrc=CreatePubWizard.dll&msgid=CantStartSnapshotAgent ---------------------------------------- ADDITIONAL INFORMATION: Key cannot be null. Parameter name: key (mscorlib) For h ...Show All
Windows Forms Virtual ListView Control
Many folks have been asking for a ListView that supports virtualization. Ben Williams, a support engineer at Microsoft, did something about it and wrote a control. Ben's ListView comes bundled with a sample driver app showing how to use it. You can download the package at: <a href="http://windowsforms.net/ControlGallery/ControlDetail.aspx Control=214">http://windowsforms.net/ControlGallery/Con ...Show All
Visual C# Expand or not expand - what a pain!
Hi, I have a configuartion question that I'm hoping someone will know the answer to. When I start VS (C#) I find all of my methods in the fully expanded state, this is a pain in the arse as my stuff is typically large (finance apps). Can anyone tell me how I can configure VS to not expand everything at startup/load time. thanks in advance, Ed. Ed - If you collapse your methods before you close your project, we persist that information. On the next open, all the methods that were collapsed previously will still remain collapsed. (This is in VS2005) HTH, Karen ...Show All
Visual Studio Tools for Office VSTO excel update question
Hi, I have created a VSTO excel application. I have added a listObject control to it which loads the data from the database at the run time. Now, on the click of the button on the sheet, I wish to update the data back to the database. I want to do all this programmatically. how can this be achieved. Please help!!!!! Regards, Harry, I'm looking at this example and from this link and the following documentation... "You do not need to call WriteValue when you do complex data binding using the ListObject control. The ListObject control automatically sends changes to the data source without requiring ...Show All
SQL Server Filter a Model Table?
I am using RS 2005. I am setting up a Model for use within Report Builder so our clients can write their own reports. A 2 part question, simple question first: 1. How can I filter the records in a Model Entity I thought this would be possible from a Perspective but it is not. 2. How can I filter the records in a Model Entity based on the locale of the person who is logged on And also based on their permissions TIA Is the user you are testing with a Content Manager by any chance Contrary to the text in BOL, Content Managers do have access to all data in your scenario. I know because I banged my head against the same i ...Show All
Visual C++ How to call unmanaged C++ DLL with a CString reference
I am building a managed C++ wrapper DLL around an unmanaged C++ DLL that uses MFC CStrings in its public interface. The unmanaged C++ DLL contains a class that I need to access. My problem is that this class contains methods using CString references, such as: void SetName(const CString& name); How can I call this method from my managed C++ code I have tried this in my wrapper code: void CMfcDllWrapper::SetName(System::String^ str) { CString s(str); m_pUnmanaged->SetName(s); } where m_pUnmanaged points to the C++ object in the unmanaged DLL. However, this approach causes a linker error, so I am not using the c ...Show All
SQL Server Error Calling SQLCLR UDF
Running SQL Dev Edition on Win2K3 Enterprise Edition. I get the following error. Msg 6522, Level 16, State 2, Line 2 A .NET Framework error occurred during execution of user defined routine or aggregate 'AddressCorrect': System.DllNotFoundException: Unable to load DLL 'D:\CorrectA.dll': Not enough storage is available to process this command. (Exception from HRESULT: 0x80070008) System.DllNotFoundException: at UserDefinedFunctions.CorrectA(String query, String sentlen, StringBuilder errcode, StringBuilder FirmName, StringBuilder urbanization, StringBuilder Dline1, StringBuilder Dline2, StringBuilder LastLine, StringBuilder ...Show All
.NET Development Short key to my band object
Hi I am developing a special search bar to be placed on the toolbar. It consists of a text box. The thing is that I want to activate it (put the cursor on it) just by pressing Alt + q or something. I've searched but havn't found anything usefull. Please help me and I might share my creation =) As far as I know, the only build in way is to set the keypreview property of of the form that hosts the toolbar to true and use the keydown event to trap the alt-q keycombo and set the focus to the control. If you want to control itself to trap the alt-q keycombo, you could try override the wndproc metho ...Show All
Windows Forms Code conversion help (C# .NETto VB .NET)
Here is the code that was posted earlier for how to perform a click event. I need help changeing it to VB .Net code. I understand most of it but from "void PerformClick()" on I'm stumped. Please help! using System; using System.Windows.Forms; using System.Runtime.InteropServices; using System.Diagnostics; class MyForm: Form { Process notepadProcess; public MyForm() { ProcessStartInfo startInfo = new ProcessStartInfo("notepad.exe"); startInfo.WindowStyle = ProcessWindowStyle.Maximize ...Show All
.NET Development how to set regional and language setings in control panel from vb net
I need this to solve the problem with decimal separator in diferent cultures I found in MSDN Public nfi As NumberFormatInfo nfi = New CultureInfo("ro-RO", False).NumberFormat nfi.NumberDecimalSeparator = "." nfi.NumberGroupSeparator = "" my numbers are saved as string in my database with this format 4512545,56 i tried to send such value to cristal reports and it doesn't accept that with something like "4512545,56".ToString("N", nfi) a managed to send 4512545.56, this is the format CR accepts. i'm from Romania and my standard nr format is 4.512.545,56 i don't realy know where to begin to solve this. an option i ...Show All
