|
Um, yeah. You want to define a path and clipping region for the text, draw the text along the path, and scale it or clip it to the region.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Hi Guys,
I am having time converting date from email that i retrieved. I tried using Cdate(emailmsg.date.tostring) with this value "39633.56..", but it returns an error - Conversion from string "39633.5652777778" to type 'Date' is not valid.
Is there a way in asp.net vb coding where we can conver email date to a mm/dd/yyyy date format?
hifiger2004
|
|
|
|
|
Well, it's plainly NOT a date.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Dude, come on - you've posted three questions in this forum, each less related to web dev than the one it followed. You provide no context, apparently convinced that the solution you've picked to your unrevealed problem is appropriate in spite of your failure to achieve success, and assume that someone here will be able to point you in the right direction in spite of the shackles of ignorance you impose upon us. It's rude, and it's futile.
Near as i can guess, you're trying to write some sort of client that deals with email, possibly email messages containing HTML. There are plenty of good articles here covering all manner of related topics, to say nothing of the countless articles, RFCs, and newsgroup threads on the rest of the 'Net - i suggest you read some of them and attempt to gain a better understanding of this topic before continuing. Trust me, a half-day spent researching will save you weeks of frustration sure to arise should you continue with your current strategy of attempting to reverse-engineer a collection of what are, in fact, well-documented public standards. (assuming that's what you're doing... it's not like you've actually said)
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Yes you are right. I already retrieved the email information and saved it into the database. Only one problem which I couldn't done it perfectly, data msg.date has this value - 39633.565... And I wanted to save it as datetime in the database
hifiger2004
|
|
|
|
|
Hi Guys,
How can i convert string value to html?
Thanks
hifiger2004
|
|
|
|
|
hifiger2004 wrote: How can i convert string value to html?
This doesn't made any sense. HTML is string. What are you asking ?
|
|
|
|
|
Just to have an html output.
for example if you have a string value of "the quick brown..." and when saving it into the file using savetofile("test.html") the result is in html format. It will automatically converted to html. once we use the savetofile command. But what I need is to convert it right away to html without saving it to the file.
My reason of this is because of regex expressions which will be using the regular expressions.
Do you think this can be converted by not using the savetofile?
test.html result:
<html>
...
<td>the quick brown...</td>
...
</html>
hifiger2004
|
|
|
|
|
If you want to add html tags either side of a string, you can. Your browser can show the string either way. I sure wouldn't bother displaying just a string and putting it in a table tho.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Yes, I actually resolved it now. I saved it into the table using the 'text' fieldtype. And when I retrieved it back it is in html format already.
Thanks
hifiger2004
|
|
|
|
|
Only for the reason I said. Because text with no tags will display in a browser.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
As CG stated, HTML is text. To be specific, HTML is literal text with reserved characters escaped, combined with markup (tags, attributes, processing instructions) delimited by combination of reserved characters, and stored as text. You can always manually encode your literal text (JS provides utility functions to help with this) and add in whatever tags you see fit.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Hi Guys,
How can I declare MEMO variable in asp.net 2.0?
I will be using this for storing email content value so I can get the html value and stored it into the database.
Thanks
hifiger2004
|
|
|
|
|
hifiger2004 wrote: How can I declare MEMO variable in asp.net 2.0?
What is MEMO variable ? Your question is not clear. Please explain it clearly.
|
|
|
|
|
memo variable like rtf for example.
Actually this is related with my other concern about converting string to html.
If there's a way to convert string value to become an html format, then that's what I need.
But just couldn't made it.
hifiger2004
|
|
|
|
|
Hi there.
I currently have a website and on a couple of my pages there are horizontal toolbars that I wish to remove. I'm pretty sure that there is a way of removing these but am not sure how.
Just wondering if anyone had any ideas?
David
|
|
|
|
|
Reduce the width of your page, and the browser won't show scrollbars. If you want to hide scrollbars, check out the CSS overflow attribute... but your page will still be too wide, and now users won't be able to scroll to see it (well, not with scrollbars at any rate).
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
can i reduce the width of my page within the script? I have even opened the page in MS Visual Web Developer and reduced the width of all paragraphs, images etc. But still no good.
|
|
|
|
|
you can. in as much as you use a width size that is not that too wide.
you can use a width of like 850px, that might do the magic for you.
cheers!
|
|
|
|
|
Brother, you may need to spend more time with your HTML reference. There are a lot of ways you can (intentionally or otherwise) force your page to be wider than it needs to be - large images, and absolute widths on tables or other elements are common - but potentially there are more subtle factors at play here (for instance, a table with two columns, each sized to 50%, may become wider than the viewport if there are borders, margins, or rounding errors in the browser itself). The use of an editing tool such as VWD can make these even more difficult to track down by obfuscating the actual styles in effect.
I recommend simplifying the page HTML as much as possible, to help make the source of the problem more obvious. Also, consider installing the Firebug tool for Firefox - it lets you visually examine the calculated dimensions of each element on the page, and by drilling down with this tool in hand you may be able to more quickly determine all that has contributed to your current predicament.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Try to display your code first so that we can check!
|
|
|
|
|
try this on your body onload event
document.body.style.overflow='hidden';
Regards
N.Surendra Prasad
|
|
|
|
|
Hello, there,
I am using Ajax in an application page in SharePoint 2007. I found that when there is an exception. Ajax will show a dialog box says " Sys.WebForms.PageRequestManagerParserErrorException: The message
received from the server could not be parsed.", and the original exception message is not displayed.
I know I can use registerpostbackcontrol() function to register the button that causes the exception to make the original SharePoint error page to show up. But I do not want to do that. Is there any other way to make the original SharePoint exception/error page to show up?
Thank you very much.
Best regards,
Bin
|
|
|
|
|
This is actually trivial. If you were using simple AJAX techniques built directly on XMLHttpRequest. See, that API gives you a handy responseText property that will give you what the server sent back without trying to parse it first.
But you're not. You're using some sort of complicated .NET thing built to conceal the simplicity of XMLHttpRequest. Try the ASP.NET forum[^], or perhaps find a Sharepoint forum. A place where masochists gather and delight in sharing tales of their byzantine workarounds for this baroque platform.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Hi everybody,
I need to call/include/import a JavaScript file (*.js) in another JavaScript (*.js) file. How can i do this.
I tried to do writing a line in script file like:
document.write("");
But this method writes the line to the document so i cannot use/call functions from another files which are stored in different folders.
Thanks for your help.
|
|
|
|