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

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

xkx32

Member List

GregMaxey
Evidica
Tduffy77
JoshKorn
David_Lindley
Henry_Yang
r3n
Marauderz
Amnesyc
Gondore
Pavan Apuroop
mister_ray
sarika
ChristopherC
Joe Hegarty
OliverWein
Sql4088
davco
LSS
nmahesh567
Only Title

xkx32's Q&A profile

  • Visual C++ Arrays of Strings

    Hi folks, I'm writing a .NET Winforms project in Managed C++ using Visual Studio 2003 and I'm wondering how I go about having multi-dimensional arrays for String objects I'm vaguely aware of the Array Class, but I'm not sure if this needs to be part of my solution. I've tried a few experiments using the classic C++ method of creating multidimensional arrays, but (of course) this does not work owing to the managed restrictions of the language. In any case, I just need a little direction here - do I need the Array class or is the syntax for this a bit different than what you might expect -Zero In VS2003 you need something like this (tested in VS2005 with /clr:oldSyntax because I don't have VS2003 ...Show All

  • SQL Server suggestions

    I want to transform textfiles to sql server set based and not row based.what would be the best way to transfer. let me know. sureshv wrote: yep i did try data flow task.And in dataflow i used conditional split,lookups etc...but do they transform data using set based or row based..how do i transform data set based Maybe its just me being stupid but I still don't understand. What do you mean you want to transform data "set-based" Can you give an example -Jamie ...Show All

  • Software Development for Windows Vista EnqueueItem from within a code activity

    Is it possible to call wfInst.EnqueueItem from within a code activities execute method As I was trying to do this the thought occurred to me that I would need the runtime to get the workflow instance using my instance ID. But, is it permissible to even get the WF runtime from within an activity because of the things the WFruntime allows you to do Thanks! The cleaner way IMO is to derive your local service from WorkflowRuntimeService. This base class provides the workflow runtime via a property that you can access using "this" and you need not pass anything to the constructor. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. BoundingBox for Models

    Hi, I'm very much used to using Geometry.ComputeBoundingBox() from MDX 1.1 and am wondering where the equivalent in XNA is. My problem at the moment is that my models are having their centres placed at Y coordinate 0, so half is above ground and half is below ground. My solution has always been to compute the bounding box and simply raise the mesh by the amount that the min vertex is below the ground. (So minVertex.Y = 0). The BoundingBox has a constructor that takes a List of Vector3s, but this would presumably mean iterating over every ModelMesh in a Model, reading out the Vertex data from the VertexBuffer and extracting the x,y,z values for each vertex... this seems rather long winded I've seen a lot of people talking about ...Show All

  • SQL Server How to fire off a report and save it as pdf...

    Using vb.net, does anyone know or has anyone fired off a sql report, save it as PDF to a defined path I am knew to sql reporting services and the help files are not very helpfile. Any sample code would be helpful. Thanks Hello, Have a look at the sample code on this page: http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsexecutionservice2005.reportexecutionservice.render.aspx Specify the export format you want (in your case "PDF") as a parameter to the Render method. -Chris ...Show All

  • Windows Forms ComboBox list(simple question)

    Hey, How do you have this code work in a combobox if (toolStripComboBox1.Text == "Add Bookmark" ) { Bookmark theNewBookmarkToAdd = new Bookmark ( this .URLtextbox.Text, "URL title: " + this .toolStripTextBox1.Text); this .theBookmarks.DoAddBookmark(theNewBookmarkToAdd); toolStrip2.Visible = false ; } else if (toolStripComboBox1.Text == "Cancel" ) { toolStrip2.Visible = false ; } So once you select Add Bookmark OR Cancel then it will prosses this code I am not using any buttons or anything just the combobox for selecting...I have tryed 3 ways but 0 worked... handle Seleted family events like TextChanged or SelectedIndexChanged so you can hand ...Show All

  • Visual Studio How would you improve MSBuild?

    Hello MSBuild Users, Just a reminder that we're always interested in suggestions for improving MSBuild. For small suggestions, the best route is via opening a suggestion at https://connect.microsoft.com/feedback/Search.aspx SiteID=210 . If there's a small change or improvement you'd like to see, that isn't really a bug, I'd encourage you to open a suggestion there: we can track it, and if it's possible, appropriate, and we have time, we'll address it. For big suggestions ("please implement distributed build", "please add native code support") that's probably not a good way. Instead I'd suggest you let us know via this forum -- for example, by replying to this post. The team would like to know what's important to you and wha ...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 Team System Still a bit slow opening projects

    Hello, As mentioned before, the import schema process is extremely fast now, which was pleasantly surprising, however opening an existing project with lots (>5,000) of objects still takes a long time. This is also without using source control and so I'm guessing it would take up to 10 minutes to open if I put my project into TFS / VSS. Is there any way to speed up the opening process, e.g. by disabling particular schema checks when first opening the project Hmm, seems to be pretty level. It first does both of: Deserializing design-time validation database Deserializing Database Object Relationships Which table about the same length of time each (~1.5 mins), then the status bar is cleared and i ...Show All

  • Visual Basic printing a file (created in a procedure) in hebrew language

    in vb.net 2003, i have a project (for a store -in israel) in which I want to print a receipt. I write the receipt in a file for which i use the stream writer . The file contains hebrew headings and variables containing hebrew. when it prints it looks like gibberish. What can I do. Help! I am despairing.! Thanks for any help!!! GreatGrandma !! thanks again Geek Squad for your answer. You are right about my not be interrested in using on line. The file is indeed printed from a text box. I also tried to print with the graphic option (meant for pictures) but then it gave an error message that there not enough memory All the best ...Show All

  • .NET Development MySql- Help me

    I'm with a error in my mysql, I want to fill my database by a WinForms. An unhandled exception of type 'MySql.Data.MySqlClient.MySqlException' occurred in mysql.data.dll Additional information: #42000Voce tem um erro de sintaxe no seu SQL proximo a 'page) VALUES (''', '''', '''', '''', '''', '''', '''', '''', '''', '''', '''')' na linha 1 My code is here down. using System; using MySql.Data.MySqlClient; using System.Data; namespace Rodrigues__Projeto { /// <summary> /// Summary description for Acesso. /// </summary> class SQL_methods { public static MySqlConnection Conexao_mysql() { MySqlConnection conn = new MySqlConnection(); try { ...Show All

  • Visual Studio Register Guidance Package fails

    I recently upgraded GAX/GAT to install the Web Service Software Factory.  Working with the software factory package had no errors.  I tried creating a simple Guidance Package and encountered the following when trying to register the package: Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe Register. Error was: Action Register failed to execute: Failed to process package. See the Guidance Package Development output window for more information about the error.. You can remove the reference to this recipe through the Guidance Package Manager. ---> System.Configuration.Install.InstallException: Failed to process package. See the Guidance P ...Show All

  • SQL Server Need Help on this SQL Statement

    Hi All, sqlLstProds="Select * From PRODUCT_DEF "&_ "WHERE productID IN(Select productID From PRODUCT_DEF WHERE (IDProductCriteria = 5) AND ([Value] = '"&getSession("ModelID")&"')) "&_ " Order By IDProduct, IDProductCriteria" I have the above SQL Code in an ASP page. This queries the Product_Def table, however there is also a table called Product_sType, the primary key in that table is productID which corresponds to productID ub the Product_Def table. I need to add to the query a where clause, where active = 1 active 0 is obviously discontinued products, how would I do this So basically, it's somewhat of a join of some sort, like select * from Produc ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. culling away front faces

    I am experiencing problem culling away front faces of a simple cube. The culling is performed in an effect shader with CULLMODE = CW; I have listed the vertex and index buffers below, if anyone have any hints to my error please say soo. SVertex Vertices[] = { { 0.0f, 0.0f, 0.0f}, // v0 { 0.0f, 1.0f, 0.0f}, // v1 { 1.0f, 1.0f, 0.0f}, // v2 { 1.0f, 0.0f, 0.0f}, // v3 { 0.0f, 0.0f, 1.0f}, // v4 { 0.0f, 1.0f, 1.0f}, // v5 { 1.0f, 1.0f, 1.0f}, // v6 { 1.0f, 0.0f, 1.0f} // v7 }; // indeces for vertex buffer triangles t0 to t7 WORD Indices[] = { 0,1,2, 3,0,2, // front 3,2,6, 7,3,6, // right 1,5,6, 2,1,6, // top 6,5,4, 4,7,6, // back 5,1,0, 4,5,0, // left 4,0,3, 7,4,3 // bottom }; ...Show All

  • Visual Studio Team System Migrating .net from 1.1 to .net 3.0

    We have web application developed with .net 1.1. Our company wants to migrate the application to .net 3.0. Can somebody here highlight the general strategy to migrate the application from .net 1.1 to .net 3.0. Tampali, Can you try posting this on the http://forums.asp.net forums A lot more ASP.NET experts and team members hang out there and you are more likely to get an answer. Regards David ...Show All

©2008 Software Development Network