SP534's Q&A profile
Windows Forms MouseHover Event for Form Buttons (help please)
This is my 1st time at using certain MouseEvents,what i'm want to do is this...The buttons i have now the Form and ToolStrip all have a Black BackColor..What i'm looking to do is when the persons mouse "RollsOver" a Button the Background color will change... The over all Effect i'm trying to Achive is similar to the Windows Media Player Beta 11 the button is Black ,but when Rolled over it Lights up!! Can someone help me with this cant seem to find any good example in any of my books to achive this look... Thxs in advance PS: here is some code i'v got to work partly..lol seems the only time the Button lights up Red is when the Mouse touches the very outer right side of the button...Not even the button itself,when i roll the mous ...Show All
Visual Studio Team System where can i see all the team projects i created
besides team explorer can list all the team project that i created, where can i find them on team foundation server or can i access them not only though team explorer thank you for help jiajia You can do this programatically through the object model. An example of list all the team projects is provided by James Manning on his blog: http://blogs.msdn.com/jmanning/archive/2005/10/14/481105.aspx The TFS SDK is also available on MSDN: http://msdn2.microsoft.com/en-us/library/aa398956(VS.80).aspx Thanks, ...Show All
Visual Studio Team System is there a way to add more priority levels?
i have looking around for a while trying to find some way where i can add more priority levels and instead of have 1 2 3 i have critical high etc is there any way of doing this and is it possible with the process template editor Thanks Hello, Yes, you can edit the Priority field in the Process template to add more values. This can be done by editing the work item type definition file using Process template editor or any xml editor. If you change the values from integers to strings, you might lose the capability to sort the items based on the value. Let me know if you have any more questions. ...Show All
Windows Forms OMG Accidently discovered how to make any control readonly w/o Graying. (possibly a bug)
This is a new version of the old put it all in a panel and disable the panel trick. I did this in Visual Studio 2005 and it is repeatable. I discovered this entirely by accident. Create a new User Control (You use this as your "Panel") now drop in a text box, and , some combo boxes and a few checkboxes for good measure. Normally when you diable your user control any child controls are also diabled as is the new way , but check this out. Add the followign Code to your user control protected override void OnEnabledChanged( EventArgs e) { foreach ( Control childC in this .Controls) { childC.Enabled = false ; } base .OnEnabledChanged(e); } Thats it!!!!! Now there is o ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Entities: Think, Update, Create, Collide, Render -- Stumped!
Hey all, Thanks to all of your suggestions from previous topics, I'm finally 'working on the game' sort of speak. My final (or near final) hurdle is in the controlling and creation of entities. Game entities need to be able to think (what's around me Should I get out of it's way ), update (move based on your velocity), collide (whoops I hit something), create other entities (I'm shootin' mah gun!) and render themselves. Every problem is easy to handle individually: Think: Can be performed inside the Update method. Update: Entity.Update() Collide: Run through all the entities, do some culling of what's obviously too far away, and check the rest. Spawn: EntityFactory.Create(typeof(Bullet)) Render: Entity.Render() Combined, however, it begin ...Show All
SharePoint Products and Technologies Options for Updating Excel displayed thru Excel Web Access ?
I'm developing a dashboard which contains some graphs surfaced through Excel Web Access. This works great. However, is there a way of updating the Excel data without going into Excel (e.g. via a synchronized SharePoint list or by using infoPath) so I have more control over the UI I'm really looked for a code free solution so I don't have to worry about maintenance and deployment issues in the future, and so power users can also use the same method for their own sites. Ian, Did the above post answer your question Let us know if there's more info needed, otherwise I would greatly appreciate if you marked the post as Answered so we can get it off the radar. Thanks! ...Show All
Visual C# Windows Vista
Hi, I am not able to install SQL Server 2005 and Visual Studio 2005 Beta 2 on Windows Vista RC1 environment. I got a error when the installer trying to install .Net Framework 2.0. Please help me how to rectify the error and also let me know if you want more information. Regards, dotnetsekar You cannot install .NET Framework 2.0 Beta 2 on Vista RC1 because Vista RC1 already contains the final version of the .NET Frameworkd 2.0. So you cannot install SQL Server 2005 Beta 2 and VS 2005 Beta 2 either. You need the RTM versions. ...Show All
Visual Studio 2008 (Pre-release) BLinq customization
Does anyone know if it will be possible to customize BLinq page layout, as well as to alter navigation structure It helped a lot. Does BLinq use a code generator to create automatically the code that goes behind the pages If so, would that code generator be open to us, mere mortal users :) ...Show All
Windows Forms Access Data Export to Excel spreadsheet
Hello everybody, ---------------------------------------------------------------------------------- Development Tool: Visual Studio .NET 2005 Programming Language: Visual Basic .NET Application Type: Windows Form based Issue: Take Access data (maybe even data from forms controls) and export to an Excel file ---------------------------------------------------------------------------------- I have created a windows forms application that interacts with a Microsoft Access database. This database collects tons of statistical information on trainees and what we call solutions. It also tracks user login and logout times and dates, as well as other information. I presented the alpha version of the software to a large group ...Show All
Windows Forms problem of update an item from a listView,urgent, need help!!
I have a list view problem,my list view contains the items (e.g. A, B, C, D and etc.) and quantity of the items (e.g. A-3, B-1, C-4, D-2 and etc.) and now i would like to delete the items by randomly selecting it, example when i double click on A-3 , it will automatically change from A-3 to A-2 , does anyone know how to write it Hi boban.s, Thanks for your codes and helps, it work perfect. But when i write it with "For loop", the output is different from what i want,example: my listview contains A-Z items and it's quantity,when i click on item H, all the quantities of the items will automatically deducted by one (the codes showed as below). in fact, i just want the quantity of item H to deducted by one. How do write it with "for loo ...Show All
Windows Forms Vista
Is it possible to change my form into vista style ...Show All
Visual Basic Inconsistent Operation between OS/PC's
Hi all, I've written a small application, that consists of a text label, a gif image and a button, which is compiled into an executable image. On button press, the following callback code is executed to try and determine the domain name of the host computer. However, depending on what computer I run the application upon, I see different results. On some PCs, the routine runs correctly and the domain is printed to the screen. On other PCs, the application launches but the domain name fails to be printed. Finally, on some PC's the application fails to launch, and an error message is displayed. I'm wondering if any of my code maybe OS/machine dependent Or, perhaps, maybe there is an issue with the handling of the gif imag ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA redistributable 1.0: having trouble distributing
I've tried to publish my first XNA game on another PC in my house; that PC has .NET installed. I also downloaded and installed the XNA redistributable 1.0 onto that machine, but when I try to run my game's setup, I'm told that the XNA Framework 1.0.0.0 must be installed in the "Global Assembly Cache (GAC)". Now, this is a game I made in the GSE Beta 2, but the error message relates to XNA 1.0, not my application. Any advice Alternatively you can just change the "Require specific version" property to false in your XNA assembly references. The reason for this is that our final release is signed with a different key to the beta assemblies, so projects created using the beta and set ...Show All
.NET Development Windows SDK Setup Wizard (.NET Framework 3.0) crash!?
i am having a problem installing the new .NET 3.0 SDK web install. I choose what options to install and it starts preparing but then i get a SDKSetup.exe crash (which is a downloaded file in my temp dir (I ran Setup.exe from my desktop). EventType : clr20r3 P1 : sdksetup.exe P2 : 6.0.0.0 P3 : 4546a930 P4 : sdksetup P5 : 6.0.0.0 P6 : 4546a930 P7 : b6 P8 : 22 P9 : system.nullreferenceexception A problem occurred while installing selected Windows SDK components. [SDKSetup:Error] Config_Products_Install: Windows SDK Setup (failed) Please resolve the issue and then start Windows SDK setup again. If you continue to have problems with this issue, please contact the SDK team at wsdkfdb@microsoft.com and provide a copy ...Show All
Software Development for Windows Vista How to get the list of Running Instances?
Could you please let me know if there is any way to get the the list of Running Instances and their Type without using the Tracking or the Persistance Service Just something as simple as RunningInstancesCollection ic = WFRuntime.GetRunningInstances()! Thanks 1°WorkflowRuntime::GetLoadedWorkflows() returns a ReadOnlyCollection<WorkflowInstance> 2°You loop through all instances , and for each instance you call: 3°WorkflowInstance::GetWorkflowDefinition()::GetType() Hope this helps Serge ...Show All
