473,804 Members | 3,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IE6 Nesting Problem?

Hi. I am trying to get some javascript to work in IE6, from the
address line. It works in Firefox and, I believe, IE7.

It appears that with some number of nested structures, the code does
not execute. Take a level or two out and it works. The code below is
nonsense, but illustrates the problem.

This works:

javascript: for( a=1;a<=10;a++ ) { for( b=1;b<=10;b++ ) { if( q<1000 )
{ for( c=1;c<=10;c++ ) { for( d=1;d<=10;d++ ) { if( a 0 ) { if( a <
2000 ) { x=10; q++; } } } } } } } for( a=1;a<=10;a++ )
{ for( b=1;b<=10;b++ ) { if( q<1000 ) { for( c=1;c<=10;c++ )
{ for( d=1;d<=10;d++ ) { if( a 0 ) { x=10; q++; } } } } } }
alert( q ); void( 0 );

But this doesn't:

javascript: for( a=1;a<=10;a++ ) { for( b=1;b<=10;b++ ) { if( q<1000 )
{ for( c=1;c<=10;c++ ) { for( d=1;d<=10;d++ ) { if( a 0 ) { if( a <
2000 ) { x=10; q++; } } } } } } } for( a=1;a<=10;a++ )
{ for( b=1;b<=10;b++ ) { if( q<1000 ) { for( c=1;c<=10;c++ )
{ for( d=1;d<=10;d++ ) { if( a 0 ) { if( a < 2000 ) { x=10; q+
+; } } } } } } } alert( q ); void( 0 );

I've tried declaring the variables, blah blah blah. Still breaks. Is
this a memory issue? Am I missing something obvious in the code?
Thanks for any help!

Here's a prettied version:

javascript:
for( a=1;a<=10;a++ ) {
for( b=1;b<=10;b++ ) {
if( q<1000 ) {
for( c=1;c<=10;c++ ) {
for( d=1;d<=10;d++ ) {
if( a 0 ) {
if( a < 2000 ) {
x=10;
q++;
}
}
}
}
}
}
}
for( a=1;a<=10;a++ ) {
for( b=1;b<=10;b++ ) {
if( q<1000 ) {
for( c=1;c<=10;c++ ) {
for( d=1;d<=10;d++ ) {
if( a 0 ) {
if( a < 2000 ) {
x=10;
q++;
}
}
}
}
}
}
}
alert( q );
void( 0 );

Mar 14 '07
25 2609
javascript:
var js=document.cre ateElement('SCR IPT');
js.src='http://localhost/hi.js';
document.getEle mentsByTagName( 'HEAD')[0].appendChild(js );
setTimeout(fn=f unction() {
try {
hi();
} catch(e) {
alert(e.Descrip tion);
setTimeout( 'fn()', 10 );
}
}
, 10 );
void(0);
Whoops. The alert is (a) wrong -- should be e.description, and (b)
only in there for debugging. Ignore it.

Mar 16 '07 #11
bw***********@g mail.com wrote:
On Mar 15, 3:30 pm, "VK" <sc**********@y ahoo.comwrote:
<snip>
Using a try/catch with a timer seems to work. Do you see
any problems with this?

javascript:
var js=document.cre ateElement('SCR IPT');
js.src='http://localhost/hi.js';
document.getEle mentsByTagName( 'HEAD')[0].appendChild(js );
setTimeout(fn=f unction() {
try {
hi();
} catch(e) {
alert(e.Descrip tion);
setTimeout( 'fn()', 10 );
}
}
, 10 );
void(0);
>P.S. In the form above the bookmarklet implements i) an
environment checks, ii) full void wrap against occasional
text garbage and iii) local shy namespace so do not pollute
Global beyond the necessity
<snip>
><a href="javascrip t:void((functio n(){
if(window) {
var js=document.cre ateElement('SCR IPT');
js.src='hi.js';
document.getEle mentsByTagName( 'HEAD')[0].appendChild(js );
}})())">link </a>
<snip>
I would like to understand some of this better.

* environment checks - can you explain a bit more?
In order to explain anything it would be necessary to understand it, and
VK is not someone who understands javascript. What he may (and often
does) do is post a story laced with sufficient jargon (or jargon-like
statements) and sufficiently incoherently expressed that people who don't
know the subject may get the impression that he knows what he is talking
about (though will not learn anything) and (assuming he achieves his
usual level of incoherence) people who do understand the subject will not
know what he is talking about at all (else whenever he fails to achieve
sufficient incoherence his story would be subject to technical correction
(as may be observed from the archives of the group)).
is this the if(window) part?
It would make no sense to describe that as "environmen t checks". All web
browsers provide a property of the global object with the name 'window'
the value of which refers to the global object itself. So - if(window){
.... } - implies resolving the Identifier - window - and then
type-converting the resulting value into a boolean value and using that
boolean value to determine whether to execute the block statement that
follows the - if - test expression. The global object will type-convert
to boolean true and so the block will be executed.

However, in the event that this code was exposed to an environment where
the browser had not provided a 'window' property of the global object
(and no such environments have ever been identified in a web browser
(though non-browser environments such as ASP are not expected to provide
such a property)) the test would not result in the identifier - window -
type-converting to boolean false. Instead the attempt to type-convert the
result of resolving - window - (which would not resolve as no - window -
property of the global object would exist) would result in a runtime
error.

Thus the outcome of the "check" would be either its being passed and the
code in the block executed (the expected outcome in all browser
environments) or a runtime error. Which is effectively the same as the
expected outcome if the test was omitted entirely (the code is executed
and either errors or it does not).

The - if(window){ ... } - is a mystical incantation, and like all good
mystical incarnation structures seen in javascript code it appears
precisely because it is both useless and harmless. The only consequence
of understanding it is that it would then be seen as useless and omitted
entirely.

In general code exposed to an unknown browser environments tests might
verify the availability of the - createElement -, -
getElementsByTa gName - and - appendChild - methods actually used by the
code, as they are known not ot exist in all browser environments and so
testing for them may avoid provoking runtime errors that would follow
from their use in such environments (allowing the script to fail to act,
or use fall-back strategies, under its own control). In the context of
bookmarklet/favelet type scripts that level of testing is redundant as
you know the browser environment you are using, and so can predict its
capabilities.
Does it limit the code to IE?
There are no scriptable web browser environments where a property of the
global object with the name - window - does not refer to the global
object, and so no scriptable web browser environments where the body of
the - if - statement will not be executed. And non-web browser
environments do not provide facilities for executing javascript
pseudo-protocol URLs.
* full void wrap - you mean instead of the final void(0), right?
<snip>

VK has a strong, and apparently unshakable, belief in the magical powers
of the javascript - void - operator. As an operator - void - forms part
of an expression, it evaluates its right hand side operand (forcing any
consequential side-effects to happen) and then ensures that the
expression it forms results in the undefined value.

So in your - void(0) - expression the right hand side operand is the
grouped expression - (0) - which evaluates as the number zero, but the
entire expression evaluates as the undefined value.

An expression representing a call to any function (technically, a
CallExpression) evaluates as the value returned from the function call.
If the body of a function is exited via a return statement and that
return statement specifies a value to be returned then it is that value
that becomes the value of the entire CallExpression.

In javascript all expressions must evaluate to a value or a Reference,
and so all CallExpressions must evaluate to a value or a Reference, but
not all functions include a return statement, and not all return
statements return explicit values. Javascript reconciles this requirement
for function calls to always result in value by providing a default value
whenever a a call to a function does not explicitly return a value
itself. All function calls that do not explicitly end at a return
statement that returns a value actually return the undefined value
instead.

The anonymous function called inline (- (function(){ ... })() -) does not
include a return statement and so it returns undefined. As a result the
value of the CallExpression is also the undefined value. So using the
CallExpression as the operand of the - void - operator is evaluating the
CallExpression to get the undefined vlaue and then evaluating the -
void - expression to the undefined value:-

void (function(){ ... })())

-where the anonymous function expression does not include any return
statement, has the same value as:-

(function(){ ... })())

- and so will have the same result in any context in which it is used.

Using - void - in that context is just another mystical incantation.
Useless, but again harmless enough not to be weeded out by those not
knowledgeable enough to see its uselessness.

Richard.

Mar 17 '07 #12
VK
On Mar 16, 6:12 pm, bweaveruse...@g mail.com wrote:
* environment checks - can you explain a bit more? is this the
if(window) part? Does it limit the code to IE?
No - it limits the code to the environment where window host object is
presented and has expected properties.

Richard: the crossing questions from your post and OP's post will be
answered in OP's branch if you don't mind. Then I answer to your only
part in your branch. Also I'm still on St-Pet recovery :-), so one
answer only today.

We have to keep in our mind that this particular coding is intended
for a bookmarklet: not a code running on a page, but a code invoked by
choosing an item from Favorites/Bookmarks menu.
That means that at the moment of invocation we have no guarantee of
any kind that user will be viewing an ol' good HTML page. It may be a
PDF file, SVG drawing and God knows what else. It means that the
window host object may be not presented or presented but pointing to
something really weird. It is also good to remember that
document.someMe thod() is really a common shortcut for
window.document .someMethod()
It is _not_ a functionality crucial detail but it doesn't harm to add
if you have a few free bytes left. Say try this bookmarklet on Firefox
(so add it first to Bookmarks):
javascript:aler t(window.docume nt.body)
Try it on any HTML page. OK, now try it on say
http://www.croczilla.com/svg/samples.../butterfly.svg

Mar 17 '07 #13
On Mar 18, 6:50 am, "VK" <schools_r...@y ahoo.comwrote:
On Mar 16, 6:12 pm, bweaveruse...@g mail.com wrote:
* environment checks - can you explain a bit more? is this the
if(window) part? Does it limit the code to IE?

No - it limits the code to the environment where window host object is
presented and has expected properties.
It limits execution only in that it will produce an error earlier, it
will not stop an error from occuring. Therefore the test (as
explained by Richard) is useless.

To prevent an error it needs something like:

if (typeof window == 'object') {...}

Perhaps the OP should not have disregarded the original 'q' error.

Richard: the crossing questions from your post and OP's post will be
answered in OP's branch if you don't mind. Then I answer to your only
part in your branch. Also I'm still on St-Pet recovery :-), so one
answer only today.

We have to keep in our mind that this particular coding is intended
for a bookmarklet: not a code running on a page, but a code invoked by
choosing an item from Favorites/Bookmarks menu.
That means that at the moment of invocation we have no guarantee of
any kind that user will be viewing an ol' good HTML page.
If it might be run an a non-browser environment, it would be wise to
test all host objects and methods before use.

--
Rob

Mar 17 '07 #14
"VK" <sc**********@y ahoo.comwrote in message:
On Mar 16, 6:12 pm, bweaveruse...@g mail.com wrote:
> * environment checks - can you explain a bit more? is this the
if(window) part? Does it limit the code to IE?

No - it limits the code to the environment where window host
object is presented and has expected properties.
In what sense is provoking a runtime error in such an environment
'limiting the code'? What advantage is there is getting a "'window' is
undefined" error better than letting the code run and getting a
"'document' is undefined" error, or a "document.creat eElement is not a
function" error, or a "document.getEl ementsByTagName ('HEAD')[0] is null
or not an object" error?
Richard: the crossing questions from your post and OP's post
will be answered in OP's branch if you don't mind.
You never answer any of the questions you are asked (just as you will not
be answering the question I have asked you above). All you ever do in
response to being asked questions is post a mass of irrelevant nonsense.
Then I answer to your only part in your branch. Also I'm
still on St-Pet recovery :-), so one answer only today.
More hollow promises? Where is that much vaunted superior rounding
function you promised to post over a month ago? If you cannot write it
you could at least confirm that the task was, as everyone suspected from
the outset, beyond your capabilities.
We have to keep in our mind that this particular coding is
intended for a bookmarklet:
And so going to be deliberately activated by a user of more than average
sophistication (that is, not someone who would normally be passively
staring at the contents of a browser window) to achieve some specific
task.
not a code running on a page, but a code invoked by
choosing an item from Favorites/Bookmarks menu.
That means that at the moment of invocation we have no
guarantee of any kind that user will be viewing an ol'
good HTML page.
We can reasonably assume that if the subject document is not a type
amenable to the action of the bookmarklet it is unlikely that a user
sophisticated enough to be using boookmarklets in the first place will
choose to attempt to employ it.
It may be a
PDF file, SVG drawing and God knows what else.
And it will likely error out in such a context, but having it error-out
fractionally earlier is worthless, and the effort needed to prevent it
erroring at all is pointless as there are no consequences following from
its erroring out in an inappropriate environment.
It means that the window host object may be not presented or
presented but pointing to something really weird.
In your - if(window){ ... } - code, if the global object has a window
property that points to "something really weird" then the odds are very
good that the test will be passed, making it non-discriminating of the
"really weird".
It is also good to remember that
document.someMe thod() is really a common shortcut for
window.document .someMethod()
Nonsense. The property accessor - window.document .someMethod() - is a
longer and slower alternative to - document.soemMe thod() -, as is -
window.window.d ocument.someMet hod() -, or -
wnidow.window.w indow.document. someMethod() - and so on. Being able to do
something inefficiently does not make doing it efficiently a shortcut for
the inefficient alternatives.

And, of course, that is utterly irrelevant to anything that is under
discussion here (you do like to try to distract attention form your
follies by posting irrelevancies, don't you).
It is _not_ a functionality crucial detail but it doesn't harm
to add if you have a few free bytes left.
It is a pointless piece of code that may do no more than result in an
error being thrown fractionally sooner than it would otherwise, will not
discriminate between a window property of the global object referring to
global object and one that refers to "something really weird", and it
will not ensure that the body of the - if - statement is only executed in
HTML DOMs, as the W3C SVG DOM mandates that the ECMAScript global object
be given a - window - property that refers to the global object (so there
are better formal grounds for expecting a - window - property of the
global object in an SVG document than there are in an HTML document).

So that is a "test" that fails to discriminate anything useful (and
particularly the things you have proposed here as 'justification' for
that test) and acts in a way that pointless.
Say try this bookmarklet on Firefox
(so add it first to Bookmarks):
javascript:aler t(window.docume nt.body)
Try it on any HTML page. OK, now try it on say
http://www.croczilla.com/svg/samples.../butterfly.svg
And is the outcome changed by wrapping that code in - if(window){
.... } -? That test would be the better demonstration of the worthless
ness of your - if - statement.

Richard.

Mar 18 '07 #15
VK
On Mar 18, 1:24 pm, "Richard Cornford" <Rich...@litote s.demon.co.uk>
wrote:
And is the outcome changed by wrapping that code in - if(window){
... } -? That test would be the better demonstration of the worthless
ness of your - if - statement.
Yes, if (window) check is worthless here.
Mar 18 '07 #16
VK
On Mar 17, 3:14 pm, "Richard Cornford" <Rich...@litote s.demon.co.uk>
wrote:
In order to explain anything it would be necessary to understand it,
and VK ...
<snip the rest of the standard preface>

<snip a very detailed but irrelevant explanation of how javascript
treats different values in boolean checks>
However, in the event that this code was exposed to an environment where
the browser had not provided a 'window' property
<snip>
the attempt to type-convert the result of resolving - window -
<snip>
would result in a runtime error.
Right. So if (window) check is superfluous and useless here. My
mistake.
* full void wrap - you mean instead of the final void(0), right?

VK has a strong, and apparently unshakable, belief in the magical powers
of the javascript - void - operator.
While Mr.Cornford has a strong, and apparently unshakable, belief in
the harmful nature of void. For him worser than void expression can be
only void(expression )
We'll stop right here.
An expression representing a call to any function (technically, a
CallExpression) evaluates as the value returned from the function call.
If the body of a function is exited via a return statement and that
return statement specifies a value to be returned then it is that value
that becomes the value of the entire CallExpression.
You missed the whole idea of (function(){})( ) usage here - as well as
the shy namespace concept. I don't care of the return value. Think of
HTML page with its own script. If on this page one chooses a
bookmarklet of a kind javascript:var foo='bar'; then where variable
foo goes?

Mar 18 '07 #17
I'm replying to all of you here.

Richard, please help me understand the gist of your posts. Best I can
tell, you are saying that if(window) ... is pointless, but can you
explain the void( ... ) comments maybe a little more succinctly? Best
I can understand so far is that (function(){ ... }()) is superior to
void(function() { ... }()).

RobG, I think you missed my original point about the 'q' error, that I
understand that it should be defined, but it was not relevant to the
bookmarketlet size limit behavior that I was seeing. Declaring
variables and paying attention to scope is important; no argument
there.

VK, thanks for your help. You got me headed in the right direction and
sparked this conversation that is helping me understand some of the
finer points a bit better.

All, thanks for entertaining the questions. Here's the code at this
point. It seems to work, but do you see any problems with it?
javascript:
(function() {
var js=document.cre ateElement("SCR IPT");
js.src="http://localhost/hi.js";
document.getEle mentsByTagName( "HEAD")[0].appendChild(js );
setTimeout(fn=f unction() {
try {
hi();
} catch(e) {
setTimeout( "fn()", 10 );
}
}
, 10 );
}
())

Mar 19 '07 #18
"VK" <sc**********@y ahoo.comwrote:
On Mar 18, 1:24 pm, Richard Cornford wrote:
>And is the outcome changed by wrapping that code in -
if(window){ ... } -? That test would be the better
demonstratio n of the worthless ness of your - if -
statement.

Yes, if (window) check is worthless here.
Precisely. The - if - test is worthless in discriminating between HTML
documents and non-HTML documents, is worthless in discriminating between
window references to the global object and window references to
"something really weird" and pointless in general because all it will do
is provoke an exception to be thrown fractionally sooner that it may be
throws otherwise. Thus it is worthless in total. So why did you put it
there in the first place? And why did you say "it limits the code to the
environment where" when asked to explain it?

In truth you did not know why you had put it there, it was a mystical
incantation and its existence only persists because it is broadly
harmless in its context (or at least makes nothing any worse; "it doesn't
harm to add if you have a few free bytes left").
Richard.

Mar 19 '07 #19
<bw***********@ gmail.comwrote:
I'm replying to all of you here.

Richard, please help me understand the gist of your posts. Best
I can tell, you are saying that if(window) ... is pointless,
Absolutely pointless.
but can you explain the void( ... ) comments maybe a little
more succinctly? Best I can understand so far is that
(function(){ ... }()) is superior to void(function() { ... }()).
The first is not superior, in itself, it is just sufficient for the task.
When the anonymous function contains no return statement at all (or when
it contains a return statement that does not specify any other value) the
value of the expression - (function(){ .... })() - is the undefined
value. The value of the expression - void(function() { ... }()) - is the
undefined value. It is in fact the point of the void operator that it
evaluates its operand and then results in the undefined value. However,
if you can guarantee that the expression that is the operand of void will
evaluate to the undefined value (as you can when the expression is a call
to an anonymous function expression where the function contains no return
statement) it is pointless to make it the subject of a void operation.

It is not a characteristic of programmers that they write code that
performs operations that they know to be pointless at the point of
writing them. Doing so would be irrational.
RobG, I think you missed my original point about the 'q'
error, that I understand that it should be defined, but it
was not relevant to the bookmarketlet size limit behavior
that I was seeing.
Maybe not, but the error that followed form the undeclared - q - is the
same error that must follow from the undeclared - window - in
environments that do not provide a - window - property of the global
object natively.
Declaring variables and paying attention to scope is important;
no argument there.

VK, thanks for your help. You got me headed in the right direction
and sparked this conversation that is helping me understand some
of the finer points a bit better.
VK is very good at providing examples of things that should not be done.
It is just a pity he does it so relentlessly.
All, thanks for entertaining the questions. Here's the code at this
point. It seems to work, but do you see any problems with it?
javascript:
(function() {
var js=document.cre ateElement("SCR IPT");
js.src="http://localhost/hi.js";
document.getEle mentsByTagName( "HEAD")[0].appendChild(js );
setTimeout(fn=f unction() {
try {
hi();
} catch(e) {
setTimeout( "fn()", 10 );
}
}
, 10 );
}
())
If you are not willing to put the call to your - hi - function at the end
of your - hi.js - file (which is probably the best way of guaranteeing
that the function is defined prior to the first call to it) then you
could avoid the try-catch with a typeof test (typeof dos not error if its
subject is undeclared):-

javascript:
(function() {
function f(){
if(typeof hi == 'function'){
hi();
}else{
setTiemout(f,10 );
}
}
var js=document.cre ateElement("SCR IPT");
js.src="http://localhost/hi.js";
document.getEle mentsByTagName( "HEAD")[0].appendChild(js );
f();
}());

Though 10 milliseconds is a very short interval for a setTiemout.
Remembers that humans tend to take about 400 milliseconds to react to
anything, so a timeout of 100 milliseconds would be plenty fast enough.

Richard.

Mar 19 '07 #20

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

Similar topics

15
6581
by: JustSomeGuy | last post by:
I have a need to make an applicaiton that uses a variable number of nested for loops. for now I'm using a fixed number: for (z=0; z < Z; ++z) for (y=0; y < Y; ++y) for (x=0; x < X; ++x)
3
7141
by: Michael Hertz | last post by:
I have hundreds of samples of XML documents on my harddisc. But all of them lack the one or another feature of XML. Some XML documents have no attributes some others are rather flat (nesting level=2). Furthermore there are XML samples which do not have duplicate elements with only different attribute values or all with the same attributes. I would like to have an advanced XML document with nesting level 5-6, with 1-4 attributes of some of...
0
3116
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format, which needs a Quicktime plugin, and one Java applet. He's also kindly supplied me with sample HTML code for each. The code looks like this (simplified):
8
2858
by: Hardrock | last post by:
I encountered some difficulty in implementing dynamic loop nesting. I.e. the number of nesting in a for(...) loop is determined at run time. For example void f(int n) { For(i=0; i<=K; i++) For(i=0; i<=K; i++)
4
2143
by: kl.vanw | last post by:
I would like to count the nesting level in template classes. How can I make the following work? #include <assert.h> template <class T> class A { public: A() { // what goes here?
12
3017
by: TristaSD | last post by:
Hi, Here's a nice footer I get inside every php page I write in wwwroot on my server. The code gets parsed just fine. I installed php5.2-win32 under W2K Server, IIS 5.0. I've installed php on XP machines before, no problems there. Fatal error: Nesting level too deep - recursive dependency? in Unknown on line 0 Cannot find module (IP-MIB): At line 0 in (none) Cannot find module
6
2650
by: stephen.cunliffe | last post by:
Hi, I'm looking for opinion/facts/arguments on the correct nesting of UL, OL, & LI elements. For example, this is what I want (unordered list): * Item 1 * Item 2 * Item 3
17
1918
by: henry | last post by:
Folks Here's a skeleton, generic HTML page, call it "index.php". You'll see a bit of php code in the middle: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head>
0
10594
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10331
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
10087
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9166
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...
0
6861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
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...
1
4306
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
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.