Normally you display a pure PDF page as a page.
I suppose you can can display a PDF page as an image element, but you might have to create a PDF thumbnail, in which I haven't figured out how to do yet.
You can also add buttons to a PDF document to perform certain functions like print, and hyperlinks to move to sections of the page.
But combining HTML with a PDF may be tough to do, I don't think it can be done.
I searched and found nothing.
Iam stuck up with this thing for past couple of days.
Iam saving company details in access database with compLogo as one of the field name to store the logo image as an OLE Object.
I can display the image in the form but i cannot display it in the crystal report.
I created a dataset with a datatable and created a column called compLogo with data type System.Byte and added this datatable to the database field of the report and dragged and droped the compLogo fieldobject.
And in the code i retrieved the image as a byte array and passed it to the datatable field, but it shows the following error:
System.ArgumentException: Input String was not in a correct format. Couldn't store in compLogo Column. Expected type is Byte.
I do have a website that is acting like a FTP site for uploads and downloads.
The workflow is:
- A user account is created
- A folder is created (kind of a home directory)
- A user logs in
- Uploads a file
- An agent logs in
- Download the file
When ever an agent logs in, there is a check for user accounts with no activity for 90+ days.
If found, the user account is deleted and the associated folder too.
THAT's where I have my problem.
1) The user is removed from the role (all good)
2) The user account is deleted (all good)
3) The files and the folder are deleted (issue: permission denied)
Looking at the file permissions in the Windows Explorer, none of the accounts listed does, indeed, have permission to delete the files.
The files to be deleted are ALL created one way or another via the website (either by upload of code behind file creation)
I Googled around and it looks like the Impersonation is the way to go for the deletion.
There is a online website of mine I would like to restrict users so that they will not able to save it offline using offline website copier software like HTTrack Website Copier and other similar software. Please help me.
If you manage to stop HTtrack then what about other apps that do the same thing you haven't heard of yet? Or a tool I wrote myself? Or just viewing the source and saving it? Or using my Browser's "Save As" function? Or not doing anything special, just taking the files from the cache folder? If there is no standardised way of doing something there is no way of stopping it.
If you don't want people copying your page, don't put it on the internet.
There's a website I frequent that disables the right-click context menu, it pops up a dialog saying "don't do that", with (I expect) the purpose of keeping users (like me) from saving images from the site. But I can (and do) use Print Screen or any of the screen grabbers available to do that. Why do they bother? It's a mystery.
hi every body
I have a HTML structure, something like
<%--some elements here!--%>
<div id="main Container">
<%--some other elements--%>
Now I want the "upperWapper" height be the same size as my device ViewPort height. I know the JQuery can do this for me but I wonder if there is a pure CSS solution or some better one! any help would be appreciated
Good morning every body! Please help me out in this since I can't really figure out what is wrong.
I have a datalist control that displays posted status. Inside this datalist is a textbox control and a button 'Add idea'. I want visitors to add their own idea so I used this code
PublicSub AddIdea(ByVal sender AsObject, e As DataListEventsCommand...)
Dim txt As TextBox = e.Item.FindControl("txtidea")
If txt.Text <> ""Then
MsgBox ("No idea entered")
But if the Add idea button is heat, the msgbox returns an empty string. Help please.