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

Software Development Network >> Francesco De Vittori's Q&A profile

Francesco De Vittori

Member List

Boris Zakharin
sierrakinglet
agenda9533
nikos_22
Tabas
comfixit
Stéphane Beauchemin
Javier_Uy
a.d.m
beto81
Mark See
laiseng
Vaibhav Kumar
Phantisy
ssmallfish
Al33327
Hybrid Bray der Burrito
readyeddy
sxf
faraaz_malak_c92eb4
Only Title

Francesco De Vittori's Q&A profile

  • Visual Studio 2008 (Pre-release) GridViewColumn Limitation

    I have a problem with GridViewColumn when using CellTemplateSelector. The solution, I believe, is to allow a "DataContext" property on GridViewColumn. But first, the problem... I have a data aquisition application in which I want to define two (only) templates related to quality control: one for "good" data and one for "bad" data. Unfortunately the template must also supply the data binding path, meaning that I have to have copies of the templates for every piece of data that I might want to display. This defeats the purpose of a template as far as I am concerned because it conserves no effort. To illustrate the problem I have concocted the XAML file below. My application doesn't use XML data, but this was the ...Show All

  • .NET Development creating ntfs on raw disk

    Hi, Iam trying to format ntfs filesystem on rawdisk. Iam using the following ioctls. 1. IOCTL_DISK_CREATE_DISK // Initialize to a basic disk 2. IOCTL_DISK_SET_DRIVE_LAYOUT_EX // which creates partition. 3. I used IOCTL_DISK_VERIFY // verify partition in the disk. 4. IOCTL_DISK_UPDATE_PROPERTIES // making OS know about the partition. 5. Now to use format I used FormatEx as mentioned in the link http://www.sysinternals.com/SourceCode/fmifs.html ). These steps doesnt work for the first time but it works for secondtime and successfully format on given physical drive \\.\PHYSICALDRIVE4 . Also these ioctls doesnt when more disks were connected to system. Has anyone faced such a problem. Ple ...Show All

  • SQL Server SQL Server Setup failed to retrieve the SSL Certificate Name

      When I try to install SQL 2005 Developer September CTP on Windows XP Professional  it returns an error "SQL Server Setup failed to retrieve the SSL Certificate Name" . I was using a certificate from SelfSSL but removed it. Still no luck This appears to be an issue with SQL Reporting Services. If I don't install Reporting Services then I can install SQL 2005. I'm guessing that Reporting Services is now requiring a certificate and doesn't like the SelfSSL certificates Any ideas I got the same error as well.  Selfssl had been previously used to install a cert with IIS for ssl testing.  I removed the cert from iis and reporting services installed fine. Good luck Jay Skelly Microsof ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Play Background Music Problem?

    Hi All, I want to play bg music with my game. How to set loop play with the music audio = new Audio("sound file"); audio.Play(); Best Regards, Hi ProfEclipse, I try check the sound state. But the sound evey time is playing state. public void audioCheckState() { if (audio.Stopped) Console.WriteLine("isStopped"); if (audio.Playing) Console.WriteLine("isPlaying"); if (audio.Paused) Console.WriteLine("isPaused"); } ...Show All

  • SQL Server Is it possible to enable TCP/IP connection to SQL Server programmatically? Is there any function in SMO?

    Anyone know I'm making an installation package and I want my installation program (which is a custom action class inherited from Installer Class) to adjust the network configuration of SQL Server, for example enable TCP/IP. What can I do Is that any function in SMO package that can do this for me Hi, that is a registry setting, you have to switch the appropiate network protocol values in this section to get it working: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer\SuperSocketNetLib HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual C++ Structure Alignment/Packing issue

    I have developed a VC6 X application. In X application i am reading/ writing structures in the binary file. These files are used by Y application which is also developed in VC6. Untill now everything was working fine but as soon as i changed the order of struture members i have started getting junk values in Y application. I have changed the order in both the application but my X application is reading them properly from the file but my Y application fails to read from the same file. Can anyone tell me why is this happening. Any kind of help will be appreciated Thanks in advance Can you please elaborate new Y' application to be made lil more. I am unable to get your point. I have tried simpl ...Show All

  • Microsoft ISV Community Center Forums subscript out of range

    I am getting an error when running the script Do While (Not (Workbooks(bookmonth).Worksheets("by associate").Cells(4, i) = "dsl") Or Not (Workbooks(bookmonth).Worksheets("by associate").Cells(4, i) = "hsi")) I am uncertain why this is coming up. i is currently set to 1, so it should be starting to search in cell a1. I can not see anything wrong with the code that would produce a type mismatch on that line. Any value contained in the cell A4 would be compared to the two string values and would either proceed into the loop or pass over it. What value do you have in the cell when the test raises the error ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Alpha blending BUG in XNA

    It would seem as though the relevant blending render states have no effect when applied through MY code, but when they are set through the SpriteBatch class, they seem to work as intended. Note the following code: //spriteBatch.Begin(); // spriteBatch.End(); graphics.GraphicsDevice.RenderState.AlphaBlendEnable = true ; graphics.GraphicsDevice.RenderState.AlphaBlendOperation = BlendFunction .Add; graphics.GraphicsDevice.RenderState.AlphaSourceBlend = Blend .SourceAlpha; graphics.GraphicsDevice.RenderState.AlphaDestinationBlend = Blend .InverseSourceAlpha; The effect here is that when I run my test with THIS code RIGHT before the draw calls, alpha blending is NOT enabled, although alpha testing does indicat ...Show All

  • Architecture System.Transactions.TransactionManagerCommunicationException: Communication with the underlying transaction manager has failed.

    Hi, I am trying to open database connection two time within transaction scope in WCF Service. it is throwing exception System.Transactions.TransactionManagerCommunicationException: Communication with the underlying transaction manager has failed. I have enabled MSDTC on client and server too. I am using .Net Framework 3.0 RC1 Version and Sql-Server 2005 on windows XP. This is throwing exception only when accessing database from other machine. It is working fine on localhost. Code Snippet as follows: try { using ( TransactionScope txScope = new TransactionScope ()) { using ( SqlConnection conn1 = new SqlConnection (sqlConnectionString)) { conn1.Open(); } using ( SqlConnectio ...Show All

  • Silverlight (formerly WPF/E) One qestion about yellow text on top of a graduated fill background, using this mask to modulate the opacity.

    Dear all, I had one question about implementing the following scenario. i.e. yellow text on top of a graduated fill background, using this mask to modulate the opacity. The ideal outlook will be like figure 2 on this website . I try to do like this in the window1.xaml. <TextBlock DockPanel.Dock="Top" FontSize="36" Foreground="Red" Style ="{StaticResource LineGra_Textblock}"> Text.... </TextBlock> <DrawingBrush Viewbox="0,0,1,1" ViewboxUnits="Absolute" Viewport="0,0,0.07,0.2" TileMode="Tile"> <DrawingBrush.Drawing> <GeometryDrawing Brush="HorizontalGradient #f000 #0000"> <GeometryDrawing.Geometry&g ...Show All

  • Visual Studio Team System when is the next TFS server version coming out?

    just wondering when is the next TFS server build coming out Thanks There will be many TFS server-side fixes in Whidbey SP1. Nothing has been announced about the next major release. (edit) we will be releasing lots of CTPs along the way, however ...Show All

  • Visual Studio Express Editions tabcontrol focus

    hi everyone, im working on a new project where I have a tabcontrol and two tab pages. on tabpage1 i have a rich textbox for the user to enter whatever text they want, then on tabpage2 i have a webbrowser. in my menustrip I have code set up so that when the user clicks the homepage menuitem the webpage loads in the webbrowser on tabpage2. my trouble is im trying to get tabpage2 to focus before the site loads but it wont focus. any ideas Thanks! michael ' Button1 or your menu item click, same concept Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click WebBrowser1.Navigate( "http://www.cnn.com" ) TabContro ...Show All

  • Visual C# ManagementScope.Connect taking 20 seconds

    In the code listed below, I am attempting to do a ManagmentScope.Connect to do a WMI query on a remote machine. While this connect only takes milliseconds on most machines on others it takes up to 20 seconds. One the ones that it takes 20 seconds on I recieve the following error: ERROR: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) I am OK with the failure, but I cannot have the failure taking 20 seconds to return control back. I attempted to set the ManagementScope.Options.Timeout value to 500 milliseconds but still doesn't return back control for 20 seconds. Any help would be greatly appriciated! Vincent Fournier public string GetW32_Compute ...Show All

  • Visual Studio Team System Intergrating static code analysis with TFS build

    Hi, I am looking to integrate the static code analysis as a part of our scheduled builds. I read around & found that I can make it always run by setting < RunCodeAnalysis > Always </ RunCodeAnalysis > But can I have a separate report that will contain only the code analysis warning. Currently it just gets added to the warning of the build process Please do let me know Thanks in advance for all the help ~Ramya Hi Ramya, after running Code Analysis on your project, there should be a file along your binaries named <assembly>.CodeAnalysisLog.xml this file contains the warnings found during the last code analysis run. Regards, Jeffrey ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. The Content Pipeline and my Scene Graph

    I implemented a scene graph. Items in the graph are of type Entity. StaticVisual, a subclass of Entity, takes a Model as a constructor parameter. Using the content pipeline and contentManager.Load<Model>("assetName") things seem to be working smoothly. Now, I want to extend the content pipeline to have complete scenes be content. I'm not sure how to do this without writing a ton of redundant and error prone code... My idea is to write a Model Processor and look at the node's names in order to decide which types of Entities to instantiate. I'd modify my StaticVisual class to take a ModelMesh (or a ModelMeshPart ) as a parameter and in theory I could construct a whole scene graph. I'd like to write single generic pai ...Show All

©2008 Software Development Network