DanGolden's Q&A profile
Internet Explorer Development IE6 with DOM created form problem
hello i have this site: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body> <script> var obj_form = document.createElement("form"); obj_form.method = "POST"; obj_form.enctype ="multipart/form-data"; obj_form.action = "/form_services/formtest.php"; obj_form.id = "form_id"; obj_form.name = "form_name"; var obj_button = document.createElement("input"); obj_button.type="submit"; var obj_file = document.createElement("input" ...Show All
Visual Studio Team System Version control API - basic recipes
I'm working on writing a simple client using the version control API and I'm having trouble with a couple of basic concepts related to server names, local paths and server paths. I'm hoping someone can fill in the gaps with a few recipes - I've looked at some of the samples on various blogs, but haven't found solutions to these basic issues: 1. Given a local path, determine the name of a TFS server that has a mapping for that path (if such a server exists). The code from the example on Buck's blog ( http://blogs.msdn.com/buckh/archive/2005/10/26/485458.aspx ) doesn't seem to work - it never finds a server name. 2. Given a local path, determine the exact name of the server path that maps to it. 3. Given a server path, determine the ...Show All
Windows Forms Why does the ClickOnce 'Install' button generate an xml page instead of starting download?
Hello, I just published my application for ClickOnce deployment to my web site. When I click on the Install button on the publish\publish.htm page on my website, the browser returns the contents of an xml file and does not start the download. Does anyone know what might be causing this Any help or suggestions would be greatly appreciated. Thanks! Jason I too am experiencing this frustrating ClickOnce behavior when installing from IE 6.0. We tried adding the mime type application/x-ms-application to our apache server but this had no effect. This is our current solution which I call " ClickOnce and Fudge " Publish your application as normal Edit your deploy file (i.e deploy.htm ) ...Show All
Windows Forms TableAdapter and Binding Questions
Need a bit of quick help here. I have a VB app that connects to a SQL 2005 Database. I am able to view data that exists in the tables through binding the object to the table adapter I have created. I Created the TableAdapter through the TableAdapter configuration wizard and it generated all of the necessary code for the SELECT and INSERT stored procedures. My intention is to Update Data in the Base Tables in SQL 2005 when the value of the textbox changes. I cannot seem to understand why this is not occuring. I get the following error message. "Update Requires a Valid UpdateCommand when passed DataRow Collection with Modified Rows." Any help would greatly be appreciated... http://forums.microsoft. ...Show All
.NET Development XSLT: search for specific nodes and nodes related to each
Hi, Sorry this is going to be a long post but I felt it necessary to include source code. Here's a very small portion of my xml document: < xml version="1.0" > <xtvd> <stations> <station id="10436"> <callSign>KERA</callSign> <name>KERA</name> <affiliate>PBS Affiliate</affiliate> </station> <station id="10830"> <callSign>KXAS</callSign> <name>KXAS</name> <affiliate>NBC Affiliate</affiliate> </station> <station id="16123"> <callSign>TVLAND</callSign> <name>TV Land</name> <affiliate>Satellite</affiliate> </station> <sta ...Show All
Visual Studio Team System Database refactoring
Hi, I must say that I am pretty amazed of the great job that you did in VSTS for DB. In the past I have used Visio for some time to refactor my database objects. I found a lot of problems in how Visio did database refactoring usually involved with loss of data and incomplete objects. I am just wondering how VSTS for DB is making sure that no data loss and object inconsistency will occur during the refactoring process. For example with Enterprise manager I had never had any database refactoring problems. How is the Visio algorithm different from the algorithm used in EM and in VSTS for DB Please explain in brief their inner workings, Thanks, Martin Kulov Martin, I see no one has answered this so I w ...Show All
Windows Forms the date field in gridview appears with 12:0:0 !!!!
hi i make a website and i put a gridview control on the page and the date field appears with 12:0:0 i write all formats i know about the date on dataformat from column properties any help thanks in advance. ...Show All
Windows Forms Re-Ordering rows in DataGridview control in vb.net 2005.
Hi to All. I want to drag and drop rows in a datagridview how can i do that please help me I have a datagridview with some rows now i want to reorder that rows by drag and droping. its windows application with vb.net Thanks in advance... sreenivas. Hi, You may refer to the following link: http://www.windowsforms.net/FAQs/default.aspx PageID=2&ItemID=692&CategoryID=3&tabindex=3 Hope that helps. Please mark the thread as answered if it solves your problem. Regards, Mamta ...Show All
SQL Server Invisible rows after failed syncronization
Publisher: SQL Server 2000 SP4 Subscriber: SQL Server 2005 Mobile Edition Sometimes, after a failed merge replication(due to communication error) some rows on the subscriber became invisible for the publisher. I've reproduced a case: [START Short Version] All rows inserted between a comm failed sync and a fine sync became invisible. This seems to be caused because the subscriber keeps generating rows with the same generation number and the publisher doesn't look for this generation anymore. [END Short Version] [START Detailed case] STEP 0: INITIAL STATE Publisher Orders Table EMPTY Subscriber NO DATABASE STEP 1: After FIRST SYNC and INSERTING 2 Orders Publisher Orders Table EMPTY Subscriber Orders Table OrderId __sysIG _ ...Show All
Visual Studio Team System Build freezing?
I have run a build a few times now, and it is freezing. I am running a custom installshield task that I have wrote. I have to build about 12 merge modules using the ISSABld.exe, it gets through about 6 of them and then while building it freezes. Does anyone know why this happens Thanks. Can you post your build log There are some cases where the build will crash when you incompletely override certain "core" targets. Also check the Event Log for any MSBuild errors. When MSBuild crashes, it usually leaves some indication there. - Steve ...Show All
SQL Server Using Merge Replication, Parameterized Filters
Dear ppl, I am using Merge Replication between SQL Server 2005 (Publisher) and Pocket PC (SQL Mobile 2005-Subscriber). I have a Windows Mobile appliction on the Pocket PC that replicates data from the server. I am using SqlCeReplication class on the Pocket PC application to synchronise the data. By default, when i call the Syncrhonise() method, it pulls all the data from the server. What I want is to pass a parameter from the Pocket PC and filter the data based on that paramter. E.g. from the Employee table, I want only those Employee that belongs to a CompanyID that I pass as a parameter. Is there a way to do this, so that i can pass parameters from my PDA application (Windows Mobile), and make the Filters specified in the Pu ...Show All
SQL Server Update bad designed table
Wich might be the best way to update this table Table Sub (submenus with the items that belong to them) ID OWNERID USERNUMBER SHORTNAME LONGNAME EXCEPTIONS ITEM01 ITEM02 ITEM03 ITEM04 ITEM05 1000 0 1000 Entradas Entradas 0 1001 1002 1003 1004 1005 1100 0 1100 Ensaladas Ensaladas 0 1101 1102 1103 1104 0 1200 0 1200 Sopas Sopas 0 1201 1202 1203 0 0 1300 0 1300 Cremas Cremas 0 1301 1302 1303 0 0 1400 0 1400 Ex=tico Ex=tico 0 1401 1402 1403 1404 1405 1500 0 1500 Aviant\nCuisine ...Show All
Windows Forms Tooltip with control vlaue for NumericUpDown
Hi, I would like to display the actual value of a NumericUpDown control in the tooltip. How can I do that if this control doesn't have a MouseOver Event i can use to create a Tooltip object dynamicaly every time with a new value ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Joystick Values not correct
Hello, I have a DirectInput code which reads values of a joystick. The code works fine but I have noticed that the value for the throttle (slider) axis is wrong until the player moves the stick. For example, the game starts and the throttle is set to 60% but the rglSlider field in the joystick structure returned by g_pJoystick->GetDeviceState is 0 . Is this behaviour normal How can fix this Thanks in advance, MDE It sounds like it could be a limitation of your device. If it's only telling DirectInput what position the slider is in when it changes, DirectInput won't know where it is until the user moves it. ...Show All
Software Development for Windows Vista Unpredictable event reception in state machine workflow
Hi, I'm relatively new to WF, and developing a state machine workflow project. The workflow runtime is hosted in a windows exe which raises events to it when requests come in from a browser UI via a web service interface on the host. This all works fine.. sometimes! Specifically, when I'm running in debug mode through VS, the events get fired and everything happens correctly the first time through. But when a second request comes in from the web service, the host raises the event, but the workflow never hears it. And when I run the service as an exe, the workflow never picks up the events. In either case, no error is raised, but nothing happens. The data exchange service and my own service for the workflow events are correctly att ...Show All
