Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

justlee7

@justlee7
About
Posts
7
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Fighting obsolescence..... - do you REALLY use a smart phone, and if so, how?
    J justlee7

    I use to think "I'll never want a cell phone, I don't necessarily want to be that connected". Now I cannot live without my Android phone. I use it more then my home computer, and I use it every day what seems constantly. I have Samsung Vibrant and here is what I use it for: -I check traffic on Google maps on my way to and from work. -I take HD video, 720p, of my family, and of jobs sites if I need to take the info back to the office (I am an IT guy) -I can stream any pictures and video I take to any computer and some TVs for people to see. (The HD video and still pictures look GREAT!) -I listen to my MP3s from the phone (replaces my MP3 player, and I can listen to Pandora if I am in the mood for new, random music. -I can take a physical document, take a picture of it with my 5 MP camera, and make it into a PDF (looks just as good as any scanner) -I send/receive my personal (gmail) and business (Exchange) email. -I am a baseball fan, so I can LISTEN to ANY and EVERY MLB game using the "At Bat '10" application (it even lets me choose which teams radio team to listen to, home or away) -I use the heck out of the calendar, setting up what activities I do every day, and reminders are a life saver! -I can tell my Direct TV DVR to record a show I forgot about or just heard about from anywhere. -I can keep tabs on my ebay bids or items that I sell, and never need to worry about forgetting them cause my phone will let me know if there is any new activity -If I am at Best Buy and I see a product I know is over priced, I can scan the bar code, and find a better price locally or online -I can check for the closest gas station when I look down at my fuel gage and notice that it is on Empty! -If I am at a site where the Internet is down and I need to download a file to fix the situation, I can download it to my phone, connect to the internal wifi or USB on a PC, and transfer the file over. -I can RDP into my PC at home or a clients server. -I can download and read a book. These are just some of the things I do on a daily or weekly basis. there is more I do. This thing replaces my MP3 player, my point and shoot camera, my camcorder, my USB drive, and my cell phone. It does all these things, in a small package, and I can look up anything on the Internet at anytime, anywhere I wanted! If you have one, you will not be able to live without it!!!

    The Lounge android ios sales help question

  • Drive image/restore recommendation. [modified]
    J justlee7

    DriveImage XML I have used it several times, and it works great: http://www.runtime.org/driveimage-xml.htm[^] Besides letting you create and restore an image, you can also pull individual files out of the image as well. DriveImage XML is packaged in UBCD for Windows: http://www.ubcd4win.com/[^] This allows you to boot off a CD and create the image while the OS is not loaded. This is the best way I have found to use this application.

    The Lounge question

  • Help with automated html to image capture
    J justlee7

    I just did what you said and it worked like a charge. Added Application.DoEvents() to my while loop, and it works flawlessly. Thank you SO very much Douglas. It is greatly appreciated, and thanks for putting up with a coding newb!

    C# help question csharp c++ html

  • Help with automated html to image capture
    J justlee7

    I think I understand now. Pardon my slowness. So the line: Application.DoEvents(); That is an actual event, huh? This shows my lack of knowledge in programming. I have though when people posted this it meant to run a custome function. I will try this What does the Application.DoEvent() actually do? Thanks a bunch for your help!

    C# help question csharp c++ html

  • Help with automated html to image capture
    J justlee7

    Thanks again Douglas! I hear what you are saying, I just don't know what process to run that will refresh the WebBroswer.ReadyState until it is completed. What event or process can I keep running that will get me to WebBrowserReadyState.Complete before I run the capture code. Here is some of the code: private void frmMain_Load(object sender, EventArgs e) { Initialize_Site(null, null); string WebReady = axWebCap.ReadyState.ToString(); while (WebReady != "READYSTATE_COMPLETE") { WebReady = axWebCap.ReadyState.ToString(); } } private void frmMain_Activated(object sender, System.EventArgs e) { button1_Click(null, null); //This runs the capture code } private void Initialize_Site(object sender, EventArgs e) { TextReader WebConfig = new StreamReader(@"c:\\IECapture\config.txt"); int LineCount = 4; string[] ConfigLines = new string[LineCount]; for (int i = 1; i < LineCount; i++) { ConfigLines[i] = WebConfig.ReadLine(); } string Address = ConfigLines[1]; axWebCap.Navigate(Address); } Thanks, Justin

    C# help question csharp c++ html

  • Help with automated html to image capture
    J justlee7

    Thanks Douglas for your responce! I actually have tried creating a while loop like this. I just can't figure out what to put for the "Application.DoEvents()" that will cause the WebBrowser control to fully load, or wait for it to fully load. I tried the following: string WebReady = axWebCap.ReadyState.ToString(); while (WebReady != "READYSTATE_COMPLETE") { WebReady = axWebCap.ReadyState.ToString(); } But that just causes an infinite loop. I am thinking that is because it is not refreshing the Ready Status. Do I need to refresh the form or something? I thought about putting a timer in, but thought that could cause issues in the future if the page load fell outside the time limit. Thanks again, Justin

    C# help question csharp c++ html

  • Help with automated html to image capture
    J justlee7

    First off, I am a Windows network technician with some coding back ground, mostly in C++ and VB, new to C#, so please bear with me. I am trying to modify the following project by Douglas M. Weems (thanks a bunch Douglas for the code, it's been a GREAT help): http://www.codeproject.com/cs/media/IECapture.asp[^] We have a need to automate the process of capturing web sites of our clients as images. To do this I am modifying Douglas' project to do so. I have made most of the changes we require, but am stuck on one, hopefully last, issue. I added a WebBrowser control, and modified the code to read the site loaded in it rather then from the first available web browser window open. My problem is that when I automatically run the the button_click event which has the image capture code, the WebBrowser control does not load quickly enough, and the code calls properties of this control that are set to "null". If I launch the app, and manually click the button which runs the capture code, it works without an issue, the image captures. This is how I setup the automated process. On the Form Load event I read in a text file with the URL, and the WebBrowser control called axWebCap browses to this site. I then run the capture code in the Form Activated event. I discovered that if I do this, that axWebCap.ReadyState = READYSTATE_LOADING. Now if I run this manually by running the ap and click the capture button the axWebCap.ReadyState = READYSTATE_COMPLETE. I guess my question is, how can I run this code in a function after the Form has completely loaded, and therefore the axWebCap WebBrowser control has completely loaded as well, and it's properties are no longer set to null? BTW, I am using Visual C# 2005 EE, and I would be more then happy to clarify anything I just posted. Any help would be greatly appreciated! Thanks, Justin

    C# help question csharp c++ html
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups