Jump to content
Xtreme .Net Talk

vincentnl

Avatar/Signature
  • Posts

    41
  • Joined

  • Last visited

About vincentnl

  • Birthday 12/05/1978

Personal Information

  • Visual Studio .NET Version
    2003 enterprise
  • .NET Preferred Language
    c++

vincentnl's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thanks for your reply. As it was 7 months ago, I have worked around it, but you suspected as much. Hope others will benefit from your find.
  2. Hi there, I use nested function of the form if (InField(pt)&CheckLocation(pt)) Move(5); In debug I want to see what these two functions return, but when I press F10 It executes the code, but I can not see the return values of the functions. How can I do this. I know F11 let;s me step into the functions, but that is bothersome, I just want the return values. Second question. I have a board (represented with a matrix) with objects. How can I find the shortest route? Anybody some good sites about that? tx Vincent
  3. Thanks for your reply, But I made a mistake in using srcRect and DestRect
  4. I too don;t think the correlation between windows controls and catching key_down events has been sufficiently explained. Anybody any information?
  5. Readability, although it does not really show from the chosen examples. Compilers must be smart enough to see that these local variables are only used once !
  6. Hi, I am wondering, whether I should compact my code more in general. Will the first block run faster than the second? or will the compiler create speedequivalent code? codeblock 1 int i = 3 int j = 6 point d = new point(i,j) SomeMethod(d) Or should I sacrifice some readability and compact this to codeblock2 SomeMethod( new Point(3,6)
  7. I am spanking new in DirectDraw. I want to draw a bitmap, and I succeed, but it is supposed to be square, and now it is stretched. I think It has something to do with pixel ratio, or something, but I can not find anything explaining this on the internet. Anybody some hints?
  8. Thanx, I did not know (read) that it is in another assembly.
  9. I am using C#, DirectX 9.0, and I am trying to make a 2D puzzle game(sokoban). (newbie question) I want to display a bitmap, so I want to use TextureLoader, but It does not appear in my intellisense ? I have in my references a.o. using System; using Microsoft.DirectX; using Microsoft.DirectX.Direct3D; When will it show up? Do I have to create the Textureloader, of is it an abstract class? tx
  10. Perfect, Much more control
  11. I am programming a schoolproject, which is to be for the elderly. It involves a lot of spoken text (wav files). But when the user clicks something, the wavfile should stop playing , and another should play. The solution proposed on this forum : Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long works for playing wav-files, but I can not stop a wav-file that is playing. What is the best solution for this?
  12. Make your own textbox that inherits from textbox class, and on GetFocus readjust the child window, so that the textbox is on the screen. Hopes this helps.
  13. Hiya, Here is my question : I loaded the bitmap using D3DXCreateTextureFromResource(g_pd3dDevice,NULL,(LPCSTR) IDB_SPRITES,&g_pSmileysTex); After that I used a sprite to draw. HRESULT test=g_pSprite->Draw( g_pSmileysTex, &srcRect, &vScaling, &vRotationCenter, 0.0f, &vTranslation, D3DCOLOR_COLORVALUE(1.0f,1.0f,1.0f,1.0f) ); I created a rectanglearea to sprite of 20 by 20 and the bitmap is 20 by 120 (kind of like frames on a row) Unfortunatly, the sprite is displayed too small ! it cuts a bit of the bottom and top ? How can the texture size change after loaded into the device? tx vincent
  14. I have the same problem, and I tried it. It doesn't work. When trying to create a new file it keeps coming back with : Additional information: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.UnauthorizedAccessException: Access to the path "c:\inetpub\wwwroot\WitteEzel\xml files\test.xml" is denied.
  15. The final step of installing .net is as follows: To configure IIS after running setup on Windows .NET Servers On the Start menu, choose All Programs. Choose Administrative Tools and then choose Internet Information Services. Right-click your machine name in left pane and choose Security. Click Next on the first screen of the IIS Security Lockdown Wizard. Verify that HTTP: is set to Automatic and click Next. In the Request Handlers list, check ASP.NET and each instance of n:\WINDOWS\Microsoft.NET\Framework\<version number>\aspnet_isapi.dll. Click Next. Click Finish to complete the wizard. I can not do that, it applies to NT, but not XP. How can this be solved? tx Vincent
×
×
  • Create New...