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

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

gudel

Member List

samwalrus
twilightown
YeeBoon
Evan Mulawski
SPECIALK_BC
Hoon1234
Kamii47
Rattlerr
cadouthat
Nick Hustak
BeguiledFoil
ZhangZJ
LEF1
Nonu_k
David Törnquist
Makarand_Keer
Jan Byvaly
mohd sufian
Magic PC
dsallow
Only Title

gudel's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Slowing down the game

    I'm trying to slow down my game with the code below : protected override void Update(GameTime gameTime) .... if (bNextTick(gameTime)) { game.runState(); } .... private Boolean bNextTick(GameTime gameTime) { curTime = gameTime.TotalRealTime.TotalMilliseconds; if (curTime - timeNow > DELAY) { timeNow = curTime; return true; } return false; } ...........when DELAY is set to 13, there is no noticable difference, when set to 14 there is a significant slowdown. I cant seem to vary the slowdown between 13 and 14. Any ideas Are there better ways of slowing down the game Ah found it : this.TargetElapsedTime = TimeSpan.FromMilli ...Show All

  • Community Chat logiciel

    Bonjour,Quel logiciel convient le mieux a l'exploitation d'un cyber-cafe Just for fun: I dont know any french at all .. but after squirming a little i got to some interpretation of your conversation (lol!). Tell me how close am i Q> Hello, Which software is appropriate best for the exploitation of a cybercafe A1> it is necessary that you check the memory your ordiator A2> correction: it is necessary that I check the memory of your computer just for fun! ...Show All

  • SQL Server Size limit XML type...

    Hi there, what does it mean limited to 2GB per instance for XML type It means that xml column can have only 2g size limit Thanks for your help in advance, Tris Thanks for your answer... In this article http://www.developer.com/db/article.php/3565996 it say the limit size is 2GB per individual document. In my understanding, one row with one XML type can have a limt size to 2GB(per cell). I'm confusing with, one column XML type can have 2GB of limitation. I don't think it is 2 GB per column cause it doesn't make sense to limit to 2GB (not enough space for storing). Thanks, Anourak ...Show All

  • Visual Studio Tools for Office Office Document Customization in not available Excel 2003

    I am getting the same the message when I open my workbook on a shared pc. I have changed the security setting within .Net 2.0 Configuration Tools (mscorcefg.msc) on my pc and it works but the shard pc is using .Net 1.1 Configuration Tools (mscorcefg.msc). I get the same message (Microsoft Office Customization Not Available). HELP PLEASE Shawn Hi Shawn I've moved your question to a new question thread for better visibility. New posts to older threads, marked as answers, are unlikely to be noticed by people stopping by the forum. If you created and compiled your solution in VSTO 2005 (.NET 2.0) it's not going to run with .NET 1.1 (or 1.0). You need to install .NET 2.0 on the target PC. Both ve ...Show All

  • Windows Forms version of MSDE

    HI, How to check which version of MSDE is installed on a system. through my c# code Please answer bye You may want to switch to SQLExpress since MSDE will never be supported on vista. But probably best to probably check for MSDE version before the installation. That can be done through target file search and launch conditions. Just have the search look for the MSDE files and version that are identify the unique version you want. ...Show All

  • SQL Server Grand Total Needed

    I have two subreports (Revenue and Expense) that each have subtotals. This works just fine, but I need a Grand Total that would sum the two subtotals. How would I go about doing this So it looks something like this: Revenue Report (matrix) Subtotal Expense Report (matrix) Subtotal <~~~~ Need Grand Total here. I'm not quite sure how to implement that since my revenue and expense report have a column for each month in the current year. Maybe I should draw it out a little better:   Revenue Report(matrix)                           Jan      ...Show All

  • Visual Studio 2008 (Pre-release) How to restore MainWindow to maximized on startup

    I tried to restore the MainWindow on application startup on the second screen. I saved some window position, Size and state on previous window shutdown. On startup i tried to restore the old state. window.Left = rectangleLocation.Location.X; window.Top = rectangleLocation.Location.Y; window.Width = rectangleLocation.Width; window.Height = rectangleLocation.Height; if (state == System.Windows.WindowState.Maximized) window.WindowState = state; Unfortunately the window comes up maximized on the first screen. Is the code above wrong or is there another way to do this. Unfortunately the Window APIs can not target monitor. One workaround I can think of is to set the left, top, width, height, show the window ...Show All

  • .NET Development HttpWebRequest and ServicePoint

    Hi. I have faced a problem that I still cannot find solution for. I need to execute web requests to SAME web server using different source IP and port combinations. Yes, I know that I should use ServicePoint.BindIPEndPointDelegate and I use it. But my problem is that I have multi-threading application and because I use same destination address I got same ServicePoint instance for all threads and therefore can use only one combination of source IP and port in time. Does anybody know solution to this problem I'm using .NET 2.0. Thanks. Thanks for reply. I know that this bind delegate will be called and it's called. But you seems not understand my problem. Imagine I have 10 threads and have 10 local I ...Show All

  • Visual Basic setfocus

    IN vb 2005 how do I set the focus on a textbox so it shows the cursor(blinking) when the user switches to that page Hi, What is "switching to that page" A tab control If yes use the SelectedIndexChanged event. In that event call the Focus method of the control which should get the focus -- SvenC ...Show All

  • Visual Basic About ActiveX in VB.NET

    I want to create an ActiveX to embed to my HTML file. Can I do it by using VB.NET Here's a link to get you started http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconexposingnetframeworkcomponentstocom.asp and here's one to show you the way http://www.vbdotnetheaven.com/UploadFile/dsandor/ActiveXControlInVBdotNET04112005081747AM/ActiveXControlInVBdotNET.aspx good luck richard ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C# - Managed DirectX - Secondary Monitor

    Hi, I posted this question in the C# forms forum area a couple of days ago, and I thought perhaps this was a more relevant forum for the question. I am creating a program which uses the secondary attached monitor. The program successfully creates a Direct3D enabled window which runs fullscreen on the secondary adapter (using an adapter id of 1). This does in fact work smoothly and how I would have expected. However, there is a serous flaw which I cannot resolve. If something is clicked on the primary monitor (anything at all), the Direct3D enabled window on the secondary devices is minimized immediately (and naturally the DeviceLostException occurs due to the window being minimized). Somehow I need to stop the program from auto ...Show All

  • SQL Server MAJOR PROBLEM: New SQL2005 installation performance problem.

    We are experiencing a major issue since upgrading from SQL2000 to SQL2005 over the weekend. Starting today, it appears that the performance of SQLServer reaches a limit every 15 minutes. Our configuration is as follows: Window Server 2K3 x64 Enterprise SQLServer 2005 x64 Enterprise HP DL585 with 4 dual core Opterons 32 GB of RAM 2 TB EMC SAN At first, I thought there was a memory pressure problem, since I had the default max memory set. After changing the max memory to only 25 GB (out of 32 available), the issue went away temporarily. However, after 15-20 minutes, the number of batches/sec dropped in half, and remained after half until I changed the max memory setting again. Over the course of the day, I was able to fi ...Show All

  • SQL Server SSIS Logs

    Hello Experts, I have an SSIS package which runs evertyime flat file is uploaded. I am also logging the results in sql table(sysdts90)..But I am cluesless abt how to show these results to the user on a web page ....as this package is automated..is there a way for me to show the user for this upload this package was run and these r the results Regards You could try building some Reporting Services reports on top of the log table. Or you could use the ones that Microsoft have already provided for you: http://www.microsoft.com/downloads/details.aspx familyid=526E1FCE-7AD5-4A54-B62C-13FFCD114A73&displaylang=en -Jamie ...Show All

  • .NET Development Sample Code

    Here is some of the code I have now. I am unable to get the exact error right now because I can't debug on the machine I am on currently. Any Ideas based on the code below connection = new OleDbConnection( " Provider=SQLOLEDB;Data Source=10.10.200.121;Initial Catalog=SALES;UID=user;PWD=pw" ); try { connection->Open(); command = new OleDbCommand(query, connection); reader = command->ExecuteReader(); reader->Read(); if (reader->HasRows) { this ->recurrence = (DK_SCHEDULE_RECURRENCE )reader->GetInt32(0); this ->last_run_date = reader->GetDateTime(1); this ->next_run_date = reader->GetDateTime(2); this ->ftp_server = reader->Get ...Show All

  • Visual Studio 2008 (Pre-release) Catching clicks on a panel or any other non-button-element

    Calling a function, when clicking a button isn't a problem. But recently I tried to catch clicks on a grid, but with no avail. Since these elements don't have a click property, I'm completely clueless how to accomplish such a thing. Anyone got some ideas Buttons convert mouse events to click events as the mouse event bubbles. Most WPF elements don't have click events; use the mouse events instead. Unless you want to intercept and modify the click event behaviour of buttons, it's better to handle the bubbling versions of the mouse events rather than the preview versions. The advantage of using the bubbled event over the preview event is that elements that have specific handling for mouse events will han ...Show All

©2008 Software Development Network