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

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

lqiuoswego

Member List

huabing78
akdpr
Daveo__
managar
Winanjaya
Kinlan
mEt
Sabratha
daverage
deViance
Rattlerr
Bastiaan Molsbeck
Alkampfer
John Luke
magicalclick
Gnarlito
createdbyx
carda
Bruce Bukovics
Deldy
Only Title

lqiuoswego's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Other benefits of the creator's club

    I was hoping that another benefit of the creators club would be automatic acceptance to the http://www.xbox.com/en-US/community/developer/default.htm xbox community developer program.  Is this a possibility   You can sign up for that now and its free, however they only except a small amount of people. They want quality of apps up so they are selective. To those who don’t know what the Community Developer Program is, it is a program that gives access to additional Xbox live user data, they have come up with thinks like Xbox 360 blogs and game score charts. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. samplecmp usage?

    What exactly do the samplecmp HLSL instruction From what I understand from the documentation: v = MyTexture.samplecmp( MySampler, Position, CmpRef ); seems to perform something like this: CmpVal = MyTexture.load(Position); if (CmpVal CmpOp CmpRef) then v = MyTexture.sample( MySampler, Position ); else v = where CmpVal is the operator specified in the ComparisonFunc field when creating the MySampler state. My questions are: Is it right What this functions does in the else case What is this function intended for (A practical exemple ) Thanks for your help. The z-comparison usage is confirmed by the fact that the only DXGI_FORMAT_* supporting the SampleCmp* functions in the reference device are R32 ...Show All

  • Visual Studio Team System Files not deployed during Team Build Test

    In my testrunconfig, I deploy a special file to the test output directory, which works fine for manual unit tests. However, in the tests that follow the Team Build, that file is not deployed. I read about a smiliar problem concerning the deployment of a whole directory here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=493055&SiteID=1 In my case the problem occurs with a single file and I also have SP1 installed. Thanks in advance for any help, Michael Hi, My assumption is that your Team Build project file doesn't refer to the test run config file which specifies your test dependencies. There is a similar thread on our forums that covered this in the course of investigating that I think yo ...Show All

  • SQL Server Foreach endless loop

    I'm having a problem where I'm using a Execute SQL Task to retrieve a dataset and storing that in an object variable. Then on success of that execute sql task I use a foreach loop task to go through the dataset and do 2 tasks inside the foreach loop. When I execute this package I have ~12 records in the dataset however when I get to the foreach loop in the 2nd iteration it keeps repeating it. It acts like it is stuck on the second record (tuple) and never goes on. I'm using an ForEach ADO Enumerator in the foreach. I've even set a breakpoint on each iteration and no task fails in side the foreach loop. I'm completely perplexed why it will iterate to the 2nd record but get stuck there in an endless loop. I've tried this on 2 different compu ...Show All

  • SQL Server sql server lockup after strange error in log, help please.

    Can anyone help me solve why my server is locking up. We're running sql server 2005 ent on a 2 cpu dual core server. With 3gig. Once each the last couple weeks, the machine has hung and the only thing I can find that's suspicious is on the sql server log.  It's below.  After the excerpt is about 50 more different memory errors.  As far as I know there's no ssl configured for log in, it mostly uses private lan cards for security between it and the web/application server. 05/31/2006 14:39:48,spid2s,Unknown,MEMORYCLERK_SQLQUERYEXEC (Total) <nl/> VM Reserved = 0 KB <nl/> VM Committed = 0 KB <nl/> AWE Allocated = 0 KB <nl/> SM Reserved = 0 KB <nl/> SM Committe ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Talk about being behind the curve

    I'm interested in the XNA framework, but wow, do I feel behind the curve when it comes to graphics. I've been doing Java app. development for the past 2 years, so not a lot of related work in the graphics area. The last graphics development I did was OpenGL in an Ortho2d view, so more or less, just 2d. I understand the sprite bit, and have done a version of uber pong with 20 balls on the board at once (pretty fun actually), but I'm more intested in doing some 3d. But, When you guys talk about shaders, you might as well be talking french (given that I don't know french). I understand the Matrices in concept, but am not quite sure how to initialize a perspective view vs. the current Ortho2d type view with sprites. So, what I am looking for i ...Show All

  • Smart Device Development Is WM 6.0 Smartphone to include rich edit, file selector? Release date?

    Does anyone know if Windows Mobile 6.0 for Smartphones will include the rich edit control and file selection dialog Other details on upgrades including bundled apps, or is this still a ways off Ideas on a release date and when phones will ship with 6.0 Speculation Hi Mike Microsoft is releasing the next version version of Windows CE named 'Windows Embedded CE 6.0' for general embedded purpose. See http://www.microsoft.com/windows/embedded/ce6launch/default.mspx . That's the support you are seeing in Visual Studio 2005. SP1. Michael ...Show All

  • Windows Forms [C#]datagridview cells arithmetic operations

    Hi all. I would like to know how to obtain the difference between 2 cells value. I was able to have the sum: [code] int myLastColumn = 3; //my last column index in dgv decimal dec; decimal sum; bool controlResult; for(int i = 1; i < 3; col++) { if(dgv.Rows[e.RowIndex].Cells .Value != null) {    controlResult = Decimal.TryParse(dgv.Rows[e.RowIndex].Cells .Value.ToString(), out dec); sum += dec; } dgv.Rows[e.RowIndex].Cells[myLastColumn].Value = sum; } [/code] This function is in datagridview_CellEndEdit and works fine making the sum between column 1 and column 2. Column 3 show the result. All i need is to have the same procedure with the difference between: (Cells[2] - Cells[1]). Thx in advance. ...Show All

  • Visual Basic Send Image from VB6.0 to .Net webservice

    How to send a Image from vb6.0 to .net webservice. Hi Thanks alot for quick reply There are certain issues Client machine will not have .NET framework . So it is not feasible to have .Net Component. Sending using Soap attachment. Soap toolkit has bugs in code for sending attachments. I am using Soap Toolkit for sending Integer or string data to my webservice. But I am not able to send image. I have stored image in a byte array. Example:- byteArray of dimention - 0-4065,0-765 byteArray(0) - byteArray(0,0)- 128 byteArray(0,1)-0 Now while i send it to webservice Byte array of .Net is not able to take it as it is of Base64. I got some converter that converts Single Dimention array to Base64string.But n ...Show All

  • SQL Server Copy Table and Data from one database to another

    I am working on a migration project. Doing the standard processing, taking source data in a staging database, where I then create the new target tables, transform the source data into the new target table structure, and load the data. However, having created the new target tables in my staging database, I cannot accurately migrate these tables into the new database. An example table. The following is the script created by SQL Management Studio if I right click and script the table as CREATE. CREATE TABLE [dbo].[tbPRO_Package]( [PRO_PackageID] [int] IDENTITY(1,1) NOT NULL, [CreatedDate] [datetime] NOT NULL CONSTRAINT [DF_tbPRO_Package_CreatedDate] DEFAULT (getdate()), [CreatedBy] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS ...Show All

  • SQL Server Slow query when run in multiple threads

    Hi, I'm trying to stress test my web application, but when I get high load, the queries that used to take 10-20 ms starts taking 500 - 2000+ ms. Or to put it another way, when i run them single threaded i can do about 43000 a minute, when they are run in paralell it drops to about 2500 a minute. What can i do about this There are severeal queries thats affected, but here is one example: update [user] with (ROWLOCK XLOCK) set timestamp = getdate() where userid = 1'' btw: im running sql server 2005 sp 1. The stress test is run on 3 machines total (web, sql and client) the client is simulation 400 users, cliking a page as soon as the last one is loaded, ie there will always be 400 page requests. Still, t ...Show All

  • Software Development for Windows Vista Fetching the Activities information after instantiating workflow

    hi i have made a workflow using my various custom activities, after creating the workflow instance for the same, i use WorkflowChanges class to fetch the Information about all activities present in the workflow. Now the problem is, using this method i am able to see only the outermost activities in the workflow(i.e in case i use a sequence activity and put my custom activity in it..i am able to access only the sequence activity..not the custom activity included in it). Suggest me a method as to how can i get info about all the activities in the workflow irrespective of thier location hierarchy My requirement is to fetch all the Custom activities information from the workflow instance without actually starting the workflow. ...Show All

  • Windows Forms How can i to share my own assembly?

    Hi, i whote a simple component inherited from TextBox class. This component is inside MyTextBox.dll assembly. When i install my application (Winforms/VS2005/C#) on a computer, i have to put my assembly in the same directory. I want put my assembly in " C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 " to it work with all applications, but i tried this and this doesn't work! How can i do to do my apps find my assembly Sorry for my english. Thanks. to share your assembly install it into GAC (Global Assembly Cach) look at How to install an assembly into the Global Assembly Cache in Visual C# to know how to install assembly into GAC ...Show All

  • Audio and Video Development Maintaining State - script vs markup

    I've got a new guy I'm training on HDi and he's asking the same questions I did when I first start coding in HDi. And I realize I never get definitive answers on the best way to maintain state. For example, it seems like you should be able to maintain the state of several buttons and menu operations in markup using state:value(). But I have never been able to get this work and the only solutions I've seen in markup (in production HDDVDs and samples) involve using dummy elements to hold a "value" for the state of the menu. Even Peter's example use this design pattern (see blog), and he prefaces his example with the same perception that my team does: this seems hokey/messy. Note this conversation between the two of us: ---------- ...Show All

  • Visual C# Writting to a file

    I was wondering if it is possible using streamwriter to make some of the text you write to a file bold I have been trying to figure this out, and have no luck in searching various websites if it is possible. What I am trying to do is, write to an .rtf file and have for example: "Name:" in bold and then the person's name normal style afterwards. If you can't using streamwriter and there is a way, any help would be appreciated. Thanks in advance. After opening the .rtf file in notepad I saw what the problem was. I didn't add the extra space after "\\b Age: \\b0" so it was reading \b021 like you said might be the problem. This solves the last problem I had with writting to the file, so tha ...Show All

©2008 Software Development Network