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 SkipVought 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: *

  • Users: mbro
  • Order by date
  1. mbro

    Decoding a Binary File

    Hi everyone, I have a BIL file containing an elevation grid that was compressed in a method I'm not familiar with. I'm trying to decode it so that I can write it to a plain ASCII file. I read it using Dim b() As Byte = IO.File.ReadAllBytes("Filepath") and have attempted to run it through the...
  2. mbro

    Changing BMP Pixel Value

    Hi, I'd like to write a program to read a BMP and change all of the colours that are almost black to be black R:0 G:1 B:0 to R:0 G:0 B:0. I have a binary method for reading in and checking pixel values but no of no way of reading the image in and writing it. Would someone be able to help me...
  3. mbro

    Problem with Webbrowser.busy

    Hi, I have a recurring problem with WebBrowser1.Navigate "website" Do DoEvents Loop Until WebBrowser1.Busy = False in that sometimes it waits for the website to load completely and sometimes the Do loop completes before the page has loaded. I've posted...
  4. mbro

    WebBrowser1.Busy Not Working

    Hi, I have some code that runs in a loop to cycle about 100 webpages through the webbrowser control. The code shows the website, waits for it to finish loading, does a few operations and then moves to the next website. It normally works fine but a couple days ago the program hasn't been...
  5. mbro

    SQL 2005 Maintenance Plans

    Hi, The company I work for has owned Microsoft SQL Server for some time now, but has never employed a DBM to manage it properly. We're a small shop and primarily rely on tape back-up and have no maintenance plan to keep the system running at optimum. We've upgraded now to SQL 2005, and I'm...
  6. mbro

    Webbrowser and DoEvents Reference Error

    Thanks everyone for the help. The problem is sorted now. Cheers, Mike
  7. mbro

    Adding New Tabs To an Internet Explorer Instance

    Hi, I was wondering if it would be possible to write a program that opens an Internet Explorer window to a particular URL and then adds say three tabs to that window each pointing at a different website? Is this possible or can you only launch the initial window programmatically? Thanks, Mike
  8. mbro

    Webbrowser and DoEvents Reference Error

    Hi, Thanks for the input. I'd prefer to stay with the ieframe.dll but then my webbrowser.navigate component fails. I upgraded Internet Explorer about two weeks ago and thought it had worked since that time... There must be something regarding IE7 that is affecting it. If anyone has any...
  9. mbro

    Webbrowser and DoEvents Reference Error

    Hi, Up until last week I had code that worked quite simply to navigate in a webrowser control to a website and take a screenshot of that website. Suddenly however the code has stopped working. The first error I received was that the webbrowser1.navigate member was not found despite the Internet...
  10. mbro

    Split a string by carriage return

    Thanks, Worked nicely. Cheers, Mike
  11. mbro

    Split a string by carriage return

    Hi, I'm reading in a file a line at a time, and am running into difficulties splitting it into its components. I'm pretty sure it's delimited by carriage returns (Enter) but the couple ways I've tried to split it don't seem to work. The delimiter when the file is opened in notepad is a square...
  12. mbro

    Dimensions of a TIFF

    Hi, I'm using VB within ESRI ArcGIS which is a little limited in its functionality. I need a way of obtaining the dimensions of a TIFF without loading it into a picture box. Perhaps read as raw data or through a control I'm not sure. I've found ways to do BMPs, JPEGs and GIFs as follows...
  13. mbro

    Using Scroll Bars and Image Boxes

    Hi, I'm trying to load an image file into an image box. I can get the image loaded but it is sizeably larger then the image box which means I need scroll bars for the user to see everything. I've seen examples using both picture and image boxes together but I don't seem to have access to a...
  14. mbro

    Load BMP -> Change Colors -> Save as New BMP

    Hi, I'm not too experiences with using VB for image manipulation, so I need some help. What I need to do is create a routine that reads in a BMP, changes all of the RGB values that are greater then 240 to 255 and then export the image with a new filename. I took a look at the thread of...
  15. mbro

    Reading and Checking Bitmaps

    Hi, The company I work for has recently started a project in which we have to mosaic thousands of BMPs together to form a series of larger combined images. Part of the pre-check process for the images is to ensure that the they do not contain any holes (areas in which there is no data) and...
  16. mbro

    File Copy -- Permission Denied

    Scratch that it seems to be "drawing" specific not user specific.
  17. mbro

    File Copy -- Permission Denied

    It does involve copying onto a network and the new file will not already exist. All of the users should have the exact same read/write permission to the network. It seems to be a problem that's computer specific, that's why it's puzzling
  18. mbro

    File Copy -- Permission Denied

    Hi I've created a routine that works on about 20 computers in the office. This routine among other things closes a file, and uses the FileCopy command to copy the file to a new pathname. On some of the computers this action will result in a "Permission Denied" error, but not on all computers...
  19. mbro

    "Invalid Data Format" Error

    Hi, thanks for responding. I should have mentioned that it was a VBA project imbedded in AutoCad. This means that it doesn't export the forms and modules each time its run, nor does it actually produce a log file...it's not enjoyable.
  20. mbro

    "Invalid Data Format" Error

    Hi I've been working on VB project for the last little while and all of a sudden when I loaded it I get an "Invalid Data Format" error. This error occurs when I load the project, I can see my forms but I can't access the code and I can't change my references or the error appears again. I...

Part and Inventory Search

Back
Top