krisvenki's Q&A profile
Visual Studio Integrating msdn may 2006 with Visual Studio 2003
Hello. I've just downloaded and installed msdn may 2006 edition and I read the note that says this edition doesn't integrate with VS 2003 .net by default. So Is there a way to force integration Any help really appreciated. Hello Basel Al Khateeb, There is no force integration but you can use May 2006 library within VS 2003 IDE by following these steps: open VS 2003 go to Tools > Options > Environment > Help In Preferred Collection drop down you will see MSDN library for Visual Studio 2005. Select that and hit OK Close VS 2003 when prompted and open VS 2003 again. Now the Help will appear from May 2006 Library in VS 2003 but this library does not contain the documentation for VS 2003. Thanks ...Show All
SQL Server Validation issues
Hi there, I have a package that runs fine in BIDS, however fails when run in a job with the following error: "The Validate method must succeed and indicate the result using an "out" parameter". The task it is failing on is a third party FTP task that uses expressions for the filesource and filedestination and username. I have set delay validation on for this task, yet it still seems that it is trying to validate it. Any suggestions Thanks. Thanks for the reply Yes i have setup a config file to use. I have just tried to reproduce this error in all possible ways that is why i used the dtexec as well. As said before, the only time if fails is when in a job that uses the pac ...Show All
Windows Forms saving seperate application data for every user
I am having a problem. I want to create an setup project in which, when i select to install the application for all the users, it should create an application data for every user in its "<username>\application data" folder. is there any way to do this. also is it possible to create a copy of this data in newly created users account, as this account was created after the installation. thanks in advance. Add a custom folder to your setup project, and set the DefaultLocation to CommonAppDataFolder. See http://msdn2.microsoft.com/en-us/library/716bxh4e(vs.80).aspx for more information. ...Show All
Visual C# c# and .mdb files
I am working on a project that I will be using Microsoft Access to store data. When I package this software, is there a Microsoft Runtime I can inclide that will allow other users to use my software without having Microsoft Access Installed Hopefully that is clear enough. My software uses Microsoft access but if a user does not have Access or a runtime they will not be able to use my software. Thanks in advance -Mike Galin Iliev wrote: When I need to ensure something will work on client machine there is no better way than testing it. For testing I use MS Vuitual PC 2004 SP1 and I could setup any environment I want on single hardware machine :) take a look here hope this helps You can only use that with 20 ...Show All
Visual Studio How to use ReportViewer with multiple reports?
Hello, I'm wondering if it is possible to use ReportViewer with multiple reports, that is, I have one ReportViewer control and I want to to switch the report that is displayed based on user input. I have tried setting the LocalReport.ReportPath prop but all I get is a blank report. The report datasource is the same for all the reports. Any sample code available showing how to do this Thank you! Do something like this: private void ExecuteReport(DataTable theDT, string theReportName, string theRptDataSetName, ReportParameter[] theParams) { ReportViewer1.Reset(); //if your report has a subreport if(theReportName == "RptName.rdlc") { //register the subrpt. event handler for these reports Re ...Show All
.NET Development Performance in DotNet remoting
Hi, Application: We have developed a DotNet Remoting application which acts as a server to Calculate analytics. This server takes inputs from different client applications and respond with the analytics. This server is run on a "Single-call" mode so that each request is created independently for scalability. In some scenarios the requests from the client are sent parallely using different threads to speed up the process. Also, this remoting server uses some third party libraries for calculations which takes a longer time to compute the analytics and these libraries do not support multi-threading. Problem Statement: - Keeping number of users and different requests, Request / Response volume is very high. There are case ...Show All
Visual Studio Express Editions How do I set the cursor on a given column in a DataGridView?
Visual Basic 2005 Express: I have a form with an SQL Table DataGridView. How do I set the cursor on a given column to select a column Me.theDataGridView.Rows( index ).Cells( ColumnIndex ).Selected = true or Me.theDataGridView.Rows( index ).Cells( ColumnName ).Selected = true is this what you are after ...Show All
Windows Forms dataGridView Formatting Question
Dear All, I want that myDataGridView be that like http://srdo.org/question/gridNumbers.JPG Thanks (so i completed 100 posts) This should center the line numbers Imports System.Data.SqlClient Public Class Form1 Dim dt As New DataTable Private Sub Form1_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load Dim pt As New Point Dim strConn As String = _ "Server = .\sqlexpress;Database = NorthWind; Integrated Security = SSPI;" Dim conn As New SqlConnection(strConn) Dim da As New SqlDataAdapter(" Select * from products", conn) da.Fill(dt) DataGridView1.DataSource = dt End Sub Private Sub DataGridVie ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multithreading an XNA game
Can anyone give me a start I've read and seen all about multithreading (presentations from Gamerfest, Gamasutra, looked at code from C#). But nothing really soaks in till you try it yourself and rewatch/reread everything. What I want to know is how to do it with XNA What do I thread and how do I thread it To test it out I wanted to build 2 programs, one single threaded and one multithreaded. Then I would run timing and FPS tests to see how significantly better I could make the multithreaded version could be. I was thinking something simple like 100 (or tons more) bouncing balls of varying colors. I am currently dedicating myself to learning mulithreading to a level of understanding where I could use it to thread a 3d RPG. Any help is ap ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Input
How can u add joystick, and trigger input. I can do all of the other buttons, except for them. They seem to have to have something diferent. For joystick, you can do Vector2 leftStick = GamePad .GetState(PlayerIndex.One ).ThumbSticks.Left; where leftStick.X is the horizontal movement of the stick, and leftStick.Y is the vertical movement. For the triggers, float rTrigger = GamePad .GetState(PlayerIndex.One).Triggers.Right; rTigger will be a value from 0.0 to 1.0. 0.0 means the button is not being pressed, 1.0 means the trigger is being pressed all the way down. Any value in between corresponds to a level of press. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to grant time?
Sleep(); Wait(); Slerp() -- lol I was trying to make the Game class work for me but I ran in to some problems. My basic flow is to: Instantiate my main class, allowing the constructor to set up non-error-prone data members Call Init(), which initializes the class’ environment, including the Device and Content Manger (without content being loaded). Execute Run(), which creates a Splash screen and depending on input either starts the game or exits. Incidentally, when returning from a game the Run loop will redisplay the splash screen again – unless of course an Exit is requested. At each step, the classes can load and draw when they see fit since the GraphicsDevice is already establish ...Show All
SQL Server Is the "Custom Report Item Sample" still included in SQL Reporting Services 2005?
Here: http://msdn2.microsoft.com/en-us/library/ms160911.aspx I read that this sample is included, however when I install the samples the other three are in the "Extension Samples" directory but the "Custom Report Item Sample" is missing. Can anybody please tell me where I can find it Thank you! Many thanks for your reply, Robert! I believe we first spoke about a custom report item sample back in May 2005 (see original thread here ) although the readme.txt of the example was created on 12/01/2006. Anyhow, despite the wait I'm very pleased to be able to see a working example of a custom report item that can be added to the report toolbox and dragged onto the report design surface! Thank you again! ...Show All
SQL Server from sql2005express to sql2000 & vice versa
My asp.net website is using sqlexpress2005. I am planning to use sql2000 with this existing website. My questions: 1. How can I transfer the database definitions and actual data from 2005 to 2000 is this possible 2. What if I have exisiting database in sql2000, can I convert it to be used in sql2005 3. should I manually recreate the database when converting from one version of sqlserver to another and how abt the actual data PLS HELP. big thanks! There are lots of options and lots of caveats... When a SQL2000 database is attached/touched by a SQL 2005 instance it can not easy be moved back. To go from SQL2000->SQL2005 its as simple as back/restore or detach, move file, attach. Moving data from ...Show All
SQL Server selecting the values with criteria ?
hai , This is my Table . Table TN963 :- Access Allowed. TN963 :- Access Allowed. TN963 :- Access Allowed. TN964 :- Access Allowed. TN964 :- Access Allowed. TN964 :- Access Allowed. TN963 :- Door Not Allowed! Access Disallowed TN963 :- Access Allowed. TN963 :- Access Allowed. i want to select the values before :- in the above table . So that my output will be TN963 TN963 TN963 TN964 TN964 TN964 TN963 TN963 TN963 Cheers, Raghu.G Hi, a sample would be: DECLARE @Text VARCHAR ( 100 ) DECLARE @Delimiter VARCHAR ( 50 ) SET @Text = 'TN9633 :- Access Allowed.' SET @Delimiter = ' :-' SElECT LEFT( @Text , ISNULL ( CHARINDEX ( @Delimiter ...Show All
Game Technologies: DirectX, XNA, XACT, etc. how do you load and control multiple sprites
I just started xna yesterday, and I learned how to load and control ONE sprite just fine... but I need to be able to load multiple sprites, and control them. Can someone help me with this pl ease. observe the wonderess 1 sprite world! @ www.sticksnap.com/The One Sprite Game! Install.exe ps. I am a software programmer, so don't treate me like a complete idiot. I am just new to game programming. It's a geometric shape with 4 sides that is used to express the boundaries of an object. In the case of sprites, a Rect is used to determine where to draw the sprite and what portion of the sprite to draw (destination and source rects). You might want to work your way through the various t ...Show All
