Search results for query: *

  1. J

    XMLTextWriter changing my variable in a URL (changes instances of & to &)

    I didn't set up any default reader for xml files on my system and when I double click the file it opens in Adobe Dreamweaver. Dreamweaver does no conversion and it displays the & If I open an xml file in Windows Internet Explorer I do see a conversion from & to just the amperstand. I guess that...
  2. J

    XMLTextWriter changing my variable in a URL (changes instances of & to &)

    XMLTextWriter changing my variable in a URL (changes instances of & to &) Hoping to get an answer without posting a code example for now. My program creates two files with the same exact information. A text file and an XML file. There are several variable values and strings outputted to...
  3. J

    Format string centering columns

    Thanks Solitare, Thats similar to what I already worked out as a 'manual' way to do it. I was hoping that there was something simple that I was overlooking. In the string format sample that I submitted, -20 indicates left aligned field of 20, 20 means right aligned field of 20 and there is...
  4. J

    Format string centering columns

    I am outputting a columnar table to a text file, 5 columns each 20 characters wide. The example below lets me align these columns either left or right. Dim strfmt As String = "{0,-20}{1,-20}{2,-20}{3,-20}{4,-20}" Dim strfmt As String = "{0,20}{1,20}{2,20}{3,20}{4,20}" "Payment Date Amount...
  5. J

    Console App with Windows.Forms Browse For Folder

    While it is true that there may not be another living soul interested in this or ever have a use for it but I did/ do. I finally had time to do some serious Googling and came up with this so I will give credit where credit is due, FolderBrowserDialog in VB.NET The other replies were saying...
  6. J

    Console App with Windows.Forms Browse For Folder

    I don't know if it would be a good idea or not but I am the only user and it would eliminate my having to hardcode a path or enter a command line path. More a matter of curiosity than anything else.
  7. J

    Console App with Windows.Forms Browse For Folder

    If I add a reference to System.Windows.Forms and add that Namespace I can use the MessageBox function in a console app. Can I use the Browse for Folder dialog and if so how do I implement it in the code??
  8. J

    How do I get information from a string html?

    I cannot answer your question but reading it got my curiosity up so I have been looking around myself as it could be useful to me. I ran across this comment at VB.Net Web Page Link Grabber [ VB .Net Tutorial ] DocumentCompleted Event The document object is filled only after the document is...
  9. J

    Who Can Create Me a MACRO? Will Pay$$$

    Should have read ¢¢¢ not $$$ Five dollars, are you trying to kid somebody? That wouldn't pay for opening Visual Studio and just setting up a new project. And the part about more later. Reminds me of the old friend of Popeye the sailor, Wimpy. One of his sayings was "I will gladly pay you...
  10. J

    Fast method to read text files

    I was in error in my last reply when I said that it took 3 and one half minutes. After seeing that I realize that something was terribly wrong there. I was just going by watching Windows explorer updating the properties of the file. I put a timer in the routine and it took a total of 2 seconds...
  11. J

    Fast method to read text files

    Just out of curiosity, I copied and pasted and created a 100MB file using repetitive data with the target appearing about every 30 or lines. I ran the example that I submitted yesterday and it took something just over 3 and one half minutes to search that file. My computer is about 4 years old...
  12. J

    Fast method to read text files

    How about using a Regex to do the searching? I don't honestly know. Maybe using SQL could be faster. I don't have a file to test the speed on. If it is not classified or proprietary you might make available or email a zip file of one that is truncated somewhat from 100MB to say 5 or 10MB. I...
  13. J

    Getting no error messages using Net.WebClient on a valid but empty path

    Bing Satellite map tiles at zoom level 19 and above are not available for some areas while available in others. If I send a valid URL for a tile that I want to download but is not available, in a browser window the server will return an error message. Using the sub below I see nothing when this...
  14. J

    Referencing a dll and then calling a dll function

    I have compiled a C# class as a .dll named TileCalculations.dll Within the Class its namespace is TileCalculations and the Class is TileSystem namespace TileCalculations { static class TileSystem I have attempted to add this to a vb.net poject using Project > Add Reference and navigating...
  15. J

    Trouble with System.Diagnostics.Process.Start passing arguments

    I had tried quite a while to run python with the arguments with no luck. I thought cmd.exe might be easier, it was not. I did make some changes and finally got it to work calling the python script. Thanks
  16. J

    Trouble with System.Diagnostics.Process.Start passing arguments

    I am attempting to open a cmd.exe process with the 8 arguments listed At this point all this does is open a command window in the correct directory Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. F:\Python26> What I want to send to the...
  17. J

    Concatenating images into columns and rows

    For my example I have 256 individual image tiles, each 256px width X 256px height. The goal is to concatenate these to a single image 4096px w X 4096px H. (256*16=4096) The tile are named so the first 16 alphabetically make up the first column decending top to bottom, the second 16 make up the...
  18. J

    Getting 403 Forbidden error on a valid public web page

    Thanks a lot JohnH, this works perfectly now. Imports System.Net Public Class Form1 Private Sub btnGetTiles_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGetTiles.Click Dim webClient As New System.Net.WebClient Dim strURL As String...
  19. J

    Getting 403 Forbidden error on a valid public web page

    When I run this and click the button I get an error message "The remote server returned an error: (403) Forbidden." I can paste that same url in a browser window and it will open the page (it is actually a 256x256px png image) Using Perl I can use the (LWP-Get/Store) function on that url and...
  20. J

    Ccommon controls toolbox, new objects names

    Thanks. Yes I won't spend too much time on this for now as the 'simple fix' I had hoped for didn't turn out to be that simple. I will play around with it for a while and get back to baby steps.
Back
Top