Chas75287's Q&A profile
Visual Studio 2008 (Pre-release) how to create .xps files
can anybody know how to create .xps files programatically Check this (long) file: // XpsCreate SDK Sample - XpsCreate.cs // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.IO; using System.Collections.Generic; using System.IO.Packaging; using System.Xml; using System.Windows.Forms; using System.Windows.Xps; using System.Windows.Xps.Packaging; using System.Printing; public class XpsCreate { #region cons ...Show All
Visual Basic Accessing List items
Got on of these Lists on the go, it goes a bit like this: Structure Player Dim etc etc etc End Structure Dim lstPlayers as List (of Player) Now that's working fine, and I can access them using a For... Each statement. BUT... When I have one (Say, for example For Each tmpPlayer In lstPlayers) I can access all the properties of each player, but cannot change them. Is there any way around this It may make things clearer if I say that I'm using ...Show All
Visual Basic Mysterious Disabled KeyDown events on VB6....
Hi Im creating a simple game on VB6, and most of it is goin ok. I have completed one level, and attempting a boss level and that is were something is going wrong. The Boss moves up and down using a randomiser, and to prevent flicker is in a picture box (so the picture box is the one moving). Before i had put the boss in, all of the controls worked, but now none of the Key events work for any of the controls... any ideas Cheers Oli ...Show All
Visual Studio Team System Team Build Suddenly stopped working: System.NullReferenceException: Object reference not set to an instance of an object.
I'm using Team Build Beta 3 and have several team builds defined. Everything was working fine but now I keep getting (both in the IDE and from Command line) "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\TFSBuild.exe" start http://test-team:8080/ IQ "Messaging Service Install Build" /m:shaundev /b:c:\builds Microsoft (R) TfsBuild Version 8.0.0.0 for Microsoft (R) Visual Studio 2005 Team System Copyright (C) Microsoft C ...Show All
Visual Studio Team System Team Build failing in Beta 3.
I'm trying to create a team build for a team project, specifying the same server that TFS is installed on as the build location. I get the following error message: TF42004: Team Build failed to open folder "xxx". The system cannot find the path specified. If I explicitly create the server directory in "xxx" I then get a message saying the folder already exists, so the problem seems to be some kind of rights issue with the ...Show All
Microsoft ISV Community Center Forums How to get ASCII code of the character? Weird Eh>
Hi! How to get ASCII code of the character Say: strA = chr(87) 'returns "W" Is there any function that would get 'strA" and return its ASCII I thing you are looking for Asc() MyNumber = Asc("A") ' Returns 65. ...Show All
SQL Server Multiple datasets in a single chart?
Is it possible to incorporate data from 2 datasets into a single chart For example I have 1 set of data from 1 db which allows me to display datapoint "A" by week. I have a second dataset from another db which allows me to display datapoint "B" by week. I'd like to plot each of these separate datapoints on a single chart with the x axis being week and the y axis being a stacked bar chart incorporating both A and B values as ...Show All
Windows Forms Unicode Form Text
When I set the Text property of a form in VB.NET with an Arabic or Russian text string I just get a row of boxes wheras everywhere else I have tried - menus, edits, labels, combo boxes etc they are displayed correctly. If it is ...Show All
SQL Server Certificate limitations in SQL Server 2005
I have a Web site that has a database backend, which stores user information. I would like to encrypt the user information in a granular way. My question: Is there a limitation to the number of certificates that can exist in SQL Server 2005 I would like to issue a certificate for each user of my Web site, whereby the certificate is protected by the user's password (which I will not have access to -- the password will b ...Show All
Windows Forms HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall
I'd like to know what is the naming logic under this key The subkey names seem like a kind of hash. Yes, the key is a hash of the deployment identity. I'll throw in word of caution that this is subject to change in future releases, so you should not rely on this hash being constant for a given application forever. Regards, Sameer ...Show All
Visual Studio Express Editions Microsoft Windows Installer 3.1 Fails
When I try to install VB.net i get this error message. I have not run any of the betas on this machine, nor do I have the .NET 2.0 framework installed. Any ideas The following component failed to install: Microsoft Windows Installer 3.1 The following components were not attempted; Microsoft .NET Framework 2.0 Microsoft Visual Basic 2005 Express Edition - ENU I'm having similar problems w ...Show All
Visual Studio 2008 (Pre-release) LINQ and Workflow
is it possible to utilize LINQ from Windows Workflow Foundation Using LINQ with workflow is not the same as using DLINQ with workflow. While LINQ may work directly on WWF objects, DLINQ would be more complimentary. ...Show All
Visual C++ changing from VS 6.0 to VS 2005
I have a compilation error when i transfered from VS 6.0 to VS 2005. This is the error 7 error C3861: 'AssignCopy': identifier not found c:\dev\commonfiles\myclasses.h 95. when i was given this program 2 make the necessary changes i was told that AssignCopy was in a predefined copy class and this is it #include "afxmt.h". Any help would be appreciated. Thanxx Please include more details as well a ...Show All
Visual C# how to open an image file(bitmap) in a paint window using c#
hi i want to open an image (bitmap file) in a paint window in order to select some parts of an image file and display it somewhere else. So can u help me out , how to open the imagefile in a paint window in c#. I am able to open this image file in a picture box but not able to do select operation(drawing rectangle) on the picture box, how can i do this hope u can get bck to me asap. thanx. Can't help you with the paint ...Show All
SQL Server making two sums in one query
Hi Im new in this forum so don't if this is the right place to post these kind of questions.. Im using vb2005 and have made a program that deals with customers and payments. I have a table called acount. Roughly it contains these columns Number, amount, type.. type can be a payment or a charge I would like to have a query that gives me this result: Number, sum(payments), sum(charges) (grouped by number) I think it ...Show All
