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

Software Development Network >> Jan Kučera's Q&A profile

Jan Kučera

Member List

elwood00
FSchmid
Zaphod105
Richard Glanmark
Will Riley
spshah
Mark from NH
PiGuy
John.Doe
Maxim Michtchenko
MShetty
stonejc
CrashPlaxton
Sandeep-Kamath
sciFiFan
jitendra badkas
OPH
GreatDane
Mike Chapman
sudhakarbhattu
Only Title

Jan Kučera's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. low fps

    i'm confused about fps in my programme. i draw 200 textured triangles in 640x480 window but get only approximately 160 fps. it's strange but when i zoom out from triangles fps growth momentally, but when i close... PreferMultiSampling = false ; SynchronizeWithVerticalRetrace = false ; RenderState.DepthBufferWriteEnable = false ; (i need it coz, ill render triangles with transparent textures) i use DrawIndexPrimitives, i.e. useing vertex and index buffer. any ideas how to increase fps No, i mean, that sounds too much. If the program is completely error-free and there really is a constant system overhead of 4-6 milliseconds, no application will ever run faster than 160-250 fps. It seems more likely the ...Show All

  • Smart Device Development MessageBox help

    Hello, I am newbie. i have prompt this messagebox on Pocket PC when my application is running. Application basically displaying the pictures. now if i click on the picture (through light pen) instead of messagebox ok then messagebox dissappear. how i will display the message Box that will be fixed and if i click some where else then no action will be done. just on clicking in the message box it will work otherwise messagebox should be there.. I have use MFC two events OnLButtonDown(UINT ID,CPoint cp) OnPaint() for handling light pend and for drawing. result = MessageBoxW(NULL,L"hello world",L"info",MB_OK|MB_ICONERROR); How i make the message box focus permenant until the user click on to it. Th ...Show All

  • Windows Forms creating a dataview

    I need to take a look at the content of some DataTable(s) I download from SQL Server in a purely debug situation. I decided to use DataView object for it. I improvised the following code: DataViewManager mng = new DataViewManager ( sqlDatSet ); DataView dtview = mng.CreateDataView ( sqlDatSet.Tables[jj] ); dtview.BeginInit ( ); The jj integer is the index of a particular DataTable in a DataSet and is found in a for loop. I expected a primitive form with a Table View displayng my records to show up. Is it not a reasonable expectation Nothing like this happened. The DataView remained an internal object. If I cannot get a good look at what is present in the tables I download I will be facing a cumbersome task of printing the stuff ou ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. GSE - IDE Problem

    Installed VC# Exp and GSE on Dell XP SP2 already satisfactorily running VS2005... Can create and run WinApps with no problems...however when I create a WinGame, the project files (.sln, .cs, etc) get created, Game1.cs displays in the VC# IDE, but Solution Explorer is blank(-contains no project tree)...can compile and run empty project....however if I click on Game1.cs, VC# IDE craps out with a "VC# has encountered problem and has to close' dialog box. Downloaded an XNA project off a web site and experienced screwy results when I loaded it...loads, compiles, runs OK but nothing displayed in Solution Explorer....however, can load individual files and navigate thru or modify them without IDE crapping out... Have no idea what's g ...Show All

  • .NET Development Bit confused about CTS ...

    Hi, After I have read several articles on msdn and other tech sites, I am now bogged now with a doubt. Is CTS a specification checked by CLR or a component in CLR I read all about the goals of CTS. But inside the .NET framework how it is placed Is it defined as a set of rules inside CLR, hence can I take it is a component Or is the CLR programmed to check the some specifications( which we call CTS) while executing a CLR compliant language Please explain me to get more insight in to this. Thanks, mani Probably the best way to think about is: the CTS spec came first. The CLR spec came next, built upon the CTS spec. The most obvious sign of this are the various flavors of IL opcodes th ...Show All

  • Windows Forms cascading

    When i open the first child form, it is getting displayed a right location but when i open second child form and so on, they are cascaded I want but child windows to be displayed properly and not cascaded how can i do this When showing new MDI children, try setting their location manually: Dim  form As New Form2 () form.MdiParent = Me form.StartPosition = FormStartPosition .Manual form.Location = New System.Drawing. Point (( Me .ClientSize.Width - form.Width) / 2, ( Me .ClientSize.Height - form.Height) / 2) form.Show() Andrej ...Show All

  • SQL Server No "Left" function in Expression Builder?

    Anyone know the reaon the Left function was left out of the list of string functions in the Expression Builder Danno DannoCoy wrote: Anyone know the reaon the Left function was left out of the list of string functions in the Expression Builder Danno No. Annoying isn't it Instead you can use REVERSE(RIGHT()) -Jamie ...Show All

  • Visual C# C# code snippets - Auto update?

    Is this functionality supported by any chance Thanks. I have a code snippet which is use in various files. If I insert the snippet but then make additional changes to the snippet, is there any way to automatically update the code files or do I just go back to each file and re-insert the updated snippet manually No, code snippets do not provide this sort of functionality. Though, you could possibly write a macro to automatically update your code files. -Tom Meschter Software Dev, Visual C# IDE ...Show All

  • .NET Development Visual Studio 2005: How to work with xml-files generated from Excel 2003

    Hi, I want to work with xml-files generated by Excel 2003 in Visual Studio (Visual Basic). I have to search and prepare relevant Data from the Excel-File and put it to DB. To work with an excel-object is very slow and i hope xml is more faster. I'm new in xml. Where to start phil A couple of links that may be useful: XML in the .NET Framework http://samples.gotdotnet.com/quickstart/howto/doc/xml/overviewofxml.aspx (the site is currently down) XML Documents and Data http://msdn2.microsoft.com/en-us/library/2bcctyt8.aspx Thanks, Anton ...Show All

  • SQL Server Expression on hidden property

    I have param named Direction i would like to put on the hidden property of image this expression iif(Parameters!Direction.Value = "ascending" ,False ,True) But i've got error message .....my expression is not avalid value. why It’s like a said before... =iif(Parameters!Direction.Value = "ascending" ,False ,True) if everything's ok that should hide your image when the Parameters!Direction.Value is "ascending" and show it otherwise. ...Show All

  • Software Development for Windows Vista Shared User Data Location

    What is Microsoft's recommended folder location for sharing files among users (so all have the ability to create, modify, and save files) There seems to be two possible places: * CommonAppData => C:\Program Data\[company]\[App Name]\ * Public=> C:\Users\Public\ The problem with [CommonAppData] is that it is a hidden folder so it is not a user-friendly path. The files that will be stored are intended to be browsed, opened, and saved, by all users. Also, does it break Vista's guidelines to have a shared folder with full control granted to everyone in the C:\ProgramData folder [Public] seems like a good place but I haven't found much documentation on its intended use. Also, using Install Shield, [Public] is not a defined location, so ...Show All

  • SQL Server HOW TO MODIFY MDX TO RESTRICT MEMBERS IN TIME DIMENSION

    There are some 55 members in the arrival year level of the time dimension (1995 - 2055). I am trying to find a way to restrict the number of years returned by this mdx query to the current year - 5. Any help will be appreciated. WITH MEMBER [Measures].[ParameterCaption] AS '[TIME DIMENSION].[ARRIVAL YEAR].CURRENTMEMBER.MEMBER_CAPTION' MEMBER [Measures].[ParameterValue] AS '[TIME DIMENSION].[ARRIVAL YEAR].CURRENTMEMBER.UNIQUENAME' MEMBER [Measures].[ParameterLevel] AS '[TIME DIMENSION].[ARRIVAL YEAR].CURRENTMEMBER.LEVEL.ORDINAL' SELECT { [Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel] } ON COLUMNS, [TIME DIMENSION].[ARRIVAL YEAR].allmembers ON ROWS FROM [TOURISM CUBE] Thanks ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Fps is at ~60 all the time?

    Hello, I'm total noob with XNA so please bear with me :) In xna beta 2, designer is now gone, so to access IsFixedTimeStep I have to do this in code: public Game1() { graphics = new GraphicsDeviceManager(this); content = new ContentManager(Services); this.IsFixedTimeStep = false; } Problem is that it always shows fps at around 60 no matter what I do - draw some 3d model or just empty screen. I know I'm missing something simple here, please help.. Btw, I'm using one of fps code examples found on this forum, so I don't think problem is in fps code itself. Thanks, ErnisJ IsFixedTimeStep determines whether or not the Update call is made every Xth of a second or run continuously. What ...Show All

  • SQL Server C# and SQL Express

    hi Y'All! I've been having quite some fun doing C#, im doing an accounting system just for the fun of it. I find C# quite user friendly (though Im using the express edition). Its not really that cryptic. Though one must be able to grasp the concept of OOP. Well, enough praise about the language, I know i wont get any freebie anyway. Just some question though. 1. Im planning to use SQL Server express as backend, right now Im using firebird and plan to change backend. What are the limitations of SQL Express edition like can I use it in providing for example a network of 10 users with an accounting application. 2. I plan later to create a C# program (windows application) that will access a database for example in the internet, the da ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Free 2d assets?

    Anyone know of any good sites for grabbing some good free 2d assets sprites and the like (preferably space shooter type 8) I would also have a look at www.gamedev.net in there visual arts forums, there is an FAQ at the top that lists various resources for artwork and such. ...Show All

©2008 Software Development Network