|
|
r u sending the right http headers b4 u send the data?
"there is no spoon" biz stuff about me
|
|
|
|
|
Hi Lauren,
I am sending something like this
<br />
<% Response.Buffer = TRUE <br />
Response.ContentType = "application/ms-excel" %><br />
<html><br />
<body><br />
<%<br />
Dim vntStream<br />
Set oMyObject = Server.CreateObject("MyObject.BinRead")<br />
vntStream = oMyObject.readBinFile("c:\temp\tempxls.xls")<br />
Response.BinaryWrite(vntStream)<br />
Set oMyObject = Nothing<br />
Response.End<br />
%><br />
</body><br />
</html><br />
Thanks in adavance,
AL
|
|
|
|
|
There must be no text outside the asp-tags (<% %>).
Especially remove the body-Tags.
|
|
|
|
|
I am primarily concerned with results on google only and have a fair idea of how SEO used to work META tags, keywords, TITLE, etc...
While reading an optimization sheet for google it suggests there isn't much you can do to optimize a search with google becuz it relies heavly on linking with other sites.
So my question is this...
I have a few products I would like to sell on my site and have considered developing a seperate web site dedicated just to that product
www.product1.com
www.product2.com
etc...
Each of these products would have a link somewhere pointing back to my web site and visa-versa...
Supposedly this is how to drive your ranking up on google....
So, does a sub-domain work equally as well?
www.product1.mywebsite.com
www.product2.mywebsite.com
I read something about this not working becuz the sub-domains don't have static IP's?
If I have made any sense and you know what your talking about, please give me yer opinions...
Thanks
Cheers
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
What you're describing is commonly known as a link-farm, and Google has been cracking down on those as well.
Rather than spend the time and money on setting up multiple web sites, try buying some ad space on relevant sites, or even on Google. I'd bet that you get better response and visitors clicking on an ad are probably looking to buy some product (hopefully yours naturally).
|
|
|
|
|
I have to consume a set of Java APIs on the web server application from my ASP.net web service. Is there a way to do it?
|
|
|
|
|
A number of examples of web services include a .asmx file that typically has a single line
<%@ WebService Language="c#" Codebehind="WebService1.cs" Class="MyService.WebService1" %>
This is also documented in the .NET SDK for creating a web service. In the case of the examples and the SDK they indicate that if you open the file with a browser, the browser should display information about the web service. I am very unsuccessfully having IE6.0 do that for me. All the browser will do is prompt me for a program to open the file with and when I intruct it to use IE, it simply displays the text of the file. I'm likely interpretating something very wrong here, but at a complete loss of what. Any kind pointers would be appreciated. Thanks.
Chris Meech
We're more like a hobbiest in a Home Depot drooling at all the shiny power tools, rather than a craftsman that makes the chair to an exacting level of comfort by measuring the customer's butt. Marc Clifton
VB is like a toolbox, in the hands of a craftsman, you can end up with some amazing stuff, but without the skills to use it right you end up with Homer Simpson's attempt at building a barbeque or his attempt at a Spice rack. Michael P. Butler
|
|
|
|
|
I could be wrong with this, but the asmx file, should be able to give you information when you go to the webservice that is hosted on the IIS. If you just open up the file, it may not work. What you would need is a WSDL file and I think you can generate it from the .NET command prompt.
Hope this helps, or I can be totally off.
|
|
|
|
|
Actually you are pretty close to what I'm finding as I dig in other areas of the .NET SDK. It's not so much that the documentation is wrong, but rather it just doesn't tell the whole story and what is really unfortunate is that in some cases it's becoming evident it is dependant upon the user working with VS.NET in putting their solution together. The details of deployment are still sketchy to me, but I think I'm getting closer. Thanks for the help.
Chris Meech
We're more like a hobbiest in a Home Depot drooling at all the shiny power tools, rather than a craftsman that makes the chair to an exacting level of comfort by measuring the customer's butt. Marc Clifton
VB is like a toolbox, in the hands of a craftsman, you can end up with some amazing stuff, but without the skills to use it right you end up with Homer Simpson's attempt at building a barbeque or his attempt at a Spice rack. Michael P. Butler
|
|
|
|
|
I'm very new to the Web development side of .NET and need to do the following:
Create a web service that uses Window Authentication which will be consumed by clients that will not be running on the same domain.
I've seen how you can set up a ASP.NET project to use Windows authentication (using the Web.config file), is it the same for Web service.
How would securely authenticate the client without having to enter the credentials every time a method from the web service is invoked?
Thanks in advance
|
|
|
|
|
Hi there,
I've used the following code on my store page to determine if the current page is actually in the regsoft store or not, allowing the use of the same .js file for both uses:
<code>
function WriteBarLinkUnterminated(RelativeUrl)
{
StoreUrlCriteria = "regsoft";
CurrentUrl = "";
CurrentUrl = document.location.href;
if(CurrentUrl.search(StoreUrlCriteria) != -1)
{
// In store. Use absolute url.
AbsoluteUrl = "http://www.aephid.com/";
AbsoluteUrl += RelativeUrl;
document.writeln("<a href = '" + AbsoluteUrl + "' target = '_top'>");
}
else
{
// Not in store.
document.writeln("<a href = '" + RelativeUrl + "' target = '_top'>");
}
}
</code>
However, I've recently found security errors popping up saying "Permission Denied". More research shows that this property is both deprecated, and also security rules no longer let you read it --- only change it!
see:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/om/xframe_scripting_security.asp
Does anyone know the proper way I can replace this block of code? I can't just use absolute urls because then I cannot navigate the website off the local hard drive and test it before it is deployed.
Please help!
swine
[b]yte your digital photos with [ae]phid [p]hotokeeper - <a href = http:\\www.aephid.com\photokeeper-default-frame-codeproject.shtml>www.aephid.com</a>.
|
|
|
|
|
Anyone have any suggestions for a search engine to use on a website? I have a site (designed with php, so no ASP search engines please), thats documentation section is quite large, and I frequently get questions from people about how to find stuff.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
|
|
|
|
|
|
Yeah I have, but I was hoping folks here might have some first hand experience with one.
I have seen a bunch of junky looking stuff, with one or two possibbles that look useful.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
|
|
|
|
|
Jim Crafton wrote:
I have seen a bunch of junky looking stuff, with one or two possibbles that look useful.
Are you talking about people that use google for their search engine on their site or just junky search engines they have developed? I currently use google for my site ( DeveloperNotes.com[^]) and it's rather simple, just set up an account with google and you can even get your banner logo added to the top of your search results page; all for free.
- Nick Parker My Blog
|
|
|
|
|
Yeah we looked into using google. The problem is that doesn't give as many hits as we'd like, plus we'd like to be able to control the presentation a bit more.
I was referring to junk search engines that people develop, not google.
The deal is that I would like to present a search page to search through source generated (via doxygen) documentation that spans over 1,800 html files (almost 28 megs).
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
|
|
|
|
|
Does anyone have any info on using web services with Classic ASP? (ASP3.0) I'm about to go for a hunt on the web to see what I can find out, but if anyone can point me to a good start, that would be appreciated.
NATHAN RIDLEY
Web Application Developer
email: nathan @ netlab.com.au
[remove the spaces before and after the @ symbol]
|
|
|
|
|
You can't go wrong with the 4guysfromrolla guys. Helped me a lot in the begining and I still use them.
regards,
Paul Watson
Bluegrass
South Africa
Christopher Duncan quoted:
"All Corvettes are red. Everything else is just a mistake."
Crikey! ain't life grand?
Einstein says...
|
|
|
|
|
Great source, Paul. I also like www.w3schools.com[^] for excellent tutorials.
"Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.
|
|
|
|
|
Thanks guys, checking both sites out.
NATHAN RIDLEY
Web Application Developer
email: nathan @ netlab.com.au
[remove the spaces before and after the @ symbol]
|
|
|
|
|
|
Hi,
I have been using data binding for a lot of features and it is kind of working, but I keep getting into the chicken and the egg situation; I initialise the dataset in Page_Load, but, for example with a databound combo box, its selection resets when the page loads. This shouldn't happen because I have set the "AutoPostBack" property to true, if I temporily take out the dataset initialisation code then the combo box works fine, but of course with no data in it.
Would anybody be able to point me in the right direction please?
Regards,
Lea Hayes
|
|
|
|
|
maybe you need to use
if (!Page.IsPostBack) {
}
in your Page_Load
Wally Atkins Newport News, VA, USA
|
|
|
|
|
I've got a textbox in which I don't want the user to be able to use the backspace button. How can I cancel? I tried the event.cancelBubble but it doesn't seem to work.
Please help.
|
|
|
|