RBowden's Q&A profile
Visual Studio 2008 (Pre-release) XmlDataSource + path set to 'Name' = what's going on?
Hi. Something's happening that I don't understand, and I wondered if any of you guys could shed some light on the situation. Consider a simple textbox, with a binding set as follows: < TextBlock Grid.Column = " 0 " Grid.Row = " 2 " x:Name = " TestText " Width = " 400 " Text = " {Binding Path=Name} " /> The data context is set to an XmlDataProvider defined in the code, into which I load some XML All pretty standard stuff. On running, the text box contains the name of the element the XmlDataProvider's Path is set to. How does it do this My understanding is that the "Path=Name" binding should bind the text attribute of the text box to an attribute of t ...Show All
SQL Server Failure to open SQL Server with given connect string.
So, I have a Server running Windows 2003, windows firewall offline, with Sql Server 2005 and SQL Server 2005 Mobile Edition. This server is running behind a firewall. When I try to PULL data with RDA from the internal network, all work's great! But when I try it from the exterior, internet, I always receive this message: Failure to open SQL Server with given connect string. [ connect string = Provider=sqloledb;Data Source=<MY INTERNET IP>,11433;Network Library=DBMSSOCN;Initial Catalog=testdb;User Id=sqlceuser;Password=test; ] On my firewall, I unblocked port 80 and 11433 and mapped them to my internal server IP with port 80 and 1433. I use port 11433 on internet because my ISP block the 1433. How can I solve this pro ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Drawing artifacts when deploying on the Xbox360
I've done the Going Beyond tutorial shown in the videos posted on the XNA team blog, and I noticed I was getting weird artifacts on the spaceship model. I went ahead and did another tutorial, this time using a 2D sprite, and there were also artifacts on the sprite. The artifact looks like one or more jagged transparent spikes, jutting out from the sides of the model or sprite. They're kinda hard to see, as they are transparent, but they are there. They seem to "roll along," as you move the model or sprite. That's the best way I can put it...they're not static, but seem to pop in and out of view. Also they seem more inclined to show up to the right side of the object being on screen (right side from the viewer's point of view). An ...Show All
Software Development for Windows Vista How to create Wizard using Workflow?
Hi, I want to create a wizard for stepping through few steps of account opening. Application should be windows forms application but i want to incorporate Workflow as well to add some flexibility in to my application. Any idea how can i do that Any sample that I can look in to Thanks, Hiten Vihang, Thank you for your reply. What I want to do is have workflow step my user through steps to follow a process. E.g. order processing, where Create Order, AddItems,Select Payment Mode, Make Payment. Give the steps are sequential shapes in workflow, i want to display each steps as it progresses. Such that someone can monitor how it progresses and where it is now. I don't want to create workflow , ...Show All
Visual Studio Express Editions Yeah another hotfix!!
So I've run into my 3rd bug that requires a hotfix and yet again I have no way to get it. The support site doesn't list Visual Basic Express in the products so it won't let me contact support. I'm running into this bug http://support.microsoft.com/kb/915038/ . It says there is a hotfix, but as usual, Microsoft won't actually provide a way to download it. I'm hoping somebody here can help so that I don't have to pay to contact support about a known bug. Maybe someday Microsoft will just post the hotfix rather than have me jump through a bunch of hoops. Ok, I'll call them again and hopefully they won't charge me. I'm really surprised that I can't just login with my MSDN account and download this. 8 ...Show All
Visual Studio Team System Team Explorer - Source control explorer stand alone?
Is there a way to launch a non-integrated team explorer/source control explorer window One for example if you just installed the team explorer client but never had VS2005 installed for example The reason being is often people want a second source control window up while looking at code, but VS2005 with team integrated eats up a whole lot of resources and takes quite some time to even launch on our machines. Thanks You can install Team Explorer stand alone (if I remember rightly, it is included on TFS installation disks), but you should be aware that it uses same core engine as Visual Studio. It is "non-integrated" in a sense that you will not have Visual Studio development featu ...Show All
Software Development for Windows Vista Tutorials on WF and WPF
Good Morning Fellow Questers I’m looking for help on two things. 1. The location of tutorial or sample code that use WF and WPF together. 2. Insights, facts or guesses on why there is so little MS resources devoted to using WF and WPF together. Thanks and I’m looking forward to your response Make it a great day Mike Greenway Here's a sample: http://msdn2.microsoft.com/en-us/library/aa970891.aspx Also, here's the MSDN topic on integrating between the technologies. The integration is encouraged, and there are some samples, perhaps not as many as we would like yet due to resource issues. ...Show All
SQL Server MSOLAP_NODE_SCORE values returned by store proc DTGetNodeGraph
Hello-- For extracting the link structure of a dependency network with a large number of nodes (for problems having a large number of variables), we have been using the stored procedure: System.Microsoft.AnalysisServices.System.DataMining.DecisionTreesDepNet.DTGetNodeGraph('{model-name}', value) The stored procedure returns a resultset with columns: [Node_type], [Node_unique_name_1], [Node_unique_name_2], and [MSOLAP_NODE_SCORE] Are there any pointers, references or descriptions of the values of [MSOLAP_NODE_SCORE] Thanks, - Paul Excellent -- Thanks Bogdan. - Paul ...Show All
Visual Studio Express Editions Problem installing VB.NET 2005 express.
Whenever I try to install VB.NET 2005 Express Edition on my machine, setup displays following error: Error 1304: Error writing to file: Microsoft.VSDsesigner.dll. Verify that you have access to that directory. I am using Windows XP with SP2 and it is installed on NTFS partition. K.Rohit, 1. I am using Windows XP with SP2 and install my VB Express Edition on NTFS partition, too. I've got no problem during the process of installing. So I am sure there is no mistake or bug in Visual Basic Express Edition setup file. 2. Please make sure you have installed the .NET Framework 2.0 before the VB Express installation. Then please make sure there are no program related applications using the Microsoft.VSDesigner.dll are open during your ...Show All
SQL Server Mirroring and orphaned users
Hi there! There is still a problem with mirrored (mapped) SQL Users. If you mirror a database where an application connects with an sql user, the mapping (login / user) will be lost on the mirror server. After a failover occurs, it it not possible to log onto the new principal database because the database use will be an orphaned user and has to be remapped to the login (using sp_change_users_login 'update_one', 'user', 'user' ). Is there any chance to do it in a system trigger What is the firing event after the failover occurs I've tried something like following, but it doesn't fire. alter TRIGGER map_orphaned_users ON ALL SERVER FOR ALTER_DATABASE AS execute sp_change_users_login 'update_one ...Show All
Visual Basic save dialogue box using designer in Visual Studio 2005
With the toolbox you can drag a SaveFileDialog to the area below the designed window, but then what Where do you put it into the design How do you use the toolbox to create what you would create manually with this code: Friend WithEvents SaveFileDialog1 As System.Windows.Forms.SaveFileDialog Me .SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog Private Sub Button2_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button2.Click Dim Error_pass As Boolean = False SaveFileDialog1.CreatePrompt = True SaveFileDialog1.OverwritePrompt = True ... Thanks! Steph OK you can drop the control it onto the form at design ...Show All
Visual Studio Team System Managing files and status
I'm evaluating TFS and I miss the following features: The option to see deleted files in source code explorer and files that haven't yet been added to source control. Why can't TE detect the state of my local files. Occasionally I manage files outside TE. I want a recursive "Update Status" action to detect which files have been modified locally. Together with (1) I can then overwrite a bunch of files, update status, check out the files, and finally check in the updated files. I like the StarTeam feature where I can have a "flattened" view of my source tree and then group the files by state. That makes it easy to vey quickly identify files that I might otherwise forget to add and files that have been overriden and thus ...Show All
Windows Search Technologies WDS crashes when trying to publish app on Citrix
We currently have many users that work from home and they remote into our system via Citrix. We have tried many times to publish the app but it just crashes, we have tried both versions and the patch fix for the roaming profiles but to no avail. We get this error: "The WDS index isn't working properly. To fix this problem, you'll need to restart your computer, and you may need to rebuild the index. Select one of the following options...". We really like 2.6.5 version but if there is something for 3.0 then that will be fine. We are using a Windows 2k3 server. Is there anything anyone knows of that will fix this problem If you need more information let me know. Thanks, If you report the crash thru Watson, w ...Show All
.NET Development XSLT to Excel transfer slow when using large data files
I am attempting to transfer an XML file to an Excel File using XSLT. I am using XmlDataDocument and it slows down greatly on large data sets. A workaround was found on MSDN: http://support.microsoft.com/kb/318580/EN-US/ , But I am not sure how to implement it. Below is what I am currently using: <% @ Page Language = "c#" %> <% @ Import Namespace = "System.Data" %> <% @ Import Namespace = "System.Xml" %> <% @ Import Namespace = "System.Xml.Xsl" %> < script language = "C#" runat = "server" > public void Page_Load ( Object sender , EventArgs E ) { string reportname = Request . QueryString [ "Name" ]; string xmlpath = "e:/Program Files/Apache Software Foundation/Tomcat 5 ...Show All
Visual C# try-catch
Is there any way with a try-catch that if the try fails that I retry it Basically I have an app that downloads text files, and then processes them. However, at my location we lose internet connectivity on a fairly common basis, and I don't want the app to try to process half downloaded files. The downloading sequence is in a class by itself, so I just basically want to do the following: try { download files } catch { try again } I haven't found any way to do it so far, so any help would be appreciated. Thanks, Russ Hi, you could also use a straight forward loop. That would also avoid stack overflows because of deep recursions: void foo() { bool tryAgain = true; while(tryAgain) ...Show All
