473,241 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,241 software developers and data experts.

Anyone see the error?

I'm trying to serve a PDF file from a webpage so it will load in the
browser.. Can anyone tell what is wrong with this code? I've tried
everything

Thanks

Dim httpwreq As System.Net.HttpWebRequest =
CType(System.Net.HttpWebRequest.Create("http://lafdev2/ReportServeProxy/Migr
ationReport.pdf"), System.Net.HttpWebRequest)
Dim httpWResp As System.Net.HttpWebResponse =
CType(httpwreq.GetResponse, System.Net.HttpWebResponse)
Dim receiveStream As IO.Stream = httpWResp.GetResponseStream
Dim encode As System.Text.Encoding =
System.Text.Encoding.GetEncoding("utf-8")
Dim readstream As System.IO.StreamReader = New
System.IO.StreamReader(receiveStream, encode)
Dim read(256) As Char
Dim count As Integer = readstream.Read(read, 0, 256)
Response.Clear()
Response.ClearContent()
Response.ClearHeaders()
Response.ContentType = "application/pdf"
Response.AddHeader("content-length", httpWResp.ContentLength.ToString)
Response.AddHeader("content-disposition", "filename=report.PDF")
While (count > 0)
'Response.BinaryWrite(System.Text.Encoding.UTF8.Ge tBytes(read))
Dim str As String = New String(read, 0, count)
Response.Write(str) count = readstream.Read(read, 0, 256)
End While
'Response.Flush()
httpWResp.Close()
readstream.Close()
'Response.End()

This is the only code in my page. Can anyone help me out? Thanks
Nov 18 '05 #1
7 1218
as you are copying a binary stream, you should use a binary reader and a
binary writer.

-- bruce (sqlwork.com)
"Scott Meddows" <sc******************@tsged-removeme.com> wrote in message
news:uA**************@TK2MSFTNGP11.phx.gbl...
I'm trying to serve a PDF file from a webpage so it will load in the
browser.. Can anyone tell what is wrong with this code? I've tried
everything

Thanks

Dim httpwreq As System.Net.HttpWebRequest =
CType(System.Net.HttpWebRequest.Create("http://lafdev2/ReportServeProxy/Migr ationReport.pdf"), System.Net.HttpWebRequest)
Dim httpWResp As System.Net.HttpWebResponse =
CType(httpwreq.GetResponse, System.Net.HttpWebResponse)
Dim receiveStream As IO.Stream = httpWResp.GetResponseStream
Dim encode As System.Text.Encoding =
System.Text.Encoding.GetEncoding("utf-8")
Dim readstream As System.IO.StreamReader = New
System.IO.StreamReader(receiveStream, encode)
Dim read(256) As Char
Dim count As Integer = readstream.Read(read, 0, 256)
Response.Clear()
Response.ClearContent()
Response.ClearHeaders()
Response.ContentType = "application/pdf"
Response.AddHeader("content-length", httpWResp.ContentLength.ToString)
Response.AddHeader("content-disposition", "filename=report.PDF")
While (count > 0)
'Response.BinaryWrite(System.Text.Encoding.UTF8.Ge tBytes(read))
Dim str As String = New String(read, 0, count)
Response.Write(str) count = readstream.Read(read, 0, 256)
End While
'Response.Flush()
httpWResp.Close()
readstream.Close()
'Response.End()

This is the only code in my page. Can anyone help me out? Thanks

Nov 18 '05 #2
Given you have the PDF in 'receiveStream' you can copy it to the response
using something like this, avoiding conversion to UTF-8 or strings but of
which will corrupt the PDF file. This is C# but will work similarly in VB.
byte[] buffer = new byte[1024];

int bytes = 0;

while( ( bytes = receiveStream.Read( buffer, 0,
buffer.Length ) ) > 0 ) {
Response.Write( buffer, 0, bytes );
}

Response.Flush

Regards

John

Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New
Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand
phone +64 4 479 1738 fax +64 4 479 1294
web http://www.xmlpdf.com

"bruce barker" <no***********@safeco.com> wrote in message
news:ej***************@tk2msftngp13.phx.gbl...
as you are copying a binary stream, you should use a binary reader and a
binary writer.

-- bruce (sqlwork.com)
"Scott Meddows" <sc******************@tsged-removeme.com> wrote in message
news:uA**************@TK2MSFTNGP11.phx.gbl...
I'm trying to serve a PDF file from a webpage so it will load in the
browser.. Can anyone tell what is wrong with this code? I've tried
everything

Thanks

Dim httpwreq As System.Net.HttpWebRequest =

CType(System.Net.HttpWebRequest.Create("http://lafdev2/ReportServeProxy/Migr
ationReport.pdf"), System.Net.HttpWebRequest)
Dim httpWResp As System.Net.HttpWebResponse =
CType(httpwreq.GetResponse, System.Net.HttpWebResponse)
Dim receiveStream As IO.Stream = httpWResp.GetResponseStream
Dim encode As System.Text.Encoding =
System.Text.Encoding.GetEncoding("utf-8")
Dim readstream As System.IO.StreamReader = New
System.IO.StreamReader(receiveStream, encode)
Dim read(256) As Char
Dim count As Integer = readstream.Read(read, 0, 256)
Response.Clear()
Response.ClearContent()
Response.ClearHeaders()
Response.ContentType = "application/pdf"
Response.AddHeader("content-length", httpWResp.ContentLength.ToString) Response.AddHeader("content-disposition", "filename=report.PDF")
While (count > 0)
'Response.BinaryWrite(System.Text.Encoding.UTF8.Ge tBytes(read))
Dim str As String = New String(read, 0, count)
Response.Write(str) count = readstream.Read(read, 0, 256)
End While
'Response.Flush()
httpWResp.Close()
readstream.Close()
'Response.End()

This is the only code in my page. Can anyone help me out? Thanks


Nov 18 '05 #3
How can I convert that array of bytes into an array of char?

"john farrow" <vi*******@xtra.co.nz> wrote in message
news:eq**************@TK2MSFTNGP10.phx.gbl...
Given you have the PDF in 'receiveStream' you can copy it to the response
using something like this, avoiding conversion to UTF-8 or strings but of
which will corrupt the PDF file. This is C# but will work similarly in VB.

byte[] buffer = new byte[1024];

int bytes = 0;

while( ( bytes = receiveStream.Read( buffer, 0,
buffer.Length ) ) > 0 ) {
Response.Write( buffer, 0, bytes );
}

Response.Flush

Regards

John

Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New
Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand
phone +64 4 479 1738 fax +64 4 479 1294
web http://www.xmlpdf.com

"bruce barker" <no***********@safeco.com> wrote in message
news:ej***************@tk2msftngp13.phx.gbl...
as you are copying a binary stream, you should use a binary reader and a
binary writer.

-- bruce (sqlwork.com)
"Scott Meddows" <sc******************@tsged-removeme.com> wrote in message
news:uA**************@TK2MSFTNGP11.phx.gbl...
I'm trying to serve a PDF file from a webpage so it will load in the
browser.. Can anyone tell what is wrong with this code? I've tried
everything

Thanks

Dim httpwreq As System.Net.HttpWebRequest =

CType(System.Net.HttpWebRequest.Create("http://lafdev2/ReportServeProxy/Migr
ationReport.pdf"), System.Net.HttpWebRequest)
Dim httpWResp As System.Net.HttpWebResponse =
CType(httpwreq.GetResponse, System.Net.HttpWebResponse)
Dim receiveStream As IO.Stream = httpWResp.GetResponseStream
Dim encode As System.Text.Encoding =
System.Text.Encoding.GetEncoding("utf-8")
Dim readstream As System.IO.StreamReader = New
System.IO.StreamReader(receiveStream, encode)
Dim read(256) As Char
Dim count As Integer = readstream.Read(read, 0, 256)
Response.Clear()
Response.ClearContent()
Response.ClearHeaders()
Response.ContentType = "application/pdf"
Response.AddHeader("content-length", httpWResp.ContentLength.ToString) Response.AddHeader("content-disposition", "filename=report.PDF")
While (count > 0)
'Response.BinaryWrite(System.Text.Encoding.UTF8.Ge tBytes(read)) Dim str As String = New String(read, 0, count)
Response.Write(str) count = readstream.Read(read, 0, 256)
End While
'Response.Flush()
httpWResp.Close()
readstream.Close()
'Response.End()

This is the only code in my page. Can anyone help me out? Thanks



Nov 18 '05 #4
Scott Meddows wrote:
How can I convert that array of bytes into an array of char?
You don't want to do this - you want to write the raw bytes.

Use the Response.OutputStream property to get a stream that you can
write byte arrays to.

"john farrow" <vi*******@xtra.co.nz> wrote in message
news:eq**************@TK2MSFTNGP10.phx.gbl...
Given you have the PDF in 'receiveStream' you can copy it to the response
using something like this, avoiding conversion to UTF-8 or strings but of
which will corrupt the PDF file. This is C# but will work similarly in


VB.

byte[] buffer = new byte[1024];

int bytes = 0;

while( ( bytes = receiveStream.Read( buffer, 0,
buffer.Length ) ) > 0 ) {
Response.Write( buffer, 0, bytes );
}

Response.Flush

Regards

John

Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New
Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand
phone +64 4 479 1738 fax +64 4 479 1294
web http://www.xmlpdf.com

"bruce barker" <no***********@safeco.com> wrote in message
news:ej***************@tk2msftngp13.phx.gbl...
as you are copying a binary stream, you should use a binary reader and a
binary writer.

-- bruce (sqlwork.com)
"Scott Meddows" <sc******************@tsged-removeme.com> wrote in
message
news:uA**************@TK2MSFTNGP11.phx.gbl...

I'm trying to serve a PDF file from a webpage so it will load in the
browser.. Can anyone tell what is wrong with this code? I've tried
everything

Thanks

Dim httpwreq As System.Net.HttpWebRequest =

CType(System.Net.HttpWebRequest.Create("http://lafdev2/ReportServeProxy/Migr
ationReport.pdf"), System.Net.HttpWebRequest)
Dim httpWResp As System.Net.HttpWebResponse =
CType(httpwreq.GetResponse, System.Net.HttpWebResponse)
Dim receiveStream As IO.Stream = httpWResp.GetResponseStream
Dim encode As System.Text.Encoding =
System.Text.Encoding.GetEncoding("utf-8")
Dim readstream As System.IO.StreamReader = New
System.IO.StreamReader(receiveStream, encode)
Dim read(256) As Char
Dim count As Integer = readstream.Read(read, 0, 256)
Response.Clear()
Response.ClearContent()
Response.ClearHeaders()
Response.ContentType = "application/pdf"
Response.AddHeader("content-length",


httpWResp.ContentLength.ToString)
Response.AddHeader("content-disposition", "filename=report.PDF")
While (count > 0)

'Response.BinaryWrite(System.Text.Encoding.UTF8.Ge tBytes(read))
Dim str As String = New String(read, 0, count)
Response.Write(str) count = readstream.Read(read, 0, 256)
End While
'Response.Flush()
httpWResp.Close()
readstream.Close()
'Response.End()

This is the only code in my page. Can anyone help me out? Thanks


--
mikeb
Nov 18 '05 #5
Response.write only accepts an array of char :(

I'd use response.binarywrite BUT the buffer doesn't always fill up to
capacity...

"mikeb" <ma************@mailnull.com> wrote in message
news:eA**************@TK2MSFTNGP11.phx.gbl...
Scott Meddows wrote:
How can I convert that array of bytes into an array of char?


You don't want to do this - you want to write the raw bytes.

Use the Response.OutputStream property to get a stream that you can
write byte arrays to.

"john farrow" <vi*******@xtra.co.nz> wrote in message
news:eq**************@TK2MSFTNGP10.phx.gbl...
Given you have the PDF in 'receiveStream' you can copy it to the responseusing something like this, avoiding conversion to UTF-8 or strings but ofwhich will corrupt the PDF file. This is C# but will work similarly in


VB.

byte[] buffer = new byte[1024];

int bytes = 0;

while( ( bytes = receiveStream.Read( buffer, 0,
buffer.Length ) ) > 0 ) {
Response.Write( buffer, 0, bytes );
}

Response.Flush

Regards

John

Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New
Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand
phone +64 4 479 1738 fax +64 4 479 1294
web http://www.xmlpdf.com

"bruce barker" <no***********@safeco.com> wrote in message
news:ej***************@tk2msftngp13.phx.gbl...

as you are copying a binary stream, you should use a binary reader and abinary writer.

-- bruce (sqlwork.com)
"Scott Meddows" <sc******************@tsged-removeme.com> wrote in


message
news:uA**************@TK2MSFTNGP11.phx.gbl...

>I'm trying to serve a PDF file from a webpage so it will load in the
>browser.. Can anyone tell what is wrong with this code? I've tried
>everything
>
>Thanks
>
> Dim httpwreq As System.Net.HttpWebRequest =
>

CType(System.Net.HttpWebRequest.Create("http://lafdev2/ReportServeProxy/Migr
>ationReport.pdf"), System.Net.HttpWebRequest)
> Dim httpWResp As System.Net.HttpWebResponse =
>CType(httpwreq.GetResponse, System.Net.HttpWebResponse)
> Dim receiveStream As IO.Stream = httpWResp.GetResponseStream
> Dim encode As System.Text.Encoding =
>System.Text.Encoding.GetEncoding("utf-8")
> Dim readstream As System.IO.StreamReader = New
>System.IO.StreamReader(receiveStream, encode)
> Dim read(256) As Char
> Dim count As Integer = readstream.Read(read, 0, 256)
> Response.Clear()
> Response.ClearContent()
> Response.ClearHeaders()
> Response.ContentType = "application/pdf"
> Response.AddHeader("content-length",

httpWResp.ContentLength.ToString)

> Response.AddHeader("content-disposition", "filename=report.PDF")
> While (count > 0)
>


'Response.BinaryWrite(System.Text.Encoding.UTF8.Ge tBytes(read))
> Dim str As String = New String(read, 0, count)
> Response.Write(str) count = readstream.Read(read, 0, 256)
> End While
> 'Response.Flush()
> httpWResp.Close()
> readstream.Close()
> 'Response.End()
>
>This is the only code in my page. Can anyone help me out? Thanks
>
>


--
mikeb

Nov 18 '05 #6
Scott Meddows wrote:
Response.write only accepts an array of char :(

I'd use response.binarywrite BUT the buffer doesn't always fill up to
capacity...

Assuming buffer is a byte array containing the data you want written,
and bytes is the number of valid bytes in the array (ie., the array is
not filled):

Response.OutputStream.Write( buffer, 0, bytes)

or
byte [] data = new byte [bytes];
Array.Copy( buffer, data, bytes);
Response.BinaryWrite( data);

or something similar.
"mikeb" <ma************@mailnull.com> wrote in message
news:eA**************@TK2MSFTNGP11.phx.gbl...
Scott Meddows wrote:
How can I convert that array of bytes into an array of char?


You don't want to do this - you want to write the raw bytes.

Use the Response.OutputStream property to get a stream that you can
write byte arrays to.

"john farrow" <vi*******@xtra.co.nz> wrote in message
news:eq**************@TK2MSFTNGP10.phx.gbl...
Given you have the PDF in 'receiveStream' you can copy it to the
response
using something like this, avoiding conversion to UTF-8 or strings but
of
which will corrupt the PDF file. This is C# but will work similarly in

VB.
byte[] buffer = new byte[1024];

int bytes = 0;

while( ( bytes = receiveStream.Read( buffer, 0,
buffer.Length ) ) > 0 ) {
Response.Write( buffer, 0, bytes );
}

Response.Flush

Regards

John

Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New
Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand
phone +64 4 479 1738 fax +64 4 479 1294
web http://www.xmlpdf.com

"bruce barker" <no***********@safeco.com> wrote in message
news:ej***************@tk2msftngp13.phx.gbl. ..
>as you are copying a binary stream, you should use a binary reader and
a
binary writer.
>
>-- bruce (sqlwork.com)
>
>
>"Scott Meddows" <sc******************@tsged-removeme.com> wrote in

message
>news:uA**************@TK2MSFTNGP11.phx.gbl. ..
>
>
>>I'm trying to serve a PDF file from a webpage so it will load in the
>>browser.. Can anyone tell what is wrong with this code? I've tried
>>everything
>>
>>Thanks
>>
>> Dim httpwreq As System.Net.HttpWebRequest =
>>
> CType(System.Net.HttpWebRequest.Create("http://lafdev2/ReportServeProxy/Migr
ationReport.pdf"), System.Net.HttpWebRequest)
>> Dim httpWResp As System.Net.HttpWebResponse =
>>CType(httpwreq.GetResponse, System.Net.HttpWebResponse)
>> Dim receiveStream As IO.Stream = httpWResp.GetResponseStream
>> Dim encode As System.Text.Encoding =
>>System.Text.Encoding.GetEncoding("utf-8")
>> Dim readstream As System.IO.StreamReader = New
>>System.IO.StreamReader(receiveStream, encode)
>> Dim read(256) As Char
>> Dim count As Integer = readstream.Read(read, 0, 256)
>> Response.Clear()
>> Response.ClearContent()
>> Response.ClearHeaders()
>> Response.ContentType = "application/pdf"
>> Response.AddHeader("content-length",

httpWResp.ContentLength.ToString)
>> Response.AddHeader("content-disposition", "filename=report.PDF")
>> While (count > 0)
>>

'Response.BinaryWrite(System.Text.Encoding.UTF8 .GetBytes(read))
>> Dim str As String = New String(read, 0, count)
>> Response.Write(str) count = readstream.Read(read, 0, 256)
>> End While
>> 'Response.Flush()
>> httpWResp.Close()
>> readstream.Close()
>> 'Response.End()
>>
>>This is the only code in my page. Can anyone help me out? Thanks
>>
>>
>
>


--
mikeb


--
mikeb
Nov 18 '05 #7
YOU ARE THE MAN!!!

Response.OutputStream.Write( buffer, 0, bytes) was the ticket.

I was just using response.write.

Thank you VERY much!!! That was the missing piece.

THANK!!!!!!!!!!!!!!!!!

You kept me from working this weekend :)

"mikeb" <ma************@mailnull.com> wrote in message
news:O2**************@TK2MSFTNGP11.phx.gbl...
Scott Meddows wrote:
Response.write only accepts an array of char :(

I'd use response.binarywrite BUT the buffer doesn't always fill up to
capacity...


Assuming buffer is a byte array containing the data you want written,
and bytes is the number of valid bytes in the array (ie., the array is
not filled):

Response.OutputStream.Write( buffer, 0, bytes)

or
byte [] data = new byte [bytes];
Array.Copy( buffer, data, bytes);
Response.BinaryWrite( data);

or something similar.
"mikeb" <ma************@mailnull.com> wrote in message
news:eA**************@TK2MSFTNGP11.phx.gbl...
Scott Meddows wrote:

How can I convert that array of bytes into an array of char?

You don't want to do this - you want to write the raw bytes.

Use the Response.OutputStream property to get a stream that you can
write byte arrays to.
"john farrow" <vi*******@xtra.co.nz> wrote in message
news:eq**************@TK2MSFTNGP10.phx.gbl...
>Given you have the PDF in 'receiveStream' you can copy it to the


response
>using something like this, avoiding conversion to UTF-8 or strings but


of
>which will corrupt the PDF file. This is C# but will work similarly in
VB.
> byte[] buffer = new byte[1024];
>
> int bytes = 0;
>
> while( ( bytes = receiveStream.Read( buffer, 0,
>buffer.Length ) ) > 0 ) {
> Response.Write( buffer, 0, bytes );
> }
>
> Response.Flush
>
>Regards
>
>John
>
>Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New
>Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand>phone +64 4 479 1738 fax +64 4 479 1294
>web http://www.xmlpdf.com
>
>"bruce barker" <no***********@safeco.com> wrote in message
>news:ej***************@tk2msftngp13.phx.gbl. ..
>
>
>>as you are copying a binary stream, you should use a binary reader
and
a
>>binary writer.
>>
>>-- bruce (sqlwork.com)
>>
>>
>>"Scott Meddows" <sc******************@tsged-removeme.com> wrote in

message
>>news:uA**************@TK2MSFTNGP11.phx.gbl. ..
>>
>>
>>>I'm trying to serve a PDF file from a webpage so it will load in the
>>>browser.. Can anyone tell what is wrong with this code? I've tried
>>>everything
>>>
>>>Thanks
>>>
>>> Dim httpwreq As System.Net.HttpWebRequest =
>>>
>>

CType(System.Net.HttpWebRequest.Create("http://lafdev2/ReportServeProxy/Migr
>>>ationReport.pdf"), System.Net.HttpWebRequest)
>>> Dim httpWResp As System.Net.HttpWebResponse =
>>>CType(httpwreq.GetResponse, System.Net.HttpWebResponse)
>>> Dim receiveStream As IO.Stream = httpWResp.GetResponseStream
>>> Dim encode As System.Text.Encoding =
>>>System.Text.Encoding.GetEncoding("utf-8")
>>> Dim readstream As System.IO.StreamReader = New
>>>System.IO.StreamReader(receiveStream, encode)
>>> Dim read(256) As Char
>>> Dim count As Integer = readstream.Read(read, 0, 256)
>>> Response.Clear()
>>> Response.ClearContent()
>>> Response.ClearHeaders()
>>> Response.ContentType = "application/pdf"
>>> Response.AddHeader("content-length",
>
>httpWResp.ContentLength.ToString)
>
>
>>> Response.AddHeader("content-disposition", "filename=report.PDF")
>>> While (count > 0)
>>>

'Response.BinaryWrite(System.Text.Encoding.UTF8 .GetBytes(read))
>>> Dim str As String = New String(read, 0, count)
>>> Response.Write(str) count = readstream.Read(read, 0, 256)
>>> End While
>>> 'Response.Flush()
>>> httpWResp.Close()
>>> readstream.Close()
>>> 'Response.End()
>>>
>>>This is the only code in my page. Can anyone help me out? Thanks
>>>
>>>
>>
>>
--
mikeb


--
mikeb

Nov 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mr Mint | last post by:
Hi all, I have a page named register.php, which is a form for collecting user data. As an example: - I have the fields Name, Surname, email. - In the <form> tag I have action ="" - The page...
2
by: Programatix | last post by:
Hi, I'm working on a project which includes WebServices and Windows Form application. The Windows Form application will call the WebServices to retrieve data from database. The data will be...
9
by: tomakated | last post by:
How do I get rid of the dashes next to the 3, 6, and the 9<?. Also the last row of "------" and the "|" on the last line so that the board will look like this<?. | | | | 1| 2| ...
0
by: ColinWard | last post by:
the title is self explanatory. However although I have figured out how to implement the add-in from code, it consistently fails with the message. "There is no active worksheet". I tried opening...
4
by: Ersin Gençtürk | last post by:
Server : WEB System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.Web.HttpException: The View State is invalid for this page and might be...
0
by: Frank | last post by:
I am attempting to convert an asp file to a asp.net file using C#. The original file has an ActiveX control which is contained in a cab file. The cab file contains the .ocx file which connects...
40
by: Jeff | last post by:
I have a system on a network and want to determine if anyone is currently connected to the back-end files. An interesting twist is that I have noticed that some users can be connected (have the...
1
by: MPutt | last post by:
I apologize if I am posting this to the wrong area, but I am stuck. Here is my problem. I am running a .NET 2003 Windows service against Oracle 9i. This service is attempting to run a stored...
20
by: Pete Marsh | last post by:
Wondering if anyone can see an error with this script. I get a server configuration error. THat could mean a module is not being loaded, but maybe there's a syntax error here, can anyone spot it?...
1
by: Blubaugh, David A. | last post by:
Pauli, Yes, I am utilizing the windows environment. I cannot install f2py. I obtain the following error when I try to execute the setup.py file within the f2py folder located within the...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.