|
Well I had a similar problem but that was inside
an richtext box. The solution was to change linespacing before
and after the paragraf to 0 and using the proper mask.
This is not asp.net but maybe it helps you.
PARAFORMAT2 pf;
pf.cbSize = sizeof PARAFORMAT2;
pf.dwMask=PFM_LINESPACING | PFM_SPACEBEFORE | PFM_SPACEAFTER;
pf.dySpaceAfter=0;
pf.dySpaceBefore=0;
pf.bLineSpacingRule=5;
pf.dyLineSpacing=20;
|
|
|
|
|
I had the article all bookmarked, ready for when the project started. Come a month later I cannot for the life of me find that damned bookmark.
Does anyone have a link to how to use a .NET Framework class from classic ASP? I don't want to use one of my own .NET classes, but one of the "officiall" .NET Framework classes. I thought I knew how to do it, but damned ASP keeps telling me my ProgID is invalid.
ta
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
Shog9:
Paul "The human happy pill" Watson
|
|
|
|
|
|
How can I do this?
I've used the following code snippet:
window.opener.document.forms.password.value = "Fx5dHH4Xd";
This can't be used to set or retreive values in a document in another window.
Basically I have my main window...and when someone clicks help and a new smaller window popups and based on the input the select here, when they click ok the data in the small window should be sent to the fields in the larger window(main window)
Cheers
"Two wrongs don't make a right, but three lefts do!" - Alex Barylski
|
|
|
|
|
Hockey wrote:
This can't be used to set or retreive values in a document in another window.
But it can, I do it all the time. Are you sure the bit of code which opens up the child window is creating a proper reference? i.e. If you go alert(window.opener) does it come back with an object or does it say undefined?
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
Shog9:
Paul "The human happy pill" Watson
|
|
|
|
|
Have anybody heard about this .dss file... that i used across the world in the Medical Transcription scenarios.... Does this have a plugin... to play the file from the site itself??
I was born intelligent Education ruined me!.
|
|
|
|
|
would someone gladly point me in the right direction? trying to write some code to dynamically read folder/file recursively whilst never losing the current position in the tree.......
brain is seriously scrambled! would like to use asp, but if .NET solves the problem easierly then so be it.
sample below.
"Set recRoot = Server.CreateObject ("ADODB.Record")
recRoot.Open "", "URL=http://localhost/test", adModeRead....."
more the designer than the code guru.
thanks in advance
Jakob
|
|
|
|
|
Not sure this helps, but...
You can set a bookmark on your recordset before you gonna enumerate and return to it when finished, restoring the starting point.
Or you can create a clone of your recordset and use the clone to enumerate, while the original will always stay where it was
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
I used the following code (got from somebody) to save a WORD file from the ASP on the server.
<br />
<%<br />
' On Error Resume Next<br />
<br />
Set wrd = CreateObject("Word.Application")<br />
<br />
wrd.Application.Visible = False<br />
wrd.Documents.Add ()<br />
wrd.SaveAs Server.MapPath ("..\extracode") & "\myname.doc", 0<br />
<br />
doc = "This is a document"<br />
<br />
wrd.ActiveDocument.Close -1<br />
wrd.Application.Quit<br />
set wrd = Nothing<br />
%><br />
<br />
It gives the following error....
<br />
Microsoft Word error '800a175d' <br />
<br />
Could not open macro storage. <br />
<br />
/tstsite/extracode/word3.asp, line 7 <br />
Cany Anyone help me to get out of this....
I was born intelligent Education ruined me!.
|
|
|
|
|
hi!
try setting Word to run under Interactive user acc. You can do it using dcomcnfg.exe
Here change Identitiy to interactive user. Also, using the same program under Security tab, give the interacitve user access and lounch permissions.
Hope it helps...
|
|
|
|
|
wrda wrote:
try setting Word to run under Interactive user acc. You can do it using dcomcnfg.exe
Here change Identitiy to interactive user. Also, using the same program under Security tab, give the interacitve user access and lounch permissions.
code snippet/any thing like that please
I was born intelligent Education ruined me!.
|
|
|
|
|
Hello,
After an automatic postback, how do I return
the page to the same vertical position in the browser
window as it was before the postback event?
Thank you
|
|
|
|
|
Consider this approach: posting with a target of a hidden iframe on your page... no flicker, no regeneration, no scrolling.
...
|
|
|
|
|
You could use an anchor tag:
<a name="returnHere">This is where you should come back to ...</a>
If this is where they should always come back to just have the user redirected/transferred to the same URL but with the anchor reference on the end:
http://mysite.com/MyForm.aspx#returnHere
If you have multiple points that could be where you want to return them then you could pass a variable in the post and dynamically change the anchor in the postback ...
Wally Atkins Newport News, VA, USA
|
|
|
|
|
Hi,
I had run the indexing search demo, but i have a few question need to enquiry. How to set it within the sample code, if i want to search the files in subdirectory. Let's said my main directory is called testing and my subdirectory is called information.
Can anyone there have some sample or guidelines to assist me.
I hope there have anyone can assist me and hopefully reply me ASAP, Thanks a lot!
Thanks a lot!
|
|
|
|
|
Hi,
I have a requirement like... the output of the ASP code should be saved as the .doc (MS Word 2000) format. This is just to make the output of some piece of code to be documented. Any idea??
The requirements in terms of font hanling would be.. bold/italic/underline/font size/color.
Any idea??
I was born intelligent Education ruined me!.
|
|
|
|
|
Hi there,
You can dynamically write office documents (word and excel) using ASP.
You might find this link useful:
http://www.infinetsoftware.com/content/officedocuments.asp
With regards to your font styles you can set this up in the document.
Hope this helps.
|
|
|
|
|
Thanks .... will give it a try
I was born intelligent Education ruined me!.
|
|
|
|
|
funkmedia wrote:
Hope this helps.
Yes it helped me a bit. But, I needed something different that can save the .doc file in the SERVER. But this doc speaks about downloading/showng the user with the .doc file.
Can u help more??
Thanks...
I was born intelligent Education ruined me!.
|
|
|
|
|
I'm trying to use the code
document.myForm.Submit()
and it works fine in IE
unfortunatly it dosn't work in Netscape 4.7
I'm thinking that the document object model in NS4.7 is different but can't find anything on it
Help...
Thanks
|
|
|
|
|
Quick question:
Are you using client-side VBScript or JavaScript?
It looks to me like VBScript cuz there is not an ending ";", even though it is not required, and VBScript is not case sensitive. Netscape will only handle JavaScript and the "submit" call should be lowercase. Also, ensure that you do not have any form elements named "Submit".
Let me know if that helps ...
Wally Atkins Newport News, VA, USA
|
|
|
|
|
Hi,
I just want to know if this is possible to put down the geographical map on the site and make it locate like... distance from the point x, area covered by Y miles from point z etc....
I have seen a few sites showing the maps - that has zoom facilities etc, but I really wonder if they are just images or the real information as captured from the sattilite
Please help
I was born intelligent Education ruined me!.
|
|
|
|
|
I am considering purchasing Visual Studio.net 2003. However my main form of database connectivity is an ODBC connection to a mySql server. I know that the next version supports ODBC out of the box rather than having to download the ODBC.net driver from Microsoft. Here is my question? Does anyone know if in the new version Microsoft has updated the wizards for Database conectivity to use ODBC commands as well as the standard Microsoft Sql Server SQL commands?
Aaron Flaugh
|
|
|
|
|
Hi!
Does anybody know how to find if the current page is included in the "Trusted Sites" (for Internet Explorer 6.0) ?
I have a script embeded in a page (let's say the page is www.mydomain.com/test.htm ) and I want to know if the client has set the domain www.mydomain.com as being a trusted site for Internet Explorer.
Well, any sugestion is welcomed, even it is "it's not possible to find it !".
Thank you very much!
|
|
|
|
|
I have an asp:listbox control. I would like to be able to delete an item from that list box by pressing the delete key. I understand that this is not built in because the asp:listbox is a server side control and the server is unaware that the delete key has been pressed while the listbox had focus. I have been told that javascript is the way to go to build this functionality myself. My question is, has anyone done something like this before. I have never used javascript and I don't want to reinvent the wheel if I dont have to. Otherwise does anyone have some code samples about writing events for controls using javascript?
Let me know. Thanks!
John
|
|
|
|