473,748 Members | 7,377 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

General ASP & COM Question.

I have written a COM component who's purpose is to allow a user to change
his Windows (NT/AD) password via a web page. Now the component works fine
when I run it in VB 6, but not via the web page. The component also returns
an integer value that contains a return code from the Component (and the
appropriate Windows API). The result (using the ASP page) is Zero, which
indicates success. However the password doesn't change. (Zero = success, 100
= Invalid Domain, 101 = Invalid User, 102 = Invalid Password).

When using the component via VB or the LAN, we get correct results when
using bad Domains, Users and Passwords. So we are assured and confident that
the Component works as expected.

I suspected it had something to do with the IUSR account, so I added the
IUSR to the AD Domain Administrators group and the same result, ie return
result was Zero, which indicates apparent success - but the password didn't
change. So, I am at a bit of a loss as to why this doesn't work via an ASP
page.

As mentioned above, the component works fine via VB (both in the IDE and
Compiled), so we know that the code is all good and to make sure that I've
covered all the basis, I logged into AD with a normal user account and ran
the code. It worked fine. I realize that this is a security breach, but once
we have the component working via a browser, we'll tighten things up.

If anyone has any ideas, I would apprecicate pointers or some direction.

Thanks.

RG
Jul 22 '05 #1
7 1306
First, you should make sure that your component is correctly loaded and
running properly. Using something like 0 as the proof that the component
has been correctly loaded and executed can be misleading. You should use
something else as the magic number, for example 22 or 43, to make sure that
this value is not some kind of artefact.

Second, the best way of debugging something is to use the old technic of
writing somewhere something about each step taken by your program.

S. L.

"Richard Gutery" <rg*****@mentor its.com> wrote in message
news:u2******** ********@tk2msf tngp13.phx.gbl. ..
I have written a COM component who's purpose is to allow a user to change
his Windows (NT/AD) password via a web page. Now the component works fine
when I run it in VB 6, but not via the web page. The component also returns
an integer value that contains a return code from the Component (and the
appropriate Windows API). The result (using the ASP page) is Zero, which
indicates success. However the password doesn't change. (Zero = success,
100 = Invalid Domain, 101 = Invalid User, 102 = Invalid Password).

When using the component via VB or the LAN, we get correct results when
using bad Domains, Users and Passwords. So we are assured and confident
that the Component works as expected.

I suspected it had something to do with the IUSR account, so I added the
IUSR to the AD Domain Administrators group and the same result, ie return
result was Zero, which indicates apparent success - but the password
didn't change. So, I am at a bit of a loss as to why this doesn't work via
an ASP page.

As mentioned above, the component works fine via VB (both in the IDE and
Compiled), so we know that the code is all good and to make sure that I've
covered all the basis, I logged into AD with a normal user account and ran
the code. It worked fine. I realize that this is a security breach, but
once we have the component working via a browser, we'll tighten things up.

If anyone has any ideas, I would apprecicate pointers or some direction.

Thanks.

RG

Jul 22 '05 #2
Thaks SL, but the return value of 0 is actually returned by
GetObject("WinN T://"...) which is part of the Active DS library. And yes, my
code is well documented and researched.

The question was, why doesn't this work in an ASP page?

As stated, it works fine when compiled in a VB project, but when the
component is used in an ASP page, it "Apparently " works, that is to say no
errors returned by Active DS lib. Also we use the following tools to
determine and track activity: Regmon, Handle, Listdlls and Process Explorer
(all by Sysinternals). These tools all indicate that the component is
loading properly, executing properly and returning correct results.

Agian, it works fine EXCEPT in an ASP page. In the ASP page, we get the same
return codes (see below) as we get on the LAN via VB (or compiled), but when
used in the ASP page, the password does not get changed.

Thanks...

RG

"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:ua******** ********@TK2MSF TNGP14.phx.gbl. ..
First, you should make sure that your component is correctly loaded and
running properly. Using something like 0 as the proof that the component
has been correctly loaded and executed can be misleading. You should use
something else as the magic number, for example 22 or 43, to make sure
that this value is not some kind of artefact.

Second, the best way of debugging something is to use the old technic of
writing somewhere something about each step taken by your program.

S. L.

"Richard Gutery" <rg*****@mentor its.com> wrote in message
news:u2******** ********@tk2msf tngp13.phx.gbl. ..
I have written a COM component who's purpose is to allow a user to change
his Windows (NT/AD) password via a web page. Now the component works fine
when I run it in VB 6, but not via the web page. The component also
returns an integer value that contains a return code from the Component
(and the appropriate Windows API). The result (using the ASP page) is
Zero, which indicates success. However the password doesn't change. (Zero
= success, 100 = Invalid Domain, 101 = Invalid User, 102 = Invalid
Password).

When using the component via VB or the LAN, we get correct results when
using bad Domains, Users and Passwords. So we are assured and confident
that the Component works as expected.

I suspected it had something to do with the IUSR account, so I added the
IUSR to the AD Domain Administrators group and the same result, ie return
result was Zero, which indicates apparent success - but the password
didn't change. So, I am at a bit of a loss as to why this doesn't work
via an ASP page.

As mentioned above, the component works fine via VB (both in the IDE and
Compiled), so we know that the code is all good and to make sure that
I've covered all the basis, I logged into AD with a normal user account
and ran the code. It worked fine. I realize that this is a security
breach, but once we have the component working via a browser, we'll
tighten things up.

If anyone has any ideas, I would apprecicate pointers or some direction.

Thanks.

RG


Jul 22 '05 #3
After some thinking, the IUSER_machine account is not necessarily the
account used to run your Active-X: the authentificatio n process used to log
on the user and the isolation level for the application running under IIS
may change that. Under some conditions, the IWAM_machine account or the
real user account may be used; see for example:

http://support.microsoft.com/kb/319067/EN-US/

and:
http://support.microsoft.com/kb/248187/EN-US/

This may explain why adding the IUSER_machine account to the AD Domain
Administrators has been ineffective. You should try the same thing with
IWAM_machine or with the account used to log in.

S. L.

"Richard Gutery" <rg*****@mentor its.com> wrote in message
news:eV******** ********@tk2msf tngp13.phx.gbl. ..
Thaks SL, but the return value of 0 is actually returned by
GetObject("WinN T://"...) which is part of the Active DS library. And yes,
my code is well documented and researched.

The question was, why doesn't this work in an ASP page?

As stated, it works fine when compiled in a VB project, but when the
component is used in an ASP page, it "Apparently " works, that is to say no
errors returned by Active DS lib. Also we use the following tools to
determine and track activity: Regmon, Handle, Listdlls and Process
Explorer (all by Sysinternals). These tools all indicate that the
component is loading properly, executing properly and returning correct
results.

Agian, it works fine EXCEPT in an ASP page. In the ASP page, we get the
same return codes (see below) as we get on the LAN via VB (or compiled),
but when used in the ASP page, the password does not get changed.

Thanks...

RG

"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:ua******** ********@TK2MSF TNGP14.phx.gbl. ..
First, you should make sure that your component is correctly loaded and
running properly. Using something like 0 as the proof that the component
has been correctly loaded and executed can be misleading. You should use
something else as the magic number, for example 22 or 43, to make sure
that this value is not some kind of artefact.

Second, the best way of debugging something is to use the old technic of
writing somewhere something about each step taken by your program.

S. L.

"Richard Gutery" <rg*****@mentor its.com> wrote in message
news:u2******** ********@tk2msf tngp13.phx.gbl. ..
I have written a COM component who's purpose is to allow a user to change
his Windows (NT/AD) password via a web page. Now the component works fine
when I run it in VB 6, but not via the web page. The component also
returns an integer value that contains a return code from the Component
(and the appropriate Windows API). The result (using the ASP page) is
Zero, which indicates success. However the password doesn't change. (Zero
= success, 100 = Invalid Domain, 101 = Invalid User, 102 = Invalid
Password).

When using the component via VB or the LAN, we get correct results when
using bad Domains, Users and Passwords. So we are assured and confident
that the Component works as expected.

I suspected it had something to do with the IUSR account, so I added the
IUSR to the AD Domain Administrators group and the same result, ie
return result was Zero, which indicates apparent success - but the
password didn't change. So, I am at a bit of a loss as to why this
doesn't work via an ASP page.

As mentioned above, the component works fine via VB (both in the IDE and
Compiled), so we know that the code is all good and to make sure that
I've covered all the basis, I logged into AD with a normal user account
and ran the code. It worked fine. I realize that this is a security
breach, but once we have the component working via a browser, we'll
tighten things up.

If anyone has any ideas, I would apprecicate pointers or some direction.

Thanks.

RG



Jul 22 '05 #4
Thanks SL, I'll try that later (never thought of it...).

RG
"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:O5******** ******@TK2MSFTN GP12.phx.gbl...
After some thinking, the IUSER_machine account is not necessarily the
account used to run your Active-X: the authentificatio n process used to
log on the user and the isolation level for the application running under
IIS may change that. Under some conditions, the IWAM_machine account or
the real user account may be used; see for example:

http://support.microsoft.com/kb/319067/EN-US/

and:
http://support.microsoft.com/kb/248187/EN-US/

This may explain why adding the IUSER_machine account to the AD Domain
Administrators has been ineffective. You should try the same thing with
IWAM_machine or with the account used to log in.

S. L.

"Richard Gutery" <rg*****@mentor its.com> wrote in message
news:eV******** ********@tk2msf tngp13.phx.gbl. ..
Thaks SL, but the return value of 0 is actually returned by
GetObject("WinN T://"...) which is part of the Active DS library. And yes,
my code is well documented and researched.

The question was, why doesn't this work in an ASP page?

As stated, it works fine when compiled in a VB project, but when the
component is used in an ASP page, it "Apparently " works, that is to say
no errors returned by Active DS lib. Also we use the following tools to
determine and track activity: Regmon, Handle, Listdlls and Process
Explorer (all by Sysinternals). These tools all indicate that the
component is loading properly, executing properly and returning correct
results.

Agian, it works fine EXCEPT in an ASP page. In the ASP page, we get the
same return codes (see below) as we get on the LAN via VB (or compiled),
but when used in the ASP page, the password does not get changed.

Thanks...

RG

"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:ua******** ********@TK2MSF TNGP14.phx.gbl. ..
First, you should make sure that your component is correctly loaded and
running properly. Using something like 0 as the proof that the
component has been correctly loaded and executed can be misleading. You
should use something else as the magic number, for example 22 or 43, to
make sure that this value is not some kind of artefact.

Second, the best way of debugging something is to use the old technic of
writing somewhere something about each step taken by your program.

S. L.

"Richard Gutery" <rg*****@mentor its.com> wrote in message
news:u2******** ********@tk2msf tngp13.phx.gbl. ..
I have written a COM component who's purpose is to allow a user to
change his Windows (NT/AD) password via a web page. Now the component
works fine when I run it in VB 6, but not via the web page. The
component also returns an integer value that contains a return code from
the Component (and the appropriate Windows API). The result (using the
ASP page) is Zero, which indicates success. However the password doesn't
change. (Zero = success, 100 = Invalid Domain, 101 = Invalid User, 102 =
Invalid Password).

When using the component via VB or the LAN, we get correct results when
using bad Domains, Users and Passwords. So we are assured and confident
that the Component works as expected.

I suspected it had something to do with the IUSR account, so I added
the IUSR to the AD Domain Administrators group and the same result, ie
return result was Zero, which indicates apparent success - but the
password didn't change. So, I am at a bit of a loss as to why this
doesn't work via an ASP page.

As mentioned above, the component works fine via VB (both in the IDE
and Compiled), so we know that the code is all good and to make sure
that I've covered all the basis, I logged into AD with a normal user
account and ran the code. It worked fine. I realize that this is a
security breach, but once we have the component working via a browser,
we'll tighten things up.

If anyone has any ideas, I would apprecicate pointers or some
direction.

Thanks.

RG



Jul 22 '05 #5
Hi again SL.

I tried your suggestion for the IWAM account, no go.

You suggested using the 'Real User' account (which of course would be all
Domain Users) so I added the Users Local Account - no go.

So, I followed your link and found this one:
http://support.microsoft.com/kb/248187/EN-US/ which fixed everything up real
good, with a few minor problems - but I suspect it has to do with network
latency (i.e. Named Pipes thru RPC timeouts). That I can work on.

Thanks again for the direction.

RG
"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:O5******** ******@TK2MSFTN GP12.phx.gbl...
After some thinking, the IUSER_machine account is not necessarily the
account used to run your Active-X: the authentificatio n process used to
log on the user and the isolation level for the application running under
IIS may change that. Under some conditions, the IWAM_machine account or
the real user account may be used; see for example:

http://support.microsoft.com/kb/319067/EN-US/

and:
http://support.microsoft.com/kb/248187/EN-US/

This may explain why adding the IUSER_machine account to the AD Domain
Administrators has been ineffective. You should try the same thing with
IWAM_machine or with the account used to log in.

S. L.

"Richard Gutery" <rg*****@mentor its.com> wrote in message
news:eV******** ********@tk2msf tngp13.phx.gbl. ..
Thaks SL, but the return value of 0 is actually returned by
GetObject("WinN T://"...) which is part of the Active DS library. And yes,
my code is well documented and researched.

The question was, why doesn't this work in an ASP page?

As stated, it works fine when compiled in a VB project, but when the
component is used in an ASP page, it "Apparently " works, that is to say
no errors returned by Active DS lib. Also we use the following tools to
determine and track activity: Regmon, Handle, Listdlls and Process
Explorer (all by Sysinternals). These tools all indicate that the
component is loading properly, executing properly and returning correct
results.

Agian, it works fine EXCEPT in an ASP page. In the ASP page, we get the
same return codes (see below) as we get on the LAN via VB (or compiled),
but when used in the ASP page, the password does not get changed.

Thanks...

RG

"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:ua******** ********@TK2MSF TNGP14.phx.gbl. ..
First, you should make sure that your component is correctly loaded and
running properly. Using something like 0 as the proof that the
component has been correctly loaded and executed can be misleading. You
should use something else as the magic number, for example 22 or 43, to
make sure that this value is not some kind of artefact.

Second, the best way of debugging something is to use the old technic of
writing somewhere something about each step taken by your program.

S. L.

"Richard Gutery" <rg*****@mentor its.com> wrote in message
news:u2******** ********@tk2msf tngp13.phx.gbl. ..
I have written a COM component who's purpose is to allow a user to
change his Windows (NT/AD) password via a web page. Now the component
works fine when I run it in VB 6, but not via the web page. The
component also returns an integer value that contains a return code from
the Component (and the appropriate Windows API). The result (using the
ASP page) is Zero, which indicates success. However the password doesn't
change. (Zero = success, 100 = Invalid Domain, 101 = Invalid User, 102 =
Invalid Password).

When using the component via VB or the LAN, we get correct results when
using bad Domains, Users and Passwords. So we are assured and confident
that the Component works as expected.

I suspected it had something to do with the IUSR account, so I added
the IUSR to the AD Domain Administrators group and the same result, ie
return result was Zero, which indicates apparent success - but the
password didn't change. So, I am at a bit of a loss as to why this
doesn't work via an ASP page.

As mentioned above, the component works fine via VB (both in the IDE
and Compiled), so we know that the code is all good and to make sure
that I've covered all the basis, I logged into AD with a normal user
account and ran the code. It worked fine. I realize that this is a
security breach, but once we have the component working via a browser,
we'll tighten things up.

If anyone has any ideas, I would apprecicate pointers or some
direction.

Thanks.

RG



Jul 22 '05 #6
This is one of the main problem with Windows and IIS, it's very hard to know
what going on under the hood and error messages are often not informative at
all about what's really going wrong.

S. L.

"Richard Gutery" <rg*****@mentor its.com> wrote in message
news:uw******** ******@TK2MSFTN GP11.phx.gbl...
Hi again SL.

I tried your suggestion for the IWAM account, no go.

You suggested using the 'Real User' account (which of course would be all
Domain Users) so I added the Users Local Account - no go.

So, I followed your link and found this one:
http://support.microsoft.com/kb/248187/EN-US/ which fixed everything up
real good, with a few minor problems - but I suspect it has to do with
network latency (i.e. Named Pipes thru RPC timeouts). That I can work on.

Thanks again for the direction.

RG
"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:O5******** ******@TK2MSFTN GP12.phx.gbl...
After some thinking, the IUSER_machine account is not necessarily the
account used to run your Active-X: the authentificatio n process used to
log on the user and the isolation level for the application running under
IIS may change that. Under some conditions, the IWAM_machine account or
the real user account may be used; see for example:

http://support.microsoft.com/kb/319067/EN-US/

and:
http://support.microsoft.com/kb/248187/EN-US/

This may explain why adding the IUSER_machine account to the AD Domain
Administrators has been ineffective. You should try the same thing with
IWAM_machine or with the account used to log in.

S. L.

"Richard Gutery" <rg*****@mentor its.com> wrote in message
news:eV******** ********@tk2msf tngp13.phx.gbl. ..
Thaks SL, but the return value of 0 is actually returned by
GetObject("WinN T://"...) which is part of the Active DS library. And
yes, my code is well documented and researched.

The question was, why doesn't this work in an ASP page?

As stated, it works fine when compiled in a VB project, but when the
component is used in an ASP page, it "Apparently " works, that is to say
no errors returned by Active DS lib. Also we use the following tools to
determine and track activity: Regmon, Handle, Listdlls and Process
Explorer (all by Sysinternals). These tools all indicate that the
component is loading properly, executing properly and returning correct
results.

Agian, it works fine EXCEPT in an ASP page. In the ASP page, we get the
same return codes (see below) as we get on the LAN via VB (or compiled),
but when used in the ASP page, the password does not get changed.

Thanks...

RG

"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:ua******** ********@TK2MSF TNGP14.phx.gbl. ..
First, you should make sure that your component is correctly loaded and
running properly. Using something like 0 as the proof that the
component has been correctly loaded and executed can be misleading.
You should use something else as the magic number, for example 22 or
43, to make sure that this value is not some kind of artefact.

Second, the best way of debugging something is to use the old technic
of writing somewhere something about each step taken by your program.

S. L.

"Richard Gutery" <rg*****@mentor its.com> wrote in message
news:u2******** ********@tk2msf tngp13.phx.gbl. ..
>I have written a COM component who's purpose is to allow a user to
>change his Windows (NT/AD) password via a web page. Now the component
>works fine when I run it in VB 6, but not via the web page. The
>componen t also returns an integer value that contains a return code
>from the Component (and the appropriate Windows API). The result (using
>the ASP page) is Zero, which indicates success. However the password
>doesn't change. (Zero = success, 100 = Invalid Domain, 101 = Invalid
>User, 102 = Invalid Password).
>
> When using the component via VB or the LAN, we get correct results
> when using bad Domains, Users and Passwords. So we are assured and
> confident that the Component works as expected.
>
> I suspected it had something to do with the IUSR account, so I added
> the IUSR to the AD Domain Administrators group and the same result, ie
> return result was Zero, which indicates apparent success - but the
> password didn't change. So, I am at a bit of a loss as to why this
> doesn't work via an ASP page.
>
> As mentioned above, the component works fine via VB (both in the IDE
> and Compiled), so we know that the code is all good and to make sure
> that I've covered all the basis, I logged into AD with a normal user
> account and ran the code. It worked fine. I realize that this is a
> security breach, but once we have the component working via a browser,
> we'll tighten things up.
>
> If anyone has any ideas, I would apprecicate pointers or some
> direction.
>
> Thanks.
>
> RG
>



Jul 22 '05 #7
Yeah! MS should have called the OS - "SHUTTERS".

RG

"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:OQ******** ******@TK2MSFTN GP11.phx.gbl...
This is one of the main problem with Windows and IIS, it's very hard to
know what going on under the hood and error messages are often not
informative at all about what's really going wrong.

S. L.

"Richard Gutery" <rg*****@mentor its.com> wrote in message
news:uw******** ******@TK2MSFTN GP11.phx.gbl...
Hi again SL.

I tried your suggestion for the IWAM account, no go.

You suggested using the 'Real User' account (which of course would be all
Domain Users) so I added the Users Local Account - no go.

So, I followed your link and found this one:
http://support.microsoft.com/kb/248187/EN-US/ which fixed everything up
real good, with a few minor problems - but I suspect it has to do with
network latency (i.e. Named Pipes thru RPC timeouts). That I can work on.

Thanks again for the direction.

RG
"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:O5******** ******@TK2MSFTN GP12.phx.gbl...
After some thinking, the IUSER_machine account is not necessarily the
account used to run your Active-X: the authentificatio n process used to
log on the user and the isolation level for the application running
under IIS may change that. Under some conditions, the IWAM_machine
account or the real user account may be used; see for example:

http://support.microsoft.com/kb/319067/EN-US/

and:
http://support.microsoft.com/kb/248187/EN-US/

This may explain why adding the IUSER_machine account to the AD Domain
Administrators has been ineffective. You should try the same thing with
IWAM_machine or with the account used to log in.

S. L.

"Richard Gutery" <rg*****@mentor its.com> wrote in message
news:eV******** ********@tk2msf tngp13.phx.gbl. ..
Thaks SL, but the return value of 0 is actually returned by
GetObject("WinN T://"...) which is part of the Active DS library. And
yes, my code is well documented and researched.

The question was, why doesn't this work in an ASP page?

As stated, it works fine when compiled in a VB project, but when the
component is used in an ASP page, it "Apparently " works, that is to say
no errors returned by Active DS lib. Also we use the following tools to
determine and track activity: Regmon, Handle, Listdlls and Process
Explorer (all by Sysinternals). These tools all indicate that the
component is loading properly, executing properly and returning correct
results.

Agian, it works fine EXCEPT in an ASP page. In the ASP page, we get the
same return codes (see below) as we get on the LAN via VB (or
compiled), but when used in the ASP page, the password does not get
changed.

Thanks...

RG

"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:ua******** ********@TK2MSF TNGP14.phx.gbl. ..
> First, you should make sure that your component is correctly loaded
> and running properly. Using something like 0 as the proof that the
> component has been correctly loaded and executed can be misleading.
> You should use something else as the magic number, for example 22 or
> 43, to make sure that this value is not some kind of artefact.
>
> Second, the best way of debugging something is to use the old technic
> of writing somewhere something about each step taken by your program.
>
> S. L.
>
> "Richard Gutery" <rg*****@mentor its.com> wrote in message
> news:u2******** ********@tk2msf tngp13.phx.gbl. ..
>>I have written a COM component who's purpose is to allow a user to
>>change his Windows (NT/AD) password via a web page. Now the component
>>works fine when I run it in VB 6, but not via the web page. The
>>compone nt also returns an integer value that contains a return code
>>from the Component (and the appropriate Windows API). The result
>>(using the ASP page) is Zero, which indicates success. However the
>>passwor d doesn't change. (Zero = success, 100 = Invalid Domain, 101 =
>>Invalid User, 102 = Invalid Password).
>>
>> When using the component via VB or the LAN, we get correct results
>> when using bad Domains, Users and Passwords. So we are assured and
>> confident that the Component works as expected.
>>
>> I suspected it had something to do with the IUSR account, so I added
>> the IUSR to the AD Domain Administrators group and the same result,
>> ie return result was Zero, which indicates apparent success - but the
>> password didn't change. So, I am at a bit of a loss as to why this
>> doesn't work via an ASP page.
>>
>> As mentioned above, the component works fine via VB (both in the IDE
>> and Compiled), so we know that the code is all good and to make sure
>> that I've covered all the basis, I logged into AD with a normal user
>> account and ran the code. It worked fine. I realize that this is a
>> security breach, but once we have the component working via a
>> browser, we'll tighten things up.
>>
>> If anyone has any ideas, I would apprecicate pointers or some
>> direction.
>>
>> Thanks.
>>
>> RG
>>
>
>



Jul 22 '05 #8

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

Similar topics

11
3647
by: BoonHead, The Lost Philosopher | last post by:
I think the .NET framework is great! It's nice, clean and logical; in contradiction to the old Microsoft. It only saddens me that the new Microsoft still doesn't under stand there own rules when it comes to file paths. A lot of Microsoft installers for example, and also installers of other companies, do not work because they handle paths in the following manner:
27
3849
by: Daniel Vallstrom | last post by:
I'm having problems with inconsistent floating point behavior resulting in e.g. assert( x > 0.0 && putchar('\n') && x == 0.0 ); holding. (Actually, my problem is the dual one where I get failed assertions for assertions that at first thought ought to hold, but that's not important.) At the end is a full program containing the above seemingly
20
11343
by: William | last post by:
Original question: "Give a one-line C expression to test whether a number is a power of 2. " Answer: if (x && !(x & (x-1)) == 0) My question: Why does this expression work?
2
1090
by: Russell Mangel | last post by:
Thanks for making such an awesome programming environment, it's truly amazing. I really like C#, but C++ .net is so powerful, (The Interop capabilities are mind boggling.) Here are the things that I personally like the most: (The improvements in VS2005 framework). 1. The new System.DirectoryServices.Protocols. LDAP classes are truly
6
2246
by: cj | last post by:
I'm receiving an xml formatted string that I pull data from by reading it into an xml document like this: Dim doc As New Xml.XmlDocument doc.LoadXml(respstr) Dim co_name As Xml.XmlNodeList = doc.GetElementsByTagName("co_name") textbox1.text = co_name(0).innertext Now I'm getting company names that have ampersands in them. I was not aware that was not allowed in xml and had no method of dealing with it.
14
5934
by: Arne | last post by:
A lot of Firefox users I know, says they have problems with validation where the ampersand sign has to be written as &amp; to be valid. I don't have Firefox my self and don't wont to install it only because of this, so I hope some of you gurus can enlighten me with this :) In what circumstances can the "&amp;" in the source code be involuntary changed to "&" by a browser when or other software, when editing and uploading the file to the web...
11
2652
by: dhan | last post by:
please give answer
0
6743
by: Vijay | last post by:
Prep Courses for International Certifications, CSTE & CSQA & ISEB & ISTQB &Business Analyst & SOA Certifications in HYDERABAD. After receiving overwhelming response to our last 50+ batches, SPECTRAMIND SOLUTIONS now announces a new batch of Prep Courses for CSQA & CSTE& ISEB & ISTQB & Business Analyst & SOA so as to prepare you thoroughly for the most prestigious certification exams conducted by International organizations. We...
2
1102
by: amitpathak | last post by:
Hi My problem is How can I make Java application always on top of other apllication I have been googling it for so many days but couldn't find anything useful And the second question is How do I start my application with the windows startup. I mean my application should start itself automatically at the time of booting .
0
8989
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9537
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...
0
9367
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
9319
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,...
1
6795
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
6073
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();...
1
3309
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
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2213
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.