6 15934
Hi,
"Dan" <Da*@discussion s.microsoft.com wrote in message
news:7A******** *************** ***********@mic rosoft.com...
>I need to read an HTTP stream that is defined as excel format. How can I
access this via ADO.Net? This dataset pastes nicely into excel. http://ts-lc.sc8.finance.lycos.com/1...ocaleID=0x0409
Thanks in advance
I'm not clear of what you want, especially that of a http stream as excel
format, what you mean with that?
You can use WebClient to get a http stream.
Dan,
You are going to have to save the stream to a temporary file, and then
you can use the Jet provider for Ole Db to access the data in Excel.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Dan" <Da*@discussion s.microsoft.com wrote in message
news:7A******** *************** ***********@mic rosoft.com...
>I need to read an HTTP stream that is defined as excel format. How can I
access this via ADO.Net? This dataset pastes nicely into excel. http://ts-lc.sc8.finance.lycos.com/1...ocaleID=0x0409
Thanks in advance
The URL listed says this is in excel format. I want to read it into a C#
program.
"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,
"Dan" <Da*@discussion s.microsoft.com wrote in message
news:7A******** *************** ***********@mic rosoft.com...
I need to read an HTTP stream that is defined as excel format. How can I
access this via ADO.Net? This dataset pastes nicely into excel. http://ts-lc.sc8.finance.lycos.com/1...ocaleID=0x0409
Thanks in advance
I'm not clear of what you want, especially that of a http stream as excel
format, what you mean with that?
You can use WebClient to get a http stream.
I will need to read this file in C#. Still save this to a temporary holding
area then use ole db?
"Nicholas Paldino [.NET/C# MVP]" wrote:
Dan,
You are going to have to save the stream to a temporary file, and then
you can use the Jet provider for Ole Db to access the data in Excel.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Dan" <Da*@discussion s.microsoft.com wrote in message
news:7A******** *************** ***********@mic rosoft.com...
I need to read an HTTP stream that is defined as excel format. How can I
access this via ADO.Net? This dataset pastes nicely into excel. http://ts-lc.sc8.finance.lycos.com/1...ocaleID=0x0409
Thanks in advance
Dan,
Yes, as Ignacio said, you would use the WebClient or the
HttpWebRequest/HttpWebResponse classes to do this, then you would access the
temp file through the Ole Db provider, as it requires a physical file.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Dan" <Da*@discussion s.microsoft.com wrote in message
news:73******** *************** ***********@mic rosoft.com...
>I will need to read this file in C#. Still save this to a temporary holding
area then use ole db?
"Nicholas Paldino [.NET/C# MVP]" wrote:
>Dan,
You are going to have to save the stream to a temporary file, and then you can use the Jet provider for Ole Db to access the data in Excel.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Dan" <Da*@discussion s.microsoft.com wrote in message news:7A******* *************** ************@mi crosoft.com...
>I need to read an HTTP stream that is defined as excel format. How can I
access this via ADO.Net? This dataset pastes nicely into excel. http://ts-lc.sc8.finance.lycos.com/1...ocaleID=0x0409
Thanks in advance
Thanks - I will go with this stategy.
"Nicholas Paldino [.NET/C# MVP]" wrote:
Dan,
Yes, as Ignacio said, you would use the WebClient or the
HttpWebRequest/HttpWebResponse classes to do this, then you would access the
temp file through the Ole Db provider, as it requires a physical file.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Dan" <Da*@discussion s.microsoft.com wrote in message
news:73******** *************** ***********@mic rosoft.com...
I will need to read this file in C#. Still save this to a temporary holding
area then use ole db?
"Nicholas Paldino [.NET/C# MVP]" wrote:
Dan,
You are going to have to save the stream to a temporary file, and
then
you can use the Jet provider for Ole Db to access the data in Excel.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Dan" <Da*@discussion s.microsoft.com wrote in message
news:7A******** *************** ***********@mic rosoft.com...
I need to read an HTTP stream that is defined as excel format. How can I
access this via ADO.Net? This dataset pastes nicely into excel. http://ts-lc.sc8.finance.lycos.com/1...ocaleID=0x0409
Thanks in advance
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: MyHaz |
last post by:
I playing around with streaming shoutcast mp3s.
Here is some sample code:
-----------------------
import httplib
############
# Put together the headers
headers = {"Icy-MetaData":"1"}
|
by: Jason Heyes |
last post by:
I want to allow objects of my class to be read from an input stream. I am
having trouble with the implementation. Here are the different approaches I
have tried:
// Version 1.0 - Default constructors
class MyClass
{
Foo foo; // foo and bar require default constructors
Bar bar;
public:
|
by: ben beroukhim |
last post by:
I have huge number of legacy code which use standard files functions.
I would like to pass a memory pointer rather than a FILE pointer.
I am trying to use FILEs in the code to refer to memory buffers.
Basically, I want to be able to use all the standard read and write
functions, but I want them to refer to memory locations, rather than
disk
files.
I do not want to touch the legacy code. Does any one know of a library
|
by: Laszlo Szijarto |
last post by:
Can BinaryReader be forced to read a stream, say a TCP/IP stream or memory
stream or even file stream in big endian order or do I have to write
something custom to reverse the byte order? So, for example, I'd like a
Windows client PC (native little endian) to be able to read a network stream
coming in as big endian. I want to be able to read a short for example
without worrying about flipping the bytes.
Thank you,
Laszlo
|
by: Just D. |
last post by:
All!
How should we read any file from some URL? I found in MSDN the method
URLDownloadToFile function, but it's for C#. There is another example to
read but it doesn't work if the page is more complicated and includes not
only HTML code but JAVA scripts, etc. Strange, but it doesn't work for me.
// Creates an HttpWebRequest with the specified URL.
HttpWebRequest myHttpWebRequest =...
| |
by: Kuldeep |
last post by:
Hi All,
I am trying to read the contents of a page through its URL.
My code snippet is as follows:
public void mtdGetPageDataHWR()
{
HttpWebRequest objRequ =
(HttpWebRequest)WebRequest.Create("http://www.microsoft.com");
HttpWebResponse objResp = (HttpWebResponse)objRequ.GetResponse();
|
by: carmelo8 |
last post by:
Hi there,
I want to timeout Read method of System.Stream class after 30 secs. of
no activity given a certain opened connection. That is, because some
incoming connections to my application just don't give any signal and
my Read method keeps waiting from the socket for some data to be read
eternally.
I have seen that in framework 2.0 System.Stream.Read has a new property
that will probably match with what I need called 'ReadTimeout'....
|
by: Jack |
last post by:
Hi,
I want to read a string a chars from a stream, and put it into a
string.
At the moment, I'm creating a buffer of a fixed size, and reading the
stream of text into it. It works, but I have to create a buffer of a
pre-defined length: (ConstBufferByteSize=10000000). How can I read a
stream into a buffer or string without knowing the number of chars the
stream will contain?
|
by: vishnu |
last post by:
Hi,
Am trying to post the data over https and am getting error in
httpwebresponse.getResponseStream.Please help me to get rid of this
issue.
Here is the message from immediate window
?myResp.GetResponseStream()
{System.Net.ConnectStream}
|
by: =?Utf-8?B?VHJlY2l1cw==?= |
last post by:
Hello, Newsgroupians:
I'm creating an application that will read emails from GMail, using the
System.Net.Sockets.TcpClient and POP protocol. However, I am having a
problem with my SslStream.
After I create the TcpClient, I create my SslStream...
stream = new System.Net.Security.SslStream(tcpclient.GetStream()...);
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |