Nicolas de Fontenay's Q&A profile
SQL Server best approach
I've been banging my head for a while now, and it is sore! :-P I'm a best practice/Microsoft approach type of person and want to make sure I do things correctly. I have a database, kind of like a forum. Obviously executing multiple queries in one "batch" (stored proc) would have an impact on the performance. Now, I would like to give a more detailed/specific error back to the caller (either by aid of error code or w ...Show All
Visual C++ Getting system date in unmanaged win32 console application
I have an unmanaged win32 console application and I am trying to pull the system date (in order to get the current year, month, and day number). I am new to visual C++.net and have not been able to find a solution using the on-line documentation. Can anyone tell me how to do this in my code Oops! I had the code in a commented out function block and forgot to uncomment the header and braces. Once I did that, the ...Show All
Windows Live Developer Forums How to get my app through provisioning
Hi Guys, I am new to this. It could be a stupid quesiton. I just created my app. I could not find infomation to get through provisioning and sharing with others. I also like to find out more about how to get it deployed. Can it be part of the MSN menu items Thanks very much for your help, Ju to submit an application to provisioning check out the end of the sdk document. it has the submission details ...Show All
Visual Studio 2008 (Pre-release) Data Contracts Question
I have several situations where I have a base class with a number of different fields in it and I want to expose different interfaces and each of those interfaces will have a subset of the fields in the base class. For example: Class CustomerInfo { string FirstName; string LastName; string Address; string City; string State; string PostalCode; string Country; } The above would represent one data ...Show All
SQL Server Materialized View Error 8908
Microsoft SQL Server 2005 - 9.00.1187.07 dbcc checkdb is failing with an interesting message: Msg 8908, Level 16, State 1, Line 1 Indexed view 'BritishEnglishMV' (object ID 226099846) does not contain all rows that the view definition produces. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. The data materialized in the indexed view is ...Show All
Windows Forms Slow processing for Databound Combobox
Hi, My application is terribly slow loading. After starting at the top and working my way down to find the bottleneck, I determined the real slowdown is after I retrieve my data and set the datasource for my combobox. Here is the code. ...Show All
Windows Forms DataFormatString in GridView
I wonder if someone else is suffering the same problem. I found DataFormatString in GridView not work very well when I try to display currency. In VS 2005 Beta version, it works fine, but after I use stardard version, it never display correct. For example: integer 3 always display like 3.0000 but in the beta version, it display like $3.00 which is what I would like. By the way, I assigned datasource, dataadapter and sqlcommand manually, everythi ...Show All
.NET Development .Net Sockets - Client Unable to read what the server sent
I use .NetSockets in my ASP.NET appliation to connect to the PABX. PABX machine is the server while my application is the client. My software connects to the machine and logs in successfully. It also sends messages which the PABX receives. But my application is unable to read any messages that is being sent back from the server. It stays there in the loop waiting. I have confirmed that the PABX does send information back. I have tried testing m ...Show All
Visual Studio Building web site only from solution
The MSBuild command line reference describes how you can build one project out of a solution using the /t: argument. That works fine for me for class libraries (specifying something like /t:Library1), but not for a web site that's part of the solution. Is there a trick to getting it to work On a related note, the docs say that you can invoke a particular target in the project using a syntax like "/t:NotInSlnfolder.Rebuild". However, I have no ...Show All
SQL Server SSIS COLOur Settings
How Can I change colour setting in SSIS I want change the colour of link arrow Data Flow tab.For Example flat file source to OLe DB destination.I am a colour -bilind and I confuse which of them green or red. Thanks. Sadun_Ozcelep wrote: How Can I change colour setting in SSIS I want change the colour of link arrow Data Flow tab.For Example flat file so ...Show All
System Center Some general feedback and questions
I am a capacity planner with some experience of Exchange. I have had a short period of time evaluating the tool and have some questions and constructive feedback. First of all - well done, the tool looks great and I hope will help to raise the profile of capacity planning as a discipline. I apologise if any or all of these questions have been asked before - they are directed towards Jonathan but anyone else please feel free to add ...Show All
Windows Forms Custom checkbox and radiobutton control
Hello! I am looking for a custom radiobutton control and a custom checkbox control for my application. The primary feature I am looking for is the ability to manipulate the color of the checkmark within the checkbox and the color of the dot ...Show All
Software Development for Windows Vista can not set state machine baseclass if use signed assembly?
Hi, step 1) I have created one component which has a empty state machine workflow ( A.BaseWorkflow ) step 2) I then create a workflow library and add a state machine workflow with code behind. step 3) I can now select the state machine workflow and in the property window, changing the base class to A.BaseWorkflow Now if I set both components to be signed, (in visual stuido project property, check the "sign the assembly" and ...Show All
Visual C++ LNK2005 - delete already defined in nafxcwd.lib
I try to compile a VC6 program with VC7 (Visual Studio.NET 2002) and I get following link error: error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" ( 3@YAXPAXHPBDH@Z) already defined in nafxcwd.lib(afxmem.obj) In my case the problem was caused by static-linking the MFC-DLL. After setting Configuration Properties -> General -> Project Defaults -> Use of MFC t ...Show All
Software Development for Windows Vista Console Workflows Hangs
After the past several months of installing and removing monthly software CTPs of Visual Studio, ORCAS, SQL 2005, and WF I can no longer run a Console Hosted Workflow on one of my machines. The process never comes back (nor does it time out) when executing the following statement: WorkflowInstance instance = workflowRuntime.CreateWorkflow( typeof (WorkflowConsoleApplication11. Workflow1 )); Sample applications as well as new console appli ...Show All
