|
Welcome to The Code Project.
Please don't post the same question in more than one forum. If you think that it is relevant for more than one forum, post it in the most relevant one, and post a link to the thread in the others.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
I have one web page with button.When i click the button I want to Invoke EXE from my client(The EXE is already in Client),Is it possible or not .If it possible then How?Please help me.....
Regards,
Justindhas
|
|
|
|
|
From what I can Remember this function if open not allowed in HTML pr JavaScript.
This is for the obvious reason that people don't want websites accessing their files.
You may be able to do this however, through the nightmare that is Java. I think that6 an applet would be able to call a file.
Oh well good luck with this.
<div class='ForumSig'></div>
|
|
|
|
|
I've used the create an ActiveX which calls ShellExecute to fire up an external app - works quite well
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Process rsProc = new Process();
rsProc.StartInfo.WorkingDirectory = "C:\\Microsoft SQL Server\\90\\Tools\\Binn\\";
rsProc.StartInfo.FileName = "rs.exe";
rsProc.StartInfo.Arguments = "-i _runreport.rss -s http://10.254.124.190/ReportServer -v ID=" + ID;
rsProc.Start();
rsProc.WaitForExit();
|
|
|
|
|
I will preface this by saying I am not a programmer. I can usually customize code to suit my needs but that's about it.
I hope I can describe what I am looking for.
I am looking to count how many times a button (just an image with a _blank url) is pressed and show that count on another page.
I've attempted to Google this with no good results.
If you can't help me can you point me in the right direction? I'm doing this for work. Not something I am hired to do but as a freelancer I try to give as much as I can.
|
|
|
|
|
function count_click()
{
var btn_hit = document.form_name.hidden_name.value;
counter = btn_hit + 1;
btn_hit = counter;
}
through hidden variable you can pass the counter value to the next page
|
|
|
|
|
I have a question about uploading files with PHP that I was hoping someone could help me with. I am able to upload a .txt file to a directory I created called uploads, however when I open the file with my text editor it is blank. When I list the files in this directory with the ls –la command it says the owner of the file is apache and not my username. The permission are –rw-------, so I do not think I have read permission since I am not the owner, however it will not let me change the permissions on the file. It says, changing permissions is not permitted.
|
|
|
|
|
That is quite a conundrum.
ranro2006 wrote: when I open the file with my text editor it is blank.
Does that mean the server is local?
What OS is the server running on?
Can you further explain your problem and provide the code you use?
|
|
|
|
|
chmod 755 permission to the folder where you want to store images.
|
|
|
|
|
please help me to start using the atlas in my portal.
i need requirements of s/w to use for it.
please give some links to write code for it using vb.net.
Thanx
|
|
|
|
|
|
hii
i upload my web site to server http://www.vwdhosting.net/ and i upload to another server
the web site show runtime error
this is the error
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)
the problem occur when the web site run into the server but
when run into vwd the page work correct
in vwd i used the data base in the server
i use vwd2005
thank you
abdullah
|
|
|
|
|
Is the SQL Server on the same box as the web app? if so try using localhost as the host location.
or else you have to confiore the access rights in your SQL Server to allow connections from the IP of the box you are connecting from. Remember that if it not in your LAN you use your IP, else you use your... LAN IP (im tired).
Hope that helped.
|
|
|
|
|
thank you
how ican used the LAN IP
abdullah
|
|
|
|
|
Enter the LAN IP of the computer with the SQL Server.
Example:
192.186.0.4
Every network is structured differently. Google the topic to get information. If you are in an office ask the companies Admin for the SQL Server's IP.
<div class='ForumSig'></div>
|
|
|
|
|
I have developed a web service in our company.I want to only allow our customers' code to call our webservice,But I don't have much knowlogy on web sevice security.Can any one help me?
Also are there basic security issues i should look into or does any one have any resources/links that will help me make a secure site.
|
|
|
|
|
What sort of web app? Which language? What remote resources (files, databses, etc.) does it use?
How is the general security?
Last modified: 5hrs 26mins after originally posted --
|
|
|
|
|
when i copy the html of asp page and put it in .net (aspx page), the appearance of the page is damaged and changed from the appearance of asp classic
is this problem has relation to standard html and nonstandard html?
and how can i solve this problem.
thanks in advance.
haitham
|
|
|
|
|
Classic ASP is really a HTML template embedded into javascript or vbscript. The Visual Studio editor is expecting HTML or HTML/ASP.NET. You can modify the behavior of the editor by going to the Tools menu and selecting Options/Text Editor/HTML
George
|
|
|
|
|
I found this javascript popup calendar control:
http://www.dynarch.com/projects/calendar/[^]
According to folks in their forum, it should work on a ASP.NEt 2.0 form, but for the life of me, I can't get it to work. Can someone with more asp.net experience than me try to make it work on a sample page?
Many thanks in advance.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Standard question #1:
What do you mean by "not working"?
Standard question #2:
What error message do you get?
---
b { font-weight: normal; }
|
|
|
|
|
It is a DHTML calendar. So you have to access it via DHTML and interface with the server-side ASP.NET by posting back via an <input> command, using AJAX, or create a ASP.NET control that wraps the DHTML Calendar with the necessary javascript to communicate with it.
George
|
|
|
|
|
First of all that's quite a nice control.
I've made a sample project in VS2005 that uses it, and I've uploaded it here[^]
I tweaked a bit the setup process, to be suitable for ASP.NET ease of use.
As you will see I've embedded the Calendar.setup function in a custom setup function (myCalendarSetup ) and registered the client-side script from code behind. As you see I'm using the control.ClientID property to get the name the control will have once is registered in the page. As you probably know, depending on the hierarchy of controls the control is embedded in, it's name and ID will be proceeded by ctlnr_ ...
Also note that myCalendarSetup function is called when the page has finished loading (thus placed in the body tag delegated to the onload event).
Basically all you need to do when adding a calendar to a page is add the myCalendarSetup function to the body onload event, call the ClientScript.RegisterClientScriptBlock... from codebehind on PageLoad and of course link the needed js in the head section of the page.
I think the sample project above is straightforward, so I will stop with the boring talk.
regards,
Mircea
Many people spend their life going to sleep when they're not sleepy and waking up while they still are.
|
|
|
|
|
Thanks, I'll take a look at your sample.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|