Software Development Network Logo
  • Visual FoxPro
  • SQL Server
  • Audio and Video
  • Visual C#
  • IE Development
  • Smart Devicet
  • Microsoft ISV
  • SharePoint Products
  • Windows Vista
  • Visual C++
  • Windows Forms
  • .NET Development
  • Visual Basic
  • Visual Studio
  • VS Team System

Software Development Network >> Fabien Masson's Q&A profile

Fabien Masson

Member List

Jeek
Al Christoph
poita
erikkl2000
robertlamour
hazz
tokie
Pikker1981
spree
Moahmad
davidg12
Daniel Danilin
ruben_itlp
CKS
Cobaia
sammy chen
RichLeyshon
jomo
smhaig
Mark_Davies
Only Title

Fabien Masson's Q&A profile

  • Software Development for Windows Vista How to get Replicator data in Parallel

    When using a replicator with replicatorActivity1.ExecutionType = ExecutionType .Sequence; I can query the replicator data for the current executing activity in this way replicatorActivity1.CurrentChildData[ replicatorActivity1.CurrentIndex] When using replicatorActivity1.ExecutionType = ExecutionType .Parallel; replicatorActivity1.CurrentIndex is always the last index ( the replicator InitialChildData collection length -1) The question is: How can I query for the current data instance of a replicator in an activity that is running under the Parallel ExecutionType. Thanks in advance As Angel metioned if you have the replicator set to Parallel exe ...Show All

  • Windows Forms DataGridView problem: Painting takes 1/4 of a second.

    Hello I have some problems with DataGridView . I have one TabControl with two tabs. The first one contains a DataGridView and the second one contains other controls. The DataGridView has its DataSource property connected to a DataTable . This table is set up with 20 columns and has 100 rows. The problem is, when I select tab 1, the DataGridView needs 1/4 of a second to finish its painting. This is really annoying. (Reducing the number of rows does not solve the problem) Is it possible to come around this delay somehow Kind Regards I have made a ComponentClass that extends from DataView. (Its nothing more implemented, the error still exists ...Show All

  • Visual C++ static const array of CString

    Hi, I've a problem with an initialization. I would like to have in my class an array like this: static const CString rgszColumns[26]; And I would like to initialize it in my costructor: Myclass::Myclass() { const rgszColumns[] = { "aaa", "bbb", "ccc" ....}; } why this code doesn't works hi, static members are initialized outiside the member functions. const CString Myclass:: rgszColumns[] = { "aaa", "bbb", "ccc" ....}; do this outside constructor. Regards, Sudeesh ...Show All

  • Windows Forms ListView.Refresh what am I missing?

    I have a ListView control (Detail view) that I fill programatically. I expected that when I changed the value of a 'cell' (a sub-item on one of the listview items) that I could just call Refresh on the ListView control. But I don't get the updated value displayed. I must be missing something (grr....), probably simple and obvious (I hope). If I walk the data in the control, I see the updated value, but my use of the Refresh method must be incorrect. In the example below, the little WalkThroughAnswerList function displays the correct (updated) values. Please see the code fragments below. Note that I am using .Net 1.1 (and VB 2003). AnswerList is the ListView control. Private Sub AnswerList_DragDrop( ByVal sender As Object , ...Show All

  • SharePoint Products and Technologies IE Crashes on view of Office document on SPS2003

    We've been running Sharepoint 2003 for a while and are beginning our migration from Office 2003 to Office 2007. We're consistently seeing IE crashes when attempting to open a document directly from a SharePoint document store. (Browse to the document list, click on a document and "kaBoom!" IE crashes with a kernel32.dll fault) I've seen this problem with the following configurations: Vista Business (RTM), IE7, Office 2007 WinXP, IE7, Office 2007 WinXP, IE6, Office2007 There's a similar thread on the Vista forum where one suggestion was to "remove Project 2003" (which only exists on one of the three above data points). Is anyone else running SPS2003 and Office 2007 Successfully Thanks in advance f ...Show All

  • Windows Forms another problem with datetime picker column in datagridview

    datetimepicker column's code is taken from msdn. the probelm is with time i set datetimepicker customformat option for displaying date and time like this "HH:mm:ss dddd yyyy" and i edit time and leave cell, the time becoms 00:00:00 any ideas I think you should show time and date in different colum box.DateTimeFormat - Various formats may be set. You may use a date/time format (like MMDDYY, MMDDYYYY, DDMMYY, DDMMYYYY, YYYYMMDD, HHMM12, HHMMSS12, HHMM24, HHMMSS24) to enable the date/time inserting and updating. Default is MMDDYYYY. ...Show All

  • Windows Forms The DisplayIndex Of DataGridViewColumn Doesn't Work

    I can't specify the index of the column in DataGridView, I have tried to do as the following code and even DisplayIndex and the textbox displays -1. May i know how to solve it Thank you.               'Insert Link Columns             Dim DGVLinkColumn As New DataGridViewLinkColumn             DGVLinkColumn.Name = "Emp. No."             DGVLinkColumn.DataPropertyName = "emp_no"             DGVLinkColumn.ReadOnly = True        ...Show All

  • SQL Server Function with unlimited parameters

    Is there any way to write procedure with ulimited number of parameters Like in COALESCE function. You can pass one or more parameters. Nope, you can't even write a function like that where you can skip parameters. I have a date function that I need to be able to pass "unlimited" values to but I have only 16 works right now. Even worse you would have to default every parameter too. dbo.function ('value1','value2',null,null,null,null,null,null,null,null,null,null,null,null,null,...) As an alternative (yet more costly method) you could pass a comma delimited list as a string parameter and split it up into your N values. If that is a reasonable possibility, then you can look here for how to d ...Show All

  • Visual C++ Passing Command Args

    I have a SDI app and I want to be able to access the command line args from my CView file... I have no idea how... I know that in the mainApp part I can get it through CCommandlineinfo class but this doesn't seem to work exactly within the cview part... any suggestions ! ...Show All

  • SQL Server Render method can't resolve path

    Hi, Probably a common problem, but I can't figure it out.  I'm getting an exception when I call the render method in the ReportService class.  It seems that it can't resolve the path to my file. I've tryed everthing I can think of: Created /Temp dir on both C and D drives used url http://WS2K2UA6120K1D/ReportServer /Temp/PlanSummary put the .rdl extension on the file etc., etc., etc. My code and the exception is listed below.  Any thoughts BTW, I'm using SQL Server 2005 if that matters. Thanks in advance for any help. - Bruce   ReportingService rs = new ReportingService (); rs.Credentials = System.Net. CredentialCache .DefaultCredentials; // Render arguments byt ...Show All

  • Visual Studio 2008 (Pre-release) MessageSecurityException

    Hi I have a request/response scenario. I get Timedoutexception when I make a request. I see the following exception in my client log. <ExceptionType>System.ServiceModel.Security.MessageSecurityException, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType> <Message>Unable to find security header with actor '' in message.</Message> My client configuration looks like this. <system.serviceModel> <diagnostics> <messageLogging logEntireMessage="true" maxMessagesToLog="300" logMessagesAtServiceLevel="false" logMalformedMessages="true" logMessagesAtTransportLevel="true" /> </diagnostics& ...Show All

  • Visual C# Why is fixing runtime bugs expensive?

    I am a novice C# programmer. In the title “Learning C#,” the author states that it is much more expensive to fix a bug at runtime than at design time or compile time. I am wondering if it would indeed be as expensive as he says if the application goes through an SQA cycle before it is deployed. Whether you catch it at design or compile time, or rather at runtime, why would there be more or less cost involved Please shed some light on this. I think you're missing the point, TAG. Lets say there is a logical flaw in the design that would cause the resulting program to behave incorrectly in some cases.  Lets say that, in order to fix this error, it would require that we change a number 10 functi ...Show All

  • SharePoint Products and Technologies HTTP 403 error when displaying custom webpart on sharepoint 2007

    I have a major problem with a custom webpart on sharepoint 2007. I created two connected webparts, one is used to define a searchfilter for another webpart. The part that shows a list of values works just fine, but the filter part doesn't work and causes the site to display HTTP 403 error. this only happens when I'm not logged on as administrator. The webpart does nothing special, it has a connection with another webpart and sends a fieldname and fieldvalue as strings to the other webpart. Anybody have an idea as to what might be going on. Hi I'm new to sharepoint and i creating many reports. I'm using sql server 2005 to create reports and other Database work. I need the example to communicate the two webparts in my case ...Show All

  • Visual Studio Team System URL to view the workitems

    how can i view the work items like testcases, bugs in the browser. can somebody send me the url to view that. thnx Also if you open the work item, and right-click on the work item tab, there's an option called "Copy Full Path". This will copy the URL of that WI (with the same notation that Swamy indicated above) into your clipboard. Thanks, ...Show All

  • Smart Device Development Problem pls help!

    Hi, i am trying to write a program for smart device. However when i am trying to deplay in the emulator is get this error message. "Deployment and/or registration failed with error: 0x8973190e. Error writing file '%csidl_program_files%\online_patient_information_system\system.windows.forms.dll'. Error 0x80070070: There is not enough space on the disk. Device Connectivity Component ". What wrong with it Did i miss out something VS is trying to deploy flat framework assemblies and you're running out of space. Usual reason for that is having reference to some desktop assembly in device project. That is not allowed, so you need to find and remove this reference. ...Show All

©2008 Software Development Network