|
Maybe you don't need to access to the WShell API, just creating a FileSystem object (FSO), but the user will have a mess about insecurity page, and if had a AV this will launch the creation of FSO, so that better way I imagine, it's make a little installer, you can try with NIS, it's good.
----
hxxbin
|
|
|
|
|
IHMO it would just be easier to wrap the windows shell in an activex control. Either way your still going to be requested to permit the downloading and usage of an activex control.
Cheers
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
Migration wrote:
Anyone out there know how to enable the creation of the internet shortcut onto desktop with a customised icon by embedding this function in a web page? Maybe using asp or java script? Therefore when user clicked on this new icon on the desktop, it will launch again the index page.
Thanks
Not being funny, but I don't want my web browser to do that if I'm on your page. If your page is geuinely useful, then I'd make a favorite or shortcut for it anyway.
Being slightly more useful - there was some stuff to do with installing "desktop items" (whatever that might mean) using something called a DesktopComponent, which was originally an IE4 thing related to Channels (which are now defunct). That might help you, but I don't know anything about it beyond that, so YMMV.
Ian Darling
"The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt." - Bertrand Russell
|
|
|
|
|
Thanks for the reply. Guess I will just create a buttton to faciliate user to add link to favourite.
|
|
|
|
|
I’m soon running into a program project where the goal is to make the following:
We want to scan users interaction on our Webb page. Which links they click on and so on.
We will start with a e-mail where they click on a link to our page. The link should be specified in some way that we know which of our customers doing what?
We have a quite good knowledge about .NET and usual Internet protocols like HTTP and so on.
Really need suggestions how to tackle this problem. Our web page is written in .asp but nowadays we would prefer ASP.NET.
Thanks - Anders
...and justice for all
APe
|
|
|
|
|
There is software out there that will parse and analyze server log files and return info like: most popular page, least popular page. Common search engine keywords, etc...
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
awstats is a good log analyser
if thats what ur looking for
otherwise u can write a hook that captures all clicks on links and logs them in ur db b4 passing the click onto the reqd destination
"there is no spoon" biz stuff about me
|
|
|
|
|
Any tip how to make that "hook".
HttpHandler?
...and justice for all
APe
|
|
|
|
|
no its even simpler than that
all links are of the form:
my_logging_function(link)
the logger just logs and then redirects to the link
"there is no spoon" biz stuff about me
|
|
|
|
|
I have a problem it seems that when I try to send a file in the html format it doesnot send the saved html files i have saved based on the response. For instance I have four different html emails to choose from based on the customers request. Originaly I had no problems using this code in the CDONTS format where I could tell it what type of mail it was based on the body format.By the way I'm loking for independant web developers that Know asp.net or asp to develope and maintain web sites.
Email me at marco@chna.com
<br />
<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows Library" --><br />
<br />
<!--METADATA TYPE="typelib" UUID="00000205-0000-0010-8000-00AA006D2EA4" NAME="ADODB Type Library" --><br />
<!--#INCLUDE FILE="settings.asp" --><br />
<br />
<%<br />
function sendemail(cEmail,cName,cSubject,cBody,cBCC,lHTML)<br />
On Error Resume Next<br />
<br />
if gEmailComponent="CDO" then<br />
Dim objCDO<br />
Dim iConf<br />
Dim Flds<br />
<br />
'Const cdoSendUsingPort = 2<br />
<br />
Set objCDO = Server.CreateObject("CDO.Message")<br />
Set iConf = Server.CreateObject("CDO.Configuration")<br />
'cdoSendUsingPort<br />
Set Flds = iConf.Fields<br />
With Flds<br />
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2<br />
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mail-fwd"<br />
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25<br />
.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 40<br />
.Update<br />
End With<br />
<br />
Set objCDO.Configuration = iConf<br />
<br />
objCDO.To = cEmail<br />
objCDO.BCC = cBCC<br />
'objCDO.Value("Reply-To") = gCompanyEmail<br />
objCDO.From = gCompanyEmail<br />
objCDO.Subject = cSubject<br />
'objCDO.importance = 1<br />
<br />
'Set body format for lHTML<br />
if lHTML then<br />
objCDO.HTMLBody = cBody<br />
else<br />
objCDO.TextBody = cBody<br />
end if<br />
objCDO.Send<br />
'set objCDO = closed<br />
'Set iConf = closed<br />
'Set Flds = closed<br />
'Response.redirect "confirmation.html"<br />
' Any existing page can be used for the response redirect method<br />
'END IF<br />
<br />
set objCDO = nothing<br />
Set iConf = Nothing<br />
Set Flds = Nothing<br />
end if<br />
Error=Err.description<br />
<br />
sendemail=Err=0<br />
<br />
end Function<br />
<br />
%>
Your help is greatly apprciated...........
|
|
|
|
|
Anyone know of message boards which are open source and powerful like CP? I need it in PHP however
I have tried the PHP version available with the message boards source for CP boards here on CP, but it totally sux...
So does anyone know of an alternate PHP message board? I'm not a real fan of those phpBB type forums...however if they integrate into the body of a web site easily (so they don't require a sepaerate page) I'd be interested.
Thanks
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
Probably one of the most popular PHP boards that I've seen is phpBB. I haven't used it too much, so I don't know how much is there; but, it should be worth checking out.
Michael Flanakin
Web Log
|
|
|
|
|
One of these days I will be releasing my port of the CP forums into the wild, but I don't have a time frame for you. Best not to rely on me if you can find a different solution.
http://www.sagara.org/cpforums/[^]
|
|
|
|
|
Hockey wrote:
those phpBB type forums
Those r really nice... I tried them once... and the skins etc are good
I was born intelligent Education ruined me!.
|
|
|
|
|
please i have troubles with the error The underlying connection was closed: An unexpected error occurred on a receive. in my web service somebody knows how to avoid it or resolve this error . thanks
|
|
|
|
|
KLJUCE wrote:
An unexpected error occurred
Ah! Yes.... You need to expect the unexpected.
Sorry, that this was absolutely no help - it just tickled my sense of humour.
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
|
|
|
|
|
Hi,
I have a page that does a password change. It takes in parameters and updates it to the database.
Now, I want the main page to call this page in a modal window.
Problem is that when the user hits okay in the modal, a new window pops up. How do I avoid that?
I'm new .. so detailed examples or instructions would be appreciated.
|
|
|
|
|
Every time I try to call a web method, I get this error: System.Net.WebException...unerlying connection closed. cannot connect to remote server. I can successfully add a web reference, meaning I can see web service. When I tried compiling the project in a different machine, and running it there...it works.
|
|
|
|
|
I'm creating an installer for a web application, however I am a bit stumped on how to create the shortcuts to access the homepage. (The application is being installed on a stand-alone local machine)
I created a shortcut for the programs menu and the Fafourites folder however neither opens the home page properly. On my Development system it open the Home.aspx into Visual Studio. When I look at the shortcut the installer actually created it points to C:\inetpub\wwwroot\..... rather than http:\\localhost\....
Does anyone have any ideas on how to get the shortcut to work properly. (Or have pointers to documentation I may have missed)
Thanks,
Colin.
EuroCPian Spring 2004 Get Together[^]
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
|
|
|
|
|
Is this possible....?
function myEvent {
// raise event command //
}
------
Codebehind .aspx.vb page
------
Protected withevents myEvent as ???
sub myEvent_fired() handles myEvent
msgbox("Your event has fired!")
end sub
------
Maybe something completely different, but hopefully this spells out the problem!
|
|
|
|
|
I'm not sure I understand your meaning, myEvent is going to be a client-side function, and the CodeBehind of course runs on the server. You can always do the usual things from the Javascript function, like submit the form, or set the value of a hidden field, if that helps. If not, give us a bit more detail on what you're trying to do, and we can give you the best work-around.
Also, don't forget that we have a separate dedicated forum for ASP.NET now: http://www.codeproject.com/script/comments/forums.asp?forumid=12076[^]
Marcie
http://www.codeproject.com
|
|
|
|
|
Yes, your understanding was correct!
I have a client side js function that needs to raise an event when it has finished so that the codebehind can process either the contents of a hidden field on the page to store what has happened, or indeed just handle a passed data string.
In a perfect world I could raise an event thus.
window.external.raiseevent('myEventFinished','string data to send to server codebehind')
And consume this in the server codebehind code, although have not worked out how yet!
But maybe I cannot send a string of data this way, and need to store the data in a hidden control before calling the event.
Either way, I am stuck on consuming the event from the server codebehind file.
Thank you for the new link, I will also check this out!
Many thanks Marcie,
Mike.
|
|
|
|
|
Hi,
Wenn i have my database open(not mutation of tables) the website itself doesn't work anymore. I have to close Access and than it works. Does anyone have a sollution for this?
Thanx in advance,
Willem
|
|
|
|
|
By default, I believe Access opens in exclusive-mode, meaning only one user can have the database open at a time.
Marcie
http://www.codeproject.com
|
|
|
|
|
As Datagridgirl said, Access does tend to open in Exclusive mode. But another thing to check is the permissions of the directory where the database lives. When Access opens a database it creates a ".ldb" file used for locking. I have seen it where the security rights only grants access to the owner of a file, which in your case would be Access. If exclusive is not the problem, check security rights.
--
Joel Lucsy
|
|
|
|