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

Software Development Network >> David I. McIntosh's Q&A profile

David I. McIntosh

Member List

eveningjazz
Batikit
Sai A
-Den
GeeMann
franjorge
NickBuck
NeTBaPb
Bastian W.
mAh3u
Bren Anderson
Rey De Jesus
Nuno_Salvado
Meat
R.Tutus
Hollispj
y2k4life
NickoM
nitinmehta
Will George
Only Title

David I. McIntosh's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Multiple VertexBuffer

    right now I'm using one vertexbuffer in my application. I'm thinking about changing it to use more than one (it's dynamic - will vary from 1 to 30 at most). Is there a overhead of calling the 'SetStremSource' method and 'VertexFormat' property Thanks. There is small overhead as GPU has to fetch it's vertices from two places instead of one, but in most cases it's small. And in situations where you have to update small part of each vertex each frame (for example texture coordinate) - it's more efficient to use two VB: one with static data and second for dynamic data. ...Show All

  • Windows Forms Monotype fonts for list boxes

    I am attempting to display a set of parameters with their values in a checked listbox. I would like to line up the names of the parameters, the = signs, and the values. The only monotype font I know of in the usual set of microsoft fonts is Courier New. I would prefer a font that looks more like microsoft sans serif. Anyone know about available fonts I don't remember which fonts are loaded with Windows that are fixed-width; but, some examples that are fixed width: Fixedsys, Lucida Console, Terminal. Lucida Console is a san serif font that is popular. ...Show All

  • .NET Development Just a pair of questions

    We've totally stuck, please help!! Hi everyone, Primary platform is full 64-bit both OS and RBDMS along with .Net Framework 2.0 We've totally stuck with this. We've got a .Net service running on Windows 2003 64 bit which has been compiled as x64 in project options. Everything is fine, service is installed, logged and finally started but the issue comes when you're going to Task Manager, and jesus christ, appears as "namexe.exe" instead of "nameexe.exe" *32 Is it running as 64 or 32 I understand when you set AnyCPU if destination CPU run as 64-bit mode it'll be a 64-bit executable and when you set x86 as 32-bit. Why Could you please so kind to provide me any clarification or ideas about this How odd! TIA ...Show All

  • Visual Studio 2008 (Pre-release) Binding issue with deep clone

    Hi All, I am currently having an issue when I tried to deep clone the object that bound to the UI, below is the xaml file < Window x:Class = " Desktop.CustomerList " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:local = " clr-namespace:Desktop " Title = " Desktop " Height = " 300 " Width = " 300 " > < StackPanel > < local:CommandListView ItemsSource = " {Binding Path=CustomersView} " Command = " {Binding Path=EditCustomerCommand} " ...Show All

  • Internet Explorer Development How can I tell the version of IE I'm being hosted by ?

    I want to change how I act depending on whether i'm hosted in IE6 or 7, more specifically I want to know if I can use navOpenInNewTab ...Show All

  • SQL Server Using Windows Authentication v/s Mixed Authentication

    Hi, Say, I have configured my SQL to use Mixed Authentication. Now, I have a applicaiton which uses my SQL Server. The application just creates a database in SQL Server and uses the database to store its information. This application also has a SYSTEM DSN under ODBC through which it accesses the database. For the application to access this database, should I only use SA (as my SQL instance is configured to use Mixed Authentication) or can I use Windows Authentcation too... If I should only use SA, do we have a documentation which talks about this. Thanks Santhosh Hi, well that depends. If you want to use the infrastructure (domain Security) which is given you from the domain where the user who executes the application is ...Show All

  • Software Development for Windows Vista How can my process best tell if it is running elevated?

    Hi all, I asked this in another forum also but thought I'd give it a shot here. I'd like to programmatically determine whether the process my dll is running in has had its authority elevated. I think I remember having read about an API call that would tell me this, but I can't find that doc anymore. This info will help me do the right/safe thing in an app that MS would say should be split into two parts: non-admin and admin -- but that I do not have time to split. I see there is an entry point exported from kernel32.dll called "CheckElevation", but I see no doc on this anywhere. Thanks! Hi, and thanks for the reply. Unfortunately, I cannot locate definitions nor documentation for the TOKEN_ELEVAT ...Show All

  • SQL Server Creating Total to-date query...

    I am trying to create a query where the data is for a time period but there is one column that would show a Total-to-date. I've tried google and searching this forum but everyone talks about year-to-date or period-to-date but I don't want that. I would like to do : [from whenever data started being entered]-to-date I know I can hack this by doing an aggregate like so: WITH MEMBER [Timesheet].[Date].[TimeChargedTotal] AS 'Aggregate ( { [Timesheet].[Date].[Year].&[1900].&[1].&[1]:[Timesheet].[Date].[Year].&[2006].&[9].&[15] } )' Here I am betting on the fact that there is no data before 1-1-1900 which is a safe bet, but I'd prefer to do it the 'right' way if there is one. Thanks. I am not familiar ...Show All

  • Visual Studio Reference from csproj to vcproj fails to build using MSbuild

    Hi, We are having an issue building a VS2005 solution using MSBuild. Our solution includes a c# project that has a project-to-project reference to a VC++ assembly project. The VC++ project has Common language runtime support set to None, but overridden on some of its source files to /clr. This builds fine within the IDE but fails to build using MSBuild from the command line. Looking at the MSBuild output, the /reference: for the VC++ assembly is missing from the CSC command line. If we enable CLR support at the project level everything builds fine, but this is not a practical option for us – there are hundreds of source files in these projects but only one or two that require the /clr switch. The link has a small example solution ...Show All

  • SQL Server Multivalued Parameters

    Hi, In my report i have to display the dynamic columns i.e we have to display the columns available to the user user can select what columns he want in the report.In SQLSERVER reporting services there is no Check box filed,thatswhy iam displaying available columns to the user in a parameter named "Columns" and marked that parameter as 'MultiValued'. In the report body for example i have CaseID,age,Date columns,For CaseID column Visibility:Hidden-> iam writing the following expression,=IIF(Parameters!Columns.Value(0)=TRUE,False,true),and for Age column Visibility expression is=IIF(Parameters!Columns.Value(1)=TRUE,False,true).When i run the report iam getting this error:Index out of bounds.Why iam getting this error. ...Show All

  • SQL Server Trying to generate XML result with Header, CDATA

    Hi all, I'm using SQL 2005, sp0 and sp1 (that is, I've tested against both). I've trying to find a way to have my SP return the following: ----------------[code]---------------- < xml version="1.0" encoding="utf-16" > <PromotionRuleSet> <RuleSetText><![CDATA[Rule 1]]></RuleSetText> </PromotionRuleSet> ----------------[/code]---------------- Now, from what I've read so far, CDATA is best (only ) done in XML EXPLICIT. So I have to following: ----------------[code]---------------- /****** Object: Table [PromotionRuleSet] Script Date: 08/21/2006 12:02:23 ******/ IF OBJECT_ID ('[PromotionRuleSet]') IS NOT NULL DROP TABLE [PromotionRuleSet] SET AN ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. The HLSL Workshop from the SDK

    I have worked with shaders before, but not very much. I want to delve into shader development, and thought the HLSL Workshop to be a good starting point. However, I don't know how to actually get the tutorial FX files to run. Here's what I've tried so far: Opening the FX files in the DirectX Viewer. The viewer wasn't able to load any of the files, and gave this error for each: "- Global parameter not found. Effect is not SAS-compliant." Making the BasicHLSL solution ( mentioned in the HLSL Workshop docs as a tutorial for debugging shaders ) use the tutorial FX files, and loading the skullocc.x file instead of Tiny. This cause a lot of runtime errors to be thrown when setting the values for the effect object. I'm sure th ...Show All

  • SQL Server Comparison of 2 measures at diff levels of granularity

    Hi I'm trying to design a cube with 2 fact tables , one sales the other Budget facts. The problem I have is that sales are for item code level (lowest) and Budgets are for Item Group level (Above Item Code) in hierarchical structure. I have played about with trying to create a relationship between the attributes but don't know if I'm missing something simple. All analysis with 2 measures gives repeated figures for one of the measures. Has anyone done this or can anyone suggest a method to follow Thanks I attempted to created a parent-child dimension as follows; Key - Item Code Parent - Item Group Business Division Dimension created and then manually created Item hierarchy ...Show All

  • SQL Server Dimension Writeback

    I am interested in using the Dimension Writeback feature to solve a specific problem in a forecasting application. I only need to Update attribute values on existing dimension members, I don't need to insert or delete members. Looking at various resources on the web, I think I understand the following ... - I must be using the Enterprise version of SQL Server / SSAS - I need to write enable the relevant dimension from within my development environment - My users need to be using an OLAP Client which supports dimension writeback. Some questions ... - Is my understanding above correct - Do the following OLAP clients support dimension writeback --- Excel 2007 Pivot Tables --- Excel Services running within Sharepoint 2007 --- If n ...Show All

  • Visual Studio Error: SharedContentComponent: The shared content item 'methodTopicTitle' could not be formatted with 1 parameters.

    I got this error running Sandcastle Semptember CTP: ... Info: SharedContentComponent: Loaded 179 shared content items. Info: ResolveReferenceLinksComponent: Instantiating component. Info: ResolveReferenceLinksComponent: Indexed 82647 reference link targets. Info: SaveComponent: Instantiating component. Info: Loaded 11 components Info: Building topic R:Project Info: Building topic N:Electrolux.Compiler.Collections Info: Building topic T:Electrolux.Compiler.Collections.MemoryItem Warn: SharedContentComponent: Missing shared content item 'Methods'. Warn: SharedContentComponent: Missing shared content item 'Constructors'. Warn: SharedContentComponent: Missing shared content item 'Properties'. Info: ResolveReferenceLinksComponent: ...Show All

©2008 Software Development Network