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

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

Xcel

Member List

Martinp23
battlestar 2007
Maroller
Michael Barrett
cristi71000
BertVK
Thrix
dvidal
Peter Mackay
susantez
jsmans
sunny123
Steven P.
Furby
M.Glenn
Mosesm
netpicker9
Bill_C
RAS.Goss
GrayMatter Software
Only Title

Xcel's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. HLSL Fire Effect

    hi all, i have few question about HLSL, Please somebody help. 1) i want create fire ball in my game. who can give me information about create effect 2) below is my fx file code. below is my full fx code. =========================================== float4x4 worldViewProj : WORLDVIEWPROJ; struct a2v { float4 position : POSITION0; }; struct v2p { float4 position : POSITION0; }; void vs( in a2v IN, out v2p OUT ) { OUT.position = mul(IN.position, worldViewProj); } technique simple { pass p0 { vertexshader = compile vs_1_1 vs(); } } =========================================================== ============================================================ below is my game code. ======================================================== ...Show All

  • SQL Server dbo user / permissions error.

    I had found one or two other questions about this, but neither of them seemed to be the same as my instance, and there solutions were not valid for me. I purchased the Build a Program Now MS Visual C# 2005 Express Edition book with CD. This was installed by the auto installer on the disk. which included the SQL Express 2005 version. I have used the Visual Express C# interface, build a small program, created the database, created tables. all went well. I can even add data, and so forth. My problem came when I went to click on database Diagrams in the Database Explorer. I get a Dialog box stating " This Database does not have a valid dbo user or you do not have permissions to impersonate the dbo user, so da ...Show All

  • SQL Server SQL Server Locking issues

    How to avoid table locks during s imultaneous addition, deletion and updates of 50,000 records or more. I am using SQL Server 2005 interfacing with Java. Thanks, Hi, you could use a more granular lock like rowlock. You additionally will have to tace your execution locks to see which actual query is fired for the deletion of the row. Make sure that an index will be in place in order to update / delete the data. if you have massive delete operations you should consider marking the rows to be deleted first and delete them using a batch. But as I mentioned earlier I would rather try to investiate why you are running in locks with examing the profiler trace information. HTH, Jens K. Suessmeyer ...Show All

  • Visual Studio Express Editions how to use vb2005 express into two pc

    hi, how i can to write program into two pc one is my personal pc and other is office pc.... if i copy directory project (name of program) into two pc, i doesn't see the form windows... but only the code.... help me.. thank's. Open your project Get a writeable CD or DVD on the main menu choose Project | properties | Publication Fill in the necessary information to publish your project. it will create an installation dvd for you Install the programs on your machine. ...Show All

  • Visual Studio Express Editions Serial Port. Problems in Storing received data

    Hello everybody. I'm still on the same project: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=714917&SiteID=1 Hello there... I've managed, with the help of the code from Denmark, to be able to send the measruing comman (M) to my measuring instrument, wired via rs232. I am able to receive the results and show them, as I want it, in some textboxes. This works quite fine... but... After three times sending "M", and receiving the measuring data, it seems that there is a problem with the arry, because the values in the textboxes (and the vlaues in the array s) vary, they are shifted within the array and I don't know why. Here's the code: ...Show All

  • Visual C++ This code snippet makes no sense...

    I've come across some code syntax I've never seen. It compiled, but I don't know how, or what it even does! I've been reading a book about DirectX, and in one of the examples, this little piece of code was present: D3DXMATRIX *D3DXMatrixIdentity(D3DXMATRIX *pout); "D3DXMATRIX" is a type, of course. And "D3DXMatrixIdentity" is a function, of course. Now I don't see how this works. Okay, to break it down, first we have a type, which is D3DXMATRIX, then we have the indirection-operator (which I assume is a pointer), and then we have a function (perhaps a call) with a new D3DXMATRIX (pointer) as it's only parameter. How the heck does this work It isn't just a regular function-call. It isn't a function-call that' ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to orientate an object along a given heading.

    Hi all, I have a problem getting my 3D objects to orientate correctly in world space. I have a Heading, Up, and Right vector for my object and can't figure out the math to rotate it so that it is looking down the arbitrary heading and keep its up and right ok. I'm trying to get projectiles to follow their own heading which were the same as the camera initially, but now the camera has moved off somewhere else. I've tried to use the CreateLookAt() method, but I think this applies to camera only and does some extra jiggery-pokery. Does anyone have any ideas / code example on how to do this Regards, Stee If I use CreateLookAt() I can't see anything at all so I've assumed it does some jiggery- ...Show All

  • Visual Studio 2008 (Pre-release) Support for templates in WPF Deisgner?

    We're building a large WPF application. In order to provide some consistency of UI, we're using a lot of <DataTemplate>s and <ControlTemplate>s, in application resource files. When I design a <Window> or a <Page>, I have to specify the appropriate template for every child control. If I attempt to use the designer on such a xaml file, it immediately starts adding properties to the actual controls themselves (Width="xxx", etc.). Is there a way to turn this behavior OFF Also, is there a way to work with the templates in the designer directly (right now, I have to edit the template xaml code manually - it would sure be a lot easier if I could use the designer). Thanks, in advance, for any help anyone provides ...Show All

  • Visual Basic Transferring data from file to application when file is opened

    hey, i am working on a text reader application' when i set my application as default for viewing *.txt" files , how do i program my application to automatically retrieve data from that file Use My .Application.CommandLineArgs to obtain the arguments (if any) for your app - if a file type is associated with your app, when someone double clicks that file it should invoke your app with the file as an argument. ...Show All

  • Visual Studio 2008 (Pre-release) User controls from external dll in toolbox

    I'm trying to set up a multi-project WPF solution, but can't get user controls to work: I have one WPF exe, with just a form, and a number of dlls which defines the controls I'll be using on the form - but I can't get the user controls to appear in the toolbox (I get "there are no components in..." when I try to add the dlls). What should I do to make them available Thanks I tried it , It works just fine. here is what I have in the external dll < UserControl x:Class = " CustomControlLibrary1.UserControl1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " > ...Show All

  • Architecture Business Logic & SQL

    Hi, has anyone in here got some guidance or direction for Patterns and Practices on this one When should business logic be put into a SQL Stored procedure and when should it be put into Class object we are debating different architectural approaches and I am looking for some guidance. TIA Referenced post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=55375&SiteID=1 Another rule of thumb: If you decide to design the persistant elements as classes and then define the database, you are probably better with classes having the logic and vice versa. Why you want to leave data access with the team which designed the model ;-) Anyway, there is no one answer. Using stored procedures opti ...Show All

  • Visual Basic Passing Optional Arrays to a Sub

    In Visual Basic 2005, I am trying to create a sub in a class that takes an optional string(). However, I am unable to figure out how to set the default value. I have already tried: Public Sub getData(Optional ByVal postData() as String = {"", ""}) However, I get an expression required error at the {. Also, I tried the New String(), but then I get the error saying it must be a constant. What am I missing Thanks. Optional Pararmeters require a constant and as a constant cannot be declared as an array you can't do this. Why not use an overloaded function - Private Sub GeData( ByVal postData As String ()) ' my work End Sub Private Sub GeData() ...Show All

  • Visual Studio 2008 (Pre-release) Looking for examples of nice 3D buttons

    Where can I find and example of how to make various 3D buttons In WPF it is possible to make very nice 3D buttons - a sample what can be done is my Viewer3ds that can be found at www.wpf-graphics.com (see Viewer3ds) - the application is using 3d buttons that are animated on mouse over and there is also a reflection of buttons. I recommend you that you use a 3d modeling application to create the buttons - there is a list of FREE 3d modeling applications on my site (see Links) - I recommend Blender. Than save each model in 3ds file format and use my Reader3ds to read the 3d models and show them in WPF (you can also convert them into xaml - with Viewer3ds or with online 3ds to xaml converter on my site). Now ...Show All

  • SQL Server SSAS Client - OWC ? Anything else ?

    Hi, I've setup SSAS 2005 environment and Cubes etc..I want to develop OLAP client in ASP.Net (to view cube based reports) over web. Will OWC is the right choice We don't want to use any third party controls or packages and want to go with microsoft suite. If OWC is the right choice where I should start with Any guidance / help on this is much appreciated. Thanks ! Hello. Here are som good links to more information about Excel 2007 and Excel services http://blogs.msdn.com/excel/rss.aspx http://msdn2.microsoft.com/en-us/library/aa972194.aspx http://blogs.msdn.com/erikaehrli/archive/2006/12/01/TopTenOfficeDeveloperResources.aspx http://msdn2.microsoft.com/en-us/office/aa905378.a ...Show All

  • .NET Development Determine content type from a response to a socket...

    I am writing a little application that is a multi-threaded downloader, using sockets for downloading the data. I know .NET has features that support files being downloaded using WebRequest etc however I am writing this as teaching material for sockets in general. Initially after sending my request I had trouble seperating the response header from the data, which is now all cleared up but a problem remains, I need to be able to name the file correctly etc. I was wondering if anybody could please let me know how I would define the details of the download from the contents the header sends me I realise that I can narrow things down such as the file type, i.e 'application/octect stream' would mean the following response data contains bin ...Show All

©2008 Software Development Network