|
Guys, pls is there a way of attaching to a web form a document from a scanner.
He who goes for revenge must first dig two graves.
|
|
|
|
|
If I understand you correctly, the scanned document is in the format of an image. Right ? Then couldn't you place an image control on your form and dynamically set the ImageUrl in your code behind ?
Just a thought.
|
|
|
|
|
Not entirely sure what you're meaning here do you mean you have a form already scanned in and you want people to be able to download it or convert a scanned document into a webform?
If a) Well yeah, piece of cake, just link it like the above suggestion.
If b) It depends. Personally, I would recreate it but there used to be a third party software that'd convert PDF's to webforms. It was a POS though because what happened essentially was that the PDF became a background image and you dragged and dropped invisible textbox controls and buttons over the top of it. I -think- it was called PDFformail but I don't recommend it.
|
|
|
|
|
Hello,
I am using the Visual Studio Web Developer 2008 for programming in VB.NET and i have some problems:
1. Sometimes it stops highlighting the text.
2. Is there an option to refresh the Intellisense of the page?
3. When i am including files to my page, its say variable undefined.
Global information:
* I am not using the *.cs files.
* I am not using any .net button (example: asp:input...)
* I am using the include file. (example: include virtual=...)
If someone have any idea on how to fix this problem it will help me.
If not, Maby someone can suggest another program (with Intellisense)?
Thanks,
Roy Shoa.
|
|
|
|
|
Hi
Do you now a reliable application for converting a VB.Net applicatopn to C# one?(entire project not code by code)
Best wishes
|
|
|
|
|
how to make coding for listen /watch video in asp
i have uploaded videos but the problem is that
how to upload flv player ?
i have no idea about listen /watch video.
plz help
|
|
|
|
|
To add FLV player to website, you can use SWFObject, which is more optimized and flexible than any other Flash embed method around.
You can also check this Flash video player creator, which is a quick solution to add FLV to web page and create custom FLV player for website.
|
|
|
|
|
My OS has been installed VB6 and in VB I can read local serial port data
I try to use the following code to open local serial port
-----------------------------------------------------------------------------
<html>
<head>
<title>JavaScript_COMM</title>
<script language="JavaScript" type="text/JavaScript">
function OpenPort()
{
MSComm1.PortOpen=true;
alert("opened");
}
</script>
</head>
<OBJECT CLASSID="clsid:648A5603-2C6E-101B-82B6-000000000014" id="MSComm1" codebase="MSCOMM32.OCX" type="application/x-oleobject" width=0 height=0 >
<PARAM NAME="CommPort" VALUE="1">
<PARAM NAME="Settings" VALUE="9600,N,8,1">
</OBJECT>
<body onload="OpenPort()">
FML...
</body>
</html>
-----------------------------------------------------------------------------
First, I open this HTML, it alert "opened".
and then I open the "HyperTerminal", use "HyperTerminal" to access COM1, "HyperTerminal" can read data from COM1
which means that I have visited this HTML in fact not open the serial port is not it?
help me!!!
THX Google Translate
|
|
|
|
|
Hello!
I'm developing a web application that opens a popup using windows.open(..). I need to call a function on the opened window using the handle returned by "window.open", but I'm always getting the error message "addWindow.getMaskElements is not a function", as if it couldn't access the function declared on child window. This is the behavior in both IE and FF. My code looks like this:
function AddEmail(target,category)
{
if(addWindow == null)
{
currentCategory = category;
var left = getDialogPos(400,220)[0];
var top = getDialogPos(400,220)[1];
addWindow = window.open("adicionar_email.htm",null,"height=220px, width=400px, status=no, resizable=no");
addWindow.moveTo(left,top);
addWindow.getMaskElements ();
}
}
I've googled and read from different reliable sources and apparently this is supposed to work, however it doesn't.
One more thing, the functions in child window are declared in a separate .js file that is included in the adicionar_email.htm file. Does this make a difference? It shouldn't..
So, if anyone has ran into a similar problem, or has any idea of what I'm doing wrong, please, reply to this message.
Thanks in advance.
Kenia
|
|
|
|
|
Here is a good guess.
The Function addWindow.getMaskElements ();
is being called before it is ready in addWindow.
You could try this ...
setTimeout("addWindow.getMaskElements()",2000);
That will wait two seconds before calling
addWindow.getMaskElements().
modified on Friday, January 22, 2010 10:39 AM
|
|
|
|
|
Thanks! that was exactly the problem. I did what you suggested and it works perfectly now, thanks again
Kenia
|
|
|
|
|
Kewl!
Uh, there is a better solution.
I sugessted the setTimeout just to
confirm what the problem was.
The problem with the two second delay is
you cant be sure it will be ready.
You could call addWindow.getMaskElements ();
repetively by catching
the error and setting time out again.
Or you could try this, in the separate .js file that is
included in the adicionar_email.htm
add this line ...
body.onload = "window.opener.iMready()";
in the parent page put this...
function iMready(){
addWindow.getMaskElements ();
}
if there is already an onload function
(it might be window.onload body.onload or onload
people do it different ways)
declared in the .js, you cant have
another so add this line
to the function onload points to...
window.opener.iMready();
|
|
|
|
|
In fact, that about calling repetively the addWindow.getMaskElements(); is what i did, because i didn't want to modify the function already attached to the onload event of the document.
Thanks for your time!
Kenia
|
|
|
|
|
|
hi this is my code.i want to display images whose path and image name is from database but still i m not getting the slide show working it does not show me the message.any body help me?
<!--#include file="common.asp"-->
<%
OpenDataBase conn
sql="select * from newsimage"
set obj=server.createobject("adodb.recordset")
obj.open sql,conn,1,1
while obj.eof<>true
imagestorotate=imagestorotate & """/pdf/" & obj("imagename") & ""","
obj.movenext
wend
imagestorotate=left(imagestorotate,len(imagestorotate)-1)
'response.write("image pathe is " & imagestorotate & "")
%>
<html>
<head>
<title></title>
<script type="text/javascript">
var image1=new Image();
image1.src=<%=imagestorotate%>;
</script>
</head>
<body>
<img src="<%=imagestorotate%>" name="slide" width=100 height=56 atl="no image for path">
<script type="text/javascript">
<!--
//variable that will increment through the images
var step=1;
function slideit(){
//if browser does not support the image object, exit.
if (!document.images)
return;
document.images.slide.src=eval("image" + step + ".src");
if (step < 3)
step++ ;
else
step=1;
//call function "slideit()" every 2.5 seconds
setTimeout("slideit()",2500)
}
slideit()
//-->
</script>
</body>
</html>
image is not changing one by one plz help me for image change
coz my image is coming from database table which has 30 images..
|
|
|
|
|
how do i detect visitor mac address? somehow i manage to get a piece of php coding, but it only works on server side, but not on client side...
im running on apache server
|
|
|
|
|
The MAC address is not part of the HTTP request, so you cannot get it from the web browser just using PHP.
I've had a quick Google and found this: MAC address Java applet[^] - you might be able to adapt it for what you need.
|
|
|
|
|
var macs = {
getMacAddress : function()
{
document.macaddressapplet.setSep( "-" );
document.write( "Mac Address = " + document.macaddressapplet.getMacAddress() );
}
how do i call this function and display out in the website?
this doesn't seems working..
document.write(mac.getMacAddress());
Anyone help?
|
|
|
|
|
This is only a cursory glance but:
you've declared it as -
var macs
you're calling it as -
mac.getMacAddress()
|
|
|
|
|
I am creating a web page in Microsoft Expression Web 2. At one point on the page it plays an MP3 file located in a folder labeled "MP3s" using Windows Media Player. Right now the HTML code requires that the full name of the MP3 file (filename.mp3) be called whenever the MP3 is to play. I would like to be able to have the HTML, or maybe a Visual Basic script, call whatever MP3 file is in the folder, possibly using a wildcard character like "*.mp3" so that whenever the MP3 file in the folder changes, I will not have to change the code on the web page. There is never more than one MP3 file in the folder at any given time. I tried "*.mp3", but it does not work. Is there some way to do this?
|
|
|
|
|
For asp.net applications I know the iis will look at the vd that that url is configured to, figure out that it is an asp.net application, load the aspnet_isapi.dll routines. Beyond this it is not of my interest. The fact I am interested in learning is how does the iis know to call the aspnet_isapi.dll?
I am looking at creating my own isapi extension. But how do I tell the iis that this vd should be served by the extension I create?
|
|
|
|
|
Hello everyone.
I built a Data Service(ADO .NET Data service) accessing data with Entity Framework. I place it in IIS and it works in my computer.I built a windows Aplication and i consume the data server. Now I want to host the service in another machine IIS. The machine is in the same LAN.
How can i consume the data service hosted in another machine with my windows application?
Note:I'm working in C#.
Excuse my portuguese, but i'm portuguese and i'm giving the firsts stepes in this area.
|
|
|
|
|
Hi,
so how did you connected your windows application to your local data server? If you have used an URL, just exchange the localhost-part with the host-name (or IP) of your remote machine.
Regards
Sebastian
|
|
|
|
|
I SeMartens. Sorry a just answer today but i was at vacances and I did not had time to check my email.
As I am still beginner in this area i will try to explain:
first i built a ado .net data service by buiding a ASP.Net web aplication and on this project created an Entity model and then a service. Then i built a windows application with a reference to the service. When a ran it apeared a xml document with the information about the tables in the datra base. So far so good.
Now, i want to put the service( ASP.Net web aplication ) running on IIS and consume it with a windows appliction form.
At the end put the service( ASP.Net web aplication ) running on IIS in another computer.
the last two points i do not know how to do.
Thanks.
once again excuse my english but i try to explain and right as correct as i can.
|
|
|
|
|
Hi,
i'm not really familiar with the ADO.NET Data services but as it seems these are WCF services. So I suggest that you create a virtual directory within the IIS manager pointing to the output folder of your data service.
Within your client there should be a DataServiceContext object, which can be initialized with an url. Modify this url so that it points to your IIS.
If this works on your local machine, o put the client somewhere else and try again.
Regards
Sebastian
|
|
|
|