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

Software Development Network >> Salvatore Di Fazio's Q&A profile

Salvatore Di Fazio

Member List

c-sharper2005
Joel Hensley
Keyth
franziss
mgee16
learnerplates
SaloS
MarissaM
Matthijs Koopman
Lalitk
Heinz Krug
TomasLeung
stombiztalker
pixelord
Yustme
BMcDowell
Radith
Anthony Pecorella
Manoj Bhardwaj
robertje
Only Title

Salvatore Di Fazio's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. 3/4 Perspective in a 2d game

    I have been working on a fairly simple, fairly silly, Zombie game that is purely in 2D "straight on" perspective right now. I'd like to do a 3/4 view like that of many of the Zelda games, or perhaps a pseudo-3d side scroller like Golden Axe/Double Dragon/Castle Crashers. I am completely new at this so I really have no idea where to begin. Is creating a 3/4 perspective or something like Castle Crashers just a matter of changing how you draw sprites or can you adjust the viewport to give this kind of view without having to draw sprites specifically for that perspective Just to be clear, I'm not really intersted in creating a 3d game, I want it to stay 2d, I just want to know what my options are for creating perspective with 2d art ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is there a bug in DrawIndexedPrimitives using a rendertarget?

    Hi, sorry for my english, but I have a problem on drawing indexed primitives into a rendertarget. Maybe you can help me. My drawing pipeline does look like this: First I'm drawing the scene into a rendertarget (a simple texture set as a rendertarget): - set the rendertarget to m_renderTarget.surface - set the vertexbuffer of the scene - set the first texture - set the first indexbuffer - draw by calling drawindexedprimitives - set the second texture - set the second indexbuffer - draw by calling drawindexedprimitives - and so on... Then I'm drawing a quad onto the screen which simple renders the texture mentioned above: - set the rendertarget to the backbuffer of the d3d device - set the texture to m_renderTarget.texture - render a quad to ...Show All

  • Visual Studio Tools for Office Strange behavior: RichTextBox

    Hi, I am creating a .doc with VSTO2005. My document contains several Controls such as Buttons, RichTextBoxes, ComboBoxes, etc. which are generated at runtime. In some cases, I encounter the problem that a RichTextBox doesn't display the content (text) it should, but only displays a big red cross like this: \   /   \ /   \ When I click into the RichTextBox field (with the red cross in it), the following, weird message appears: “Windows Forms controls have been disabled because the document has been scaled. When zoom is returned to 100%, controls will reactivate.” But actually the zoom of the document hasn’t changed at all! Has anyone already encountered this problem Thanks fo ...Show All

  • .NET Development Accessing databindigs of controls in TemplateFields of a GridView

    I have some TemplateFields in a gridview. How can I access the controls in these Templatefields when I do not know the name of these controls Further I should find the databindings of these controls. Can anybody give me some hints. If you don't have the control name, you still can access it using index of the control (you have to find out the index, perhaps by trial-and-error method), like: TextBox tb = ( TextBox ) GridView1.Rows[ rowIndex ].Cells[ columnIndex ].Controls[ controlIndex ] ; Hope that helps ...Show All

  • Visual Studio 2008 (Pre-release) Window shadow

    Hi I want to make window without a border with rounded edges plus it has to drop shadow. Everything woks except my shadow doesn't have all edges rounded. Where is my mistake <Window x:Class = "WndMain" x:Name = "WindowRoot" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" AllowsTransparency="True" WindowStyle="None" Background="Transparent" Title="Actions For Checklists" Height="240" Width="285" > <Window.Resources> <Style TargetType="{x:Type Border}" x:Key = "MainBorder"> <Setter Property=" ...Show All

  • Visual Basic Program running ok in debug mode, but not in release mode

    I have a program running a background worker process, with the following code (below). When i am debugging the program, the process executes, reports and completes correctly. On my release build, the program stop at a specific point. Is there anyway to determine the actual stopping point and see what is going on when in release mode I've determined (by logging after each line) that the program stops the following code, on the fill command. I dont understand why it doesn't give me an errors in debugging mode, but freezes in release mode. Can anyone offer any suggestions please Try Log.WriteLog( "Filling Colour Table Now" , Now.ToShortTimeString) Me .ColoursTableAdapter.Fill( Me .RangeData.Colours) Log.WriteLog( "Fill ...Show All

  • Visual Studio Installation of Security Update (KB925674) fails with VS 2005 Professional Trial

    I have downloaded the image of the Visual Studio 2005 Professional Edition Trial and now it is not possible to install the Security Update (KB925674) from Microsoft Update. I read that one has to insert the DVD into the drive but trial users who have downloaded the image don't have DVDs. Is it not possible to install the update with the trial image Thank you. http://www.microsoft.com/downloads/details.aspx familyid=C2682C53-8E9A-4C7D-B782-BE78512DCBFA&displaylang=en is the link for the update however I believe the trial editions will not be effected so you may not be able to or need to install the patch it also states: Note Not all versions of Visual Studio 2005 include the a ...Show All

  • Software Development for Windows Vista Vista API call

    I have an application that uses a Windows API call to launch or display files, applications, default email and browser ... But since upgrading to Vista Home Premium the API call will no longer launch an associated program or application... nor will it launch the default email program or default browswer... Anyone know the correct API or calling procedure in Vista Jim       I am currently using the following API... 'Launch files with associated program in registry Declare Function ShellExecute Lib "shell32.dll" _ Alias "ShellExecuteA" (ByVal hwnd As Long, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByV ...Show All

  • Visual Studio Express Editions How to open files that are used by some other procsses?

    654654 njnojnoinoinoinion please restate your question clearly for us However going for your question title - sometimes it is possible depending on if the process has allowed the file it is using to be shared for use, such as read and write but other wise I believe it is locked to that application who owns the current file it is using, meaning it is the only one that has a handle to it ...Show All

  • .NET Development Compacting MS Access database from C# code?

    Hi! Does anyone have an idea how it's possible to compact and repair an MS Access database using C# The option is avaiable in MS Access main menu but I don't want to do it manually. Thanks in advance. ...Show All

  • SQL Server Bulk insert Remote Files access denied

    Here is my setup. Machine A: SQL Server 2005 x64 on a Windows Server 2003 x64 Machine B: XP Pro SP2 with SSMS installed Machine C: hold files that I want to import to Machine A. The drive is shared and set for everyone to read. Everyone is logged in as Admin and SQL services are start up under the admin account. I'm using Windows Authentication to log into Machine A from machine B. When I try to bulk insert from query analyzer running on Machine B BULK INSERT ModelData FROM '\\MachineC\Data\Files\Something.txt' WITH ( FIELDTERMINATOR = ',' , ROWTERMINATOR = '\n' ) I get Operating system error code 5(access is denied). I have looked at the examples shown from the BOL links provided but I just have a small workg ...Show All

  • Smart Device Development using C/C++ to read SIM card information

    Hello everyone, I am wondering whether there are some samples/tutorials for a beginner to learn how to use C/C++ to read SIM card information on Windows Mobile platform thanks in advance, George Install the SmartPhone 2005 SDK. If you have installed it to the default folder you will find a sample at this path: C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Samples\CPP\Win32\Simmgr Oystein ...Show All

  • Windows Forms Win32.SetParent problems

    Hi All, I am using Win32.Setparent in my application. Because of that my default application behaviour is getting changed. Does anybody have any idea what to do after calling win32.setparent......................to get original setting of the form I am using windows XP. yes, but in a little bit complicated way........................... actually this code is already there and we cannot change this code.................................. ...Show All

  • Internet Explorer Development Customize your settings window is blank

    Hi everyone has anyone has this problem. i was using IE 7 Beta with no problems and then was asked to upgrade when the version came out. upon updating i have the customise your settings page (http://runonce.msn.com/runonce2.aspx) coming up with a blue background and nothing else. I have done everything that microsoft sent me but no joy. It means my Homepage will not come up until this has been set. but as i can not see it i can not set it up . i can just type my website in and then it seems ok its just i can not use the homepage setting even though my home page is set as before. This is driving me to dispair and i am ready to dump the thing but then i remembered i need IE for my website and other websites to view HTML and normal view as mo ...Show All

  • .NET Development Interact with flash applications

    Hi all, I would like if it was possible to manipulate a flash application that is running. Can I find some object (for example a tree, a caractere or a control like a button) and click on it I little like a bot... Thanks very much This forum is related to .NET managed networking APIs. Please check out other forums/usergroups at http://www.microsoft.com/communities for an answer to this. ...Show All

©2008 Software Development Network