当前位置:首页 » 网页前端 » delphiweb
扩展阅读
webinf下怎么引入js 2023-08-31 21:54:13
堡垒机怎么打开web 2023-08-31 21:54:11

delphiweb

发布时间: 2022-01-17 17:56:39

⑴ 如何用DELPHI编写支持ASP的WEB服务器

服务器具备的条件是24小时开机,因为要向外开放网络。web的话就必须搭建相应的环境,比如你制作的网站是asp环境就必须搭建asp环境的,还有php,jps等等,根据自己的需求安装环境,还有其他的web应用。搭建网站的条件是
1.域名(comcnorg等等)
2.服务器(自己电脑,或者购买服务器)
3.脚本(aspaspxphpjsp等等)为了防止别人入侵你的网站你可以安装相应的软件来防止别人入侵你的网站比如:安全宝,安全狗。

⑵ Delphi做Web浏览器:窗体代码部分

Flags is a set of values that specify whether to add the resource to the history list, whether to read from or write to the cache, and whether to display the resource in a new window. It can be a sum of zero or more of the following:

Constant Value Meaning

navOpenInNewWindow(1) Open the resource or file in a new window.
navNoHistory(2) Do not add the resource or file to the history list. The new page replaces the current page in the list.
navNoReadFromCache(4) Do not read from the disk cache for this navigation.
navNoWriteToCache(8) Do not write the results of this navigation to the disk cache.
navAllowAutosearch(16) If the navigation fails, the Web browser attempts to navigate common root domains (.com, .e, and so on). If this still fails, the URL is passed to a search engine.

这是一种数据类型。 下面的是参数而已, 就是全部用FLAGS代替了。

⑶ Delphi制作Web浏览器

Checked 是个bealoon 变量,取true/false,那么加上not
就成了 不是真/不是假

⑷ delphi7中用webbrowser获得网页文本框中输入的内容。

用webbrowser1.Navigate方法访问网页后,用以下方法来取值和赋值
((webbrowser1.document as ihtmldocument2).all.item('J_0201020',0) as ihtmlinputelement).value

ps:要引用MSHTML单元

⑸ delphi 开发web怎样

Web 开发有多种应用形式,要看应用的平台(比如是电脑还是手机)。

以下提供用 delphi 开发 web 的一些方式:

一、使用 Indy 组件包里的 Internet 控件
如果是开发网络应用(架构web服务器等),可以使用 Indy 组件包里的 Internet 控件。

二、使用 IntraWeb 组件
IntraWeb很像是普通的应用程序,唯一不同的是它的用户界面是用浏览器代替了通常的Windows界面,当把应用程序安装到Web服务器上之后,用户马上就可以通过它的网络地址来开启它,应用程序会马上建立使用者的用户信息,这样就可以避免丢失用户信息或者与其它的使用者发生使用混乱。

三、开发 Android / IOS 手机应用

此外,UniGUI 组件包改编 ExtJS 框架,提供了一整套的 web UI 元素。

⑹ delphi如何上传文件到web服务器

上传有两种,一种是用ftp控件,需要有帐号和密码来上传文件。优点是方便,缺点是别人用一些监听工具可以拦截到你的帐号和密码。

另一种是用asp(或其它)写一个上传脚本,然后delphi调用这个页面,直接实现上传。就跟某些论坛上发贴可以带附件一样。优点是安全。缺点是“不是每个人既会delphi又会asp”。

⑺ 如何在delphi中调用WebService

Delphi 调用webservice接口

一、使用向导

1.导入wsdl文件:file--new----other----webservice---WSDLimporter---输入wsdl地址

http//ww.webxml.com.cn/webservices/qqOnlineWebService.asmx?wsdl

完成之后,即可导入wsdl文件。

注:结尾处的'?wsdl'不能少。

2.在导入的wsdl文件中手动添加部分注册代码:

InvRegistry.RegisterInterface(TypeInfo(qqOnlineWebServiceSoap), 'http://WebXml.com.cn/', 'utf-8');
InvRegistry.RegisterInvokeOptions(TypeInfo(qqOnlineWebServiceSoap),ioDocument);//此处必须手动添加,delphi无法自动生成
InvRegistry.RegisterDefaultSOAPAction(TypeInfo(qqOnlineWebServiceSoap), 'http//WebXml.com.cn/qqCheckOnline');

3.调用代码

4.运行结果

⑻ 要用delphi做web开发,采用哪种方式比较好

delphi就是擅长CS架构的,做bs架够太麻烦了,尺有所短,寸有所长,要发挥自己的优势

⑼ delphi开发web控件的资料

你说的是active form吗??
新建active form工程后就和开发一般的桌面程序一样了. 答案补充 基本一样,你可以建一个来试试嘛!!
delphi7开发active form会有BUG,在使用project->web deploy发布一次activeformx后[web deployment options]和[web deploy]菜单项被置灰无法再次使用,这里通过在[tools]菜单项中,增加:
[web deployment options]
[web deploy]
项来修复Delphi7的这个Bug。

其实,程序也是如何使用IDE的一个简单例子。

这个补丁程序下载地址:
http://www.2ccc.com/article.asp?articleid=3830

⑽ delphi中我自己做了一个WEB浏览器,但是点击一些链接打开的新窗口总是IE的,我应该

添加webbroser的onNewWindow2的实践
procere TFmMain.WebBrowser1NewWindow2(Sender: TObject;
var ppDisp: IDispatch; var Cancel: WordBool);
var
str: string;
begin
//禁止弹页面
Cancel:= true;
try
str:= WebBrowser1.oleObject.document.ActiveElement.GetAttribute('href');
if str <> '' then
begin
try
WebBrowser1.Navigate(str);
except
showmessage('暂时无法打开此站点!');
end;
end;
except
end;
end;