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

Software Development Network >> Thomas LEBRUN's Q&A profile

Thomas LEBRUN

Member List

Dark Dominion
Ryan Sanders
Dee_dotnet_79
Molon Labe
Lakshmana Kumar K
Bob Lyden
Shrek.NET
rod_r
KvRaji
Armin Prosch
Learning VB
Michael Morrissey
kallusin
Virendra Wadekar
Dr.Pepper
Sergei Almazov
heist_rulz
RobGiorgi
Dinesh Kokate
ShAdeVampirE
Only Title

Thomas LEBRUN's Q&A profile

  • .NET Development Enlisting an Oracle database connection throws an AccessViolationException

    Hi, I use .NET 2.0, Oracle Express Edition 10g Release 2 (10.2.0.1), and System.Data.OracleClient. I wrote a resource manager that implements System.Transactions.IEnlistmentNotification. The resource manager itself is enlisted as a volatile resource in Transaction.Current using Transaction.Current.EnlistVolatile(resourceManager, EnlistmentOptions.EnlistDuringPrepareRequired); Within IEnlistmentNotification.Prepare I want to enlist a new database connection. If I resolve the data source in my connection string I get an AccessViolationException: "An unhandled exception of type 'System.AccessViolationException' occurred in System.Data.OracleClient.dll Additional information: Attempted to read or write protected memory. Th ...Show All

  • Visual Studio Team System Label Report of work items and files

    Hi Is it possible to get a report/quary of all the work items that are part/attached to a specific labe How to get a report of all the file revision that are part of a label Here's an example of getting what's in a label: http://blogs.msdn.com/buckh/archive/2005/10/25/484854.aspx . Buck ...Show All

  • Software Development for Windows Vista Performance difference when using the CreateInstance method

    Is there any performance difference when using the WorkflowRuntime.CreateInstance method that receives an xaml (XmlReader) than using the one that receives a CLR Type Yes the one that takes an XmlReader is slower - since it has to create the Activity tree each time. You can use compilable XAML instead and use WorkflowCompiler to compile your XAML into a type before you call CreateWorkflow if you want to try to mitigate that overhead (which really shouldn't be much of an overhead really - but it is definately slower than the CreateInstance that takes a type). ...Show All

  • Visual C# Help! Issues with Strongly-Typed Data Sets

    Hi, does anyone have a good resource for information about Strongly Typed Data Sets (the "handy" .xsd files) We are trying to use them in a development project including 4 different developers, and when we share them out we invariably get 'strange' errors such as this that we have no idea how to fix... Error 1 The type 'PRODUCT_PLTFRM_SUBSET_STATUS' already contains a definition for 'PRODUCT_PLTFRM_SUBSET_STATUSRowChangeEventHandler' c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website3\5e684806\6e9c560e\ App_Code.15i-blbo.18.cs 219 Error 2 The type 'PRODUCT_PLTFRM_SUBSET_STATUS' already contains a definition for 'PRODUCT_PLTFRM_SUBSET_STATUSRowChangeEvent' c:\WINDOWS\Microsoft.NET\Framework\v2 ...Show All

  • Visual Studio Tools for Office Custom toolbar ONLY for Inspector Windows

    Hi, i've got another post running where i was struggling to create a toolbar which is fine now, and i'm new to using VSTO for add-ins as i've been coding macro's a lot recently and now i'm transfering the macro's to this add-in. I need a new custom toolbar, or even just a new button to an existing toolbar, that is apparent ONLY on inspector windows - ideally mail items. I'm some way to doing it i think, but i assumed i would need to trap the event of an inspector window firing up, as it appears to me, impossible to attach a new toolbar or button to inspector windows, when originally none are open! Thanks for any help, Jay for some reason i'm really struggling with setting it all up, whether its setting up the event handli ...Show All

  • Visual Studio VSTA SDK

    Hi, I've downloaded and installed the Visual Studio 2005 SDK v3 August CTP which is supposed to contain the latest version of the Visual Studio Tools for Applications toolkit (according to this page http://msdn2.microsoft.com/en-us/vstudio/aa700828.aspx ). In the SDK directory I can find the samples (ShapeApp) however it appears that no documentation has been installed. Is the documentation in the August CTP or do I have to download an additional or alternative version of the SDK Regards, Anthony Williams Hi Gary, I uninstalled and reinstalled as you suggested, but I still cannot access the help. The help shortcut still maps to "C:\Program Files\Common Files\Microsoft Shared\Help 8\dex ...Show All

  • Visual Basic Change behavior of how new code module tabs show up in the IDE.

    Let's say you have four code modules open. They show up as four tabs at the top of the IDE. If you go to the solution explorer and open a fifth module, it used to display the new tab at the end of your existing tabs. But now in 2005, it opens the new tab at the beginning. Is there a way to change this behavior back to the way it used to be When I have tabs open, I want them to stay where they are... I don't want them all to get shifted down one position every time I open a new tab. I'd rather have a new tab get added to the end of the existing tabs. WATYF ...Show All

  • Visual Studio 2008 (Pre-release) Modifying Auto ToolTip in Slider

    Does anyone know how to modify what is shown in the AutoTooltip on the Slider control I am using double values and Maximum and Minimum for the Slider, but I would like to show a date string in the AutoToolTip that corresponds to the double value when the user moves the slider. Any pointers }Dan ***EDIT ****************************** *** I just realized that my solution does not at all answer your question.  Ignore it. :) **************************************** You can bind to the ToolTipService.ToolTip attached property and inject a value converter in the binding, which transforms the numeric value into a date string.  Here's an example I threw together: < StackPanel > ...Show All

  • SQL Server Report Server goes to sleep....zzzzzzz

    The known issue about the report server going to sleep after being idle for a while is causing me a problem. I have set up a dummy sibscription to create and email a report every hour and also have set the IIS setting on the application pool the RS uses (shut down worker process after being idle for x mins, I have set this to 860!). But the report server still goes to sleep and it can take up to 60 seconds for a report to start up. What else can I set to reduce this problem I have added a blog post that shows how to address this issue using subscriptions: http://blogs.msdn.com/lukaszp/archive/2007/09/18/keeping-your-report-servers-awake-or-no-more-waiting-for-report-server-to-startup.aspx ...Show All

  • Software Development for Windows Vista How to write data?

    Hi to all!! I try to develop a simple application that burn data on CD/DVD, but I have a problem that I don't understand. I attach the code. Thanks for all suggestions. private void btnMasterizza_Click( object sender, EventArgs e) { MsftFileSystemImageClass image = new MsftFileSystemImageClass (); image.Root.AddTree( @"C:\Users\Vista\Documents\Prova" , false ); // Initialize a disc recorder string recorderID = new MsftDiscMaster2Class ()[0]; MsftDiscRecorder2Class recorder = new MsftDiscRecorder2Class (); recorder.InitializeDiscRecorder(recorderID); // Prepare the DiscFormat2Data object MsftDiscFormat2DataClass fmtObj = new MsftDiscFormat2DataClass (); ...Show All

  • Visual Studio Team System Running 2 TFS servers in parallel

    Hello, I am new to Team Foundation, and Visual development tools in general, my first into was a couple of days agao when I started a new job and the boss said - "set this up"... so this might be a bit out of left field We are currently using Team Foundation Server at a development partner. I set up a new TFS server for our exclusive use. I would like to maintain the information on both servers in parallel until all our developers have moved over on site, and all existing projects, bugs fixes etc are finished - is this possible / feasible Also down the track we may like to setup a few"child" Team Foundation Servers and outsource some development tasks. They will be on different domains etc, is this possible or ...Show All

  • Visual Studio 2008 (Pre-release) WCF Custom Channel for SQL Service Broker

    I want to ask if microsoft has provided a custom transport channel to utilize the SQL Server Service Broker Messaging Platform. ...Show All

  • SQL Server How do you pass data to a subreport in local mode?

    I know that to pass data to the main report in local mode you simply use: ReportViewer.LocalReport.DataSources.Add(New ReportDataSource("myDataSource", myDataTable)) But how do you pass data to a subreport inside of the main report I would expect a ReportViewer.LocalReport.SubReports collection or something but I do not see one. Using ReportViewer.LocalReport.DataSources.Add(New ReportDataSource("SubReportDataSource", SubReportDataTable)) did not work Do you have the subreport in the same location where you have your main report or subreport is an embed resource in your project Event is not triggered means subreport path defined in main report is not correct. ...Show All

  • Software Development for Windows Vista Executing the workflow under a custom permission set

    Hello, how can I execute my workflow under a different (from the host application) permission set Thanks, Pierre Thanks for the response. But here I have to define a different permission set not impersonate another identity. I tryied creating another AppDomain and executing the workflow into the new AppDomain but it seems not to work properly. The Workflow live always in the same AppDomain. Pierre ...Show All

  • .NET Development win32 api ref & pointer wierdness

    Could someone shed some light on this if I define win32 api function with ref parameter - it fails: string device_input_buffer = "some_device_data"; return DeviceIoControl(this.mDriverHandle, IOCTL_CMD_A, ref device_input_data, (uint)(fdibptr.Length*2), null, 0, &returnedbytes, 0); but if I were to define it with void* instead of ref - it works. string device_input_buffer = "some_device_data"; fixed (void* fdibptr = device_input_buffer ) { return DeviceIoControl(this.mDriverHandle, IOCTL_CMD_A, fdibptr, (uint)(fdibptr.Length*2), null, 0, &returnedbytes, 0); } shouldn't the two be identical in one case i'm the one doing the pinning, in the other - the runtime (as per "ref&q ...Show All

©2008 Software Development Network