473,746 Members | 2,709 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

creating an e-mail from acc2007 in Outlook using MS Outlook Library 12

ARC
In case anyone has ran into this yet. The following code used to work with
older versions of the MS Outlook library, but would error out in 2007:

Dim objOutlook As Outlook.Applica tion
Dim objOutlookMsg As Outlook.MailIte m
Dim objOutlookRecip As Outlook.Recipie nt
Dim objOutlookAttac h As Outlook.Attachm ent
Set objOutlook = CreateObject("O utlook.Applicat ion")
' Create the message.
Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)
With objOutlookMsg
Set objOutlookRecip = .Recipients.Add (SendAddr)

After doing some testing, I found that the code will work provided that you
first OPEN MS Outlook. In previous versions, you didn't have to have outlook
open, and it would still add the e-mail to the outbox.

If there's a fix to where you wouldn't need to open Outlook, I'd love to
know.

FYI, the error code if you don't first open Outlook is Err = 287. It would
error out upon hitting the .recipients.add statement. With Outlook opened
first, all runs well.

Aug 21 '07 #1
9 2246
On Mon, 20 Aug 2007 21:30:19 -0500, "ARC" <an**@andyc.com wrote:

But your CreateObject line opens Outlook, so I don't understand.
Just add:
objOutlook.Visi ble = True
and you can see for yourself.

Sorry I don't have Outlook2007 installed properly here so I cannot
test this further.
What is the Err.Description when you take an error?

-Tom.

>In case anyone has ran into this yet. The following code used to work with
older versions of the MS Outlook library, but would error out in 2007:

Dim objOutlook As Outlook.Applica tion
Dim objOutlookMsg As Outlook.MailIte m
Dim objOutlookRecip As Outlook.Recipie nt
Dim objOutlookAttac h As Outlook.Attachm ent
Set objOutlook = CreateObject("O utlook.Applicat ion")
' Create the message.
Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)
With objOutlookMsg
Set objOutlookRecip = .Recipients.Add (SendAddr)

After doing some testing, I found that the code will work provided that you
first OPEN MS Outlook. In previous versions, you didn't have to have outlook
open, and it would still add the e-mail to the outbox.

If there's a fix to where you wouldn't need to open Outlook, I'd love to
know.

FYI, the error code if you don't first open Outlook is Err = 287. It would
error out upon hitting the .recipients.add statement. With Outlook opened
first, all runs well.

Aug 21 '07 #2
ARC
Tom,

As an update to this. Putting the line: ObjOutlook.Visi ble = true had no
affect.

I believe the change is in the new reference library: MS Outlook 12

As I tested in my Access 97 runtime app, and it still errored out with the
same message. However, if you first open Outlook, then there is no error,
and it works as it should.

Again, in previous versions of the library file, you didn't need to first
open Outlook, and messages would be written to Outlook's outbox. Not so with
v12, but at least it works, and chances are the user will have Outlook open
most of the time.

Andy
"Tom van Stiphout" <no************ *@cox.netwrote in message
news:p4******** *************** *********@4ax.c om...
On Mon, 20 Aug 2007 21:30:19 -0500, "ARC" <an**@andyc.com wrote:

But your CreateObject line opens Outlook, so I don't understand.
Just add:
objOutlook.Visi ble = True
and you can see for yourself.

Sorry I don't have Outlook2007 installed properly here so I cannot
test this further.
What is the Err.Description when you take an error?

-Tom.

>>In case anyone has ran into this yet. The following code used to work with
older versions of the MS Outlook library, but would error out in 2007:

Dim objOutlook As Outlook.Applica tion
Dim objOutlookMsg As Outlook.MailIte m
Dim objOutlookRecip As Outlook.Recipie nt
Dim objOutlookAttac h As Outlook.Attachm ent
Set objOutlook = CreateObject("O utlook.Applicat ion")
' Create the message.
Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)
With objOutlookMsg
Set objOutlookRecip = .Recipients.Add (SendAddr)

After doing some testing, I found that the code will work provided that
you
first OPEN MS Outlook. In previous versions, you didn't have to have
outlook
open, and it would still add the e-mail to the outbox.

If there's a fix to where you wouldn't need to open Outlook, I'd love to
know.

FYI, the error code if you don't first open Outlook is Err = 287. It would
error out upon hitting the .recipients.add statement. With Outlook opened
first, all runs well.


Aug 22 '07 #3
ARC
Oh yes, and I did add error-trapping code for the error number given. If it
hits that, I inform the user that Outlook must be open prior to creating the
e-mail from the Access program.

"Tom van Stiphout" <no************ *@cox.netwrote in message
news:p4******** *************** *********@4ax.c om...
On Mon, 20 Aug 2007 21:30:19 -0500, "ARC" <an**@andyc.com wrote:

But your CreateObject line opens Outlook, so I don't understand.
Just add:
objOutlook.Visi ble = True
and you can see for yourself.

Sorry I don't have Outlook2007 installed properly here so I cannot
test this further.
What is the Err.Description when you take an error?

-Tom.

>>In case anyone has ran into this yet. The following code used to work with
older versions of the MS Outlook library, but would error out in 2007:

Dim objOutlook As Outlook.Applica tion
Dim objOutlookMsg As Outlook.MailIte m
Dim objOutlookRecip As Outlook.Recipie nt
Dim objOutlookAttac h As Outlook.Attachm ent
Set objOutlook = CreateObject("O utlook.Applicat ion")
' Create the message.
Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)
With objOutlookMsg
Set objOutlookRecip = .Recipients.Add (SendAddr)

After doing some testing, I found that the code will work provided that
you
first OPEN MS Outlook. In previous versions, you didn't have to have
outlook
open, and it would still add the e-mail to the outbox.

If there's a fix to where you wouldn't need to open Outlook, I'd love to
know.

FYI, the error code if you don't first open Outlook is Err = 287. It would
error out upon hitting the .recipients.add statement. With Outlook opened
first, all runs well.


Aug 22 '07 #4
On Aug 20, 10:30 pm, "ARC" <a...@andyc.com wrote:
In case anyone has ran into this yet. The following code used to work with
older versions of the MS Outlook library, but would error out in 2007:

Dim objOutlook As Outlook.Applica tion
Dim objOutlookMsg As Outlook.MailIte m
Dim objOutlookRecip As Outlook.Recipie nt
Dim objOutlookAttac h As Outlook.Attachm ent
Set objOutlook = CreateObject("O utlook.Applicat ion")
' Create the message.
Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)
With objOutlookMsg
Set objOutlookRecip = .Recipients.Add (SendAddr)

After doing some testing, I found that the code will work provided that you
first OPEN MS Outlook. In previous versions, you didn't have to have outlook
open, and it would still add the e-mail to the outbox.

If there's a fix to where you wouldn't need to open Outlook, I'd love to
know.

FYI, the error code if you don't first open Outlook is Err = 287. It would
error out upon hitting the .recipients.add statement. With Outlook opened
first, all runs well.
I know this is a long shot, but your problem may have been caused by
timing issues. Perhaps the new version of Outlook is taking longer to
open. The code, trying to be helpful and efficient, continues on
without waiting for CreateObject to finish and discovers that Outlook
is not open yet. That would explain why it works when Outlook is
already open. BTW, CreateObject seems never to create more than one
instance of Outlook. Try some DoEvent's in a loop (maybe 2000 times)
after your CreateObject call to see if that's the case. It's true
that the 'Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)' line
seems like it might require Outlook to be open, but perhaps it
doesn't. You can also combine this with Tom's suggestion by putting
objOutlook.Visi ble = True right before the DoEvents loop.

James A. Fortune
CD********@Fort uneJames.com

Aug 22 '07 #5
ARC
I'll try that, and report back. I already have some looping code that pauses
a few seconds, I'll insert that and let you know. Outlook 2007 does take
longer to load. When you first launch, there are a few sections that say
"..loading. ." , so it could very well be the timing of it all.

I don't know if I can use the ojbOutlook.visi ble property, as on one screen,
it's a batch e-mail process of invoices to many different customers, etc.

I'll post the results soon..and thanks for the idea!

<CD********@For tuneJames.comwr ote in message
news:11******** **************@ z24g2000prh.goo glegroups.com.. .
On Aug 20, 10:30 pm, "ARC" <a...@andyc.com wrote:
>In case anyone has ran into this yet. The following code used to work
with
older versions of the MS Outlook library, but would error out in 2007:

Dim objOutlook As Outlook.Applica tion
Dim objOutlookMsg As Outlook.MailIte m
Dim objOutlookRecip As Outlook.Recipie nt
Dim objOutlookAttac h As Outlook.Attachm ent
Set objOutlook = CreateObject("O utlook.Applicat ion")
' Create the message.
Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)
With objOutlookMsg
Set objOutlookRecip = .Recipients.Add (SendAddr)

After doing some testing, I found that the code will work provided that
you
first OPEN MS Outlook. In previous versions, you didn't have to have
outlook
open, and it would still add the e-mail to the outbox.

If there's a fix to where you wouldn't need to open Outlook, I'd love to
know.

FYI, the error code if you don't first open Outlook is Err = 287. It
would
error out upon hitting the .recipients.add statement. With Outlook opened
first, all runs well.

I know this is a long shot, but your problem may have been caused by
timing issues. Perhaps the new version of Outlook is taking longer to
open. The code, trying to be helpful and efficient, continues on
without waiting for CreateObject to finish and discovers that Outlook
is not open yet. That would explain why it works when Outlook is
already open. BTW, CreateObject seems never to create more than one
instance of Outlook. Try some DoEvent's in a loop (maybe 2000 times)
after your CreateObject call to see if that's the case. It's true
that the 'Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)' line
seems like it might require Outlook to be open, but perhaps it
doesn't. You can also combine this with Tom's suggestion by putting
objOutlook.Visi ble = True right before the DoEvents loop.

James A. Fortune
CD********@Fort uneJames.com

Aug 22 '07 #6
ARC
No luck. I even tried setting the pause loop very high.

I looked into the new settings in Outlook, especially those in the trust
center, and tried a few options dealing with unsigned macros, and
programmatic access, all to no avail.

For now, I'll just trap the error code, and inform the user that they need
to first have Outlook opened. I never noticed a problem in previous versions
of the MS Outlook Libary. Something new in 2007, I suppose.

Thanks again,

Andy
"ARC" <an**@andyc.com wrote in message
news:%p******** **********@news svr11.news.prod igy.net...
I'll try that, and report back. I already have some looping code that
pauses a few seconds, I'll insert that and let you know. Outlook 2007 does
take longer to load. When you first launch, there are a few sections that
say "..loading. ." , so it could very well be the timing of it all.

I don't know if I can use the ojbOutlook.visi ble property, as on one
screen, it's a batch e-mail process of invoices to many different
customers, etc.

I'll post the results soon..and thanks for the idea!

<CD********@For tuneJames.comwr ote in message
news:11******** **************@ z24g2000prh.goo glegroups.com.. .
>On Aug 20, 10:30 pm, "ARC" <a...@andyc.com wrote:
>>In case anyone has ran into this yet. The following code used to work
with
older versions of the MS Outlook library, but would error out in 2007:

Dim objOutlook As Outlook.Applica tion
Dim objOutlookMsg As Outlook.MailIte m
Dim objOutlookRecip As Outlook.Recipie nt
Dim objOutlookAttac h As Outlook.Attachm ent
Set objOutlook = CreateObject("O utlook.Applicat ion")
' Create the message.
Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)
With objOutlookMsg
Set objOutlookRecip = .Recipients.Add (SendAddr)

After doing some testing, I found that the code will work provided that
you
first OPEN MS Outlook. In previous versions, you didn't have to have
outlook
open, and it would still add the e-mail to the outbox.

If there's a fix to where you wouldn't need to open Outlook, I'd love to
know.

FYI, the error code if you don't first open Outlook is Err = 287. It
would
error out upon hitting the .recipients.add statement. With Outlook
opened
first, all runs well.

I know this is a long shot, but your problem may have been caused by
timing issues. Perhaps the new version of Outlook is taking longer to
open. The code, trying to be helpful and efficient, continues on
without waiting for CreateObject to finish and discovers that Outlook
is not open yet. That would explain why it works when Outlook is
already open. BTW, CreateObject seems never to create more than one
instance of Outlook. Try some DoEvent's in a loop (maybe 2000 times)
after your CreateObject call to see if that's the case. It's true
that the 'Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)' line
seems like it might require Outlook to be open, but perhaps it
doesn't. You can also combine this with Tom's suggestion by putting
objOutlook.Vis ible = True right before the DoEvents loop.

James A. Fortune
CD********@Fort uneJames.com


Aug 22 '07 #7
ARC
By the way, if you put a break and step through the code, the line below
triggers the On Error (where SendAddr is a string loaded with a valid
e-mail):

Set objOutlookRecip = .Recipients.Add (SendAddr)
"ARC" <an**@andyc.com wrote in message
news:%p******** **********@news svr11.news.prod igy.net...
I'll try that, and report back. I already have some looping code that
pauses a few seconds, I'll insert that and let you know. Outlook 2007 does
take longer to load. When you first launch, there are a few sections that
say "..loading. ." , so it could very well be the timing of it all.

I don't know if I can use the ojbOutlook.visi ble property, as on one
screen, it's a batch e-mail process of invoices to many different
customers, etc.

I'll post the results soon..and thanks for the idea!

<CD********@For tuneJames.comwr ote in message
news:11******** **************@ z24g2000prh.goo glegroups.com.. .
>On Aug 20, 10:30 pm, "ARC" <a...@andyc.com wrote:
>>In case anyone has ran into this yet. The following code used to work
with
older versions of the MS Outlook library, but would error out in 2007:

Dim objOutlook As Outlook.Applica tion
Dim objOutlookMsg As Outlook.MailIte m
Dim objOutlookRecip As Outlook.Recipie nt
Dim objOutlookAttac h As Outlook.Attachm ent
Set objOutlook = CreateObject("O utlook.Applicat ion")
' Create the message.
Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)
With objOutlookMsg
Set objOutlookRecip = .Recipients.Add (SendAddr)

After doing some testing, I found that the code will work provided that
you
first OPEN MS Outlook. In previous versions, you didn't have to have
outlook
open, and it would still add the e-mail to the outbox.

If there's a fix to where you wouldn't need to open Outlook, I'd love to
know.

FYI, the error code if you don't first open Outlook is Err = 287. It
would
error out upon hitting the .recipients.add statement. With Outlook
opened
first, all runs well.

I know this is a long shot, but your problem may have been caused by
timing issues. Perhaps the new version of Outlook is taking longer to
open. The code, trying to be helpful and efficient, continues on
without waiting for CreateObject to finish and discovers that Outlook
is not open yet. That would explain why it works when Outlook is
already open. BTW, CreateObject seems never to create more than one
instance of Outlook. Try some DoEvent's in a loop (maybe 2000 times)
after your CreateObject call to see if that's the case. It's true
that the 'Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)' line
seems like it might require Outlook to be open, but perhaps it
doesn't. You can also combine this with Tom's suggestion by putting
objOutlook.Vis ible = True right before the DoEvents loop.

James A. Fortune
CD********@Fort uneJames.com


Aug 22 '07 #8
ARC wrote:
For now, I'll just trap the error code, and inform the user that they need
to first have Outlook opened. I never noticed a problem in previous versions
of the MS Outlook Libary. Something new in 2007, I suppose.
If you care, that's what I do. I check to see if Outlook is open, I
inform if it's not open and cancel. I don't know which profile is being
used and I don't care. I figure if someone wants to send an email, open
the email program first and select the profile.
>
Thanks again,

Andy
"ARC" <an**@andyc.com wrote in message
news:%p******** **********@news svr11.news.prod igy.net...
>>I'll try that, and report back. I already have some looping code that
pauses a few seconds, I'll insert that and let you know. Outlook 2007 does
take longer to load. When you first launch, there are a few sections that
say "..loading. ." , so it could very well be the timing of it all.

I don't know if I can use the ojbOutlook.visi ble property, as on one
screen, it's a batch e-mail process of invoices to many different
customers, etc.

I'll post the results soon..and thanks for the idea!

<CD********@F ortuneJames.com wrote in message
news:11****** *************** *@z24g2000prh.g ooglegroups.com ...
>>>On Aug 20, 10:30 pm, "ARC" <a...@andyc.com wrote:

In case anyone has ran into this yet. The following code used to work
with
older versions of the MS Outlook library, but would error out in 2007:

Dim objOutlook As Outlook.Applica tion
Dim objOutlookMsg As Outlook.MailIte m
Dim objOutlookRecip As Outlook.Recipie nt
Dim objOutlookAttac h As Outlook.Attachm ent
Set objOutlook = CreateObject("O utlook.Applicat ion")
' Create the message.
Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)
With objOutlookMsg
Set objOutlookRecip = .Recipients.Add (SendAddr)

After doing some testing, I found that the code will work provided that
you
first OPEN MS Outlook. In previous versions, you didn't have to have
outlook
open, and it would still add the e-mail to the outbox.

If there's a fix to where you wouldn't need to open Outlook, I'd love to
know.

FYI, the error code if you don't first open Outlook is Err = 287. It
would
error out upon hitting the .recipients.add statement. With Outlook
opened
first, all runs well.

I know this is a long shot, but your problem may have been caused by
timing issues. Perhaps the new version of Outlook is taking longer to
open. The code, trying to be helpful and efficient, continues on
without waiting for CreateObject to finish and discovers that Outlook
is not open yet. That would explain why it works when Outlook is
already open. BTW, CreateObject seems never to create more than one
instance of Outlook. Try some DoEvent's in a loop (maybe 2000 times)
after your CreateObject call to see if that's the case. It's true
that the 'Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)' line
seems like it might require Outlook to be open, but perhaps it
doesn't. You can also combine this with Tom's suggestion by putting
objOutlook.V isible = True right before the DoEvents loop.

James A. Fortune
CD********@F ortuneJames.com


Aug 23 '07 #9
ARC
'course I do! And thanks for the reply.

"Salad" <oi*@vinegar.co mwrote in message
news:13******** *****@corp.supe rnews.com...
ARC wrote:
>For now, I'll just trap the error code, and inform the user that they
need to first have Outlook opened. I never noticed a problem in previous
versions of the MS Outlook Libary. Something new in 2007, I suppose.

If you care, that's what I do. I check to see if Outlook is open, I
inform if it's not open and cancel. I don't know which profile is being
used and I don't care. I figure if someone wants to send an email, open
the email program first and select the profile.
>>
Thanks again,

Andy
"ARC" <an**@andyc.com wrote in message
news:%p******* ***********@new ssvr11.news.pro digy.net...
>>>I'll try that, and report back. I already have some looping code that
pauses a few seconds, I'll insert that and let you know. Outlook 2007
does take longer to load. When you first launch, there are a few sections
that say "..loading. ." , so it could very well be the timing of it all.

I don't know if I can use the ojbOutlook.visi ble property, as on one
screen, it's a batch e-mail process of invoices to many different
customers, etc.

I'll post the results soon..and thanks for the idea!

<CD********@ FortuneJames.co mwrote in message
news:11***** *************** **@z24g2000prh. googlegroups.co m...

On Aug 20, 10:30 pm, "ARC" <a...@andyc.com wrote:

>In case anyone has ran into this yet. The following code used to work
>with
>older versions of the MS Outlook library, but would error out in 2007:
>
>Dim objOutlook As Outlook.Applica tion
Dim objOutlookMsg As Outlook.MailIte m
Dim objOutlookRecip As Outlook.Recipie nt
Dim objOutlookAttac h As Outlook.Attachm ent
Set objOutlook = CreateObject("O utlook.Applicat ion")
' Create the message.
Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)
With objOutlookMsg
Set objOutlookRecip = .Recipients.Add (SendAddr)
>
>After doing some testing, I found that the code will work provided that
>you
>first OPEN MS Outlook. In previous versions, you didn't have to have
>outlook
>open, and it would still add the e-mail to the outbox.
>
>If there's a fix to where you wouldn't need to open Outlook, I'd love
>to
>know.
>
>FYI, the error code if you don't first open Outlook is Err = 287. It
>would
>error out upon hitting the .recipients.add statement. With Outlook
>opened
>first, all runs well.

I know this is a long shot, but your problem may have been caused by
timing issues. Perhaps the new version of Outlook is taking longer to
open. The code, trying to be helpful and efficient, continues on
without waiting for CreateObject to finish and discovers that Outlook
is not open yet. That would explain why it works when Outlook is
already open. BTW, CreateObject seems never to create more than one
instance of Outlook. Try some DoEvent's in a loop (maybe 2000 times)
after your CreateObject call to see if that's the case. It's true
that the 'Set objOutlookMsg = objOutlook.Crea teItem(olMailIt em)' line
seems like it might require Outlook to be open, but perhaps it
doesn't. You can also combine this with Tom's suggestion by putting
objOutlook. Visible = True right before the DoEvents loop.

James A. Fortune
CD********@ FortuneJames.co m
Aug 23 '07 #10

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

Similar topics

1
1813
by: C-man | last post by:
Basically I have this little program that will look through directories and rename any file it finds. The renaming that takes place is like removing of dashes or Caps the first letter from each word and so on. Is there a better way to rename the files instead of creating a new file and calling originalFile.renameTo(new File(newFilename)); Basically I want to know if creating this new File each time will be costly in both memory and time...
6
6117
by: owen | last post by:
Generally speaking, what does it mean when I see a "button" with red text showing this message instead of the control I've dragged onto the web form in Design View.? (But the page works fine at runtime). Does it indicate a problem with References for example? Thanks Owen PS. replies cc'd by email appreciated. owen.southwood@mantix.com
4
2468
by: Nick | last post by:
Hi, I have a windows application, wherein the solution consists of 5 projects. When I try to create a setup and deployment project for this solution, I'm somehow unable to add anything in project output group. I tried creating with a setup wizard, but it just doesn't give me an option to add projects, although I was able to add files into the setup. Moreover, creating a normal setup project also did not help. I tried to add a new...
7
6666
by: John Baker | last post by:
Hi: I would like to know how to create a temp DB to store the data in a table while I do something else with the table. Specifically, how do I create the temp remove the temp I want to be certain that these are not linked or anything.
2
2157
by: Pawan | last post by:
Hi Guys, I have this current assignment where I have to develop online forms for local municipal authorities. I have to use adobe acrobat to create online forms from PDFs (which I have never done before and have no idea how to do it). Now these online forms will be shared by 1200 users. VB and ASP will be used as glueware for the writing/coding. For eg, we will be creating navigation pages in ASP & linking into adobe. Any resource on this...
2
3777
by: LIN | last post by:
Hello, Greetings. I am creating a web site which will contain lot of articles. I had been planning to create simple HTML page on the server everytime i posted a article (eg. article12.html ). Now, i want to show an advertisement on top of each of this html page. the ad banner has to be dynamically updated depending on date (period) the advertiser has planned to advertise for. So I thought of creating ASPx pages instead. Is it a good...
1
1362
by: chris | last post by:
I know I've asked this before, but I didn't really get an answer and I bet it's because I didn't explain myself very well. Here goes again. I have this code: Dim arrData(intNoOfRows, intNoOfColumns) As Object Dim intR As Integer For intC As Integer = 0 To intNoOfColumns - 1
12
3166
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without restarting the application. What I did was to create an AppDomain that loaded the plugins and everything was great, until I tried to pass something else that strings between the domains...
2
1697
by: epigram | last post by:
I'm dynamically creating a number of radio buttons on my aspx page based upon data read from a db. Each radio button has autopostback turned on. I'm experiencing two problems. 1) I am reading the db, creating the radio buttons, and setting the checked property (also based upon data in the db) in Page_Load regardless of whether a postback is occurring or not. The page loads and displays correctly each time unless the database is updated...
7
2845
by: Gladiator | last post by:
Hai all, I have Db2 installed in a partition environment . There are 4 partitons on which i created the instance. can any one tell me if i can create a database on the required partitons ...... that is i want to create the db on 1,3,4 partitons.
0
8974
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
9508
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
9350
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
9285
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
9218
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
8229
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
6772
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
6060
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
3292
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

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.