473,714 Members | 2,500 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to test for browser specific methods like document.select ion.createRange

Is this the correct way to test for a method before I use it?
createRange() is, I believe, an IE only method.
function wrapSelectionIn Tag(selection, tag) {
if (document.selec tion.createRang e) {
var range = document.select ion.createRange ();
if (range.parentEl ement() == element) range.text = '<' + tag +
'>' + range.text + '<\/' + tag + '>';
}
}
Jul 23 '05 #1
15 3320
On 20 Nov 2004 13:06:32 -0800, lawrence <lk******@geoci ties.com> wrote:
Is this the correct way to test for a method before I use it?
Nearly. You need to check for the object, selection, as well.

if(document.sel ection && document.select ion.createRange ) {
var range = document.select ion.createRange ();
/* ... */
}

Alternatively,

var sel;
if((sel = document.select ion) && sel.createRange ) {
var range = sel.createRange ();
/* ... */
}
createRange() is, I believe, an IE only method.


It is a proprietary method, but that doesn't necessarily mean only IE
supports it. I can't name any others that do, though.

[snip]

Mike
*Please* don't use tabs for indentation on Usenet. Convert them to spaces
before posting.

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #2
Michael Winter wrote:
[...]
createRange() is, I believe, an IE only method.

It is a proprietary method, but that doesn't necessarily mean only IE
supports it. I can't name any others that do, though.


Seems it's been adopted in DOM Level 2

<URL:http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/ranges.html#Lev el2-DocumentRange-method-createRange>

I've tested it in Mozilla and Safari (it works...).
Rob.
Jul 23 '05 #3
On Sun, 21 Nov 2004 21:16:16 +1000, RobG <rg***@iinet.ne t.auau> wrote:
Michael Winter wrote:


[snip]
[createRange] is a proprietary method, but that doesn't necessarily
mean only IE supports it. I can't name any others that do, though.


Seems it's been adopted in DOM Level 2

[URL to DOM 2 Traveral and Range Specification]


[snip]

As I understand it, they are two different things.

The document.select ion.createRange method, as introduced by Microsoft,
reflects text selected by the user.

The document.create Range method, as introduced by the W3C, selects a
portion of the document tree, allowing you to manipulate it as a block
(essentially).

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #4
Michael Winter wrote:
[...]
The document.select ion.createRange method, as introduced by Microsoft,
reflects text selected by the user.

The document.create Range method, as introduced by the W3C, selects a
portion of the document tree, allowing you to manipulate it as a block
(essentially).


Ah yes, thanks.

Rob.
Jul 23 '05 #5
Fred Oz <oz****@iinet.n et.auau> wrote in message news:<41******* *************** *@per-qv1-newsreader-01.iinet.net.au >...
Michael Winter wrote:
[...]
The document.select ion.createRange method, as introduced by Microsoft,
reflects text selected by the user.

The document.create Range method, as introduced by the W3C, selects a
portion of the document tree, allowing you to manipulate it as a block
(essentially).

I'm trying to create an online text editor to supplement the PHP/MySql
content management system that we've already built. I don't know
Javascript all that well, so some of these questions may be stupid.

I changed the tabs to spaces in Microsoft Word, I hope Word doesn't
add any garbage characters.

I get no syntax errors in FireFox, but I'm not getting any selection
either. I'm not sure how to pass the right reference is in the html
form at bottom. How do I say, "Hey, I'm this element"??? And do I get
a string identifier that I could use in getElementById( ), or is it a
number I could use to reference the right index in elements[]????



<script type="text/javascript">

function insertAtCursor( myField, tag) {
if (document.selec tion && document.select ion.createRange ) {
var range = document.select ion.createRange ();
if (range.parentEl ement() == element) range.text = '<' + tag
+ '>' + range.text + '<\/' + tag + '>';
} else if (myField && myField.selecti onStart) {
// MOZILLA/NETSCAPE support
// textControl.val ue.substring(te xtControl.selec tionStart,
textControl.sel ectionEnd)
var startPos = myField.selecti onStart;
var endPos = myField.selecti onEnd;
myField.value = myField.value.s ubstring(0, startPos) +
myValue + myField.value.s ubstring(endPos , myField.value.l ength);
} else if (document.forms[0].myField) {
myField.value += '<' + tag + '>' + range.text + '<\/' + tag
+ '>';
} else {
alert("Awful sorry, but this web broswer doesn't support the
operations of this button");
}
}
function wrapSelectionMa keALink (element) {
var range = document.select ion.createRange ();
address = prompt('What address?', '');
address = '<a href=\\\"' + address + '\\\">';
if (range.parentEl ement() == element) range.text = address +
range.text + '<\/a>';
}

function wrapSelectionIn sertImage (element) {
var range = document.select ion.createRange ();
address = prompt('Add address for image. If the image is on
your site, look in Image Info.', '');
address = '<img src=\\\"' + address + '\\\">';
if (range.parentEl ement() == element) range.text = address +
range.text;
}
</script>

<form method="post" action="#">
<input type="button" value="bold"
onclick="insert AtCursor(docume nt.forms[0].elements[this], 'b')" />
<input type="button" value="italic"
onclick="insert AtCursor(docume nt.forms[0].elements[this], 'i')" />
<input type="button" value="blockquo te"
onclick="insert AtCursor(docume nt.forms[0].elements[this],
'blockquote')" />
<input type="button" value="big headline"
onclick="insert AtCursor(docume nt.forms[0].elements[this], 'h2')" />
<input type="button" value="small headline"
onclick="insert AtCursor(docume nt.forms[0].elements[this], 'h5')" />
<input type="button" value="make a link"
onclick="wrapSe lectionMakeALin k()" /> <p> sdfsd </p>
<textarea>Typ e something here, damnit</textarea> <p> sadfsdaf </p>
<input type="submit">
</form> <script type="text/javascript">

function insertAtCursor( myField, tag) {
if (document.selec tion && document.select ion.createRange ) {
var range = document.select ion.createRange ();
if (range.parentEl ement() == element) range.text = '<' + tag
+ '>' + range.text + '<\/' + tag + '>';
} else if (myField.select ionStart) {
// MOZILLA/NETSCAPE support
// textControl.val ue.substring(te xtControl.selec tionStart,
textControl.sel ectionEnd)
var startPos = myField.selecti onStart;
var endPos = myField.selecti onEnd;
myField.value = myField.value.s ubstring(0, startPos) +
myValue + myField.value.s ubstring(endPos , myField.value.l ength);
} else if (document.forms[0].myField) {
myField.value += '<' + tag + '>' + range.text + '<\/' + tag
+ '>';
} else {
alert("Awful sorry, but this web broswer doesn't support the
operations of this button");
}
}
function wrapSelectionMa keALink (element) {
var range = document.select ion.createRange ();
address = prompt('What address?', '');
address = '<a href=\\\"' + address + '\\\">';
if (range.parentEl ement() == element) range.text = address +
range.text + '<\/a>';
}

function wrapSelectionIn sertImage (element) {
var range = document.select ion.createRange ();
address = prompt('Add address for image. If the image is on
your site, look in Image Info.', '');
address = '<img src=\\\"' + address + '\\\">';
if (range.parentEl ement() == element) range.text = address +
range.text;
}
</script>

<form method="post" action="#">
<input type="button" value="bold"
onclick="insert AtCursor(docume nt.forms[0].elements[this], 'b')" />
<input type="button" value="italic"
onclick="insert AtCursor(docume nt.forms[0].elements[this], 'i')" />
<input type="button" value="blockquo te"
onclick="insert AtCursor(docume nt.forms[0].elements[this],
'blockquote')" />
<input type="button" value="big headline"
onclick="insert AtCursor(docume nt.forms[0].elements[this], 'h2')" />
<input type="button" value="small headline"
onclick="insert AtCursor(docume nt.forms[0].elements[this], 'h5')" />
<input type="button" value="make a link"
onclick="wrapSe lectionMakeALin k()" /> <p> sdfsd </p>
<textarea>Typ e something here, damnit</textarea> <p> sadfsdaf </p>
<input type="submit">
</form>
Jul 23 '05 #6
Okay, I managed to get my text editor working for IE and
Mozilla/FireFox, but only by hardcoding the reference to the textarea
on the form. What is the generic way to get an element to refer to
itself, and pass a reference to itself to a function?


<script type="text/javascript">

function insertAtCursor( myField, tag) {
if (document.selec tion && document.select ion.createRange ) {
var range = document.select ion.createRange ();
if (range.text == '') {
alert("You haven't selected any text to change.");
} else {
range.text = '<' + tag + '>' + range.text + '<\/' + tag + '>';
}
} else if (myField && myField.selecti onStart) {
// MOZILLA/NETSCAPE support
// myField.value.s ubstring(myFiel d.selectionStar t,
myField.selecti onEnd)
var startPos = myField.selecti onStart;
var endPos = myField.selecti onEnd;
var elementName = myField.id;
if (startPos != 0 || endPos != 0) {
var mySelection =
myField.value.s ubstring(myFiel d.selectionStar t, myField.selecti onEnd);
mySelection = '<' + tag + '>' + mySelection + '<\/' + tag +
'>';
document.getEle mentById(elemen tName).value =
myField.value.s ubstring(0, startPos) + mySelection +
myField.value.s ubstring(endPos , myField.value.l ength);
} else {
alert("You haven't selected any text to change.");
}
} else if (document.forms[0].myField) {
myField.value += '<' + tag + '>' + range.text + '<\/' + tag +
'>';
} else {
alert("Awful sorry, but this web broswer doesn't support the
operations of this button");
}
}
function insertAtCursorL ink (myField) {
if (document.selec tion && document.select ion.createRange ) {
address = prompt('What is the address you want to link to?',
'http://');
var range = document.select ion.createRange ();
if (range.text == '') {
alert("You haven't selected any text to change.");
} else {
range.text = '<a href=\"' + address + '\">' + range.text +
'<\/a>';
}
} else if (myField && myField.selecti onStart) {
// MOZILLA/NETSCAPE support
address = prompt('What is the address you want to link to?',
'http://');
var startPos = myField.selecti onStart;
var endPos = myField.selecti onEnd;
var elementName = myField.id;
if (startPos != 0 || endPos != 0) {
var mySelection =
myField.value.s ubstring(myFiel d.selectionStar t, myField.selecti onEnd);
mySelection = '<a href=\"' + address + '\">' + mySelection +
'<\/a>';
document.getEle mentById(elemen tName).value =
myField.value.s ubstring(0, startPos) + mySelection +
myField.value.s ubstring(endPos , myField.value.l ength);
} else {
alert("You haven't selected any text to change.");
}
} else if (document.forms[0].myField) {
myField.value += '<' + tag + '>' + range.text + '<\/' + tag +
'>';
} else {
alert("Awful sorry, but this web broswer doesn't support the
operations of this button");
}
}

function insertAtCursorI mage (myField) {
var range = document.select ion.createRange ();
address = prompt('Add address for image. If the image is on your
site, look in Image Info.', '');
address = '<img src=\\\"' + address + '\\\">';
if (range.parentEl ement() == element) range.text = address +
range.text;
}
</script>

<form method="post" action="#">
<input type="button" value="bold"
onclick="insert AtCursor(docume nt.forms[0].elements['dog'], 'b');" />
<input type="button" value="italic"
onclick="insert AtCursor(docume nt.forms[0].elements['dog'], 'i');" />
<input type="button" value="blockquo te"
onclick="insert AtCursor(docume nt.forms[0].elements['dog'],
'blockquote');" />
<input type="button" value="big headline"
onclick="insert AtCursor(docume nt.forms[0].elements['dog'], 'h2');" />
<input type="button" value="small headline"
onclick="insert AtCursor(docume nt.forms[0].elements['dog'], 'h5');" />
<input type="button" value="make a link"
onclick="insert AtCursorLink(do cument.forms[0].elements['dog'])" />
<p> sdfsd </p>
<textarea id='dog' name='dog'>Type something here, damnit</textarea>
<p> sadfsdaf </p>
<input type="submit">
</form>
Jul 23 '05 #7
On 21 Nov 2004 23:25:02 -0800, lawrence wrote:
<script type="text/javascript">

function insertAtCursor( myField, tag) {
if (document.selec tion && document.select ion.createRange ) {


It's a good idea to replace tab characters with 2 or 3
spaces before posting*.

It also helps to keep lines short, for example, this line..

if (document.selec tion && document.select ion.createRange ) {

can be written like this..

if (document.selec tion &&
document.select ion.createRange ) {

* Code that is easy to copy/paste/see is more likely to get attention,
and line wrap at unexpected places usually hampers that process.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Jul 23 '05 #8
On 21 Nov 2004 23:25:02 -0800, lawrence <lk******@geoci ties.com> wrote:
Okay, I managed to get my text editor working for IE and
Mozilla/FireFox, but only by hardcoding the reference to the textarea on
the form. What is the generic way to get an element to refer to itself,
and pass a reference to itself to a function?
In an event listener, the this operator refers to the element. However,
that's useless to you as you're buttons are not referring to themselves,
they're referring to another element in the same form.

The best you can do is shorten the reference from

document.forms[0].elements['textarea-name-or-id']

to

this.form.eleme nts['textarea-name-or-id']

in the onclick attributes.
In this code, you've missed the point of providing a reference to a
control. Namely, you take an element reference, obtain its id, then use
getElementById to get the reference again.
function insertAtCursor( myField, tag) {
if (document.selec tion && document.select ion.createRange ) {
var range = document.select ion.createRange ();
if (range.text == '') {
alert("You haven't selected any text to change.");
} else {
range.text = '<' + tag + '>' + range.text + '<\/' + tag + '>';
}
} else if (myField && myField.selecti onStart) {
A better test would be

} else if('number' == typeof myField.selecti onStart) {

which would succeed if the selection started at offset zero. You don't
need to test for myField as you know that will exist (you passed it!).
// MOZILLA/NETSCAPE support
// myField.value.s ubstring(myFiel d.selectionStar t,
myField.selecti onEnd)
var startPos = myField.selecti onStart;
var endPos = myField.selecti onEnd;
var elementName = myField.id;
This is where the silliness begins. You have the element - you don't need
the id. Delete that line.
if (startPos != 0 || endPos != 0) {
var mySelection = myField.value.s ubstring(
myField.selecti onStart,
myField.selecti onEnd);
You've stored the values of these two properties in startPos and endPos,
so you may as well use them.
mySelection = '<' + tag + '>' + mySelection + '<\/' + tag
+ '>';
document.getEle mentById(elemen tName).value
= myField.value.s ubstring(0, startPos) + mySelection
+ myField.value.s ubstring(endPos , myField.value.l ength);
Just

myField.value = ...

will do.
} else {
alert("You haven't selected any text to change.");
}
} else if (document.forms[0].myField) {
This looks for the field named (or identified as) myField in the first
form in the document. That will fail every time as you have no controls
called myField.

Change it to

} else {

and delete the last else block.

[snip]

You need to check for similar mistakes in the other functions.

There are only a couple of other comments.
function insertAtCursorL ink (myField) {
[snip]
range.text = '<a href=\"' + address + '\">' + range.text + '<\/a>';
You don't need to escape those double quotes. Writing

'" "' or "' '"

is fine. It's

'' '' or "" ""

where the inner pair of quotes needs to be escaped:

'\' \'' or "\" \""

[snip]
function insertAtCursorI mage (myField) {
[snip]
address = '<img src=\\\"' + address + '\\\">';
That would produce

<img src=\"...\">

which is invalid. Again, the escaping backslashes aren't needed.

[snip]
<form method="post" action="#">
action=""

will post back to the same page. Note that while IE handles this fine, it
can't, for some reason, interpret

<a href="">

correctly.

[snip]
<textarea id='dog' name='dog'>Type something here, damnit</textarea>
You can omit the id attribute here as you don't need it.

[snip]

From your other post.
document.forms[0].elements[this]


You might want to remind yourself of the last post I made in your "Check
if key is defined in associative array" thread. I pointed out that the
expression inside square brackets is converted to a string before it is
looked-up.

In the expression above, the this operator refers to an INPUT element.
When that is converted to a string, IE will attempt to find '[object]',
and better browsers will try to find '[object HTMLInputElemen t]'.
Obviously, that won't match any of the controls in your form, which is why
it failed.

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #9
"Michael Winter" <M.******@bluey onder.co.invali d> wrote in message
The best you can do is shorten the reference from
document.forms[0].elements['textarea-name-or-id']
to
this.form.eleme nts['textarea-name-or-id']
in the onclick attributes.
This is how I referenced it all year but I was hoping for something
simpler. I've gone back to it now.

Thanks much for all the help with the javascript code. This is going
into some open source code. Do you want your name mentioned in the
credits for advice with javascript?


} else if (myField && myField.selecti onStart) {


A better test would be

} else if('number' == typeof myField.selecti onStart) {

which would succeed if the selection started at offset zero. You don't
need to test for myField as you know that will exist (you passed it!).


Good point. I find the syntax of typeof to be strange. If it was
typeof() with parenthesises I'd have an easier time with it. Is it a
function? Or is it a type of casting? A casting test?


// MOZILLA/NETSCAPE support
// myField.value.s ubstring(myFiel d.selectionStar t,
myField.selecti onEnd)
var startPos = myField.selecti onStart;
var endPos = myField.selecti onEnd;
var elementName = myField.id;


This is where the silliness begins. You have the element - you don't need
the id. Delete that line.


Done.


} else {
alert("You haven't selected any text to change.");
}
} else if (document.forms[0].myField) {


This looks for the field named (or identified as) myField in the first
form in the document. That will fail every time as you have no controls
called myField.

Change it to

} else {

and delete the last else block.


Good point. I changed it to just:

} else {
myField.value += '<' + tag + '>' + range.text + '<\/' + tag +
'>';
}

But is there any way I can test and find out if a browser will allow
me to add text to a textarea? If the operation fails I'd like to tell
the user that something is wrong. Otherwise they will sit there
clicking the button and wondering if something is supposed to happen.

function insertAtCursorL ink (myField) {

[snip]
range.text = '<a href=\"' + address + '\">' + range.text + '<\/a>';

You don't need to escape those double quotes.


It's all escaped in the end. It get sent to the screen by the print()
function in PHP. The code was all escaped and I unescaped the portion
I wanted to ask questions about because I thought the escapes would be
confusing on comp.lang.javas cript. I didn't un-escape the code that I
wasn't asking about. Sorry about posting it.

<form method="post" action="#">

action=""
will post back to the same page. Note that while IE handles this fine, it
can't, for some reason, interpret
<a href="">
correctly.


Right. Sorry, I should have offered more context. The little demo I
offered was for debugging purposes only. In the final product PHP sets
the action of the from correctly.
[snip]
<textarea id='dog' name='dog'>Type something here, damnit</textarea>
You can omit the id attribute here as you don't need it.


It's the name that I use here then?

this.form.name

I need the id to reference the item to Javascript, don't I?
From your other post.
document.forms[0].elements[this]


You might want to remind yourself of the last post I made in your "Check
if key is defined in associative array" thread. I pointed out that the
expression inside square brackets is converted to a string before it is
looked-up.

In the expression above, the this operator refers to an INPUT element.
When that is converted to a string, IE will attempt to find '[object]',
and better browsers will try to find '[object HTMLInputElemen t]'.
Obviously, that won't match any of the controls in your form, which is why
it failed.


Thanks again much for your help.
Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
57391
by: gokul | last post by:
Hi, Iam a newbie to dotnet and I experience problems in using the Browser control in VB .net. Though Iam able to use it with its basic features, I need to customise it. http://www.codeproject.com/books/0764549146_8.asp The above link shows where what I want is achived in C#, but I need t oa cjhive the same in VB .net. Someone help and guidance would be much appreciated.
1
11861
by: Jeff Thies | last post by:
Is there a NS7, Opera7 or Mozilla equivalent for: document.selection.createRange(); Jeff
8
2015
by: lawrence | last post by:
I'm a beginner with Javascript and especially cross-browser Javascript. I got this working in IE, but not in Netscape 7. It seems like, in Netscape, every time I click on a button, the focus shifts to that button, so there is no text to be selected. What should I do? Below you'll see some code that I have in one of my forms. I was hoping to have these buttons and when I click on them they would take selected text from a textarea box and...
1
1370
by: c.anandkumar | last post by:
Hi How do I figure out if a selection in a document is in a particular control? I have a TEXTAREA in which a user can type in some text, select some text and 'apply' tags around it clicking a button. I am using document.selection.createRange() to create a textRange object and then modify its text property to suit the action. But the problem is I want to limit this action to a few "INPUT type=text" and TEXTAREA controls. How do I check...
5
3303
by: nboutelier | last post by:
Scenario: you enter "foo bar" into a text field... Is it possible through javascript to select/highlight just "foo"? formObject.select() selects all. I need to select only part of the string. -Nick
3
1458
by: mailto.anand.hariharan | last post by:
Hello group. This is my first message in this group, and my first stab at Javascript. I am trying to tweak the code for the "FOLDOC button" (http://foldoc.org/foldoc/tools.html) to be able to execute a DB query over my firm's intra-net. The source code for the IE button is as follows:
2
10390
by: Lyle Fairfield | last post by:
I am using Microsoft’s Web Browser Control embedded on an Access Form to browse a specific site. I have a good reason for doing so; the pages on this site run code which aborts their display unless their window is the top window; they also treat all child windows as not-logged in windows. So I have not accomplished what I want with HTA’s or IFrames or Pop-Up Windows. But the Access Form/MS Web Browser combination gives me a top window with...
1
2194
by: venkateshkumar | last post by:
I have used rich text editor for Content management system.In this editor, have a InsertImage icon.We click that, select images from galley and insert the image.In firefox, it's simply placed in Editor. But IE it's placed in top of the page. Used code: function rteInsertHTML(html) { if (document.all) { var oRng = document.getElementById(rteName).contentWindow.document.selection.createRange(); oRng.pasteHTML(html); oRng.collapse(false);...
2
3274
by: s2008 | last post by:
Hello, In my page i have two textboxes and a html button. I'm using vb.net 2.0 . what i need is i want whatever text selected in the textbox1 to be hyperlinked when clicked the button... this is no problem.. i'm getting it easily.. But my problem is , if i select some text from the textbox2 and click the button it is also hyperlinked. i want only whatever text selected in the textbox1 to be hyperlnked and not in textbox2. Please tell me how...
0
8707
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9174
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9074
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7953
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6634
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4464
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4725
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3158
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2520
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.