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

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

oytun

Member List

Devan47
koby198
Begemot
xRuntime
Burrough
Eric Rave
swells
schalti
CruzPedro
su45937
John Oliver (UK)MSP, VSIP
F.Costa
aliasx
csi_hugh
asdfj
BilalShouman
davidw
cdun2
Muhammad Rashed Nadeem
gchippie
Only Title

oytun's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Mouse Input / Events

    I just downloaded the "Simple Input" tutorial that details steps for handling mouse and keyboard input in XNA GSE. I ran the program and it seems to handle mouse input fairly well. I notice that the mouse "events" are being detected using the Mouse.GetState() method of the Microsoft.Xna.Framework.Input.Mouse class from the XNA framework. The Mouse.GetState() method is being called in the Update method of their custom class InputManager.cs (which inherits/overrides Update() method in Microsoft.Xna.Framework.GameComponent). Questions: Is it possible that the state could change more than once between subsequent calls to Update() For instance if the user clicks the left mouse button quickly. If so is it possib ...Show All

  • .NET Development Connecting to ORACLE 10G XE

    How can i create a connection string for oracle 10g xe from vb.net to access the data. The database is at remote location Unfortunately I am not an Oracle DBA and I'm not familiar with your environment. If you have questions with respect to configuring the client software you may want to post a question to an Oracle newsgroup or forum. The following contains some information about creating a DSN: http://www.aspfree.com/c/a/VB.NET/Displaying-an-Oracle-10G-XE-Table-with-Visual-Basic-6/2/ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Windowed rendering troubles

    i need to run my app in windowed mode with vertical synk, but if i will set d3dpp.PresentationInterval = D3DPRESENT_INTERVAL_ONE; then app work with 60-70fps, compare to my monitor refresh rate is 100fps, if i will set D3DPRESENT_INTERVAL_DEFAULT then app work with 300fps, but eat 100%l cpu time, how to fix this problem and get window rendering with correct framerate yes, i was tried all possible refresh rates. other way, just run any Direct3D example from DxSDK, scale window to fullscreen, and change Present Interval to D3DPRESENT_INTERVAL_ONE... any ideas how to fix it ...Show All

  • .NET Development Serialization & Reflection

    Hi All, Do you know that if you serialize, through the automatic .NET serialization mechanism, a class from an assembly named One and try to restore it from the same assembly renamed to Two you get an exception The reason is quite obvious but I am trying to work around to this issue. I mean, if one day I will change the name to one of my DLL the customers will never be able to deserialize their files How can I avoid this Thanks a lot, Alberto Hi Alberto, that wont help either. That enum is used to say how detailed the assembly name will be when serialized. Assembly name is needed to maintain uniqueness of types. The only solution is to ship your data ...Show All

  • Visual Studio 2008 (Pre-release) is it possible to capture graphic output of a running Form?

    I would try to capture graphic output of a old form and use it like a brush into a WPF application (sounds similar of th DWM approach). Is it possible to do Doug shows how to do something like that, but it requires Vista. http://11011.net/archives/000653.html ...Show All

  • Visual Basic Format a Combo Box Selection

    This should work but, no matter what the combo box selection is, it always returns a ">B000". What am I doing wrong Dim WCorrection As String = ComboBoxWCorrection.SelectedItem DataToSend = ( ">B" & Format(WCorrection, "000" )) That does the trick, however in my case I was looking for: datatosend = ">B" & Format(Val(WCorrection), "000" ) Thanks. ...Show All

  • Windows Forms how to cleare all selected items in a checkboxlist in vb.net 2005

    i have a checkboxlist I need to clear"refrest" after the user clicks enter I have tried chkbox.clearselected() no good Take a look at this thread. Maybe it can help you http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=916471&SiteID=1 ...Show All

  • .NET Development Displays Excel worksheet in DataGridView

    How can I bind an excel worksheet data to a datagridview Im trying to load an excel sheet with numbers to my form, im trying to get as much of a look and feel as excel as possible. Hi, What you want is to embed the speadsheet control that is part of Office Web Components: http://www.microsoft.com/downloads/details.aspx familyid=7287252C-402E-4F72-97A5-E0FD290D4B76&displaylang=en The .net datagrid is not a replacement for a spreadsheet. Regards, Charles ...Show All

  • SQL Server Issue incorporating code to generate the excel reports in SSIS

    I have an issue incorporating code to generate the excel reports in SSIS. After investigations, I found there is a limitation of Visual Studio for Application (VSA) . Although I found a solution, I cannot locate the required dll (Microsoft.Office.Interop.Excel.dll). Questions: 1. Are there any other options available 2. If no, where can I get the dll file Thanks! ...Show All

  • SQL Server Flat File Connection manager throws error when a column gets added to the flat file

    Hi, I have a situation where a tab limited text file is used to populate a sql server table. The tab limited text file comes from a third party vendor. There are fixed number of columns we need to export to the sql server table. However the third party may add colums in the text file. Whenenver the text file has an added column (which we dont need to import) the build fails since the flat file connection manager does not create the metadata for it again. The problem goes away  where I press the button "Reset Columns" since it builds the metadata then. Since we need to build the tables everyday we cannot automate it using SSIS because the metadata does not change automatically. Is there a way out in SSIS ...Show All

  • Visual Basic ListView and an ArrayList

    I have a ListView control and an ArrayList ----------------------------------------------------------------------------------  Public filename As New ArrayList() Public pathx As New ArrayList() Public phpath As New ArrayList() Dim fx As String = Path.GetFileName(OpenFileDialog1.FileName) Dim pcx As String = ComboBox1.Text filename.Add(fx) pathx.Add(pcx) phpath.Add(OpenFileDialog1.FileName) Dim item As New ListViewItem(fx) item.SubItems.Add(pcx) ListView1.Items.Add(item) ----------------------------------------------------------------------------------  For deleting an Item I have the following code: For Each x As ListViewItem In Li ...Show All

  • SQL Server SQL 2005 and ADO.NET 1.1 compatibility

    we have applications currently talking to a sql 2000 DB via ado.net 1.1. will we have any problems if we upgrade to sql 2005, will the app have to be modified. This will work fine together, although you cannot use the new features of SQL Server like query notification. But for plain data access that should fit your needs. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • SQL Server Connecting to SQL Server Express 2005 using VB.NET 2005 fails

    Dear Sir, We are using VB.NET 2005 (Winform) and the backend SQL Server Express 2005. We would like to connect the Express (.mdf) database from Remote Machine. What type of connection string we have to use We tried the following ConnectionString but we got the error: Provider=SQLNCLI.1;Server=.\SQLEXPRESS;AttachDbFileName=S:\MLJData.mdf;Database=MLJData;Trusted_Connection=Yes; Also suggest what are all the prerequisites to run sql server express 2005 database in client machine. We did installed the following tools in client machine: 1. .NET framework 2.0 2. sqlncli.msi (SQL Server Native Client Setup) Please provide us the solution for this. Thanks M. Gopalan Sofist India okugops@hotmail.com You have "Ser ...Show All

  • Visual C# Data structures in C#

    Hi, I need some advice on the data structures to use in C#. My need is to construct a something like a code syntax tree. what would the embedded data structures in C# to use so as to ensure memory optimisation and run time efficiency currently, stacks/lists/ dictionaries are my choice of options. If any experienced C# developer would give me some sound advice, I would like to hear from you. Thanks I saw the articles but they are just basic usage of data structures. I am coding a parser cum analyzer of programs. recursion is intuitive but it would cause a lot of memory overheads as it eats up into the heap. so I was thinking if there were any methodology that would optimise the building of a syntax t ...Show All

  • Visual C++ VS 2005 SE Compiler Errors with VS 6.0 Source Files

    Hello Folks, I recently installed VS 2005 SE and Service Patch 1 to upgrade a Win32 application that was previously compiled with VS 6.0. I tried a raw build to identify the broken code errors and got the expected <strstrea.h> file not found error. I replaced <strstrea.h> with <strstream> and got past the file not found error but that uncovered the following error c:\c++projects\physics_1\2dview.cpp(256) : error C2065: 'ostrstream' : undeclared identifier Likewise for the other classes in strstream. In addition I got a bunch of warnings WINVER not defined. Defaulting to 0x0502 (Windows Server 2003) So I placed #define WINVER 0x0502 in the project header file (Physics_1.h) where the <strstream> was in ...Show All

©2008 Software Development Network