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

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

chas2003

Member List

OmegaMan
ahmedilyas
Sam2
Mystery
AJMRepetto
vidalsasoon
Quimbo
ZergaKilla
vijil
sugupta00
rocky050371
SanthaMind
manukahn
Michael-Renger
MisterMoon
hrubesh
hetscrack
Darren McGowan
Andre's
rene schrieken
Only Title

chas2003's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Managed C# performance loss.

    I caught some people quoting managed performance loss at only 2% (over unmanaged). I am just curious how accurate that assessment is. Last time I was looking into it, DX programmers were quoting 90% of managed performance as a BEST case scenario. (usually much lower) If the margin has grown so low, is there any large scale games developed using C# i guess the real question is, if you had the exact same amount of time and resources to create a project in C# XNA and unmanaged C++ directx or openGL, which would be a better quality product when the time ran out What corners would you have to cut in unmanaged code to meet the requirements Who knows, it hasn't been done yet. So we just have to sa ...Show All

  • Visual Studio Team System Can I use one account instead of three accounts when I setup VSTS?

    I'd like to use only one account -- TFSSETUP to set up VSTS. I don't want to use TFSSERVICE and TFSREPORTS accounts, because it's hard to manage. Due to our company policy, I have to change our password every three months. One account is easy to us to handle the server The reason we suggest multiple accounts is to grant the least required privileges in each case to reduce the security vulnerability surface. You can use the utility TfsAdminUtil.exe to update the passwords and services using those accounts easily. Here's a post on the topic . ...Show All

  • SQL Server SQL 2000 OPENQUERY Issue

    I have been attempting to create a SQL view that includes an OpenQuery to another SQL server. I create a new SQL View and use the following command: SELECT * FROM OPENQUERY(FFEUSPLMSAP165, 'SELECT * FROM v_r_system') v_R_SYSTEM I then execute and it returns the appropriate records from the remote server. The problem comes when I attempt to save that new query. I receive: ODBC error: The operation could not be performed because the OLE DB Provider 'SQLOLEDB' was unable to begin a distributed transaction. OLE/DB provider returned message: New transaction cannot enlist in the specified transaction coordinator. OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ITransactionjoi Join Transaction returned )x8004d00a] What I can ...Show All

  • Windows Forms MERGING CELLS IN DATAGRIDVIEW

    Hi all, Is it possible to merge cells(rows) in DatagridView And How Thanx Hi thanks for ur reply.. What i want is that i have 2 row headers in my control. say Rowheader0 and rowHeader1. i want to split the Rowheader0 in to two headers like x1 and x2.. Is it possible to do that Please share ur ideas.. Thanks in advance ...Show All

  • Visual Studio Express Editions how do you autostretch a GDI drawing?

    If I stick an elipse on a form using GDI, how do i get it to resize automatically when the form is re-sized by a user (i need everything to stay proportional to the form size) You could do your drawing on a panel control that fills the content space of the form.  Then Height and Width properties would not include the titlebar and scroll bars of the form.     ...Show All

  • Visual Studio 2008 (Pre-release) Virtualizing

    I'd like to use the VirtualizedStackPanel to display almost 3000 rows of data. Please see code below. My hope was that since the only controls created were the first few rows that show on the screen the virtualizing panel would return quickly after the 3000 rows were bound to it. In the code below, it does not seem to matter if I set my ListView's VirtualizingStackPanel.IsVirtualizing to True or False, it still takes about 15 seconds to bind the data. This is actually blazing fast compared to WinForms which could never even do this, but I wonder if vitualizing is really working, because it does not seem to be affecting the time it takes to display the control after binding the data. Are my assumptions about the effects of virtualizing i ...Show All

  • Visual Studio Express Editions Copying changing filenames

    Hi all, Firstly sorry for being a noob I am trying to write a program that copies an empty spreadsheet to one location and one with data to another. The bit im stuck on is i want to organise these by dates they come in, so i thought perhaps there is code to break apart the file name (OW_OPOM 2006 09 19 180000) and send them to that folder eg. copy ow_opom20060919180000.csv to s:\ow_opom\ 2006\september\19 If there is any easier way than breaking apart the name like reading the file info date etc please let me know Heres an example of my code so far.. Case "19:29:10" TextBox3.Text = ( My .Computer.FileSystem.GetFileInfo( "C:\Documents and Settings\Salvatore\Desktop\test1\OW_OPOM_20060919180000.csv&q ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 4.5s of overhead when pixel shaders are set

    I'm getting a 4.5 seconds long freeze when a series of pixel shaders are used for the first time. When all of the 500 effects of my test case select a different PS, the application freezes 4.5 seconds and then continues. The overhead appears when DrawIndexedPrimitive or SetPixelShaderConstantF are called. - I'm not using the multithread flag - I'm not getting any errors or warning msg - no help from PIX - Shaders are compiled when the data is packaged at export time, no compilation at run-time. - The PS & VS are created at load time, not when needed So I tried a simpler test case: All PS are returning a random value -> the app freezes for ~1.5 seconds and the overhead occurs in DrawIndexedPrimitive. float4 Main( ) : COLOR0 { floa ...Show All

  • SQL Server Parameters in data flow task with Oracle database source

    In many DTS packages I have used parameterised queries for incremental loads from Oracle database sources using the Microsoft ODBC Driver for Oracle. Now I want to migrate these packages to SSIS, but the OLE DB connection for Oracle does not support parameters. I cannot use the "SQL command from variable" data access mode because of the 4000 character limitation on the length of string variables and expressions. Am I missing an obvious workaround pshotts wrote: In many DTS packages I have used parameterised queries for incremental loads from Oracle database sources using the Microsoft ODBC Driver for Oracle. Now I want to migrate these packages to SSIS, but the OLE DB c ...Show All

  • Visual Studio Team System Receiving Memory is Corrupt error when doing a Get specific version

    We have a fairly large solution/Project in TFS with the following details: 1) currently 1500+ files 2) only two people working on the project 3) Project is a web applicaiton project type TFS and VS 2005 are the currently released versions, no SP's or updates (except required for the web application) The team members have stated that they are able to get specific version many times through out the day and then all of a sudden get the error. Once that error is recieved if you close VS 2005 an access violation is produced, and results in a "Send details" error dialog. Has anyone else seen this issue Any chance anyone knows if there is a fix for this issue Thanks Wayne There isn't anything in the ev ...Show All

  • Windows Forms Listing all the controls in the page

    Hello All I have a windows application in which I have sevaral controls. Namely buttons ,checkbox, contextmenustrips,ToolStripMenuItem,SubMenu1ToolStripMenuItem When i loop through my controls like following I do not get the contextmenustrips,ToolStripMenuItem,SubMenu1ToolStripMenuItem listed For Each ctrl As Control In Me .Controls Debug.Print(ctrl.Name & " --- " & TypeName(ctrl).ToString) Next I tried the following too but it only lists contextmenustrips For Each com As System.ComponentModel.Component In Me .components.Components If TypeOf com Is ContextMenuStrip Then End If Next Do i have a method to access to all the controls in the form as ...Show All

  • Visual Studio Local Report - Object not found exception

    Hi All, I'm working on local report mode with delay signed assemblies. I use a custom assemblies to hold complex expressions which are used in the report. During report processing in the viewer I get the following exception message displayed in the viewer. "An error occured during local report processing. An unexplained error occured in Report processing. Object reference not set to an instance of object." As soon as I go back and unsign all assemblies it works. I've done a lot of trial and error fixes to tackle this to no avail during the past couple of days. Can someone pls guide me a to a formal way of getting more information about how to troubleshoot this I came across a thread which suggested looking at report server logs ...Show All

  • Software Development for Windows Vista Inconsistent File System Enumeration with FindFirstFile / FineNextFile

    I'm working to get a commercial application to run on Vista. Among the many broken things, the first one I encounter is a crash due to a stack overflow due to a recursive function that goes bad. The app enumerates files in various places using FindFirstFile | FineNextFile in a recursive function (C++). I'm using retail Vista Ultimate with VS 2005 sp1 plus the VS Vista update beta. What I see in the debugger is that when I start out enumerating drive "c:", I come to the "Documents and Settings" folder and recurse into it. When I get to "c:\Documents and Settings\All Users\Application Data", FindNextFile then returns "Application Data" over and over again and I recurse into "Application Data&qu ...Show All

  • SQL Server How do I set the default value of a column = to another columns value in the data row + 1

    I need to have the default value of a column of a specific table to be set to the value of another column in that same table + 1. I am using Sql Server Management Studio I tried setting under the property for the column "Default Value or Binding" = myTable.MyColumn + 1, but it does not appear to be the correct syntax. Please assist. What will be more effective in this case (assuming you have 100 tables which need same functionality) I remember reading that function should server the purpose better than adding 100 triggers. How many inserted on those 100 tables is also to be considerded. Am I right if I say function is better than 100 triggers ...Show All

  • .NET Development problems sending the query LIKE @param to sql

    I am sending this query from .net 2005 to sql express 2005: select URLItem FROM FetchedURLItem WHERE URLItem LIKE @parameter I want to get all the varchars that contain "msn.com". I am concating in the C# % (on the begining and the end of the parameter) so, I am sending as a parameter: %msn.co.il% . (after deleting the http://www. , the original string was: http://www.man.com ) I am getting null returned to the .net (the query is working fine at the SQL express) thanks Try the following statement: SELECT TOP 1 @param FROM FetchedURLItem UNION ALL SELECT TOP 1 ‘----------------‘ FROM FetchedURLItem ...Show All

©2008 Software Development Network