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

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

Hans1982

Member List

Pascal Mignot
myherdem
i_dont_care
The ZMan
b.p.
Eric Harmon
PublicError
VaraPrasad
K_L
winprock
solehome
Philipp Lamp
Matrixchyah
Dreedle
jalal_machou
GS80
IGiberson
hrubesh
benwalker
sureshsundar007
Only Title

Hans1982's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Does texel space offset result in dependent read?

    Ok, so here is the problem. I have PCF, and I am doing something like: [unroll] for (int y = ...; ...; ++y) [unroll] for (int x = ...; ...; ++x) tex.Sample(sampler, input.texcoord, int2(x, y)); Everything is fine, unless I want to optimize it and for example do PCF only for shadowed points. I put loops into an if() branch, and the compiler puts texture sampling instructions outside the branch, leaving only arithmetic ones inside. Obviously not what I wanted. Ok, I had the same issue with D3D9, where texel-space offset needs to be simulated via arithmetic instructions, which causes a dependent read - and this in turn causes a problem with mip level estimation - because if a branch is executed in one pixel in a block (2x2 ) of ...Show All

  • SQL Server report viewer and reporting services security

    i have a web application in studio 2005 using the report viewer control. i have my own security model implemented on my web pages for clients [1..n] each of the [1..n] clients should be able to view reports of their order history. i have the report viewer set up in url mode. the question is that when i have drill downs in my final reports, a user with some tech knowledge, would be able to obtain the url to my sql server running reporting services. the sql server will not be given a port 80 acess. how do i go about displaying reports without any savvy user being able to locate the server locations/credentials i donot want to create windows account for each [1..n] clients as this is ever growing ...Show All

  • SQL Server Wmi Error 0x80041003 in "SQL Server Configuration Manager"

    Hello, When I logon as a non-admin user & start the "SQL Configuration Manager", I get a WMI Error 0x80041003 when I try to add an alias. When I try to delete an alias, no error is shown, but the alias is not deleted. When I logon as an admin user, everything works fine, so this looks like a permissions problem. (AFAIK, 0x80041003 means "permission denied". ) I already ran the WMIDiag tool, this reports that WMI config is fine (but WMIdiag needs admin permissions to run...) Any ideas which WMI permissions are needed to run the SQL Configuration Manager as a non-admin user Thanks in advance for any suggestions.. ...Show All

  • SQL Server Add Skuupgrade=1 ?

    Hi! I downloaded Sql server 2005 Standard directly, when I got this message. I am not used to the commandprompt, and does not know how to add Skoopgrade=1 . Coud you please help me, may be I could add it in another way Thank you so much in advance!! The SKUUPGRADE flag is used when upgrading one edition of SQL 2005 to another. Here is the documentation: http://msdn2.microsoft.com/en-us/library/ms144259.aspx [SKUUPGRADE] Use the SKUUPGRADE parameter when upgrading from one edition of SQL Server 2005 to another edition of SQL Server 2005. Important: If you use the SKUUPGRADE parameter, Setup will remove all hotfix and service pack updates from the SQL Server instance being upgraded. Once the edition u ...Show All

  • Visual Studio Team System Assembly reference issue

    I've made an application that uses some TFS assemblies and now I want to distribute this application to some users. During development I just set the 'copy local' to true, but now that it is time to deploy, I don't want to distribute the TFS assemblies too. When I set the copy local to false, my application will not start because some of the dependent assemblies cannot be found. Here's what I did. I needed to use Microsoft.TeamFoundation.WorkItemTracking.Controls.dll which is in the private assemblies folder (but not in the GAC) so I edited my TFS references in the project file to be like the following: < Reference Include = " Microsoft.TeamFoundation.WorkItemTracking.Controls, Version=8.0.0.0, Culture=neutral, PublicK ...Show All

  • Software Development for Windows Vista Testing Windows Vista Gadgets in Xp

    Hi All, I'm new to Windows Vista and I've some difficulties here in installing new OS. Is it possible to setup Vista SDK and test the gadgets in Windows XP I've installed Vista Sidebar for XP ( http://www.wincert.net/forum/index.php showtopic=485 ) Unfortunately, not all gadgets work :( Thanks, Gabriel Topala http://www.gtopala.com ...Show All

  • .NET Development XSLCompiledTransform error

    Hi! I've got an InvalidProgramException occuring when transforming an xml file using XSLCompiledTransform.Transform method. I'm using a large xslt and xml input file. The same transformation works fine if I'm using XslTransformer class instead. Also if i'm reducing the xslt size, XSLCompiledTransform works too. Is there a limitation on the file sizes used by XSLCompiledTransform Thanks Below are the details of the exception: System.InvalidProgramException occurred Message="Common Language Runtime detected an invalid program." Source="System.Xml.Xsl.CompiledQuery.2" StackTrace: at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="/s0:REPC_MT002000.CareProvisionRequest"> ...Show All

  • Visual Studio Subreport password prompt won't go away, and also fails.

    My main report without the subreport works okay. Both use a stored procedure through an identical ODBC connection. When the subreport with linked parameter is attached, I get prompted for the password, and when giving it the most definitely correct password, it fails. SQL server is logging it as a bad password, but it is DEFINITELY GOOD and is used identically all through the app, and I am logging directly into the server with it, no problem. Yes, I do have the latest CR patches applied. PLEASE help I am using Visual Basic 2005 (Visual Studio) and the included version of Crystal Reports. I am using SQL Server 2005 on the same machine that the app runs on. OS is Windows Small Business Server 2003. Public oRpt As New MyReport0001 'T ...Show All

  • Visual Studio 2008 (Pre-release) DataBinding to a DataSet misses the DBNull concept :(

    Have you ever tried to bind for example a "textBox" text property to a DataColumn of Type "string" Well I did and discovered that if you use Typed DataColumns on your dataset it will be impossible to insert the value DBnull. Take this for example: Creating a datasource: dados = new DataSet ( "Dados" ); DataTable tabela = new DataTable ( "Tabela" ); tabela.Columns.Add( "boolean" , typeof ( bool )); DataRow row = tabela.NewRow(); You see i've defined that the DataColumn's Type should be boolean. DataBind example: < CheckBox Content = " CheckBox " IsChecked = " {Binding Path=boolean} " /> Conclusion: If you want to ...Show All

  • Visual Studio Custom Project Item Templates

    Hello everyone, I am developing a new project wizard, and from it I am trying to use an existing project item from a template I created that is working fine. The problem I have is when I call GetProjectItemTemplate from the solution2 object, I get: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) So, I started testing some things, and replaced my call for the custom template with a call to a microsoft supplied template, class.zip: string classTemplate = soln2.GetProjectItemTemplate("class", " csharp" ); I found that this works just fine. However, if i replace "class" with another microsoft supplied template, Form for instance: string classTemplate = soln2. ...Show All

  • Visual Studio Express Editions combo box

    Hi, I'm trying to use the SELECT DISTINCT Query in combo box in a form i've created by draging the table in data grid view......where do i put this query at..........is it somewhere in the edit column area Thanks This looks like the answer to one of my questions but im not sure I understand how to execute it... WHere do you place the select statement ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where is the 360 download?

    On your Xbox 360 Dashboard, navigate to the Xbox Live blade. Select Xbox Live Marketplace and press A. Select Games and press A. Select All Game Downloads and press A. Select XNA Game Studio Express . I don't see XNA Game Studio Express Is there a way to search Market Place Live! and not have to scroll up and down all the list - guy y2k4life wrote: Ya It should have either been left out or a disclaimer or something somewhere saying it is not there. Maybe on the downloads pages. We've been very clear in the FAQ that Xbox 360 functionality won't be in the 360 until the initial release of XNA Game Studio Express. However, I agree it would have been helpful to hav ...Show All

  • Visual Basic VB.NET FindWindow(Ex) + SendMessage Mouse click (on specific coord). Looks like a challenge?!

    Hi all, I just bought a nice G15 Gaming Keyboard. It has a nice LCD screen with media keys (Play, Stop, Next, Previous etc,). Anyway, I managed to intercept the original functions to WMP of it (By Global Hotkeying them). Now, I have to send mouse clicks to my own Music Player (Playa!TraX, it isn't my creation) on a specific coord. This is the code i have, it finds the window, and says it clicks, but nothing happens, what am I doing wrong Code: Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" ( ByVal Hwnd As IntPtr, ByVal wMsg As Integer , ByVal wParam As Integer , ByVal lParam As Integer ) As Integer Private Declare Function FindWindow Lib "user3 ...Show All

  • SQL Server Does SQL Server 2005 Express support Web/Internet Replication to other SQL Server Express Clients?

    HI Q1: Does Sql Server 2005 Express support Web/Internet to other SQL Server 2005 Express Clients or does it have to Synch across the internet to a fully installed setup SQL Server 2005 with IIS Q2: Does SQL Server 2005 Express support Direct Replication between other SQL Server 2005 Express clients Regards SQL Server 2005 Express Edition supports being a replication subscriber only. See http://msdn2.microsoft.com/en-us/library/ms165700.aspx The publisher and distributor must be higher SKUs of SQL Server 2005. i.e. Enterprise, Standard, Workgroup. As for synching via IIS over the internet with merge replication, this is supported by the SQL Server 2005 Express client. Hope this helps, ...Show All

  • Visual Studio Team System Can TFSBuild run different targets the way MSBuild can

    I am new to TFSBuild and now have a basic, automated build working for my project. The next step is to be able to add a couple of targets to the project file and run those at different schedules. It may be that one of the targets builds the project in Debug mode and the other builds it in Release mode. In MSBuild, I could do this by adding the "/t:" switch, followed by the name of the Target. Can I do this with TFSBuild Perhaps I am barking up the wrong tree and would be better to create more Build Types. My set up is that I have Team VSS on one server and a seperate Build Server with Team Services installed. Thanks in advance for your help, Gordon That could certainly work. ...Show All

©2008 Software Development Network