|
hi all
How i can find perticular file in system using VBScript
"I want to find a file haveing .exe as extention"
Thanks
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
Google "vbscript filesystemobject" for examples etc...
|
|
|
|
|
Hello friends
I want to know what is the different between Webservice and Remoting.
we are using webservice.how remoting will work.
pls clarify with deep description
kankeyan
|
|
|
|
|
A web service is a collection of protocols and standards used for exchanging data between applications or systems. Software applications written in various programming languages and running on various platforms can use web services to exchange data over computer networks like the Internet in a manner similar to inter-process communication on a single computer. This interoperability (e.g., between Java and Asp.net, or Windows and Linux applications) is due to the use of open standards.
In brief, .NET Remoting is an architecture which enables communication between different application domains or processes using different transportation protocols, serialization formats, object lifetime schemes, and modes of object creation. Remote means any object which executes outside the application domain. The two processes can exist on the same computer or on two computers connected by a LAN or the Internet. This is called marshalling (This is the process of passing parameters from one context to another.), and there are two basic ways to marshal an object:
Marshal by value: the Server creates a copy of the object passes the copy to the client.
Marshal by reference: the Client creates a proxy for the object and then uses the proxy to access the object.
Rajendra Kumar Yerra
|
|
|
|
|
|
Hi,
We need to browse WebSites through IIS .
Go to ComputerManagement---->IIS-->WebSites--->xbrandsite-->public/default.aspx
When I Right click on the Default.aspx and select Browse,
The Page is not browssing.
So How Can I fix that error?.
Thanks in Advance..
|
|
|
|
|
You will need to determine the correct url and type that into a browser address bar - along the lines of
http://putyourcomputernamehere/brandsite/public/default.aspx
You may get away with "localhost" in place of "putyourcomputernamehere", otherwise look in IIS admin to determine the correct name and path
Fred
|
|
|
|
|
In the IIS, Normally When rightclick on the default.aspx and select "Browser" from the Menu,Browser must be opened with the correct URL.
But in our server, Browser is not openning in the IIS.
Thanks in advance..
|
|
|
|
|
hmm..ok.. I se what you mean...
What happens when you try - does your browser open but display the page, or does it not even open at all?
And can you browse to the file ok in your browser, or does that not work either?
You may have better luck asking this question in the Operating System / Sysadmin forum....
|
|
|
|
|
I hope this is the right forum...
I'm confused about how you get new headers from a newsserver. I guess when you first suscribe to a group you get what is already on the server by sending a GROUP command to get the the low and high article numbers and send an XOVER command with these two values. But to get new headers later, do you add 1 to that high article number and send the GROUP command again to get the new high article number and then send the XOVER command with these two values? If this is the case, what happens when the high article number is greater than the maximum int value? Does it wrap around from 0, which would make the high article number lower than the low article number?
- thanks
|
|
|
|
|
Hi to all
i want to store current textbox value in session on onblur event of textbox.
how can i do this. i am using javascript ans asp.net 1.1. And
How can i call server side function on onblur event of textbox.
Thanks.
df
|
|
|
|
|
You will need to look into AJAX to achieve this... I am not sure of the wisdom of it though... you cuold end up with a lot of calls to your server....
|
|
|
|
|
AJAX is the most likely candidate, but you can just do a postback whenever the textbox blur event occurs.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi all
i create a row in a table which contain INPUT BOX, SELECTBOX i when i select any item from Select box i want to cteate same row below it please help me.....
Thanks
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
Consider this HTML snippet:
<li>
<a id="tab3" href="#">asdf</a>
</li>
Using CSS how can I get to the li of #tab3? In other words the parent of #tab3?
/\ |_ E X E GG
|
|
|
|
|
You can't.
---
single minded; short sighted; long gone;
|
|
|
|
|
I really have no idear how I get html file when I am
trying to save chart picture on my webpage.
This is the problem look like..
I sent some variables from page "A" to page "B"
those values i need in creating chart process.
It worked fine through showing the chart picture and when
I moved mouse over the picture it shows the diskette icon
to save picture and then I clicked save I got the html file
it was "A" webpage. And sound funny every page that i linked
from page "A" it got the same problem example page "C" it didn't
get any variable from page "A" but it still got the same problem
but again when I try to view only page C by set
[Set As Start Page] property and then clicked run then I tried
to save the picture again it work fine!!!
I don't really understand which part of page "A" that make
every page doesn't work right ????
What's causing the problem?
Oh.. I need to tell you that the first two times it doesn't
cause any problem but other times I will get this problem.
Here is example code the most likely I wrote...
==========================================================================
Graphics g;
Bitmap b = new Bitmap(300, 499);
g = Graphics.FromImage(b);
Response.ContentType = "Image/Gif";
g.Clear(Color.Transparent);
g.FillRectangle(new SolidBrush(Color.Black), 0, 0, 300, 499);
b.Save(Response.OutputStream, ImageFormat.Gif);
b.Dispose();
g.Dispose();
==========================================================================
Any suggestion will be really appreciate,sir.
Thank you million,
-- modified at 22:49 Thursday 5th July, 2007
junior boy
|
|
|
|
|
Trouble is by generating the graphic on the fly like this there isn't actually any file for the browser to grab and save - you will need to save the file to the (server's) filesystem first in your graphics routine, and then set an image's src property to point to that... (or rather, an asp:Image ImageUrl=...)
|
|
|
|
|
First,Thank you very much for your replied.
Now I have some idea that you might right but I have never done this before.
Please you tell me or suggest how can i learn about this.
Any code example will be really appreciate.
I need to get it work tomorrow my deadline to send this project to my teacher.
Please reply this I am waiting for you,sir.
Thank you million,
junior boy
|
|
|
|
|
Well..I mean, instad of
b.Save(Response.OutputStream, ImageFormat.Gif);
have
b.Save(Server.MapPath("fred.gif", System.Drawing.Imaging.ImageFormat.Gif);
Then you can set the ImageUrl property of an asp:Image control to the same file:
asp:Image ImageUrl="fred.gif"
|
|
|
|
|
|
I have a form defined as follows:
<form id="formManualAdd"
action="thispage.asp?myAction=addPerson"
method="post"
onsubmit="return ValidateData(this);">
<table>
<tr>
<td>Last name:</td> <td><input type="text" id="lastName" size="25" value="" /></td>
</tr>
<tr>
<td>First name:</td><td><input type="text" id="firstName" size="25" value="" /></td>
</tr>
<tr>
<td>SSN:</td><td><input type="text" id="SSN" size="20" value="" /></td>
</tr>
<tr>
<td colspan="2" align="center"><button name="submit" type="submit" value="submit">Submit</button></td>
</tr>
</table>
</form>
I have the following VBScript:
Dim myAction: myAction = request.QueryString("myAction")
if (myAction = "addPerson") then
' the following code is hit
Dim in_sLastName: in_sLastName = request.Form("lastName")
Dim in_sFirstName: in_sFirstName = request.Form("firstName")
Dim in_sSSN: in_sSSN = request.Form("SSN")
end if
When I click the button, it goes through the code in the "if" block, but the retrieved values ("request.Form(blah blah)") are null. Why?
"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
|
|
|
|
|
You need to set the name property of your html controls as well as, or instead of, the id - eg
<input type="text" id="lastName" name="lastName" size="25" value="" />
Classic asp won't recognise the ID....
|
|
|
|
|
Hmmmm, I had tried that on two of the controls (and it didn't work) before posting my question. This m orning, I added the "name" element to ALL of the controls on the form - including the submit button - and it worked. Many thanks.
"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
|
|
|
|
|
I am coding a Rich Text Editor that has the capability for keywords in unique colors, much like a MS IDE...
In javascript is it possible to directly the exchange a TEXTAREA (or similar) element with a DIV element? My dilemna is that it would need to be an exact swap where the ID of the orignal TEXTAREA element is retained for the newly created DIV. Also, the TEXTAREA would have no parent elements other than BODY and it must stay in the same position (with no CSS changes). Any ideas?
|
|
|
|