RoryD's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. request: Directplay tutorial (vb.net)
Can anyone help me with directplay :D DirectPlay isn't part of XNA. Have you posted in the DirectX forum ...Show All
Windows Forms Problem with inherits form
I am trying to modify my existing form to use a new base form. In my new base form, I have added the following property. <DefaultValue(False)> _ Public Property TrainingMode() As Boolean Get Return Me.trainingLabel.Visible End Get Set(ByVal value As Boolean) Me.trainingLabel.Visible = value End Set End Property I use the trainingLabel visibility to indicate whether my system is in training mode. In the base form designer view, I have set the trainingLabel.visible to false. The problem is those inherited form based on the previous base form will change the TrainingMode to true automatically after I rebuilt the base form. I don't know how to debug this problem. As all this happened during the design ti ...Show All
Visual Studio Express Editions MessageBox Issue
Hey, Still pluggin away here and learnin.....New question/error. When I attempt to use MessageBox.Show I get the following error: Error 1 'Show' is not a member of 'MessageBox'. I understand that it should work like: Result = MessageBox.Show(Message, Caption, Buttons) But it is not....Is this an Issue in VB Express How do I solve this Thanks in advance LDavis501 Okay...In the References of the Form Properties I have the following: System.Windows.Forms .Net 2.0.0.0 False C:\Windows\Microsoft.Net\Framwork\v2.0.50727\System.Windows.Forms.dll In addion, System.Windows.Forms is checked under Imported namespaces. Does that help Thanks, LDavis501 ...Show All
SQL Server SQL Server 2005 Developer Edition
I am in the early stages of migrating an extensive Access 2003 application to C#/SQL Server. The client already has SQL Server 2005, whereas I am using SQL Server 2000 Developer Edition. It has worked fine for me, but I'd like to upgrade to SQL Server 2005 Developer Edition and have a couple of questions. In Access 2000 I am always using Query Analyzer and Enterprise Manager. Are these features available in 2005 Develper Edition Can more than one user connect to SQL Server at a time That is, for testing concurrency, etc, can two people connect at the same time Is these any restriction on connecting to SQL Srever from another computer or workstation Again for testing, one or two other workstations would be fine. Finally, what is the str ...Show All
SQL Server VS IDE loads all packages during run
I recently got a new computer and reinstalled Visual Studio 2005, SQL, and all the goodies. When I build a SSIS project with multiple packages and run it, VS loads all of the packages in the project into the IDE before execution. None of the packages are related and I only want the current package to be loaded. I don't remember it working this way before. I've looked through the package, project, solution, and VS options and can't find anything that might control this behavior. Does anyone know what controls this behavior ...Show All
Visual C++ Launch a process with shell() question - unmanged code
Hello, I need to start another app from an unmanaged code . WHen I use System() it pops up a console window which is very annoying - is there a way to do it *without* that happening (I need to start a regular exe file) Thank you Sol The Platform SDK describes CreateProcess here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dllproc/base/createprocess.asp ...Show All
.NET Development Copy unmanaged memory to multidimensional System.Array
Marshal.Copy(IntPtr, ...) will copy an unmanaged array to a 1D managed array. System.Buffer.BlockCopy will copy from a 1D managed array into an arbitrarily-dimensioned managed array. Anyone know how to do these two steps in one go (I want to copy directly from a 1D managed array into an arbitrarily-dimensioned managed array). If you look at the documentation of Marshal.Copy(IntPtr, Byte[], Int32, Int32) you will see that the method "Copies data from an unmanaged memory pointer to a managed 8-bit unsigned integer array." The same applies to any of the variants whose arguments begin with IntPtr. I hope this makes my question clear. ...Show All
SQL Server composite stored procedure
Hi, I am trying to write a procedure in SQL which will composite values in a table. I have an increment list, which increments by 0.1, I need to average values so I produce composites for 0-1, 1-2 etc grouping by id. The script below produces a table then a procedure, but I'm stuck on the syntax and get the error Column 'Increment.increment' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause The script will run on the master database. The end result should look like the following: thanks for any help id inc_from inc_to comp_val ---------------------------------------------------- 1a 0 1 4.6 1a 1 2 4 1b 0 1 3.9 1b 1 2 ...Show All
Windows Search Technologies Can Not Check Indexing Status
Right clicking on the indexing icon (magnifying glass) does not display Indexing Status-as is should per the Help File. I just see the Tool bar menu, with Close Toolbar, etc. using Windows XP with WDS 3.1. Any ideas on how I can fix Thanks Dean I clicked the magnifying glass immediately to the right side of the text entry box that contains Search Desktop ...Show All
Visual Studio Express Editions Help! I cann't Create a New Sql Server Database
Hi, there I have a problem with create a new sql server database from database connection in database explorer. the drop down menu for create a new sql server database was disabled. How can i enable it. Thank you for help. You can't explicitly create a new SQL database using the database explorere in the Express products since the Express products only work off a database file. You will need to upgrade to Visual Studio Standard+ to create databases through the IDE. ...Show All
Visual Studio 2008 (Pre-release) Session data or how to implement a client side transaction
I've got a three-tier-setup: 1) Client tier. Using WCF to communicate to tier 2 2) Middle tier. Listens to WCF and uses TSQL to communicate to tier 3 3) SQL Server 2005 as database tier. A client opens a client proxy, sends a command to the middle tier, and closes the client proxy after use. The middle tier, when called, opens a SqlConnection to the SQL Server, does its stuff, closes the SqlConnection and reply to the client using WCF. This is working nicely, transactions in the middle tier work nicely, but how do I start a transaction initiated from the client, across more than one WCF call For this I would need to keep the SqlConnection open and reuse it, but where do I store it How do I recognise the client aga ...Show All
Visual Studio Express Editions Problems setting up AspNetProvider
Hi I am having problems setting up the AspNetProvider in Visual Web Developer Express 2005. I have successfully set up the default sql database using the following command line. (I even manually added permissions to this database) \aspnet_regsql.exe -S SERVER01\SQLEXPRESS -U sa -P xxxxx -A mrpcw However when I click on Select a single provider for all site management data then test to AspNetSqlProvider. I get the following error: Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. I've tried everything that ...Show All
SQL Server API for creating user or group
What's the SOAP API call to create a user or group It seems that when someone successfully logs into Report Server, a new user is created for that user. However, is it possible to create a list of users on demand RS only adds the users to it's database when it needs to reference the user. If a user creates an item in the catalog or subscribes to a report, the user will be added to our database. As you said, Report Manager uses the Soap API so it doesn't create any users, it only makes soap calls which may result in a new user row in the RS database. Is there a reason you feel that the RS database needs to have the user table populated As long as your security extension knows the users, what RS st ...Show All
Visual C# capturing screen output when running a scheduled task
Hi, I'm trying to capture screen output from a browser and run this programme as a scheduled task. However whenever the task is run and no user is logged no screen input is available (the task is run under a particular user credential and when that user is logged in everything works fine). Is there a way to capture screen output without a user physically logged in to the machine I'm using a windows 2003 server.. All help would be much appreciated! To interact with Desktop and capture it the application must run under a User account. Meaning that it is not possible when there is no user logged in. But there is an option in Windows Schedule task to run some specif task under some specific user...... I don't know if windo ...Show All
Windows Forms Clicking
Is it possible to pass through all clicks on a form's face to the applications below it For example, if there is a Form with a button on it, even If I click the button it passes through and clicks on this web page instead.. Personally in my opinion I would not bother creating such a feature. If the user knows they are going to watch a full screen video they will probably set aside the time to do so or do it without trying to "multi-task" through the video. Unless for some reason you really need them to be able to interact with their desktop and other applications while the video plays, then I suppose I understand why you want such a feature in your application. However, I am not sure if this is possible, if it is, it will ...Show All
