|
Hi,
Quick question. I ran Visual Studio 2005 BETA for a while and found the webpartz function where you can create a site like MSN. Is there a way to create my own web partz as I am back on .NET 2003 and this version does'nt have this function.
Thank you
Illegal Operation
Making Computer Software Talk
|
|
|
|
|
Welcome to 'we add new features with each version so people will keep buying them'
ASP.NET has heaps of stuff not in VS2003.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Where can I view these "Stuff" to buy?
Illegal Operation
Making Computer Software Talk
|
|
|
|
|
I'm talking about VS2005. The prices are on the Microsoft site, somewhere.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi,
I like this cool timecount feature in this board.
Any hints how it is coded?
|
|
|
|
|
(In pseudo code, of course)
DateTimeRightNow - PostDateTime
And then formatted accordingly.
Jon Sagara
As you may presently yourself be fully made aware of, my grammar sucks.
Sagara.org | Blog | My Articles
J.O.N.S.A.G.A.R.A.: Journeying Operational Neohuman Skilled in Assassination, Galactic Analysis and Rational Astrophysics
|
|
|
|
|
I have installed an COM object on an client machine. Then I am using an CAB file containing an OCX (with references to the COM Object) on the web to use the installed COM object.
When the Web page is loading I get this message
IE has blocked this site from using an ActiveX in an unsafe manner. As a result, this page may not display correctly
I have signed the CAB and OCX file, and the OCX is marked as safe and for initializing.
I am using Javascript to access the ocx from the web
Spaz
|
|
|
|
|
when a website is minimized to view
another website , the minimzed one pops back.This doesnt happen always. Why is this happening....
Pls give me the information & if possible a solution to prevent this from happening.
Thanx........
smitha
|
|
|
|
|
Hi,
I need to find out how to impliment Search functionality on a website, using SQL 2000 and C#. Basically "How do I start setting up the querries in SQL to start searching for words?"
Thank a Million!
Illegal Operation
Making Computer Software Talk
|
|
|
|
|
Try this SQL:
SELECT productName FROM tProducts WHERE prodName LIKE 'fish%'
Returns:
productName
--------
fishy coke
fishfinder
fish
fishermans friend
Change searchcritera 'fish' to your variable.
GL /x
|
|
|
|
|
Hello, I am developing a Web project whish uses HTML as front-end and JSP as back-end(middleware). I want to know how can i access USB from JSP.
Thanks
|
|
|
|
|
Do you mean Universal Serial Bus? or some other programming Jargon?
What exactly are you trying to achieve here?
|
|
|
|
|
Hi,
The array(0) is foo when I type it out trough DOM so why cant this work?
Ive tried a lot, please help!
[code]
function handleResponse() {
if(http.readyState == 4){
var response = http.responseText;
var update = new Array();
if(response.indexOf('|' != -1)) {
update = response.split('|');
document.getElementById(update[0]).innerHTML = update[1]; //not working!
//document.getElementById('foo').innerHTML = update[1];//works!
}
}
}
[/code]
|
|
|
|
|
Why are you creating an array that you don't use?
response.indexOf('|' != -1)
should be
response.indexOf('|') != -1
---
b { font-weight: normal; }
|
|
|
|
|
Hi Guffa,
Im getting this XmlHttpResonse "foo|This is foo". That was my intention anyway. Turns out I'm getting a lot of other stuff to so that was my problem, array(0).length was 250 not 3 (foo).
Btw, seems like there is no difference in those two coding techniques for indexOf, they both work, but yours is more good looking!
Thanks! /x
|
|
|
|
|
xaphod wrote:
Btw, seems like there is no difference in those two coding techniques for indexOf, they both work, but yours is more good looking!
Are you kidding? My code works, the other doesn't.
The expression '|' != -1 will always evalute to the value true, as the string '|' always will be different from the number -1. As the indexOf method uses a string parameter, the boolean value true will be converted to the string 'true'. The call response.indexOf('|' != -1) therefore does exactly the same as response.indexOf('true') . Unless the string response starts with the letters 'true', the call will always return a non-zero value.
---
b { font-weight: normal; }
|
|
|
|
|
You're right!
Thanks for sharing!
Best regards /xaphod
|
|
|
|
|
hellow to all ...
i had purchas a dns ..
and i have a website that is hosted in some free webserver ..
how can i direct the domain to this free webserver that have the site ?
thank's a lot
-- modified at 15:05 Saturday 17th September, 2005
|
|
|
|
|
hi there,
I've not tried with this before.
But basically, the page "localstart.asp" will be executed when sending a request to the domain. So if u want to redirect all these requests to the free webserver, just simply modify the page above to redirect these request to the free server.
That's just my thought.
<< >>
|
|
|
|
|
hello everyone.
if i have a html form in the current page and i type in IE's address box
javascript:document.forms[0].action="index2.asp"; then instead of setting the form to post the data to index2.asp it just generates another page just containing "index2.asp" text.
also, if i type javascript:document.forms[0].onsubmit=alert(); it immediately executes alert() showing a messagebox, instead of showing it when i click the submit button.
this has to be done in IE's bar, not in the html page itself.
what am i doing wrong?
|
|
|
|
|
The second one is easy. You set onsubmit to be the return value of the call to alert(), of course it will execute alert() immediately to get the return value to put into onsubmit. If you want onsubmit to contain the code that calls alert, you have to enclose it in quotes.
The first one I haven't figured out yet...
---
b { font-weight: normal; }
|
|
|
|
|
to enclose what in quotes?
please post the full line, so that when i submit the form(not when i press enter, after typing code into the address bar) an empty message box appears.
|
|
|
|
|
Enclose the code in quotes.
document.forms[0].onsubmit="alert();";
---
b { font-weight: normal; }
|
|
|
|
|
that's what i'm trying to tell you. i doesn't work. as soon as i type(or paste) the code in the address bar and hit enter the page changes to a blank page containing only "alert();" without the quotes. right-click -> view source on the page opens notepad containing only "alert();"(without the quotes). have you tried this yourself and it works?
|
|
|
|
|
Oh, now I see.
That is because the code returns a value, that value is used to create a new page. Put void(0); at the end of the code, and it will not create a new page.
The same happens if you have javascript in the href property of a link.
---
b { font-weight: normal; }
|
|
|
|