Chitra Jay

Ranch Hand
+ Follow
since May 02, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Chitra Jay

Hi,
Pls help me with this issue.
Contents of the text file:
bla bla bla %s
bla bla bla bla

...more contents here...
%i bla bla %s
--end of text file.

I would like to replace the %s,%i,%s with 3 values i pass in the arguments.
eg. if send 1,2,3 then contents of the text file should have %s replaced with 1, %i replaced with 2 and %s replaced with 3. (in the order they appear in the file). I dont need to bother with whether its %s or %i, but only i need to replace %s or %i with the parameters i pass. I can read the contents of the file into a string. but how to replace values in the order specified.
19 years ago
Hi,
I would like to convert a snapshot (.snp) file to PDF programmatically. I found some tools which would convert to PDF using a virtual printer driver. But, I am unable to find a command line tool or an API to do this from inside an application.
please help.
Thanks
19 years ago
Hi
Is there any freeware that you could recommend for converting any type of document to a pdf? Also,this s/w needs to be installed on a terminal server.
Thanks
19 years ago
Hi,
I need a regular expression that will search in a string for valid characters. The only allowed (but not mandatory to appear)characters in this string are letters,digits, # and . (period) and they can appear in any order within the string. Any other character would be invalid. All i want to do is check for valid characters and i dont care where it appears. Some valid expressions are abc123.#, abc,123#.a etc..I started off with this regex "^*[a-zA-Z0-9#*.]", but if i enter "@#$%^", this regex returns true. I also tried "^*![a-zA-Z0-9#*.]", but this forces me to have all the above characters in that string.
What am i missing?
I appreciate any help
Thanks
Hi,
Here's the issue i am hoping you can help me with.
I created an alias for a Win2k Server by adding an entry in the lmhosts file.
eg. 190.25.50.1 Win2kServer
190.25.50.1 AliasServer

now, I can ping 'AliasServer' using the alias name/IP address, but I can't access the files using \\AliasServer\pc$\.
How do I accomplish this?

Thanks
C J
19 years ago
Hi,
How do I make a form submit the values upon hitting enter in the textbox?
In the webpage, there are 2 textfields username & password and a go button (which is a actually an image).
when the user hits 'enter' on the password field, the form should submit values.
Code Snippet:
<form action="/Online/logon.aspx" name="thisForm" id="thisForm" method="post">
<td><img src="pix/user_name.gif" alt="Username" width="49" height="25" border="0"></td>
<td width="80"><input tabindex="1" type="text" name="username" value="" size="10"></td>

<td><img src="pix/password.gif" alt="Password" width="49" height="25" border="0"></td>
<td width="80"><input tabindex="2" type="password" name="password" size="10"></td>

<td width="25"><a href="/Online/logon.aspx" onKlick="document.thisForm.submit(); return false;" tabindex="3">
<td><img src="pix/go.gif" alt="Go" width="25" height="17" border="0"></a></td>
</form>

Thanks
What do you think is a work around for this problem? I am running a .net app with a imagecontrol (from pegasus imagxpress) on it, and i am getting error when trying to open some .tif files ("Error loading file").
thanks Eric
But the real problem is,the error seems to intermittent. I am able to view some tif files using other viewers and some not.
Hi
When I try to open a .tif file, it opens up fine in Kodak Image viewer software. But, it opens up as garbled text in any other image viewer. Whats the problem?
Thanks
Is there any freeware tool that converts HTML to tif?
Thanks
CJ
Thanks for the response! Can you show me an example?
Thanks
CJ
Hi,
I would like to display abc and xyz on 2 different lines when cursor is moved over the image. How do I achieve this with the title attribute?
<img src="test.jpg" title="abc xyz">
Thanks
CJ
Hi,
How do i reduce the length of the slider inside a scrollbar? also, when i use the scrollbar, how do i make a 'hand' to appear on clicking the slider instead of the regular arrow icon?
I need to be able to use this inside a div tag.
<div style="width:307px;height:168px;overflow:auto;"> I have used overflow as auto, and set the width and height acc to get the scrollbar effect.

Any help appreciated.
Thanks
CJ