473,569 Members | 2,756 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to escape apostrophe

Hello All:

I'm having a whale of a problem with the following code. When the words
beginning with sugg contain an escaped single-quote (\' ==> back-slash
followed by quote) the script causes an error. How can I preserve the
single quote. Please review the code below and let me know. Many
thanks!

function clicker( but_id, sugg0, sugg1, sugg2, sugg3, sugg4, sugg5,
copy_type, p1) {
var suggx;
if (p1 ==1) suggx=sugg1;
else if (p1 ==2) suggx=sugg2;
else if (p1 ==3) suggx=sugg3;
else if (p1==4) suggx=sugg4;
else suggx=sugg5;

eval("document. forms[0]." + but_id + ".value='" + suggx +
"'");

eval("document. forms[0]." + but_id +
".style.backgro undColor='#ffff ff'");

eval("document. forms[0]." + but_id +
".style.color=' #000000'");
//alert("in clicker");

var cont;
if (copy_type.inde xOf("HTML_COPY" ) > -1) {
cont =document.forms[0].HTML_COPY.valu e;
//alert("conthtml =" + cont);
//alert("sugg0=" + sugg0);
var
txt="document.f orms[0].HTML_COPY.valu e=cont.replace(/" + sugg0 + "/" +
replaceOpts + ",'" + suggx + "')";
eval(txt);
//alert( document.forms[0].HTML_COPY.valu e);
} else {
cont =document.forms[0].AOL_COPY.value ;
//alert("contaol= " + cont);
//alert("sugg0=" + sugg0 + " suggx= " + suggx + "
replaceOpts=" + replaceOpts);
var
txt="document.f orms[0].AOL_COPY.value =cont.replace(/" + sugg0 + "/" +
replaceOpts + ",'" + suggx + "')";
eval(txt);
//alert( document.forms[0].AOL_COPY.value );
//alert( document.forms[0].AOL_COPY.value );
}
return true;
}
function showSugg(but_id , sugg0, sugg1, sugg2, sugg3, sugg4, sugg5,
copy_type) {

if (sugg0.indexOf( "'") > -1) sugg0=replaceAl l(sugg0, "'",
"\'");
if (sugg1.indexOf( "'") > -1) sugg1=replaceAl l(sugg1, "'",
"\'");
if (sugg2.indexOf( "'") > -1) sugg2=replaceAl l(sugg2, "'",
"\'");
if (sugg3.indexOf( "'") > -1) sugg3=replaceAl l(sugg3, "'",
"\'");
if (sugg4.indexOf( "'") > -1) sugg4=replaceAl l(sugg4, "'",
"\'");
if (sugg5.indexOf( "'") > -1) sugg5=replaceAl l(sugg5, "'",
"\'");

display=window. open('','_blank ','menubar=0,lo cation=no,statu s=no,directorie s=no,toolbar=no ,scrollbars=no, height=220,widt h=250')
var screen_height = window.screen.a vailHeight;
var screen_width = window.screen.a vailWidth;
var left_point = parseInt(screen _width / 2);
var top_point = parseInt(screen _height/2);
display.moveTo( left_point, top_point);
display.focus() ;

//alert("display elements" + display.documen t.elements);
alert("sugg1" + sugg1 + "2" + sugg2 + "3" + sugg3 + "4" +
sugg4 + "5" + sugg5);

if (sugg1)
var message="<HTML> <BODY><font face='verdana, arial,
helvetica, san-serif' size='2'><form> <table>";
message += "<tr><td>" + sugg1 + "</td> <td><input
type=checkbox name=mycheck1 value=\"" + sugg1 +
"\" onClick=\'self. opener.clicker( \"" + but_id + "\",\"" +
sugg0 + "\",\""
+ sugg1 + "\",\"" + sugg2 + "\",\"" + sugg3 + "\",\"" + sugg4
+ "\",\"" + sugg5 +
"\",\"" + copy_type + "\", 1);"
+ "document.f orms[0].mycheck2.check ed=false;"
+
"document.f orms[0].mycheck3.check ed=false;docume nt.forms[0].mycheck4.check ed=false;"
+ "document.f orms[0].mycheck5.check ed=false;"
+ "\'></td></tr>";
if (sugg2)
message += "<tr><td>" +sugg2 + " </td><td><input type=checkbox
name=mycheck2 value=\"" + sugg2 +
"\" onClick=\'self. opener.clicker( \"" + but_id + "\",\"" +
sugg0 + "\",\""
+ sugg1 + "\",\"" + sugg2 + "\",\"" + sugg3 + "\",\"" + sugg4
+ "\",\"" + sugg5 +
"\",\"" + copy_type + "\", 2);"
+ "document.f orms[0].mycheck1.check ed=false;"
+
"document.f orms[0].mycheck3.check ed=false;docume nt.forms[0].mycheck4.check ed=false;"
+ "document.f orms[0].mycheck5.check ed=false;"
+ "\'></td></tr>";

if (sugg3)
message += "<tr><td>" +sugg3 + " </td><td><input type=checkbox
name=mycheck3 value=\"" + sugg3 +
"\" onClick=\'self. opener.clicker( \"" + but_id + "\",\"" +
sugg0 + "\",\""
+ sugg1 + "\",\""+ sugg2 + "\",\"" + sugg3 + "\",\"" + sugg4 +
"\",\"" + sugg5 +
"\",\"" + copy_type + "\", 3);"
+ "document.f orms[0].mycheck2.check ed=false;"
+
"document.f orms[0].mycheck1.check ed=false;docume nt.forms[0].mycheck4.check ed=false;"
+ "document.f orms[0].mycheck5.check ed=false;"
+ "\'></td></tr>";

if (sugg4)
message += "<tr><td>" +sugg4 + " </td><td><input
type=checkbox name=mycheck4 value=\"" + sugg4 +
"\" onClick=\'self. opener.clicker( \"" + but_id + "\",\""+
sugg0 + "\",\""
+ sugg1 + "\",\""+ sugg2 + "\",\"" + sugg3 + "\",\"" + sugg4 +
"\",\"" + sugg5 +
"\",\"" + copy_type + "\", 4);"
+ "document.f orms[0].mycheck2.check ed=false;"
+
"document.f orms[0].mycheck3.check ed=false;docume nt.forms[0].mycheck1.check ed=false;"
+ "document.f orms[0].mycheck5.check ed=false;"
+ "\'></td></tr>";

if (sugg5)
message += "<tr><td>" +sugg5 + " </td><td><input
type=checkbox name=mycheck5 value=\"" + sugg5 +
"\" onClick=\'self. opener.clicker( \"" + but_id + "\",\"" +
sugg0 + "\",\""
+ sugg1 + "\",\"" + sugg2 + "\",\"" + sugg3 + "\",\"" + sugg4
+ "\",\"" + sugg5
+ "\",\"" + copy_type + "\", 5);"
+ "document.f orms[0].mycheck2.check ed=false;"
+
"document.f orms[0].mycheck3.check ed=false;docume nt.forms[0].mycheck4.check ed=false;"
+ "document.f orms[0].mycheck1.check ed=false;"
+ "\'></td></tr>";

message += "<tr><td> <input type=\"button\" class=\"btn\"
name=\"Replace\ " value=\"Replace \"
onclick=\"self. opener.replaceO pts=\'i\'\"></td>";
message += "<td> <input type=\"button\" class=\"btn\"
name=\"Replace All\" value=\"Replace All\"
onclick=\"self. opener.replaceO pts=\'ig\'\"></td>";
message += "<td> <input type=\"button\" class=\"btn\"
name=\"Done\" value=\"Done\"
onclick=\"self. opener.display. close()\"></td></tr>";
message += "</table></font>";
alert(message);

display.documen t.open();
display.documen t.write(message + "</BODY></HTML>");
display.documen t.close();

}

Jul 23 '05 #1
15 7968
wrote on 11 jul 2005 in comp.lang.javas cript:
eval("document. forms[0]." + but_id + ".value='" + suggx +
"'");

eval is evil!

Try:

document.forms[0][but_id].value = suggx

=============== ==============
var suggx;
if (p1 ==1) suggx=sugg1;
else if (p1 ==2) suggx=sugg2;
else if (p1 ==3) suggx=sugg3;
else if (p1==4) suggx=sugg4;
else suggx=sugg5;


a variation, easier with long lists:

var suggAr = [0, sugg1, sugg2, sugg3, sugg4]
var suggx=sugg5;
if (p1<5 && p1>0) suggx=suggAr[p1];

Not tested

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 23 '05 #2
ASM
so***********@y ahoo.com wrote:
Hello All:

I'm having a whale of a problem with the following code. When the words
beginning with sugg contain an escaped single-quote (\' ==> back-slash
followed by quote) the script causes an error. How can I preserve the
single quote. Please review the code below and let me know. Many
thanks!

function clicker( but_id, sugg0, sugg1, sugg2, sugg3, sugg4, sugg5,
copy_type, p1) {
var suggx;
if (p1 ==1) suggx=sugg1;
else if (p1 ==2) suggx=sugg2;
else if (p1 ==3) suggx=sugg3;
else if (p1==4) suggx=sugg4;
else suggx=sugg5;

eval("document. forms[0]." + but_id + ".value='" + suggx +
"'");
What do you expect to do with this eval ?

Did
document.forms[0][but_id].value = suggx;
or
document.forms[0].elements[but_id].value = suggx;
or
document.forms[0].but_id.value = suggx;
not work ?
eval("document. forms[0]." + but_id +
".style.backgro undColor='#ffff ff'");
document.forms[0].but_id.style.b ackgroundColor= '#ffffff'
eval("document. forms[0]." + but_id +
".style.color=' #000000'");
//alert("in clicker");

var cont;
if (copy_type.inde xOf("HTML_COPY" ) > -1) {
cont =document.forms[0].HTML_COPY.valu e;
//alert("conthtml =" + cont);
//alert("sugg0=" + sugg0);
var
txt="document.f orms[0].HTML_COPY.valu e=cont.replace(/" + sugg0 + "/" +
replaceOpts + ",'" + suggx + "')";
eval(txt);


from where comes "replaceOpt s" ?

txt=document.fo rms[0].HTML_COPY.valu e=cont.replace( sugg0/replaceOpts,sug gx);
or without using 'cont' :
with(document.f orms[0].HTML_COPY){txt =value=value.re place(sugg0/replaceOpts,sug gx);}

perhaps is it that
with(document.f orms[0].HTML_COPY) {
txt = value = value.replace(s ugg0+'/replaceOpts',su ggx);
}
what you want to do ?
--
Stephane Moriaux et son [moins] vieux Mac
Jul 23 '05 #3
ASM wrote:
so***********@y ahoo.com wrote:
Hello All:

I'm having a whale of a problem with the following code. When the words
beginning with sugg contain an escaped single-quote (\' ==> back-slash
followed by quote) the script causes an error. How can I preserve the
single quote. Please review the code below and let me know. Many
thanks!

function clicker( but_id, sugg0, sugg1, sugg2, sugg3, sugg4, sugg5,
copy_type, p1) {
var suggx;
if (p1 ==1) suggx=sugg1;
else if (p1 ==2) suggx=sugg2;
else if (p1 ==3) suggx=sugg3;
else if (p1==4) suggx=sugg4;
else suggx=sugg5;

eval("document. forms[0]." + but_id + ".value='" + suggx +
"'");
What do you expect to do with this eval ?

Did
document.forms[0][but_id].value = suggx;
or
document.forms[0].elements[but_id].value = suggx;
or
document.forms[0].but_id.value = suggx;
not work ?


It is the last one. The eval works fine. I tried substituting single
quotes in the sugg variables with the string "AQUOTE" and it works
fine. The moment I use single quotes, albeit escaped, the code breaks
down.


eval("document. forms[0]." + but_id +
".style.backgro undColor='#ffff ff'");
document.forms[0].but_id.style.b ackgroundColor= '#ffffff'

eval("document. forms[0]." + but_id +
".style.color=' #000000'");
//alert("in clicker");

var cont;
if (copy_type.inde xOf("HTML_COPY" ) > -1) {
cont =document.forms[0].HTML_COPY.valu e;
//alert("conthtml =" + cont);
//alert("sugg0=" + sugg0);
var
txt="document.f orms[0].HTML_COPY.valu e=cont.replace(/" + sugg0 + "/" +
replaceOpts + ",'" + suggx + "')";
eval(txt);


from where comes "replaceOpt s" ?


replaceOpts is a global. Also replaceAll is simple helper function

function replaceAll( str, from, to ) {
var idx = str.indexOf( from );
while ( idx > -1 ) {
str = str.replace( from, to );
idx = str.indexOf( from );
}
return str;

} txt=document.fo rms[0].HTML_COPY.valu e=cont.replace( sugg0/replaceOpts,sug gx);
or without using 'cont' :
with(document.f orms[0].HTML_COPY){txt =value=value.re place(sugg0/replaceOpts,sug gx);}

perhaps is it that
with(document.f orms[0].HTML_COPY) {
txt = value = value.replace(s ugg0+'/replaceOpts',su ggx);
}
what you want to do ?


Thanks for dissecting my code. I however am still left with the problem.

Jul 23 '05 #4
Lee
so***********@y ahoo.com said:
It is the last one. The eval works fine. I tried substituting single
quotes in the sugg variables with the string "AQUOTE" and it works
fine. The moment I use single quotes, albeit escaped, the code breaks
down.


Post your code as corrected to escape the quote and to avoid eval().
Nobody wants to help debug code that uses eval() when it isn't
necessary.

Jul 23 '05 #5
On 11/07/2005 14:24, so***********@y ahoo.com wrote:
I'm having a whale of a problem with the following code.


Indeed you are, and as others have said, the problem is because you are
using the eval function. Though it can be 'fixed', the code should be
rewritten.

The remainder of this post contains such a rewrite, but as I have no
idea how you'd end up using it, it could be just a broken. If so, post a
URL to the page in question.

var display;

function clicker(id, sugg0, sugg1, sugg2, sugg3,
sugg4, sugg5, type, p)
{
var sugg = arguments[p + 1],
controls = document.forms[0].elements,
elem;

elem = controls[id];
elem.value = sugg;
if(elem.style) {
elem.style.back groundColor = 'white';
elem.style.colo r = 'black';
}

elem = controls[(-1 != type.indexOf('H TML_COPY'))
? 'HTML_COPY'
: 'AOL_COPY'
];
elem.value = elem.value.repl ace(new RegExp(sugg0, replaceOpts),
sugg);
return true;
}

function showSugg(id, sugg0, sugg1, sugg2,
sugg3, sugg4, sugg5, type)
{
var message = ['<html>',
'<head>',
'<title><\/title>',
'<style type="text/css">',
' body {font-family: Arial, sans-serif;}',
'<\/style>',
'<\/head>',
'<body>',
'<table>'];

for(var i = 1; i <= 5; ++i) {
if(arguments[i + 1]) {
message.push('< tr>',
'<td>' + arguments[i + 1] + '<\/td>',
'<td>',
'<input type=radio name=radio value="' + sugg1
+ '" onclick="self.o pener.clicker(\ '' + id
+ '\',\'' + sugg0 + '\',\'' + sugg1
+ '\',\'' + sugg2 + '\',\'' + sugg3
+ '\',\'' + sugg4 + '\',\'' + sugg5
+ '\',\'' + type + '\',' + i + ');">',
'<\/td>',
'<\/tr>');
}
}
message.push('< tr>',
'<td>',
'<input type="button" value="Replace" '
+ 'onclick="self. opener.replaceO pts='i';">',
'<\/td>',
'<td>',
'<input type="button" value="Replace All" '
+ 'onclick="self. opener.replaceO pts='ig';">',
'<\/td>',
'<td>',
'<input type="button" value="Done" '
+ 'onclick="self. opener.display. close();">',
'<\/td>',
'<\/tr>',
'<\/table>',
'<\/body>',
'<\/html>');

display = window.open('ja vascript:' + message.join('\ n'));
}

if('function' != typeof Array.prototype .push) {
Array.prototype .push = function(v) {
var i = this.length >>> 0,
j = 0,
n = arguments.lengt h;

while(n > j) {this[i++] = arguments[j++];}
return (this.length = i);
};
}

I've taken the liberty of cleaning things up, such as changing
checkboxes into what should /clearly/ be radio buttons.

As I said before, you haven't provided enough information to allow
testing, so that will have to be your responsibility.

Mike

--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Jul 23 '05 #6
ASM
so***********@y ahoo.com wrote:
ASM wrote:
so*********** @yahoo.com wrote:
Hello All:

I'm having a whale of a problem with the following code. When the words
beginning with sugg contain an escaped single-quote (\' ==> back-slash
followed by quote) the script causes an error.
do you mean you call the function with one of its arguments written like
that ( \'foo' )
clicker('here', \'foo', ...
perhaps is it like that :
clicker('here', '\'foo', ...
if it is, try :
clicker("here", "'foo", ...

and ? on which moment (line) is the error ?
How can I preserve the
single quote. Please review the code below and let me know. Many
thanks!

function clicker( but_id, sugg0, sugg1, sugg2, sugg3, sugg4, sugg5,
copy_type, p1) {
var suggx;
if (p1 ==1) suggx=sugg1;
else if (p1 ==2) suggx=sugg2;
else if (p1 ==3) suggx=sugg3;
else if (p1==4) suggx=sugg4;
else suggx=sugg5;

eval("document. forms[0]." + but_id + ".value='" + suggx +
"'");
What do you expect to do with this eval ?

Did
document.forms[0][but_id].value = suggx;
or
document.forms[0].elements[but_id].value = suggx;
or
document.forms[0].but_id.value = suggx;
not work ?

It is the last one. The eval works fine.


still this line I would do
(but it's not necessary and is bad way to use eval)
if I well understood, it doesn't (with single quote)
further in your code
I tried substituting single
quotes in the sugg variables with the string "AQUOTE" and it works
fine. The moment I use single quotes, albeit escaped, the code breaks
down.
so ... did you try with one of what I'd suggest ?


eval("document. forms[0]." + but_id +
".style.back groundColor='#f fffff'");
document.forms[0].but_id.style.b ackgroundColor= '#ffffff'
eval("document. forms[0]." + but_id +
".style.colo r='#000000'");
//alert("in clicker");

var cont;
if (copy_type.inde xOf("HTML_COPY" ) > -1) {
cont =document.forms[0].HTML_COPY.valu e;
//alert("conthtml =" + cont);
//alert("sugg0=" + sugg0);
var
txt="documen t.forms[0].HTML_COPY.valu e=cont.replace(/" + sugg0 + "/" +
replaceOpt s + ",'" + suggx + "')";
eval(txt);


from where comes "replaceOpt s" ?

replaceOpts is a global. Also replaceAll is simple helper function


I see upthere 'replace' and not 'replaceAll'
if it is replaceAll that is called right up
and :
- str is sugg0
- from is replaceOpts
- to is suggx
you could try writting :

with(document.f orms[0].HTML_COPY) {
txt = value = value.replaceAl l(sugg0,replace Opts,suggx);
}

function replaceAll( str, from, to ) {
var idx = str.indexOf( from );
while ( idx > -1 ) {
str = str.replace( from, to );
idx = str.indexOf( from );
}
return str;

}
txt=document. forms[0].HTML_COPY.valu e=cont.replace( sugg0/replaceOpts,sug gx);
or without using 'cont' :
with(document .forms[0].HTML_COPY){txt =value=value.re place(sugg0/replaceOpts,sug gx);}

perhaps is it that
with(document.f orms[0].HTML_COPY) {
txt = value = value.replace(s ugg0+'/replaceOpts',su ggx);
}
what you want to do ?

Thanks for dissecting my code.


I love that :-)

I however am still left with the problem.

if you could extract the moment of faill down it could be helping


--
Stephane Moriaux et son [moins] vieux Mac
Jul 23 '05 #7
On 11/07/2005 17:17, Michael Winter wrote:

[snip]
'<input type="button" value="Replace" '
+ 'onclick="self. opener.replaceO pts='i';">',
[snip]
'<input type="button" value="Replace All" '
+ 'onclick="self. opener.replaceO pts='ig';">',


Seems I forgot to escape those nested quotes. The second in each snippet
above should contain =\'i\'; and =\'ig\'; respectively, not ='i'; and
='ig';.

Mike

--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Jul 23 '05 #8
so***********@y ahoo.com wrote:
I'm having a whale of a problem with the following code. eval("document. forms[0]." + but_id + ".value='" + suggx +
"'");


It is clear that you have received some extremely bad advice or
training. Did you learn to use eval from a badly written book, or did
you copy if from a badly written program?

http://www.JSLint.com
Jul 23 '05 #9


Michael Winter wrote:
On 11/07/2005 17:17, Michael Winter wrote:

[snip]
'<input type="button" value="Replace" '
+ 'onclick="self. opener.replaceO pts='i';">',


[snip]
'<input type="button" value="Replace All" '
+ 'onclick="self. opener.replaceO pts='ig';">',


Seems I forgot to escape those nested quotes. The second in each snippet
above should contain =\'i\'; and =\'ig\'; respectively, not ='i'; and
='ig';.

Mike


Many thanks for rewriting the code. I had to take out the back-slash
in the showSugg prefixed in the closing tags before the code could be
run in FireFox. Also FireFox gave this error:

Error: missing ) after argument list
Source Code:
showSugg('a1',' isn't','USN','I NS','ins','sin' ,'ISBN','HTML_C OPY')

Jul 23 '05 #10

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

Similar topics

3
22222
by: Terry Asher | last post by:
The following script does NOT escape the Apostrophe. Meaning when you mouseover the image the Alt tag says this: DMACC, It and then it stops. <SCRIPT Language="JavaScript"> var pos = "DMACC, It\'s the Smart Thing to Do."; document.write("<img name=img5 id=img5 src='/homepage/dmaccstudent" + Math.floor(Math.random() *20) + ".jpg'...
5
7956
by: KathyB | last post by:
Hi, not sure this is the right group, but hoping someone may have experienced this. I'm passing html text as a parameter to a javascript. When it has an apostrophe in it, of course it does parse correctly. BTW, using IE6 and msxml3/4. Even if I manually escape the ' with \' or '' the browser just sees it as \' or '' and not as an escaped...
2
43788
by: Matthew Wieder | last post by:
In my previous post, I asked about a routine which prepares a string for an XPath query by taking care of escape characters. Unable to find a list, I'm now wondering assumign I enclose the attribute value in quotes in my XPath query, what other escape characters need to be handled aside from a quotation mark? As I understand it, an...
12
9621
by: Jeff S | last post by:
In a VB.NET code behind module, I build a string for a link that points to a JavaScript function. The two lines of code below show what is relevant. PopupLink = "javascript:PopUpWindow(" & Chr(34) & PopUpWindowTitle & Chr(34) & ", " & Chr(34) & CurrentEventDetails & ")" strTemp += "<BR><A HREF='#' onClick='" & PopupLink & "'>" & EventName &...
1
3181
by: Harry Keck | last post by:
Is there a set of methods in the .Net framework that do the same thing as the jscript functions escape and unescape? I get very close with HttpUtility.UrlEncodeUnicode, but it puts "+" for spaces instead of "%20". Uri.EscapeString seems to create the correct escape string, but there is no unescape. The function is not public anyway, so I...
7
4178
by: Axel Dahmen | last post by:
Hi, within a DataGrid control I'm using a DataTable containing a string column to fill a Hyperlink's href attribute. Unfortunately HttpUtility.UrlEncode() doesn't escape the apostroph character, thus ruining some of my hrefs. How do I correctly escape any character using a Page's current encoding (I don't want to hard-code the encoding)?...
5
13493
by: Thomas Beyerlein | last post by:
I have been looking for how to INSERT text with an apostrophe in it into SQL example: dim TEXT as string text = "TEST'S" INSERT INTO tbl_Test (String) VALUSES('" & TEXT & "')" This doesn't crash my program but it give me a error and doesn't insert the string correctly.
131
9185
by: Lawrence D'Oliveiro | last post by:
The "escape" function in the "cgi" module escapes characters with special meanings in HTML. The ones that need escaping are '<', '&' and '"'. However, cgi.escape only escapes the quote character if you pass a second argument of True (the default is False): 'the "quick" &amp; &lt;brown&gt; fox' 'the &quot;quick&quot; &amp; &lt;brown&gt; fox' This seems to me to be...
2
4645
by: Earl | last post by:
Anyone know why the RowFilter has to be double-escaped? Anticipating names with apostrophes, a single escape does not provide the proper name to filter on. For example, this would cause an exception: Dim strname As String strname = txtContact.Text strname.Replace("'", "''") dv.RowFilter = "ContactFullName='" + strname + "'"
0
7612
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...
0
8120
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...
1
7672
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...
0
7968
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6283
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...
1
5512
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...
0
3653
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...
1
2113
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
1
1212
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.