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

Software Development Network >> FernandoLeite's Q&A profile

FernandoLeite

Member List

MysTeek
Psycho Potato
Brett H.
Tryin2Bgood
Peter Barnet
Tryin2Bgood
aquaseal
sorsh
yln
Ramanakumar
TJ2007
Manoj Bhardwaj
Raffaele Rialdi
Terry Smith
Peter Mackay
Koolchamp
vutkuri
Rizzlers
chanmy8
T. RUIZ
Only Title

FernandoLeite's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Undefined errorcode from D3DXGetImageInfoFromFile

    At the moment i'm programming a 2d graphical engine with directX9, but when i try to run the function D3DXGetImageInfoFromFile((LPCWSTR) filename, &imginfo); it gives back an undefined error code, i'm using the directx october 2005 sdk with the latest version of the directx runtimes. Full engine GraphEngine.h: #pragma once class GraphEngine; #include <D3d9.h> #include <Windows.h> #include "GraphResource.h" class GraphEngine { public : IDirect3D9 *D3D; IDirect3DDevice9 *D3DDevice; IDirect3DSurface9 *D3DScreen; GraphEngine(HWND hWnd); ~GraphEngine( void ); void drawImage(GraphResource *img, int X, int Y); void RefreshScreen(); }; GraphEngine.cpp: ...Show All

  • .NET Development problem in DataTable's select method

    I am trying a prototype in which I am using ADO.net 1.1 (VS2003) for data access. I have following table TestGUID: CREATE TABLE testGUID (userid int primary key NOT NULL , rollno uniqueidentifier NULL,  [name] nvarchar(50) NULL) I am trying the followng code:for inserting/update the row in the datatable(idea is to update first if the row is already there and if it is not there then insert a new row)   private void InsertGUIDs()   {    SetAdapterCommands();    for (int i = 0; i<10; i++)    {     try     {      int itemid =  i;      string rollno1 = "00000000 ...Show All

  • Windows Live Developer Forums Image Overlays

    I working on a project and want to overlay an image on my VE map. Ideally I'd like to just insert the image onto the map as a layer, and implement a callback or event to re-render the image when the map changes, however this doesn't seem to be supported like it is in Google maps. My image is generated at runtime based on the size in pixels of the entire map window, so I cannot statically create a set of perfectly sized tiles. When I tried the tile solution example as shown in the Interactive as "Use custom tile layers", my image was tiled across the entire screen many times (because I had just pointed the TileSource to my Image generator URL without the use of any of the given parameters such as %4. I didn't even see doc ...Show All

  • Windows Forms Cannot get changes from DataGridView

    I am having problems getting the changes from a datagridview. The grid is bound to a dataset. Here are the steps I'm taking: 1. Type text into the first cell 2. Click the save button on the form, which calls: Private Sub SaveChanges() Dim dsChanges As DataSet = dsFlightInfo.GetChanges() ' make sure their are changes to commit. If dsChanges IsNot Nothing Then ' save changes to the database Dim odb As New ABMS.Data.DataSetIO odb.Update(dsChanges, "FlightSchedDetail") odb = Nothing End If dsFlightInfo.AcceptChanges() ' reset the save buttons btnSave.Enabled = False btnCancel.Enabled = False End Sub PROBLEM: dsC ...Show All

  • Visual Studio Express Editions DWORD - missing type specifier - int assumed

    Hello Apparently I am having environment or some other settings problem in visual c++ 2005 express. error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\work\c++\drps\drps\Form1.h(136) : error C3845: 'DrPS::Form1::cProcesses': only static data members can be initialized inside a ref class or value type A Ok i understand the error and there are lot of information about it. But can anyone tell me how can i fix it in my particular situation. Below is the code lines related to error. DWORD aProcesses[1024], cbNeeded, cProcesses; ...... ...... cProcesses = cbNeeded / sizeof(DWORD); So i can not use DWORD types. This code i took from a sample in "Microsoft Platform SDK for Windows Server 2003 R2 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. help with Pan Tilt and Zoom with simple 3D Cube

    Hey guys and gals, I'm sort of new with XNA and programming with C# in general. I created a simple 3d cube and using this thread as a reference. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=687936&SiteID=1 I also created a keyboard component for my input as I want to manipulate the camera such as you would in a FPS game. My problem is that I tried to these lines of code to accomplish that and it doesn't seem to work. I have these under the Update section of my code. What am I doing wrong if (keyboardComponent.IsKeyDown( Keys .W)) { //zoom into object mCameraPosition.Z-=1.0F; } if (keyboardComponent.IsKeyDown( Keys .S)) { //zoom out mCameraPosition.Z+=1.0F; } if (keyb ...Show All

  • SQL Server DataBase Connection

    hi everybody; my questions about when database connection : i am when connecting database latter receiveing exception error.Error is : An unhandled exception of type 'System.Data.SqlServerCe.SqlCeException' occurred in System.Data.SqlServerCe.dll codes : SqlCeConnection cnn=new SqlCeConnection("Datasource=\\My Documents\\Business\\LOREAL.sdf"); cnn.Open(); // Exception is here help me.. can i doing but my code is correct and my code is running on Windows Application.but not running on PDA application. i reseted pda , i installed QA and i installed my program. but again not running. usually error is : An unhandled exception of type 'System.Data.SqlServerCe.SqlCeException ...Show All

  • Software Development for Windows Vista Unexpected termination of state machine workflow

    I have recently encountered an issue with my statemachine workflow, where the workflow is terminating. I have enabled tracing for the workflow. My workflow is signed. My workflow is exposed via web services. The interface and messages used by the WsInputActivity is located in another assembly, which is also signed with the same key. Here is the output of the error information. Does anyone have any idea what might be going wrong Obviously something is throwing an argument null exception, but the where and the why is very puzzling to me. I havent been able to find any information on the objects in this set of exception details: Description: An unhandled exception occurred during the execution of the current web request. Plea ...Show All

  • Visual Studio Tools for Office ThisWorkbook_Open() triggers twice...

    Hi, I am building VSTO application for Excel 2003 using framework 1.1 In public class OfficeCodeBehind theres a VSTO function protected void ThisWorkbook_Open() that triggers when the excel sheet opens. In this function I am writing some initialization code but I just found out when application starts, this method gets called twice. I dont call this function, this is VSTO's internal function.... I dont know why is this happening and how to stop this event triggering twice. Where should I write initialization code In initialization I instantiate my own objects and stuff... Is ThisWorkbook_Open() a good event to write initialization code Thanks, You might try writing your initialization code in the ThisW ...Show All

  • Visual Studio Team System Existing projects do not show up after upgrading from Beta3 refresh to RTM

    Hi there, I did upgrade of my VSTS server from Beta3 refresh to RTM. After upgrade I don't see my existing projects in list to add from 'Add Existing Projects' from Team Explorer. Upgrade went fine.Please help, Thanks, Also even though there are no retore databases step in upgrade user guide.I retored all the databases and i do see all the workItems back in TFSWorkItemTracking table ,excpet STS_Config_TFS and STS_Content_TFS , which seems to be renamed for RTM from Beta3. How am I suppose to restore these 2 Thanks, ...Show All

  • Visual Studio Team System How to profile a smart device application using performance explorer

    I am running an application on Windows Mobile 5.0 Pocket PC emulator. How do I profile this application using performance explorer of Visual Studio 2005 Team edition( for developers) Are you saying the performance profiler doesn't work for apps targeted for devices, either on the target h/w or in emulation mode I've tried the Remote Performance Monitor that came in Compact Framework 2.0 SP1, but its more of a high level tool. I need something that can drill down to the function level. ...Show All

  • .NET Development hiding a cloumn during runtime

    I have a datagridview that I filled using datatable. Is there a way that I could hide the first column in the datagridview (which contain primary key) during runtime firstly this question is in the wrong foru. but any how is it not possible for you to hide it in design time, why would you want to hide it in run time and if you do want to hide it in runtime you use dataGridView1.Columns[ "ID" ].Visible = false ; thanks lee ...Show All

  • Visual C++ Refreshing Visual Studio C++ Intellisense

    I often find that C++ intellisense in Visual Studio 2005 takes quite a while to update, especially when I've copied and pasted a lot of code. It seems that you can force it to update, by either: 1) Closing the solution, deleting the .ncb, and opening the solution 2) Toggling between 'Debug' and 'Release' builds (I guess the change in compiler options causes the intellisense to detect a change). I've spent ages searching for a shortcut I can press which will just force it to update without doing either of these, but haven't come up with anything yet. Does anyone know if there is such a shortcut Thanks, Matt IntelliSense updates all the time in the background. The two actions you mentioned do ...Show All

  • SQL Server Custom Tasks for Email and FTP

    Has anyone developed a custom free to use component for Email, FTP, zip tasks Email should be able to send html format and FTP should not work as ms ftp task I tried nsoftware already but their components just didnt seem to work at all ...Show All

  • Visual C++ winnt.h(222): Error C2146 ...

    All, line 222 in winnt.h reads like this:      typedef void * POINTER_64 PVOID64; and creates the error message      Error C2146: syntax error: missing ';' before identifier PVOID64. I am trying to throw VC++ 2005 Express on Windows 2000 Pro SP4 at a modifed version of the amcap sample program of DirectShow.  This is the version I have downloaded with DirectX 9.0b on 11 Oct. 2004 and have successfully used with VC++ 6 SP5 on the same program.  (The DXSDK involved is (one of) the last issue of DirectX that included DirectShow.) I have the platform SDK downloaded, and putting its include directory before or after the baseclasses and DXSDK include directories does not change a ...Show All

©2008 Software Development Network