Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. PPettit

    How to develop desktop (not Windows Store) apps for Windows tablets?

    Originally, the project was a web form, but I need to store about 20Mb of data in the event the user can't get cellular or WiFi signals. I had high hopes of using IndexedDB for local storage, but it wasn't working out for various reasons. We wound up deciding to buy a Windows tablet (not...
  2. PPettit

    How to develop desktop (not Windows Store) apps for Windows tablets?

    I should probably add that my development environment is Windows 7. I was hoping to use a tablet simulator, but it looks like that's only available for Windows 8 environments.
  3. PPettit

    How to develop desktop (not Windows Store) apps for Windows tablets?

    I've been tasked with building an application that will primarily run on a Windows 8 tablet. We don't want to build a Windows Store app. We want to build a desktop app that can respond to tablet features like screen rotation/orientation and touch. Can this be done? It looks like there's an...
  4. PPettit

    Capturing the output of a Java app initiated by a batch file on a remote server

    I've got some code that launches a Java app (via a batch file) on a remote server then waits for it to finish. I need to capture the output of this Java app while it's running. Is there any way to to do this with what I currently have, or is there a better way to start and monitor this app...
  5. PPettit

    Need help extracting text with XQuery/XPath

    Thanks for the additional information. I can see it being useful in the near future.
  6. PPettit

    Need help extracting text with XQuery/XPath

    Looks like XPath 2.0 allows you to get rid of the "local-name()=''" stuff by replacing it with "*:". To me, it makes the code less bloated and easier to follow. @xml.query('/*/*/*/*:FreeFormText/text()') or even something like this...
  7. PPettit

    Need help extracting text with XQuery/XPath

    Thanks for the suggestion. While investigating it, I found something that will work until I can figure out a better solution or learn more about XQuery/XPath. @xml.query('/*/*/*/*[local-name()=''FreeFormText'']/text()') If I understand it correctly, it's ignoring the namespace info, going down...
  8. PPettit

    Need help extracting text with XQuery/XPath

    I've got some XML like this: <?xml version="1.0"?> <BTARNException xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/biztalk/btarn/2004/BTARNException"> <ExceptionDescription> <errorClassification>...
  9. PPettit

    How to make extension form always open in same display as VS?

    In case anyone is interested, here's more detail about how I did the positioning of the form in the monitor where Visual Studio is displayed. If anyone has some improvements, let me know. I'm still relatively new to VB.Net and this was my first attempt at an extension for VS 2012. In the main...
  10. PPettit

    How to make extension form always open in same display as VS?

    In case anyone is interested, I think I found something that I can work with. It was right in front of me the whole time. Basically, the environment provides the ActiveWindow property which allows you to get the coordinates. ... Public Shared mySDTE As EnvDTE.DTE ... Private Sub...
  11. PPettit

    How to make extension form always open in same display as VS?

    I wrote myself an extension (Visual Studio Package) for Visual Studio 2012. When triggered, it always opens up a form in the left-hand monitor of my dual-monitor setup. My problem is that I want the form to open up in the same monitor as VS no matter which monitor VS is currently showing in. To...
  12. PPettit

    How to prevent a page refresh while a dialog box is open?

    The timer control fires the refresh. I may be wrong, but I think it's actually the rebinding of the data to the grid that causes the page refresh. I fixed my problem by fixing my way of thinking. I was trying to do everything with ASP.Net or with JavaScript. There may still be a way to do it...
  13. PPettit

    How to prevent a page refresh while a dialog box is open?

    I've got a page (ASP.Net) that refreshes every two minutes (currently using ASP timer control to call some subs that update a dataset and then bind the results to a gridview). On this page, a user can click a linkbutton that causes a jQuery modal dialog box to popup. Everything works great...
  14. PPettit

    Trouble trying to execute application (java app) on remote server.

    I think I've found a solution for running the Java app. I still haven't worked out a way to detect the end of the process or capture the output, though. The main issue seems to be that I needed to set the current directory. Passing the full path for the Java executable and the full path for...
  15. PPettit

    Trouble trying to execute application (java app) on remote server.

    On a remote server, I've got a batch file that executes a Java app. Currently, I'm triggering the batch file with a scheduled task. I'd also like to be able to trigger the batch file or the Java app at will from a Windows app. Unfortunately, I can't seem to get it to work and I'm not entirely...
  16. PPettit

    How do you calculate the sum of calculated values?

    My bad.. I missed The "//" when I translated my code from my actual PIDX work to something that worked with the example that I gave originally. I'm in the Midland/Odessa area. I see that HCSS is in Texas as well. Do you think we might have met at some point?
  17. PPettit

    How do you calculate the sum of calculated values?

    Thanks for the reply. I definitely need to learn more about recursion and XPath. It's kind of funny that I managed to find a solution a few hours before you posted yours, and it's pretty similar. (I found it at...
  18. PPettit

    How do you calculate the sum of calculated values?

    As the title says: How do you calculate the sum of calculated values? Using the XML and XSLT below, I get a table like this: Item | Quantity | Unit Cost | Extended Price 1 | 1 | $5.00 | $5.00 2 | 2 | $10.00 | $20.00 3 | 3 | $15.00 | $45.00 Total...
  19. PPettit

    How to create a map in Excel for importing an XML file? (Using attributes for column values)

    I'm trying to figure out how to create an Excel map for my PIDX XML documents. For each line item in the invoice, there are these two elements: <pidx:ServiceDateTime dateTypeIndicator="ServicePeriodStart">2013-10-01T00:00:00</pidx:ServiceDateTime> <pidx:ServiceDateTime...
  20. PPettit

    Unattended install using command line arguments

    I've got an application that asks for a couple of values during the installation process and writes them to the app.config file. Does anyone know a way that I can pass these values during an unattended command-line install? The values are normally captured in a "Textboxes (A)" dialog box that...

Part and Inventory Search

Back
Top