473,769 Members | 2,102 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Wried problem

Hi,

I am using COM to automate Word. In the main thread of my program, I
store all the Document objects from Application.Doc uments. In one event
handler (the event generated by Word), if i get all the current
documents using Application.Doc uments, the objects I got are not same
ones stored previously. The event handler is called by some threads
generated by C#. But, if I get all the current documents using my own
threads, the ones returned are the same ones previously stored.

I did synchronize and all threads are MTA.

Can anyone please tell me why this is?

Thanks a lot

Sep 17 '06 #1
11 2415

"leiz" <le********@gma il.comwrote in message
news:11******** *************@i 42g2000cwa.goog legroups.com...
| Hi,
|
| I am using COM to automate Word. In the main thread of my program, I
| store all the Document objects from Application.Doc uments. In one event
| handler (the event generated by Word), if i get all the current
| documents using Application.Doc uments, the objects I got are not same
| ones stored previously. The event handler is called by some threads
| generated by C#. But, if I get all the current documents using my own
| threads, the ones returned are the same ones previously stored.
|
| I did synchronize and all threads are MTA.
|
| Can anyone please tell me why this is?
|
| Thanks a lot
|

This is not the first time you ask this, please post a complete sample that
illustrates the issue, it's really hard to help you without seeing any code.

Note that you might get better answers if you post to the
microsoft.publi c.dotnet.framew ork.interop NG.

Willy.

Sep 18 '06 #2
Here goes the simplified code:

using System;
using System.Collecti ons.Generic;
using System.Componen tModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows. Forms;
using System.Runtime. InteropServices ;
using System.Threadin g;
using Word = Microsoft.Offic e.Interop.Word;

namespace btest
{
public partial class Form1 : Form
{
private Word.Applicatio n m_WordApp;

public Form1()
{
InitializeCompo nent();
m_WordApp =
(Word.Applicati on)Marshal.GetA ctiveObject("Wo rd.Application" );
m_WordApp.Windo wActivate += new
Microsoft.Offic e.Interop.Word. ApplicationEven ts4_WindowActiv ateEventHandler (Word_WindowAct ivate);

Thread t = new Thread(new ThreadStart(thr ead));
t.SetApartmentS tate(ApartmentS tate.MTA);
t.Start();
}

private void Word_WindowActi vate(Word.Docum ent doc, Word.Window
win)
{
Word.Applicatio n app =
(Word.Applicati on)Marshal.GetA ctiveObject("Wo rd.Application" );
MessageBox.Show ("In event handler " + (app == m_WordApp));
}

private void thread()
{
Word.Applicatio n app =
(Word.Applicati on)Marshal.GetA ctiveObject("Wo rd.Application" );
MessageBox.Show ("In our thread " + (app == m_WordApp));
}
}
}

=============== =============== ===============
the problem was -- in our thread the result is true, in the event
handler the result is false.

The main thread is MTA as well.

Willy Denoyette [MVP] wrote:
"leiz" <le********@gma il.comwrote in message
news:11******** *************@i 42g2000cwa.goog legroups.com...
| Hi,
|
| I am using COM to automate Word. In the main thread of my program, I
| store all the Document objects from Application.Doc uments. In one event
| handler (the event generated by Word), if i get all the current
| documents using Application.Doc uments, the objects I got are not same
| ones stored previously. The event handler is called by some threads
| generated by C#. But, if I get all the current documents using my own
| threads, the ones returned are the same ones previously stored.
|
| I did synchronize and all threads are MTA.
|
| Can anyone please tell me why this is?
|
| Thanks a lot
|

This is not the first time you ask this, please post a complete sample that
illustrates the issue, it's really hard to help you without seeing any code.

Note that you might get better answers if you post to the
microsoft.publi c.dotnet.framew ork.interop NG.

Willy.
Sep 18 '06 #3
app == m_WordApp can never be the same, both are different object
references, more they point to different RCW's instance, so even using
Object.Referenc eEquals won't help either.
Guess you want to make sure both refer to the same instance of word, well,
the only option you have is check whether there is only one single Word
instance running using the Diagnostics.Pro cess class. If there is more than
one instance, calling GetActiveObject will connect to the first instance in
the ROT, but this is not an hard guarantee.

Willy.

"leiz" <le********@gma il.comwrote in message
news:11******** *************@e 3g2000cwe.googl egroups.com...
| Here goes the simplified code:
|
| using System;
| using System.Collecti ons.Generic;
| using System.Componen tModel;
| using System.Data;
| using System.Drawing;
| using System.Text;
| using System.Windows. Forms;
| using System.Runtime. InteropServices ;
| using System.Threadin g;
| using Word = Microsoft.Offic e.Interop.Word;
|
| namespace btest
| {
| public partial class Form1 : Form
| {
| private Word.Applicatio n m_WordApp;
|
| public Form1()
| {
| InitializeCompo nent();
|
|
| m_WordApp =
| (Word.Applicati on)Marshal.GetA ctiveObject("Wo rd.Application" );
| m_WordApp.Windo wActivate += new
|
Microsoft.Offic e.Interop.Word. ApplicationEven ts4_WindowActiv ateEventHandler (Word_WindowAct ivate);
|
| Thread t = new Thread(new ThreadStart(thr ead));
| t.SetApartmentS tate(ApartmentS tate.MTA);
| t.Start();
| }
|
| private void Word_WindowActi vate(Word.Docum ent doc, Word.Window
| win)
| {
| Word.Applicatio n app =
| (Word.Applicati on)Marshal.GetA ctiveObject("Wo rd.Application" );
| MessageBox.Show ("In event handler " + (app == m_WordApp));
| }
|
| private void thread()
| {
| Word.Applicatio n app =
| (Word.Applicati on)Marshal.GetA ctiveObject("Wo rd.Application" );
| MessageBox.Show ("In our thread " + (app == m_WordApp));
| }
| }
| }
|
| =============== =============== ===============
| the problem was -- in our thread the result is true, in the event
| handler the result is false.
|
| The main thread is MTA as well.
|
| Willy Denoyette [MVP] wrote:
| "leiz" <le********@gma il.comwrote in message
| news:11******** *************@i 42g2000cwa.goog legroups.com...
| | Hi,
| |
| | I am using COM to automate Word. In the main thread of my program, I
| | store all the Document objects from Application.Doc uments. In one
event
| | handler (the event generated by Word), if i get all the current
| | documents using Application.Doc uments, the objects I got are not same
| | ones stored previously. The event handler is called by some threads
| | generated by C#. But, if I get all the current documents using my own
| | threads, the ones returned are the same ones previously stored.
| |
| | I did synchronize and all threads are MTA.
| |
| | Can anyone please tell me why this is?
| |
| | Thanks a lot
| |
| >
| This is not the first time you ask this, please post a complete sample
that
| illustrates the issue, it's really hard to help you without seeing any
code.
| >
| Note that you might get better answers if you post to the
| microsoft.publi c.dotnet.framew ork.interop NG.
| >
| Willy.
|
Sep 18 '06 #4
In the thread() method, the result is true and I believe that the
problem is C# thread apartment problem. Because if i used STA in main
thread, the result in thread() method is false as well.

By the way, I make sure that there is only one copy of word is running.
So, the Application object should point to the same one.
Willy Denoyette [MVP] wrote:
app == m_WordApp can never be the same, both are different object
references, more they point to different RCW's instance, so even using
Object.Referenc eEquals won't help either.
Guess you want to make sure both refer to the same instance of word, well,
the only option you have is check whether there is only one single Word
instance running using the Diagnostics.Pro cess class. If there is more than
one instance, calling GetActiveObject will connect to the first instance in
the ROT, but this is not an hard guarantee.

Willy.

"leiz" <le********@gma il.comwrote in message
news:11******** *************@e 3g2000cwe.googl egroups.com...
| Here goes the simplified code:
|
| using System;
| using System.Collecti ons.Generic;
| using System.Componen tModel;
| using System.Data;
| using System.Drawing;
| using System.Text;
| using System.Windows. Forms;
| using System.Runtime. InteropServices ;
| using System.Threadin g;
| using Word = Microsoft.Offic e.Interop.Word;
|
| namespace btest
| {
| public partial class Form1 : Form
| {
| private Word.Applicatio n m_WordApp;
|
| public Form1()
| {
| InitializeCompo nent();
|
|
| m_WordApp =
| (Word.Applicati on)Marshal.GetA ctiveObject("Wo rd.Application" );
| m_WordApp.Windo wActivate += new
|
Microsoft.Offic e.Interop.Word. ApplicationEven ts4_WindowActiv ateEventHandler (Word_WindowAct ivate);
|
| Thread t = new Thread(new ThreadStart(thr ead));
| t.SetApartmentS tate(ApartmentS tate.MTA);
| t.Start();
| }
|
| private void Word_WindowActi vate(Word.Docum ent doc, Word.Window
| win)
| {
| Word.Applicatio n app =
| (Word.Applicati on)Marshal.GetA ctiveObject("Wo rd.Application" );
| MessageBox.Show ("In event handler " + (app == m_WordApp));
| }
|
| private void thread()
| {
| Word.Applicatio n app =
| (Word.Applicati on)Marshal.GetA ctiveObject("Wo rd.Application" );
| MessageBox.Show ("In our thread " + (app == m_WordApp));
| }
| }
| }
|
| =============== =============== ===============
| the problem was -- in our thread the result is true, in the event
| handler the result is false.
|
| The main thread is MTA as well.
|
| Willy Denoyette [MVP] wrote:
| "leiz" <le********@gma il.comwrote in message
| news:11******** *************@i 42g2000cwa.goog legroups.com...
| | Hi,
| |
| | I am using COM to automate Word. In the main thread of my program, I
| | store all the Document objects from Application.Doc uments. In one
event
| | handler (the event generated by Word), if i get all the current
| | documents using Application.Doc uments, the objects I got are not same
| | ones stored previously. The event handler is called by some threads
| | generated by C#. But, if I get all the current documents using my own
| | threads, the ones returned are the same ones previously stored.
| |
| | I did synchronize and all threads are MTA.
| |
| | Can anyone please tell me why this is?
| |
| | Thanks a lot
| |
| >
| This is not the first time you ask this, please post a complete sample
that
| illustrates the issue, it's really hard to help you without seeing any
code.
| >
| Note that you might get better answers if you post to the
| microsoft.publi c.dotnet.framew ork.interop NG.
| >
| Willy.
|
Sep 18 '06 #5

"leiz" <le********@gma il.comwrote in message
news:11******** **************@ e3g2000cwe.goog legroups.com...
| In the thread() method, the result is true and I believe that the
| problem is C# thread apartment problem. Because if i used STA in main
| thread, the result in thread() method is false as well.
|
| By the way, I make sure that there is only one copy of word is running.
| So, the Application object should point to the same one.
|

Sorry I missed the point that your Main thread was MTA, well, the Main
thread MUST be STA in a Windows Forms application. Second even if you set
both to STA the result will be false, because both objects live in a
different apartment. When both are MTA they live in the same apartment and
the reference is the same, but as I said this is not a valid option.

Willy.

Sep 18 '06 #6
If I understand you correctly, as along as I dont use Form and set the
main thread to MTA, the result would be true, right?

I think that the problem is that the event handler is called by some
threads created by c# are in different apartment. However, when I print
out the ApartmentState in the event handler, it is a MTA, so they
should be in same apartment. Therefore, the objects should be same.

Below is the testing code. Before you run it, open a word document.
When running, swap word document and other windows. You will see that
the comparsion is true in our thread, but it is different in the event
hanlder thread.

using System;
using System.Collecti ons.Generic;
using System.Text;
using System.Threadin g;
using System.Runtime. InteropServices ;

using Word = Microsoft.Offic e.Interop.Word;

namespace btest
{
class Program
{

[MTAThread]
static void Main(string[] args)
{
new Program();
Thread.Sleep(20 000);
}

private Word.Applicatio n m_WordApp;
public Program()
{
m_WordApp =
(Word.Applicati on)Marshal.GetA ctiveObject("Wo rd.Application" );
m_WordApp.Windo wActivate += new
Microsoft.Offic e.Interop.Word. ApplicationEven ts4_WindowActiv ateEventHandler (Word_WindowAct ivate);

Thread t = new Thread(new ThreadStart(thr ead));
t.SetApartmentS tate(ApartmentS tate.MTA);
t.Start();
}

private void Word_WindowActi vate(Word.Docum ent doc, Word.Window
win)
{
Word.Applicatio n app =
(Word.Applicati on)Marshal.GetA ctiveObject("Wo rd.Application" );

Console.WriteLi ne(Thread.Curre ntThread.GetApa rtmentState().T oString());
Console.WriteLi ne("In event handler " + (app ==
m_WordApp));
}

private void thread()
{
Word.Applicatio n app =
(Word.Applicati on)Marshal.GetA ctiveObject("Wo rd.Application" );
Console.WriteLi ne("In our thread " + (app == m_WordApp));
Thread.Sleep(20 00);
app =
(Word.Applicati on)Marshal.GetA ctiveObject("Wo rd.Application" );
Console.WriteLi ne("In our thread " + (app == m_WordApp));

}

}
}

Willy Denoyette [MVP] wrote:
"leiz" <le********@gma il.comwrote in message
news:11******** **************@ e3g2000cwe.goog legroups.com...
| In the thread() method, the result is true and I believe that the
| problem is C# thread apartment problem. Because if i used STA in main
| thread, the result in thread() method is false as well.
|
| By the way, I make sure that there is only one copy of word is running.
| So, the Application object should point to the same one.
|

Sorry I missed the point that your Main thread was MTA, well, the Main
thread MUST be STA in a Windows Forms application. Second even if you set
both to STA the result will be false, because both objects live in a
different apartment. When both are MTA they live in the same apartment and
the reference is the same, but as I said this is not a valid option.

Willy.
Sep 19 '06 #7

"leiz" <le********@gma il.comwrote in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
| If I understand you correctly, as along as I dont use Form and set the
| main thread to MTA, the result would be true, right?
|

Right.

| I think that the problem is that the event handler is called by some
| threads created by c# are in different apartment. However, when I print
| out the ApartmentState in the event handler, it is a MTA, so they
| should be in same apartment. Therefore, the objects should be same.
|

No they don't. The callback (the Sink interface) is running on a ThreadPool
thread which is created by the COM interop layer (through a CCW). The CCW
aggregates the free threaded marshaler and initializes the thread as NTA
(Neutral Threaded Apartment) which is always the case when you expose .NET
classes to COM clients.
That means that the callback can run on any thread, it has no apartment
requirements at all. The GetApartmentSta te returns MTA because it treats
both as compatible, but I would prefer the more correct NTA instead of MTA.
Anyway the context differs from the MTA context.
But, I guess you have a wrong idea about the references you are comparing
and what they point at.
app and m_WordApp are references to an object of type Word.Applicatio n,
however, this is not a reference to a COM object. It's a reference to a
context object (one per apartment type in the process) that holds a
hashtable holding RCW's which represents the real IUnknow/IDispatch COM
object interface.
So, when you compare app with m_WordApp, you compare whether they use the
same context, however, when they are equal, that doesn't mean that the COM
interfaces (the RCW) are the same, they are NOT. And because the RCW's
aren't the same doesn't mean that the object they refer to are different,
you see?
Honestly, I don't see what you are after by comparing these reference
really.
Willy.


Sep 19 '06 #8

"Willy Denoyette [MVP]" <wi************ *@telenet.bewro te in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
|
| "leiz" <le********@gma il.comwrote in message
| news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
|| If I understand you correctly, as along as I dont use Form and set the
|| main thread to MTA, the result would be true, right?
||
|
| Right.
|
|| I think that the problem is that the event handler is called by some
|| threads created by c# are in different apartment. However, when I print
|| out the ApartmentState in the event handler, it is a MTA, so they
|| should be in same apartment. Therefore, the objects should be same.
||
|
| No they don't. The callback (the Sink interface) is running on a
ThreadPool
| thread which is created by the COM interop layer (through a CCW). The CCW
| aggregates the free threaded marshaler and initializes the thread as NTA
| (Neutral Threaded Apartment) which is always the case when you expose .NET
| classes to COM clients.
| That means that the callback can run on any thread, it has no apartment
| requirements at all. The GetApartmentSta te returns MTA because it treats
| both as compatible, but I would prefer the more correct NTA instead of
MTA.
| Anyway the context differs from the MTA context.
| But, I guess you have a wrong idea about the references you are comparing
| and what they point at.
| app and m_WordApp are references to an object of type Word.Applicatio n,
| however, this is not a reference to a COM object. It's a reference to a
| context object (one per apartment type in the process) that holds a
| hashtable holding RCW's which represents the real IUnknow/IDispatch COM
| object interface.
| So, when you compare app with m_WordApp, you compare whether they use the
| same context, however, when they are equal, that doesn't mean that the COM
| interfaces (the RCW) are the same, they are NOT. And because the RCW's
| aren't the same doesn't mean that the object they refer to are different,
| you see?
| Honestly, I don't see what you are after by comparing these reference
| really.
|
|
| Willy.
Correction, after re-reading I noticed following error in above.
The callback (the Sink interface) is running on a ThreadPool
thread which is created by the COM interop layer (through a CCW).
This should read...

The callback (the Sink interface) is running on a native
thread which is created by the COM interop layer (through a CCW).

Willy.

Sep 19 '06 #9
Thank you very much. Now I understand what is going on there. I thought
NTA was windows2k only because of the statement in the dialog when you
create ATL objects. :p

I am kinda new to C#. Are there any methods to comparing two objects
across apartments.

Willy Denoyette [MVP] wrote:
"Willy Denoyette [MVP]" <wi************ *@telenet.bewro te in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
|
| "leiz" <le********@gma il.comwrote in message
| news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
|| If I understand you correctly, as along as I dont use Form and set the
|| main thread to MTA, the result would be true, right?
||
|
| Right.
|
|| I think that the problem is that the event handler is called by some
|| threads created by c# are in different apartment. However, when I print
|| out the ApartmentState in the event handler, it is a MTA, so they
|| should be in same apartment. Therefore, the objects should be same.
||
|
| No they don't. The callback (the Sink interface) is running on a
ThreadPool
| thread which is created by the COM interop layer (through a CCW). The CCW
| aggregates the free threaded marshaler and initializes the thread as NTA
| (Neutral Threaded Apartment) which is always the case when you expose .NET
| classes to COM clients.
| That means that the callback can run on any thread, it has no apartment
| requirements at all. The GetApartmentSta te returns MTA because it treats
| both as compatible, but I would prefer the more correct NTA instead of
MTA.
| Anyway the context differs from the MTA context.
| But, I guess you have a wrong idea about the references you are comparing
| and what they point at.
| app and m_WordApp are references to an object of type Word.Applicatio n,
| however, this is not a reference to a COM object. It's a reference to a
| context object (one per apartment type in the process) that holds a
| hashtable holding RCW's which represents the real IUnknow/IDispatch COM
| object interface.
| So, when you compare app with m_WordApp, you compare whether they use the
| same context, however, when they are equal, that doesn't mean that the COM
| interfaces (the RCW) are the same, they are NOT. And because the RCW's
| aren't the same doesn't mean that the object they refer to are different,
| you see?
| Honestly, I don't see what you are after by comparing these reference
| really.
|
|
| Willy.
Correction, after re-reading I noticed following error in above.
The callback (the Sink interface) is running on a ThreadPool
thread which is created by the COM interop layer (through a CCW).
This should read...

The callback (the Sink interface) is running on a native
thread which is created by the COM interop layer (through a CCW).

Willy.
Sep 19 '06 #10

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

Similar topics

0
3077
by: Bruce Davis | last post by:
I'm having a problem on windows (both 2000 and XP) with a multi-threaded tkinter gui application. The problem appears to be a deadlock condition when a child thread pops up a Pmw dialog window in the context of a main window. The problem does not occur on HPUX or Linux. The following simple example code illustrates the problem and the work around I've come up with; However, I'd like, very much, to get rid of the kludgy work around....
11
3759
by: Kostatus | last post by:
I have a virtual function in a base class, which is then overwritten by a function of the same name in a publically derived class. When I call the function using a pointer to the derived class (ClassB* b; b->func(); ) the base-class function is called instead of the new function in the derived class. All other similar functions (virtual in the base class and overwritten in the the derived class) work fine, it's just this one function. ...
0
2025
by: Refky Wahib | last post by:
Hi I need Technical Support I finished a Great project using .Net and SQL Server and .Net Mobile Control My Business case is to implement this Program to accept about 1 Million concurrent users So I designed the project as master Node that has all administration
7
1619
by: tikviva | last post by:
Hi, I have a question regarding to integer addition. Here is the problem. I have an integer, x = 0x00000001 and I also have another integer, y = 0xffffff94 Is there any method to concatenate x & y, so that x = 0x00000194 ? Thanks for the help. =)
117
7260
by: Peter Olcott | last post by:
www.halting-problem.com
28
5222
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass(); .... and then call the virtual method, why is it that the base class's method is called instead of the overridden method? How do I fix this if I don't know at runtime what the child class is? I'm using Activator.CreateInstance() to load the...
6
3812
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length is more that 1249 bytes, then the progress bar of the browser will move too slow and then displaying that the page not found!!!! If the message is less than or equal to 1249 then no problem.
16
4927
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by Microsoft must be installed on their servers. Now german Umlaute (ä, ü, ö) and quotes are returned incorrectly in SOAP fault responses. This can be easily verified: Implement the following in a web service method (just raises a SOAPException with a...
2
4555
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was set to...it is set to false. Can someone show me what I am doing wrong and tell me the correct way? Thank you. In the page load event, I am doing the following:
0
9579
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
9422
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10038
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
9987
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
9857
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
8867
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
7404
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
6662
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();...
3
2812
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.