Wally9633's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Single letter prefix before a variable
I was wondering if anyone can point me towards some information on having a single letter prefix before AND after a variable name. Is that a standard practice I have come across this in a number of different programs, yet still a bit unclear why they are used. Any info would be appreciated. Some examples of what I have seen: aFireball.Value.Source mWizard = new Sprite.... rotation_angle += .03M; My opinion: Java and C# have published standards - I see no reason to deviate from them, given the benefit of everyone working the same way. In some ways having these standards is a godsend - it is far easier to agree to all conform to 'the standard' than get 20 developers from different ba ...Show All
Visual Studio SourceSafe automation and branch information
Using the automation interface (VSS2005), how do I get the information displayed in the 'Paths' tab on the properties dialog for a branched file Programmatically parsing the output from "ss.exe PATHS ..." is unreliable at best. No- for casual readers not familiar with SourceSafe, the PATHS command to ss.exe has nothing to do with directory paths (local drive/spec) or project paths per se. Instead, it returns the tree of branches(not shares) for a particular file. ...Show All
Software Development for Windows Vista LSP (Layered Service Provider) issue related to UAC and IE7 on Vista
Currently I am working on a LSP but got an issue I cannot solve, hope some expert know the reason and solution for it. My LSP works well for IE 6/IE 7/Firefox 2 on WinXP/2000, and Firefox 2 on Vista except IE 7 on Vista. After more test with IE 7 on Vista, I found: If launch as Administrator for IE 7 on Vista, my LSP works well for it. If just double click IE 7 to launch it (I know due to UAC it will has low privilege), my LSP will not work for it. One more clue, launch as Administrator will create iexplore.exe process under explorer.exe, while normal launch will create ieuser.exe and iexplore.exe at the same level as explorer.exe when I use Process Explorer to trace. My finding is that it seems my LSP will not be attached t ...Show All
.NET Development Connection Timeout
I have a problem with Connection Pool running out of connections. I have a site which can get upwords of 1000 conncurrent hits at once. We never had problems with the connections when using classic ASP. But now we are running into the issue with timing out before getting an available connection. We are closing all of the connections. We have bumped up the max pool size to 700 but i don't feel this is really the right solution. Should we not use ADO.NET and go back to using ODBC as stated before we don't have this problem with our classic ASP which uses ODBC connections. Thanks for any help! Do you only close connection or call Dispose method as well Calling dispose could release connections fas ...Show All
SQL Server Trying to access SQL SERVER 2005 with Access 2003
I am trying to connect through ODBC connectivity, but it will not allow me to do so. I have investigated this matter. It leads me back to the server, because as I was configuring my client side database. It kept asking for the DSN(datasource name), but I was unable to choose one because there wasn't one to choose. Which is my current dilemma, How can I do this and have it available to choose from the server to satisfy the Access database I went to the domain where the software resides but I don't know what steps to take I also found an interesting piece on microsoft about Kerberos, but I can't follow along according to the instructions it has. I have Access 2003 & SQL SERVER 2005, HELP...! Basically, this is right off the ...Show All
Software Development for Windows Vista MCMS and WWF
Is it possible to use WWF as a workflow engine behind MCMS 2002 If so can somebody give me a 30K view of how the two would integrate This would be an interim solution until we can get the client to move to MOSS 2007. If the two can integrate (in seperate layers hopefully) could the WWF flows be reused in MOSS 2007 Thanks! Marc Please use WF as an abbreviation for Windows Workflow Foundation instead of WWF . A MCMS 2002 newsgroup would probably be a better place to ask this question, try here . ...Show All
Visual Studio 2008 (Pre-release) Svcutil generating "Partial Public Class Exception"
Hi, I'm having kind of a problem here. When I generate a client proxy class from my wcf service, this proxy class contains a partial class with the name 'Exception'. This causes every 'Catch ex As Exception' to be wrong because now 'Exception' is ambigious. One solution could be to go and change every catch to 'Catch ex As System.Exception', but I prefer not to do it like that. Is there anyone who encountered this same problem A little background info about my wcf service: I have created an exception that i use in a faultcontract: <Serializable()> _ Public Class MyServiceException Inherits Exception Public Sub New () MyBase .New() End Sub Public Sub New ( ByVal message As String ) MyBase .N ...Show All
Visual C++ EVC++ unicode problem
hi, im building an application with evc++ and i want to get rid of unicode because it causes me problems. i ve read the first sticky post but says only how to disable unicode support in MVS2005.. how can i do that in evc++ 4.0 thanx in advance You can just as easily use _stprintf, the non-secure version, if available for CE. Like I said, it's a matter of seeing which "parts" are available and piecing them together. ...Show All
SQL Server Customising toolbar in the browser of RS HTML viewer
Dear friends, please help me by commenting on my query. Query:: I want to know how to customise the tool bar in RS HTML viewer, we can hide or show the toolbar using rc:toolbar= false/true, But i want to customise the tool bar. ie, There is a combo for export formats to export the displaying reports. I want to customise that combo. I can clear the items by removing the extension element in the config of RS, but i want to do it in run time . ie, My different reports should show different export formats simulteniously It's very helpful and good article. but can we make the changes in main "htmlviewer.css" and we got the refl ...Show All
Software Development for Windows Vista MS SMTP / POP 3 HOW?
Hello to everyone I have Win server 2003 WEB edition. I have SMTP and MS POP3 service already install it WHAT ELSE I NEED TO INSTALL I want to access remotely from my home to the SMTP and send/receive POP3 emails from my outlook for example. Where I can find step-by-step SETUP manual I mean how to make security windows accounts, setup MX record…. and something like that I have full control of this server. I need “COLOR help file or book “ 10x val This is not the correct forum for this question. If you cannot figure out the write forum try Where Is the Forum For... . ...Show All
Visual C++ Communication with NT Services
Hello all, I'm trying using NT services. I have an application that will communicate with the service in some situations. Simply I want to send commands (no parameters) from the application to the service and vise versa. To send commands from the application to the service I used the ControlService() API to send user commands. Now, what can I use to send commands from the service to the client I don't want to get deep in this. I tried PostMessage but I found that it can't be use with services. Is there a way as easy as Messages Thanks Have you considered using named pipes They are bi-directional and the service can tell whether the client is listening... ...Show All
Visual Studio 2008 (Pre-release) Is ExceptionValidationRule broken?
When I try to bind a tooltip to a custom exception thrown in a setter of a business object (picked up by a ExceptionValidationRule), the binding shows: "Exception has been thrown by the target of an invocation".. instead of "age must be between 0 and 100" or something like that! Reflector shows the ExceptionValidationRule explicitly throwing the NotSupportedException in its ValidationResult. Is this the correct behaviour Graeme Just been shown a way to get this working using a UpdateSourceExceptionFilterCallback that is applied to the binding that may be throwing argument exceptions. The filter looks for the NotSupportedException and takes the InnerException if found. Feels like a very ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Simple 2D with D3D9
Hello, I'm using vb.net 2005 express and I'm trying to write a sub that mimics the behavior of DirectDraw in D3D (since DD is depreciated and all). I have a few questions. In DirectDraw your surfaces could be as large as you'd like, and non-square. I've read that it's not reccomended that you have a texture larger than 256x256. I'm trying to migrate a simple tile based rpg game from DD to D3D. Will I need to split my tilemap into several smaller (256x256) bitmaps Or is it ok to have larger textures Here's my current code for my Draw sub: Public Sub Draw(ByVal lDevice As Device, ByVal srcTexture As Texture, ByVal srcRect As Rectangle, ByVal destRect As Rectangle) Dim ...Show All
Software Development for Windows Vista IPendingWork vs IWorkBatch
I think I have a reasonably clear understanding of how to use IPendingWork and its commit functionality. However, I can't find any examples of using IWorkBatch and the docs don't mention much about this interface. How do the methods of this interface work in comparison with IPendingWork and commiting at Persistence points Thanks. StormBizTalker, IWorkBatch is just the place to add the work from the IPendingWork interface. The only available interface is the Add(). The Add() will take the "work" from IPendingWork and add it to the collection, for batch processing. hope this helps ...Show All
SQL Server Connect to Hyperion Essbase
Can SQL Server Reporting Services connect to Hyperion Essbase If so, what version of Hyperion Essbase It looks like the CTP for SP2 will support this. I found this: http://blogs.msdn.com/bwelcker/archive/2006/11/07/radical-connector-sp2-ctp2-is-released.aspx What versions of Hyperion Essbase will SSRS 2005 on SP2 support Will MDX be the only query language supported It will only support the latest edition of Essbase using MDX since it uses the new XML/A support. Hope this helps. Jarret ...Show All
