Ask a Question related to ASP, Design and Development.
-
Ken #1
Write Positioning
Does any one know how I can position the output at certain
point? Such as If I want to print "hello" starting at
position 50 from the left in the file.
Ken
Ken Guest
-
CSS Content Box Positioning - Help Please
Hello! I'm currently working on a website for a client of mine. This is the first time I'm using CSS for positioning, and came across some issues... -
Positioning of content
Hi everyone got this following code - and when i try to add the template -<cfinclude template="resultarticle links.cfm"> it doesn't appear at the... -
positioning
im trying to move a div tag to the right side, ive tried using "float" but it doesnt work the way i want it to. i tried setting its position as... -
CSS Div Positioning
Anybody know how to cause a DIV to be aligned to the bottom of the page? If you go to: http://www.tilaru.com/NewSite/index.php you'll see that my... -
write to database without giving write permission to IIS
Hi there, I have some ASP code that writes to access database. For security reason I do not want IUSER to give write permission to database... -
Ray at #2
Re: Write Positioning
What file? Just an normal html response? If so, you could probably do this
with some css stuff. Try asking in a group that covers css or html design.
I find comp.infosystems.[url]www.authoring.stylesheets[/url] to be an alright group.
Ray at work
"Ken" <anonymous@discussions.microsoft.com> wrote in message
news:0b6501c39a43$cdfef3b0$a601280a@phx.gbl...>
> Does any one know how I can position the output at certain
> point? Such as If I want to print "hello" starting at
> position 50 from the left in the file.
>
> Ken
Ray at Guest
-
Ken #3
Re: Write Positioning
I am trying to print to simple flat file.
could probably do this>-----Original Message-----
>What file? Just an normal html response? If so, youcss or html design.>with some css stuff. Try asking in a group that coversan alright group.>I find comp.infosystems.[url]www.authoring.stylesheets[/url] to bemessage>
>Ray at work
>
>"Ken" <anonymous@discussions.microsoft.com> wrote incertain>news:0b6501c39a43$cdfef3b0$a601280a@phx.gbl...>>
>> Does any one know how I can position the output at>>> point? Such as If I want to print "hello" starting at
>> position 50 from the left in the file.
>>
>> Ken
>
>.
>Ken Guest
-
Ray at #4
Re: Write Positioning
Print?
<% Response.Write String(49, " ") & "X" %>
That will put 49 spaces before X in the response.
Ray at work
"Ken" <anonymous@discussions.microsoft.com> wrote in message
news:0c0701c39a46$67e73620$a501280a@phx.gbl...> I am trying to print to simple flat file.
>> could probably do this> >-----Original Message-----
> >What file? Just an normal html response? If so, you> css or html design.> >with some css stuff. Try asking in a group that covers> an alright group.> >I find comp.infosystems.[url]www.authoring.stylesheets[/url] to be> message> >
> >Ray at work
> >
> >"Ken" <anonymous@discussions.microsoft.com> wrote in> certain> >news:0b6501c39a43$cdfef3b0$a601280a@phx.gbl...> >>
> >> Does any one know how I can position the output at> >> >> point? Such as If I want to print "hello" starting at
> >> position 50 from the left in the file.
> >>
> >> Ken
> >
> >.
> >
Ray at Guest
-
Ray at #5
Re: Write Positioning
If you have your response in a variable, like:
sTheResponse = "kja kjsd fjasldf8alkjlaudsfajsdlkfj alkjdiosfjaldkfj
alksjdfa98sdjflaksdjflkajsdf8jaslekfjal;sdifual;sd jf8asjdflakjsd
fiaj;dslifj"
You could do:
If Len(sTheResponse) > 49
sTheResponse = Left(sTheResponse, 49) & "hello" & Right(sTheResponse,
Len(sTheResponse) - 49)
Else
sTheResponse = Replace(Left(sTheResponse & String(49, " "), 49), " ",
" ") & "hello"
End If
Response.Write sTheResponse
Ray at work
"Ken" <anonymous@discussions.microsoft.com> wrote in message
news:07b901c39a4c$3117ef30$a001280a@phx.gbl...> But if I print something before that?
> I want to justify the location so even though there is
> something printed before that "X", I want to make it print
> exactly at the position 50.
>
> p.s. sorry about opening up another thread.
>> message> >-----Original Message-----
> >Print?
> >
> ><% Response.Write String(49, " ") & "X" %>
> >
> >That will put 49 spaces before X in the response.
> >
> >Ray at work
> >
> >
> >"Ken" <anonymous@discussions.microsoft.com> wrote in> >news:0c0701c39a46$67e73620$a501280a@phx.gbl...> >> >> I am trying to print to simple flat file.
> >>
> >> >-----Original Message-----
> >> >What file? Just an normal html response? If so, you
> >> could probably do this
> >> >with some css stuff. Try asking in a group that covers
> >> css or html design.
> >> >I find comp.infosystems.[url]www.authoring.stylesheets[/url] to be
> >> an alright group.
> >> >
> >> >Ray at work
> >> >
> >> >"Ken" <anonymous@discussions.microsoft.com> wrote in
> >> message
> >> >news:0b6501c39a43$cdfef3b0$a601280a@phx.gbl...
> >> >>
> >> >> Does any one know how I can position the output at
> >> certain
> >> >> point? Such as If I want to print "hello" starting at
> >> >> position 50 from the left in the file.
> >> >>
> >> >> Ken
> >> >
> >> >
> >> >.
> >> >
> >
> >.
> >
Ray at Guest
-
Ken #6
Re: Write Positioning
I thought about that, but I thought there must be some
command that justifies where it will print.
alkjdiosfjaldkfj>-----Original Message-----
>If you have your response in a variable, like:
>
>
>sTheResponse = "kja kjsd fjasldf8alkjlaudsfajsdlkfjlakjsd>alksjdfa98sdjflaksdjflkajsdf8jaslekfjal;sdifual;s djf8asjdfRight(sTheResponse,>fiaj;dslifj"
>
>You could do:
>
>If Len(sTheResponse) > 49
> sTheResponse = Left(sTheResponse, 49) & "hello" &(49, " "), 49), " ",>Len(sTheResponse) - 49)
>Else
> sTheResponse = Replace(Left(sTheResponse & Stringmessage>" ") & "hello"
>End If
>
>Response.Write sTheResponse
>
>
>Ray at work
>
>
>"Ken" <anonymous@discussions.microsoft.com> wrote in>news:07b901c39a4c$3117ef30$a001280a@phx.gbl...>> But if I print something before that?
>> I want to justify the location so even though there is
>> something printed before that "X", I want to make ityou>> exactly at the position 50.
>>
>> p.s. sorry about opening up another thread.
>>>> message>> >-----Original Message-----
>> >Print?
>> >
>> ><% Response.Write String(49, " ") & "X" %>
>> >
>> >That will put 49 spaces before X in the response.
>> >
>> >Ray at work
>> >
>> >
>> >"Ken" <anonymous@discussions.microsoft.com> wrote in>> >news:0c0701c39a46$67e73620$a501280a@phx.gbl...
>> >> I am trying to print to simple flat file.
>> >>
>> >> >-----Original Message-----
>> >> >What file? Just an normal html response? If so,covers>> >> could probably do this
>> >> >with some css stuff. Try asking in a group thatto be>> >> css or html design.
>> >> >I find comp.infosystems.[url]www.authoring.stylesheets[/url]starting at>> >> an alright group.
>> >> >
>> >> >Ray at work
>> >> >
>> >> >"Ken" <anonymous@discussions.microsoft.com> wrote in
>> >> message
>> >> >news:0b6501c39a43$cdfef3b0$a601280a@phx.gbl...
>> >> >>
>> >> >> Does any one know how I can position the output at
>> >> certain
>> >> >> point? Such as If I want to print "hello">>> >> >> position 50 from the left in the file.
>> >> >>
>> >> >> Ken
>> >> >
>> >> >
>> >> >.
>> >> >
>> >
>> >
>> >.
>> >
>
>.
>Ken Guest
-
Ray at #7
Re: Write Positioning
No, I don't believe there is. If there were, it'd be something like
Response.write "this text", 1, 50 for column, row, but like, that's really
not the way ASP works.
Just out of curiosity, what's the reason you want text in a specific spot?
You are "screen scraping" are you?
Ray at work
"Ken" <anonymous@discussions.microsoft.com> wrote in message
news:083c01c39a52$759b8cb0$a001280a@phx.gbl...> I thought about that, but I thought there must be some
> command that justifies where it will print.
Ray at Guest
-
Ken #8
Re: Write Positioning
No. I am trying to generate file that can be import into
certain program.
something like>-----Original Message-----
>No, I don't believe there is. If there were, it'd belike, that's really>Response.write "this text", 1, 50 for column, row, buta specific spot?>not the way ASP works.
>
>Just out of curiosity, what's the reason you want text inmessage>You are "screen scraping" are you?
>
>Ray at work
>
>"Ken" <anonymous@discussions.microsoft.com> wrote in>news:083c01c39a52$759b8cb0$a001280a@phx.gbl...>>> I thought about that, but I thought there must be some
>> command that justifies where it will print.
>
>.
>Ken Guest



Reply With Quote

