wjpenington's Q&A profile
Windows Live Developer Forums Test game: MessengerQuest
Hurrah! Finally I got Messenger-Quest done... Four days of terrible hard work has resulted in a really cool game :) Unfortunately the <s>lazy bastar...</s> people checking the apps have holiday too, and they can't check it till after newyears :( So, Because I don't want those 4 days of work to go to waste, I've put the Msgrp2p file needed online :) http://www.stuffplug.com/MessengerQuest/msgrp2p.xml I'm sure you know how it works ;) If you have feedback, give it quickly, as I will be leaving for a nice skiing holiday tomorrow :) Oh, one final note, I *know* the source is completely unprotected, that doesn't mean that I give you p ...Show All
Visual C# Convert Perl Code to C#
I have a perl script which I wanted to convert to C# which I can use for my application. Is there any tool/utility which does this. Thanks Imtiaz It's not too big. I am pasting it here. It reads a pipe delimeted file fetches some data and write it to another file. Following is the complete script eval '$'.$1.'$2;' while $ARGV[0] =~ /^([A-Za-z_0-9]+=)(.*)/ && shift; $[ = 1; # set array base to 1 $, = ' '; &nb ...Show All
Visual Basic menustrip
In my menustrip I have an item call "Bad Items" when I click "bad items" my dropdowns appear (i add the dropdown items programmaticaly) The question is, how can I assign to a variable the text in the dropdown when it's clicked. Been messing with this all day and cant find the method. Thx for any help! Carl addhandler like so : AddHandler MenuObj.click, AddressOf MyClickEventHandler Remco ...Show All
Windows Forms Application Updater Component and Front Page Extensions Folder
I have spent the last few days working with the Application Updater Component. I came across a difficult to isolate problem, and I'd like to share it. The app updater component builds a SortedList based on the files that are located in the <Application Version> and <Application URL> in the UpdateVersion.Xml manifest. The class that does this ...Show All
Visual C++ Directx Settup in Visual C++ 6
Hey guys, I have the directx SDK (latest version). It is installed and in visual c++ 6 tools> options and then the directories tab I have added the directx lib folder (in library files) and the include directory (in the include files). I have also made sure that they are at the top of the list. When I compile a directx project (I know this works and is syntax correct) I get this error: error C2660: 'DrawTextA' : function does not take 5 parameters I KNOW this is to do with me missing something in the setup of directx in visual C++, but cannot figure out what. Any ideas anyone ...Show All
Visual C++ MSBuild running from Local System
Hi I've been executing msbuild.exe from the NT_AUTHORITY\SYSTEM account to build VS 2005 C# projects and the builds have been working as expected. Recently, I attempted the same for a VS 2004 C++ project and the build failed with the following error. fatal error C1902: Program database manager mismatch; please check your installation Is this a bug with msbuild or am I doing something wrong Thanks Hello - Unfortunately this is a bug in the C++ compiler, and there is no work-around for the issue. It has been fixed, and we expect the fix to ship in the next update of our product. Until that time you' ...Show All
Visual Studio Team System Compare differences between branches?
Hi, I am wondering how to compare the differences between source branches. I have tried using the "tf difference" command but I haven't been successful with it at a branch level, only at a file level. Cheers, Clint If you sync both branches onto one machine, there are lots of 3rd-party tools that can compare the file trees: I like UltraCompare for this. Obviously not ideal since there's no tie-in to the version control system, but better than nothing. ...Show All
Visual C# Speeding up the TcpClient method
I am working on a set of programs that communicate over a stand alone network. I have 1 client and 10 servers. The client trys to connect to the servers when the program starts. The client uses return new TcpClient(StudentIP, port); to try to connect to the servers. StudentIP is a String that is "192.168.0.101" , port is an integer equal to 60000. The TcpClient hangs(blocks ) over 1 minute when trying to connect to a server that is not running. It does connect to a server that is running. When I try IPEndPoint ipLocalEndPoint = new IPEndPoint ( IPAddress .Parse(StudentIP),port); temp = new TcpCli ...Show All
.NET Development unable to connect to SQL server
hi everybody! I am just a beginner in asp.net. i am trying to connect to the sql server and getting an error: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection. the code line for connection is : cn.ConnectionString = "Data Source=DENVER; Initial catalog=pubs; user id=sa ; Pwd=" right click on the server name - properties gives a message saying only sysadmin can access this feature. do i need to change something in code please help. I cannot login in QA using my own account. I don't know the password for sa account. mixed authentication is surely ...Show All
SQL Server Merge Replication Without Merging Client To Server
I want to SYNC the data on the server to the client, but never the client data to the server. Is such a configuration possible with Merge Replication under SQL CE Thanks again! Merge is designed to be bidirectional but RDA is intended for scenarios like yours. Remote Data Access (RDA) with tracking turned OFF on your SQL Mobile tables is the way to solve this. You already have the IIS infrastructure in place since you're doing merge today. RDA pull the data to SQL Mobile on some schedule that supports the way your mobile users operate. -Darren ...Show All
Visual Studio Express Editions What's the Best Way to Learn VBExpress????
I started in Nov/05.... Eons ago I had Considerable experience with Procedural Languages(Non OOP)..... Including Old School Basic, Pascal, IBM assembler etc...... I read a lot of Posts saying things like "I want to learn VB express so I decided as my First Project to write A Web Browser Etc.... Is this the way to learn a new Concept(OOP) and A new Language(VBExpress).... What I have been doing is the TUTORIALS and writing MANY Trivial Programs Involving One or Two Controls.... I am trying to establish a knowledge Base so I can eventually write an application.... I am not there yet...... There's no way in Hell I could write A Web Browser ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to Render Mesh Included in Sample of DirectX 9 SDK Update August 2005
There is a sample of "Create a Mesh Object " This example shows how to create a Mesh object. int numberVerts = 8; short[] indices = { 0,1,2, // Front Face 1,3,2, // Front Face 4,5,6, // Back Face 6,5,7, // Back Face 0,5,4, // Top Face 0,2,5, // Top Face 1,6,7, // Bottom Face 1,7,3, // Bottom Face 0,6,1, // Left Face 4,6,0, // Left Face 2,3,7, // Right Face 5,2,7 // Right Face }; Mesh mesh = new Mesh(numberVerts * 3, numberVerts, MeshFlags.Managed, CustomVertex.PositionColored.Format, device); using(VertexBuffer vb = mesh.VertexBuffer) { GraphicsStream data = vb.Lock(0, 0, LockFlags.None ...Show All
Visual Basic validating-event
Hello, Can somebody tell me if it’s possible to get the name of the control (not the container !) that causes validation during the validating-event of a control that I’m leaving. Thanks, You can cast the sender argument in your event handler to Control and get the name: Private Sub TextBox1_Validating(sender As Object , e As EventArgs) Dim senderControl As Control = CType (sender, Control) senderControl.Name ' Should be TextBox1 End Sub ...Show All
.NET Development timeout when using ftp over SSL
Using the example at http://msdn2.microsoft.com/en-us/library/system.net.ftpwebrequest.enablessl.aspx I am attempting to connect to an FTP server over SSL. I can change the EnableSSL flag to false and connect to a non-SSL server with no problem. But when I try to connect to my SSL server with the EnableSSL file set to true I get a timeout message when the GetResponse mothod is called. I did a trace of the connection and everything seems to work ok, through the authentication process, where the user name and password are passed. This portion of the trace picks up at that point: - - - - - - - - - - - - - ...Show All
Visual Studio Team System So what happens when Orcas comes out?
Will the people buying TFS and TS right now need to pay for an upgrade I would bet on it. Microsoft is shelling out the bucks to build it, so I would assume they would want to have a return on that investment. ...Show All
