arse's Q&A profile
Visual Studio 2008 (Pre-release) MouseOver on border problem
I want my border to be set to white when the mouseover event is fired any idea why this is not working <Window xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " xml:lang="en-US" x:Class="UntitledProject1.Window1" x:Name="Window" Title="Window" Width="640" Height="480" Background="#FF040404"> <Window.Resources> <Style TargetType="{x:Type Border}" x:Key="BorderStyle1"> <Style.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="BorderBrush" Value="White"/ ...Show All
Visual C# Inserting a first/top line into a Combobox (Windows Forms App)
I'm using VS2005 and need to insert a line to appear as the first item in my combobox, but unlike VS2003 you don't seem to be able to use the ListItem object as it's not available in Windows Forms. Can someone please show me how to insert "Please Select" into my combobox Many thanks I tried that but I get a runtime error: "Items collection can't be modified when the DataSource property is set" Are there any other ways of getting around this ...Show All
Visual J# Scanner object
The Visual J# we have presently installed where I teach does not have many of the objects found in the java.utils package found in JAVA 5.0 Among other objects that were not found is Scanner , one used extensively in the text that we have adopted. Does the Visual J# upgrade address this problem at all thanks, found the full URL to the Scanner class description: http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html ...Show All
Visual C++ How to get a currently active desktop
Hello all, Please tell me the way how to get a desktop which is currently active. And related questions; Q1.Is it only one desktop that can be active at a time Q2.Is it only SwitchDesktop that can activate another desktop Thank you. Thank you, Mattias Sjogren. Mattias Sjogren wrote: Are you looking for OpenInputDesktop Yes, that is I was looking for. ...Show All
.NET Development Need XSL code to convert dataset to xml file?
Hi I am looking for XSL code to convert my dataset to xml file. I have a dataset like below. I want to detect the second element of <Tbl2>, if second element of <Tbl2> is 'APPLE' then all elements within <Tbl2></Tbl2> should be in <Tropical> element of the xml file as below (Pls see sample output xml file). If 'PEACH' detected then all element should be in <Organic> element of the xml file below. Please let me know which method I can use (if, choose, when ..etc). XSL CODE WILL BE MORE APPRICIATABLE. Advance thanks. D atset < DataSet > < Tbl1 > < A > aaa </ A > < B > bbb </ B > ...Show All
.NET Development How to import data from another database under the same server?
I am working with a server having many databases. I want to restructure one of the databases into a new one having small number of table and even with few fields again having different names. Now I want to have records from the old database to the new one. Is there any means to achieve this please Thank you in advance. Thank you for your help. Can you give me some example or sample code please At the same time I would like to remind you that the field and table names are different in the databases. Thank you ...Show All
Smart Device Development TAPI
Does anyone know how to access TAPI for a smartphone or CF. I want to make a program to fax something from my Q. Use Process Invocation ("P/Invoke") techniques on native API. TAPI has been described at: http://msdn2.microsoft.com/en-us/library/ms835755.aspx so, you can go from there. Be careful with Marshalling. ...Show All
Visual Studio 2008 (Pre-release) Specifying Endpoint to use with wsFederationHttpBinding & issuerMetadata
Hi, From my other posts, you can see that after some struggles, I've got an STS working. I can use it in either of two modes, certificate only (wsHttpBinding, clientCredentialType="Certificate") or the customBinding. I have two endpoints defined in the STS's service element, however, to switch modes, I must change the default endpoint ( address="" ). In the STS:: <service behaviorConfiguration="CertificateModeBehavior" name="ConcreteSecurityTokenService"> <endpoint address="" binding="customBinding" bindingConfiguration="ServiceBinding" contract="ISecurityTokenService" /> <endpoint address="CertificateOnly" binding=& ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What does creators club include right now?
I'm a little puzzled about what the creators club actually includes, I've checked the FAQs and can't really find an answer. I have however managed to find the following: "The XNA Creators Club is available on Xbox LiveR Marketplace for $49 (U.S.) for a four-month subscription, or $99 (U.S.) for an annual subscription. Both subscriptions provide aspiring game developers with access to thousands of game assets from Microsoft and key partners such as Turbo Squid Inc., as well as white papers, specialized starter kits, samples and technical product support to help turn Your World, Your Game into a reality." I signed up for a year because it sounds like quite a good package, however there seems to be no information provided on ...Show All
Software Development for Windows Vista July CTP breakpoint on state machine workflow can't open the workflow designer
Dear all, I am trying to debug a state machine workflow in the July CTP of WF. I have set a breakpoint on the state machine workflow, but when I debug and the breakpoint is hit, I get: Hi Trevor, Are you still having this issue Have to tried upgrading to RTM of WF yet If you have and are still getting this issue, please let me know. Thanks, Angel ...Show All
Visual Studio Express Editions Speed problem: Read Random file with handle-based method
I ever created one project to read a random file(binary, not text) in VB6. It takes only 5 seconds to get all records(structure as below) and store these records in an array, but now i upgraded it to VB2005. I also use the handle-based method(fileget). Very miserable, it takes more then 30 seconds. I do not know why !!!!No any error, but i do not know why so slow!!!! Module1: Public dataarray(50000) as rec_info Public datacount as long Public Structure rec_info <VBFixedString(8)> Public Data1 as string Public Data2 as integer Public Data3 as single End Structure Code: Dim i as long Dim file_num as integer = FreeFile() FileOpen(file_num,"xxx.dat",OpenMode.Random, OpenAccess.Read,,14 ...Show All
Visual Basic Help again...need help with a code i do not know how to make
Hello,everyone again. I need help with a code i need to add the final touches to my lights out app,this is my problem I need to make a If then with all of these in it Button1.backcolor = color.black button2.backcolor = color.black AND SO ON TILL Button25.backcolor = color.black So i can make it If button1-25.backcolor = color.black then msgbox ("Congrats You have Passed the level,Please click on next to continue to the next level") End If But since button1-25 does not work,could anyone help me Thanks In Advance! Now it works,IM SO DUMB,i had results instead of result in dim result as boolean thanks for everything and sorry for the trouble ...Show All
SQL Server Cluster setup
We are on SQL Server 2000 A/A cluster and are moving to SQL Server 2005 cluster. Following are the list of things before proceeding, please let me know if it needs any corrections and add-ons: (side-by-side) Planning for new installation of SQL Server 2005 ( SQL2005INST1 and SQL2005INST2) on node1 and node2 and restoring the databases on SQL2005INST1 and SQL2005INST2 from respective 2000 instances. 1) SQL2005INST1 SQL Network Name SQL IP address 2) SQL2005INST2 SQL Network Name SQL IP address As 2000 is already existing on the cluster.Want some clarity on following questions. Can I keep the data files on the same disk as 2000 was using Do I need to have new disk for the Quoram drive Under & ...Show All
Visual Studio Tools for Office Document Level Customization - Excel
Hi, This is with reference to my previous thread.... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=585932&SiteID=1 (Regarding the bug mentioned by Cindy in the replies, I got a confirmation from Microsoft VSTO Support regarding the bug you had mentioned. They have confirmed the bug and have sorted the same and would be working fine with the Beta2 Tr version which would be shipped out shortly.) A couple of questions regarding the above topic (document level customization)... 1. Using the workbook level customization which is really a good suited option for me, I would like to add a usercontrol form on a CustomTaskPane. However, the CustomTaskPane is not available under the ThisWorkbook class. It appears only unde ...Show All
Windows Forms How do I change the download location in the boostrapper?
I am trying to figure out how to update the download URL location the Visual Studio Setup & Deployment boostrapper uses when you select the SQL Server 2005 Express edition as a prerequisite and choose Download prerequisites from the component vendor's website - it is still downloading the RTM version of SQL Server 2005 Express and I would like it to use SP1 instead. Does anyone know how to do this Thanks in advance! hi, thanks for giving the above information . help me ,when i install sqlexpress edition (default one)as prerequisites ,i can install sqlexpress , not able to install sql server management utility .could u tell me how to do it. second problem is once the sqlexpress is installe ...Show All
