haleyweb2005's Q&A profile
Windows Forms Threading problems with Sys Tray Application,
I have a small Sys Tray Application, with a notifyIcon. My applicaiton uses threads to handle a Tcp/Socket. If a reseive a message in the Tcp/Socket Thread, and then want the Sys Tray Applicaion to show a window, how can I do this The&n ...Show All
Visual C++ delete operator assert error when using /clr
I'm using a native C++ library through C++/CLI. This library has its own memory manager that overrides the new/delete operators so that it can keep track of object de/allocation, like this: inline void *operator new(size_t reportedSize) { ............. } inline void *operator new[](size_t reportedSize) { ............. } inline void operator delete(void *reportedAddress) { ............. } inline void operator del ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Simple opacity effect
How Simple as that. Im trying managed directx 9. I dont want transparent (i still want to see the bitmap). I havent found any samples or documentation on this subject. Any help is much appreciated, or a point in the right direction. Oh, im trying to do this with sprites. You may need to tinker with your presentation parameters. I wanted to do the very thing you are attempting to do now; and after a few struggles, figured out that my m ...Show All
Windows Forms Add functionality to String class without deriving it
Is this possible I simply want to add a couple of functions. The main one being Escape() which escapes certain characters so the string can be used in a MySQL query. At the moment ive made a separate class with static functions in to perform&n ...Show All
Visual Studio Team System Request/Sec Range value
I am running a loadtest consisting of a single recorded web test, with a constant 50 User load for 15 minutes. The test requests data driven aspx pages from my localhost, with the necessary parameters being stored in csv files and bound to the test. After running the test (and other ones like it) I consistently see values such as: Total Request 125,338 Req/Sec: Range 1000 , Min 0.0, Max 199, Avg. 138 Avg Response: Min 0.01, ...Show All
SQL Server Coverting Int to DateTime Recommendation?
Friends, I have a database that I am in the process of converting to a new application. All the dates are currently stored as an numeric YYYYMMDD format. I am hoping someone can suggest the best way of dealing with these in SQL Server. Should I convert them to DateTime formats for example, and what is the best way to do this Any input would be greatly appreciated. J.H. yes you should do it. the best ...Show All
Smart Device Development Newbie with VB6 to .NET problem
I am having a LOT of trouble trying to convert a small part of a VB6 program into .NET compact framework code in large part because I am using .NET for the first time. The MSDN site has a lot of information about reading and writing binary files however, none of the examples they provide duplicate what I am trying to do (at least as far as I can see). Most of what I have read assumes I am an expert at using .NET and I am new to this language. ...Show All
Visual Studio Team System ASP.Net constant session IDs in Web Test
I am testing multiple ASP.Net applications, all using same sessionID. First security layer generate SessionID once on login and all other calling applications using this sessionID. Problem is when i record web test its hard code the sessionID. Is there any option to exchange SessionID in VSTS on the server to ensure that the sessionID is consistently maintained between different applications ...Show All
Visual Studio How do I group VSIP package commands together?
When I used to work with add-ins, all add-in commands would show up as <Namespace.ClassName.MyCommand> under Tools|Options dialog, on Environment|Keyboard page. After moving to VSIP, my package commans show up under the menu they are added to. For instance, some of the Tools menu commands show up as <Tools.MyCommand> and some of the context menu commands show up as <Edit.MyCommand>. Is there any way to group all of my VSIP ...Show All
Visual Basic VS 2005 RTM Weird Editor Behavior
I'm using the VB Editor in VS 2005 RTM version and every so often it starts misbehaving and I have to close all editor windows to get working properly again. What happens is that as soon as I type a single letter at the beginning of a line it immediately appends open and close parens. So for example if I want to type an If statement, as soon as I type 'i' it changes it to i(). If I backspace to delete the parens it puts them back in. ...Show All
Software Development for Windows Vista State machine usage
I'm trying to use a state machine workflow with sequencial workflows inside for modelling the process of writing media, example would be burning a CD (some steps like mounting, locking, preparing data, writing data, validating, unlocking, unmounting etc). The different states in the main workflow represents the state of the physical device, something like: Media_In eventEject eventMount ... Media_Out eventMediaIn ... Mounted .. Writing eventW ...Show All
Visual Studio Express Editions Unable to deselect text in the IDE text editor
When I select text in the editor and then want to deselect it, the selection won't go away. The selection is supposed to go away when I click anywhere in the window but all it does is move the end of the selection to the cursor position. Double clicking and pressing Esc don't work either. The only way I've found to deselect text is to close the window. What setting to I need to use to be able to deselect text That is strange, I just tried ...Show All
SQL Server Is it possiable to store password encrypted to an external config file?
I got a problem when developing SSIS packages. For security reason, the sensitive information must be encrypted, and they should be configurable dynamically (by an ASP.NET application). so I tried several ways to achieve this, 1. use SSIS Package Configurations to generate an XML config file It's a convenient way to generate config file. but the passwords are not encrypted (or I don't know how). 2. use Variables and Property Expressions I ca ...Show All
Visual Studio Team System New Team Project Creation
I'm new to TFS. I've an Administrator right in TF Server. I've installed Team Foundation Client on my PC. Now I opened VS 2005 and trying to create the new Team Project but it is giving error like this:- I've right to create new project. TF 30177: Team Project Creation Failed Error TF30224: Failed to retrieve projects from the report server. Please check that the Yukon Reporting Web and NT services are running and y ...Show All
Windows Forms User Controls And Delegates
Hi, I've got a user control inheriting from System.Windows.Forms.TextBox and I've added a ListBox as a child. I would like to expose an event when the ListBox changes visibility and I need help coding a delegate. Any help appreciated. Code Snippet Follows==================================== public class TextBoxLookup : System.Windows.Forms.TextBox { private System.Windows.Forms.ListBox listBox1; public TextBoxLooku ...Show All
