Wellnow's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. PC deployment in a single download. (Minus framework download)
I have not seen this posted since the 1.0 release. I really want to be able to get games into peoples hands with the least number of steps.. Downloading the framework is one more step I do not wish the less technically inclined to have to deal with. Has there been any more information released on the future prospects of being (PC SIDE) able to have a deployable game that does not require the download of external libraries ( The XNA framework ) Thank you and sorry if I missed a post on this. Easiest is to use the re-distributable installers for .NET 2.0 and XNA and DirectX, and put those installers into your game installer. Then chain out to those installers, in "/silent" mode, to make sure the pre-r ...Show All
SQL Server Grouping by Age
I have a table Age and need to create Report by Grouping Salesfigures according to Age. I put the following expression into Grouping and Sorting Properties/General/Filter /Sorting Expression... as well as in Textbox Properties/ values.. =IIF(Fields!Age.Value < 16, "<16",IIF(Fields!Age.Value <21,"16-20") Errormessage: Value expression for textbox "Age" error: Argument not specified for parameter 'FalsePart' of 'Public function IIF(Expression as Boolean, TruePart as Object, Falsepart As Object) As Object'. Question 2 . How to return Month as January, February... In correct order "DATENAME(mm, Sales.time) AS Month" (Ascending ) returns starting with April, August... DATEPART(mm, Sales.time) AS ...Show All
Visual Basic what do the pros use to validate input?
hi i now try to validate my input using if else, but i end up with alot of andalso, how do the pros do it i am tring to validate an ip address, so ... i did like : ' to ensure 1st oct of IP is between 1 & 254 & the rest between 1 & 256... if firstOct > 0 andalso firstOct < 255 andalso secOct > 0 andaslo secOct < 256 ..... it seems ineffective as it contains alot of andalso stuff, is this correct well you could make a function which handles the inputs you give it, and give it say between the ranges to check. Example private function IsValidRange(byval valueToCheck as Integer, byval rangeFrom as Integer, byval rangeTo as Integer) as boolean if valueToCheck > rangeF ...Show All
Visual Studio 2008 (Pre-release) Security Service Broker
Hi, I have a scenario where I have several services, each of which will be called by the client and possibly other services. I'd like to implement a separate security service that is responsible for authenticating and authorizing the request, rather than including all of the security sub-systems in every service...a security broker I suppose is the name. Is there a pattern to creating this Is it even possible (easily) in the Wcf I'm currently using the IAuthorizationPolicy interface, UserNamePasswordValidator and ServiceAuthorizationManager classes as a base to work out what claims the user (actual user or a service) has and if they're allowed access to them. I'd like to move these out into the separate service and have each call go via t ...Show All
Visual C++ Displaying text in a CListView
Hi, I wiould be grateful if you could explain how to display text in a CListView.I do not want the text in a tabular form.All subsequent text should be added below the previously inserted text(in the next line).The order of the text should be in the order in which they have been inserted in the view(no automatic arrangement). I looked up CListCtrl::InsertItem and CListCtrl::SetItemText,but they are all for tabular data. How can I get my view to function as a ListBox Thanks Hi, In a CListView window, I used Report mode, set one column, call InsertItem( i, pText), the text line are displayed fine. I also used GetListCtrl().SetTextColor(RGB(255,0,0)), for example using Red for odd number lines, Green for even number of line. W hen I ...Show All
Visual Basic RSS in Visual Basic Express?
I really need a RSS feed. I just don't know how o connect to one and how my program to rad the XML nodes. I can try to obay some commands like... or some things. But yor help woul be more appreciated than mine (I kinda mean my knowledge). Please help (and dont give me the thng from Coding4Fun) (nothng there ever works) P.S. I'm sorry to hear that Coding4Fun content isn't working out. If you have a moment, please send some examples of issues so we can look at fixing them up. You can send these directly to paulyuk@com.microsoft (where microsoft and com are reversed). thanks, Paul ...Show All
Software Development for Windows Vista Test Case 5: Code Signing
We are just wrapping up our testing for the logo certification test cases, and we don't have a code certificate (we have never needed one). I was looking at Thawte, but my employers are reluctant to drop $200 (1-year cert from thawte) on this until we know a little bit more. I was hoping that someone on here could verify A) a code signing certificate (Authenticode) is definitely what we need B) is there a list of recommended providers, especially someone cheap and fast C) i s there a discount we might be able to take advantage of Thanks! Yes, you need a code signing certificate and you also need a organization cert if you use WinQual it's $399 for a full blown cert from Verisign t ...Show All
SQL Server locating sqlexpress database
I have created my sqlexpress database in Visual Studio 2005. When i go to SQL Server Management Studio Express I cannot open my database. It is not listed automatically and I get an error 'There is no editor for 'database name' Make sure the application for file type (.mdf) if installed.' Any help or suggestions will be appreciated. Thanks hmmmm.. When you open sql server management studio are you able to connect to your local sql express 05 instance Can you see your system tables like Master etc. If so, is it possible that you just need to attach to the MDF by right clicking on the local server and selecting "Attach" and then pointing to this new database you have created ...Show All
Game Technologies: DirectX, XNA, XACT, etc. EditBox in CustomUI not accepting click
I am trying to reproduce the SDK sample CustomUI. All fine - one single problem though - The EditBox does not accept Mouse Click messages. Code is identical to the one in the SDK. The project structure is the same - using the same Common directory. Posting here just in case anyone had the same problem or is a GURU and understands the handlling of windows messaging. The funny part is - all of the rest of the UI objects do recognize the mouse. All declarations and events for the EditBox I simply copy/pasted from the SDK sample. Strange ... huh ... Well, Well, Well Coding late hours leads to silly puzzles. I was declaring a static control aka. "Label" that did not notice tha ...Show All
Windows Forms Acquiring Deployment Info from VB
I've created a simple project in Visual Studio .NET 2005 Professional according to the information from the following link: http://msdn2.microsoft.com/en-us/library/49b92ztk(vs.80).aspx I've added various steps to the installation side of things and would now like to be able to acquire customer details etc from the vb code. Can someone kindly provide me with a link to a working example or even better still, kindly show me how Thanks in advanced What are you trying to do Pass the customer data to a VB custom action If so, pass the properties like the example you showed, /customer=[COMPANYNAME], or whatever the property is. To find out the name of the property, you can run your instal ...Show All
Visual Studio Express Editions The application for project is not installed
When I try to open an .sln file in MS visual C# 2005 express edition, the system shows this messenger: "The application for project 'c://...' is not installed". What can I do when something like this happens Claudia Do you know the type of the project that it is erroring on Chances are it is a non C# (or C# ASP.NET) project. Unfortunatly due to built in limitations, each version of Express is only able to view projects of the language that it supports, unlike the higher versions of Visual Studio that let you mix and match project types to your hearts desire within a single solution. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. directinput not working!
I'm trying to get directinput working but for some reason it just does not work. Why doesn't the following code cause any visible results in the textbox keyboardData I had a previous program i wrote that used directinput,, but it was much more complex and for the most part i just copied the basic idea behind what i did then and that works, but for some reason this doesn't work :( using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using DXInput = Microsoft.DirectX.DirectInput; using Microsoft.DirectX; using Microsoft.DirectX.Direct3D; namespace DirectInput { public partial class Form1 : Form &nbs ...Show All
Visual C# Why? WSE910: An error happened during the processing of a response message.
Hi, I am using Saml token for web service authentication. I have a problem it runs fine when server and client is my own machine but it i get error when server and client are seprate machines. --------------------------- --------------------------- Microsoft.Web.Services3.ResponseProcessingException: WSE910: An error happened during the processing of a response message, and you can find the error in the inner exception. You can also find the response message in the Response property. ---> System.InvalidOperationException: Security requirements are not satisfied because the security header is not present in the incoming message. at Microsoft.Web.Services3.Security.SecureConversationClientReceiveSecurityFilter.ValidateMessageSec ...Show All
SQL Server Import Fixed-width data with DSNs
Ok, so I've been playing around with SQL Server 2005 64-bit Dev Edition in readiness to phase out my existing SQL 2000 box. I've been having difficulty with importing fixed-width text data with SSIS. To explain, we use a linux based ERP system which is stored in a non-standard, encrypted flat-file format. So, each evening, I have a cron job spin off some shell scripts that use the ERP's report tool dump all of the relevant databases I need into a fixed-width format text file. The ERP platform also has a db layout report which is also in text format, I use this file (mangle it with VB first) and dump it back out into the format used to make a DSN file. DSN connector file (dbname.dsn) [ODBC] DRIVER=Microsoft Text Driver (*.txt; *.csv) UI ...Show All
Visual Studio CrystalReports (View as Datasource) - Prompts login
Hi All, Im lost with this one. I have a vb.net application, once you click a tab I have a crystal reports viewer that has a report attached to it. Now on the dev machine it shows exactly what I expect. Yet when I run it on a clinet machine, when I hit the tab I get presented with a database login prompt with the correct server name present, an uneditable database field which is blank and it is requesting UserName and Password credentials. Even if I create a user with the appropriate select permission on the view and enter those credentials, It will repeatedly ask me to log in. I have tried many searches and not getting anywhere, is it possible someone may help I must add im using VS2005, and .Net 2.0... I have a crystal rep ...Show All
