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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
H

hung_ngole

@hung_ngole
About
Posts
111
Topics
89
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Screen hooking
    H hung_ngole

    Hi, Can you tell me how to read text from screen (screen text hooking) using VC++? Thanks.

    Hung

    C / C++ / MFC c++ tutorial question

  • Webbrowser control
    H hung_ngole

    I have saved DocumentText into a file, but when loading this file using web browser, the webpages' images disappear. How can I auto_save the web page as the SaveAs function of WebBrowser? Thanks, Hung.

    Hung

    C# csharp question

  • Webbrowser control
    H hung_ngole

    Hi, I'm using Webbrowser control with .NET 2.0, Can you tell me how I can autosave the web page after navigation successful? Hung.

    Hung

    C# csharp question

  • GridView _ Add New Record
    H hung_ngole

    Hi, How can I add a new row to the bottem of gridview? Thanks much, Hung.

    Hung

    C# question

  • Get webpage's script problem
    H hung_ngole

    I have the following code snippet: WebRequest request = WebRequest.Create(URL); request.Method = "GET"; request.ContentType = "text/xml"; WebResponse response = request.GetResponse(); System.IO.Stream stream = response.GetResponseStream(); System.IO.StreamReader streamReader = new System.IO.StreamReader(stream); String document = streamReader.ReadToEnd(); this.webBrowser1.DocumentText = document; I have got the HTML content and javascript successful but it lack of the javascript inside the tags. How can I solve this problem? Thanks for your help!

    Hung

    C# help question javascript html tools

  • Retrieve Webpage content problem
    H hung_ngole

    I have the following code snippet: WebRequest request = WebRequest.Create(URL); request.Method = "GET"; request.ContentType = "text/xml"; WebResponse response = request.GetResponse(); System.IO.Stream stream = response.GetResponseStream(); System.IO.StreamReader streamReader = new System.IO.StreamReader(stream); String document = streamReader.ReadToEnd(); this.webBrowser1.DocumentText = document; I have got the HTML content successful but it lack of the javascript blocks. Then I try to show it into the WebBrowser control, everything is OK except the webpage's images. How can I solve this problem? Thanks for your help!

    Hung

    C# help question javascript html xml

  • capture data of Port
    H hung_ngole

    Hi, I have 2 program: A and B A will send data to server through port X. How can I write B to capture the data of X? Thanks, Hung. Hung

    C# question sysadmin

  • Get value to byte() [modified]
    H hung_ngole

    I have the problem with binary data (Ex: image) not the textual data! Thanks anyway, Hung. Hung

    C# data-structures question

  • Get value to byte() [modified]
    H hung_ngole

    Although the stream has data, the length of responseStream is -1. This is the main problem I facing !! Thanks anyway! Hung. Hung

    C# data-structures question

  • Get value to byte() [modified]
    H hung_ngole

    Hi, I have the following code, how can I get the value of the stream into byte array (the response contains binary data and using the readToEnd() fails) HttpWebResponse response = request.GetResponse() System.IO.Stream responseStream = response.GetResponseStream() Thanks in advance, Hung. Hung -- modified at 12:02 Sunday 9th July, 2006

    C# data-structures question

  • Byte = Stream.Read
    H hung_ngole

    Hi, I have a System.IO.Stream, now I want to get all data from that stream into a Byte array! I try with the ReadToEnd() but it return the String type (=>problem with image data). I try to read the length of the stream, but it return -1. If I read byte to byte, it's OK but my program will be slow! How can I do? Thanks, Hung. Hung

    C# question data-structures help

  • Universal Time???
    H hung_ngole

    Hi, When using webservice, I have the time like that: "2006-06-15T12:10:09Z" I can't understand it? Is it universal time? "T" & "Z" mean? Thanks for your help! Hung

    C# help question

  • Get data from a webserver
    H hung_ngole

    Hi all, I have this source code as below: Dim req As HttpWebRequest = HttpWebRequest.Create("URL") 'Http or Https ? req.Method = "GET" Dim res As HttpWebResponse = req.GetResponse() Dim stream As System.IO.Stream = res.GetResponseStream() Dim i As System.Drawing.Image = System.Drawing.Image.FromStream(stream) i.Save("C:\Documents and Settings\Yunosuki\Desktop\abc.png") res.Close() With Http protocol, it acts very well. But when I try URL with Https protocol, it fail. Can you tell me how to solve this problem? Thanks, Hung

    ASP.NET graphics help tutorial question

  • WebBrowser control
    H hung_ngole

    Thank nafiseh_salmani, but the Document.Stream just get the source of HTML Page not a data on a request send to server. I mean that: I have a HTML page and it have some javascript function, this script will send request to server when the form is loading. Now I want to manage all the request send to server because I want to change somethings on this request. If I use VB.NET code to manage all requests, how can I do? Thanks for your help! Hung

    C# csharp visual-studio sysadmin help tutorial

  • WebBrowser control
    H hung_ngole

    Hi, I'm using WebBrowser control of VS.NET 2005. I have handled the Navigate event of this control but I don't know how to get the data on the request object before it is sent to server. Thanks for any help! Hung

    C# csharp visual-studio sysadmin help tutorial

  • Webbrowser + XML
    H hung_ngole

    I'm using VS.NET 2005, now I try to use the webbrowser control to view the XML file, but this control just show the text value not show the tree format as IE! How can I make it same as IE ? Thanks for your help! Hung

    C# question csharp visual-studio data-structures xml

  • WebBrowser Control
    H hung_ngole

    Hi, I have a image on a MemoryStream and a WebBrowser Control. How can I load this image to the webbrowser control without saving it to hard disk! Thanks, Hung

    C# question

  • Convert Image to byte[]
    H hung_ngole

    Hi, I have a Image object on the memory, now I want to convert this object to byte[] without saving it to harddisk! How can I do this? Thanks, Hung

    C# question performance

  • Retrieve Data from web server
    H hung_ngole

    I have the code as below: Dim req As HttpWebRequest = HttpWebRequest.Create("myURL") req.Method = "GET" Dim res As HttpWebResponse = req.GetResponse() Dim stream As System.IO.Stream = res.GetResponseStream() Dim buff(100000) As Byte stream.Read(buff, 0, 100000) System.IO.File.WriteAllBytes("C:\Documents and Settings\Yunosuki\Desktop\abc.bmp", buff) That code will send request to web server and get the response! With text format, every things are ok! With the image format, I can see the image of "abc.bmp" file. Thanks for any help! Hung

    ASP.NET sysadmin help

  • get Request & Response object
    H hung_ngole

    Hi, I have written a plugin to IE successfully. Now I want my Plugin can get the Request and Response object when IE visit the page "http://myURL". Thanks for your help, Hung

    ATL / WTL / STL help
  • Login

  • Don't have an account? Register

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