|
mittalpa wrote:
1. How can I send the message out there about my site?
There are several newsgroup that allow announcements of sites and products. Do not remember them at the moment. You might also check into sites that handle press releases, there are several.
mittalpa wrote:
2. How can my site be searchable in Search Engines
Go to the search engines and submit them. There are also sites and products that will do this for you. Personally, there are only a handfull of search engines that get much use so it is pretty easy to do by hand.
2 tips.. 1) search the net for Meta Tags and Robot.txt information. You should use both for your site to help search engines search your site. Meta tags can help keyword listings and site descriptions.
mittalpa wrote:
3. Any other helpful information for site promotion.
A good place to start on a buget is "affiliate programs". Search Google for that and you will find a ton. You can create an affiliate program or sub that out to another company such as DirectLeads.com or LinkShare.com. This can drive traffic to your site based on commisions for products sold or on a per click basis.
Another thing to check into is keyword advertising on Google. Easy to setup and can drive traffic to your site without a lot of cost if your keywords are specific enough.
Rocky Moore <><
|
|
|
|
|
Suggested improvement to:
a script that autimatically enters a the specified character at a certain point in a text box
By webProgrammer
Posted: 12 Aug 2003
This script could be improved with the addition of a line to detect and permit the use of the backspace key:
function mask(str,textbox,loc,delim){
var locs = loc.split(',');
for (var i = 0; i <= locs.length; i++){
for (var k = 0; k <= str.length; k++){
if (k == locs[i]){
if (str.substring(k, k+1) != delim){
if (event.keyCode != 8) //backspace
str = str.substring(0,k) + delim + str.substring(k,str.length);
}
}
}
}
textbox.value = str
}
|
|
|
|
|
thanks for the addition, I was about to add that myself, when I noticed your addition/fix.
|
|
|
|
|
Hi. I'm not sure this is the right message board for this question, but here goes:
I have a C# client that consumes web services that are written in java developped on Axis. I've had no problems with this until now when they introduced a web service that returns a file as an attachement using datatype javax.activation.DataHandler. According to the 'deliverer' of the service I have to write the stubs my self but should appart from that not have any problems using the service.
I have not yet figured out how to write the stub for the method returning a DataHandler object and I read somewhere that it is impossible to use a web service returning this datatype in a C# client. Then again somebody else said that if the 'deliverer' of the service implement a web service that reads the file and transmits it as byte[] that would be ok.
Can anyone tell me what is really the case? It would of course be most conveniant for me if I can write a consumer of the original service but if I need to get them to develop the extra byte[]-wrapper service then so be it. I guess it would be possible to write a component in java that the C# client uses for the calls to the web service, but my knowledge of java is rather small.
Thanks
/EnkelIk
|
|
|
|
|
Hi.
I found a component to make a .NET wrapper for the .jar defining the DataHandler class, so it feels like I have advanced one little step. So I include the wrapper dll and try to use DataHandler just like any object and the code compiles without warnings but I can't run it because as it turns out the DataHandler has no public default constructor. The error telling me that amy method cant be reflected.
Logically serializing works the same in both .net and on a java-plattform, and I have a sample code how to do this in java.
The java code looks like this:
java.lang.Class jafsf = org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.class;
java.lang.Class jafdf = org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory.class;
qName = new javax.xml.namespace.QName("http://activation.javax", "DataHandler");
cachedSerQNames.add(qName);
cls = javax.activation.DataHandler.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(jafsf);
cachedDeserFactories.add(jafdf);
so obviuosly there are 'custom' serializers for the DataHandler object. Now how can I use these in .NET?
My code currently looks like this:
<system.diagnostics.debuggerstepthroughattribute(), _
="" system.componentmodel.designercategoryattribute("code"),="" system.web.services.webservicebindingattribute(name:="SecureCertificateFetcherSoapBinding" ,="" [namespace]:="http://some.where.tm/axis/services/SecureServiceFetcher" ),="" system.xml.serialization.soapincludeattribute(gettype(datahandler)),="" system.xml.serialization.soapincludeattribute(gettype(errorobject))=""> _
Public Class SecureServiceFacadeClientService
Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
'<remarks>
Public Sub New()
MyBase.New()
Dim urlSetting As String = System.Configuration.ConfigurationSettings.AppSettings("MYDAC.MyService.SecureServiceFacadeClientService")
If (Not (urlSetting) Is Nothing) Then
Me.Url = String.Concat(urlSetting, "")
Else
Me.Url = "http://some.where.tm/axis/services/SecureServiceFetcher"
End If
End Sub
'<remarks>
<system.web.services.protocols.soaprpcmethodattribute("", requestnamespace:="http://some.where.tm/axis/services/SecureServiceFetcher" ,="" responsenamespace:="http://some.where.tm/axis/services/SecureServiceFetcher" )=""> _
Public Function getService(ByVal in0 As UserVO, ByVal in1 As SecureServiceVO) As <system.xml.serialization.soapelementattribute("getservicereturn")> SecureServiceVO
Dim results() As Object = Me.Invoke("getService", New Object() {in0, in1})
Return CType(results(0), SecureServiceVO)
End Function
'<remarks>
Public Function BegingetService(ByVal in0 As UserVO, ByVal in1 As SecureServiceVO, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("getService", New Object() {in0, in1}, callback, asyncState)
End Function
'<remarks>
Public Function EndgetService(ByVal asyncResult As System.IAsyncResult) As SecureServiceVO
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0), SecureServiceVO)
End Function
End Class
where the class SecureServiceVO contains the DataHandler and ErrorObject (which has a public default constructor).
My quess would be that I need to replace the
System.Xml.Serialization.SoapIncludeAttribute(GetType(DataHandler)), _
line with something pointing at the org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.class;
How do I do this? And how do I specify that this is the serializer and there is another factory for the deserializer?
Please help!
/EnkelIk
|
|
|
|
|
Hello there,
I used ASP.NET to develop some web applications. I want to design a web page now, but not sure how to get it done, what's the procedures? Can anybody advise me where I can find the tutorials for web page design and how to get it published, etc? Thanks!
|
|
|
|
|
There are some good tutorials on www.asp.net[^].
"Welcome to Arizona! Drive Nice - We're Armed..." - Proposed Sign at CA/AZ Border
|
|
|
|
|
Anyone familiar with MSGRAPH.Chart?
I'm trying to write a script that generates a GIF on the fly based on values passed in as parameters. Basically I'm trying to reproduce the blue/pink used/free disk space pie chart shown in Explorer's drive properties.
Just about everything's fine, except that the exported GIF *always* has a white border around it, and no property I've found seems to get rid of it. The documentation (graph9.chm from Office 2000, off the top of my head) is worthless. I can email the HTML file (3KB) to anyone who cares to take a shot at it; I'd post it here but embedding HTML in these HTML-based forums isn't really a good idea.
My email is danield3_@_themail.com (remove the two underscores)...I'd be more than happy to post the results here once the problem is worked out.
|
|
|
|
|
Hello, I am trying to write a simple javascript function. I want to read in the values of heading nodes in an HTML document and then make a list of them. I want to then use this to make a template which contains a menu which can update the navigation bar depending on the html content. the code I used is
var headings1 = getElementsbyType('h1');
then I tried to access the element to produce a list using a for loop
var temp ="<p>"
for (i=0; i<headings1.childNodes.length;i++)
{
temp += headings1.childNodes[i].data;
}
temp += "<\/p>"
to make a list something like
NO. of H1s
firstchild
secondchild
etc..
No. of H2s
etc etc..
I''m quite new to DHTML, can anyone spot what I'm doing wrong?
thanks(or suggest a good tutorial?)
Andy
|
|
|
|
|
Check out Microsoft's Documentation[^] on getElementsByTagName().
This is in the W3C's DOM Level 1 ... always a good thing to use standards.
Get the elements:
var headings1 = document.body.getElementsByTagName("H1");
Show the length:
alert(headings1.length);
Show the list:
for (var i = 0; i < headings1.length; i++) {
alert(headings1.childNodes[i].nodeValue);
}
Wally Atkins Newport News, VA, USA
|
|
|
|
|
I have a dll which access the key store MY, the program works fine outside of IIS (VB for example). Within IIS (in an ASP file which uses the dll), I get error 5, which corresponds to access denied. I am calling CertOpenSystemStore. Please help.
Thanks,
AD
|
|
|
|
|
I try to localize my web application. When I put the French resource file
in Visual Studio.NET 2002 to generate the satellite assembly then it works.
But if I use Resgen and Al tool to generate the satellite assembly then it does not work. I use ILDASM tool to investigate them and I see the difference is
1. The satellite assembly is built by Visual Studio.NET:
.mresource public 'CustomControls.CustomControlResources.fr-FR.resources'
{
}
2. The satellite assembly is built by Resgen and Al tools:
.mresource public CustomControls.CustomControlResources.fr-FR.resources
{
}
Could you please help me to generate a satellite assembly using Resgen and
Al tools the same as Visual Studio .NET 2002 does (having quote characters)?
Thanks in advance.
|
|
|
|
|
I want to upload some image files to the web server dynamically from my webpage.I have a folder in webserver with write permission.But when i try to upload the file it asks for password each time .Pleas help me what to do with
source code.Its very urgent
|
|
|
|
|
Make sure the asp.net account has write permission.
|
|
|
|
|
Just a wild guess...
Are you using HTTP or FTP for upload?
Are you running a Apache or windows server?
If your running an Apache and maybe windows(i'm not sure) you might wanna make sure your .htaccess file isn't causing this password prompt.
Just remove the file period should do the trick.
hth
Cheers
I'm drinking triples, seeing double and acting single
|
|
|
|
|
Hi Pradipta,
Should be that designated folder is a password protected and is disabled from 'Anonymous Access'.
Deepak Kumar Vasudevan
http://deepak.portland.co.uk/
|
|
|
|
|
hi,
i am not able to open the internet service manager page properly.It is giving the error "error connecting to ...."
"unable to connect to target machine".i dont know how to fix this problem.can anybody help me in fixing this one? or is it any service pack problem,i tried to get the latest iis service pack from the net but in vain.can any body give me the url where i can download it?
thanks for all in advance
|
|
|
|
|
You need to provide a bit more detail here. What version of IIS are you running? On what version of Windows? And when do you get the "unable to connect to target machine" message? I got that message on my Win2K server using InterDev to build web pages, until I realized that I have to give myself authoring rights on the web server. You may be dealing with a similar problem, but there's no way to tell from the question as posted.
"Welcome to Arizona! Drive Nice - We're Armed..." - Proposed Sign at CA/AZ Border
|
|
|
|
|
Hi,
I am using IIS 5.0 on WINDOWS 2000 Professional Server,I get the "Unable to Connect to Target Machine" error when i manually open the Internet Services Manager Page,where the default ftp,web,smtp resides and none of the web pages are opening.
waiting for a response!!
|
|
|
|
|
When you open ISM, does it display (stopped) beside the default ftp, web, and smtp services? If so, did you try starting them? If not, are you sure you have permissions set correctly to allow full access? Highlight the service in ISM, then right-click and check the properties.
When I first tried IIS5.0, it was on a Win2K Pro installation, and I did not have automatic rights to edit and publish, even though I was the Administrator. That permission had to be manually set. Once I did so, FrontPage and InterDev had no trouble connecting to the server.
"Welcome to Arizona! Drive Nice - We're Armed..." - Proposed Sign at CA/AZ Border
|
|
|
|
|
thanks...
except vs.net and asp.net web matrix
|
|
|
|
|
Notepad Just kidding, any text editor with syntax highlighting will do. I'd recommend the shareware EditPlus[^]. I think they have a trial version on their web site.
Rado
|
|
|
|
|
thank you, I had get it...
|
|
|
|
|
|
He'll probably want to get their ASP.NET plugin, too - it's helpful when doing ASP.NET.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|