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...
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.
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...
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...
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...
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...
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>...
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...
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...
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...
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...
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...
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...
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...
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?
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.