Click here to Skip to main content
16,004,854 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to get items out of a Scripting.Dictionary instance ? Pin
Heath Stewart25-May-04 6:38
protectorHeath Stewart25-May-04 6:38 
GeneralRe: How to get items out of a Scripting.Dictionary instance ? Pin
PeteV25-May-04 9:13
PeteV25-May-04 9:13 
GeneralRe: How to get items out of a Scripting.Dictionary instance ? Pin
Heath Stewart25-May-04 9:18
protectorHeath Stewart25-May-04 9:18 
GeneralRe: How to get items out of a Scripting.Dictionary instance ? Pin
PeteV25-May-04 9:46
PeteV25-May-04 9:46 
GeneralRe: How to get items out of a Scripting.Dictionary instance ? Pin
Heath Stewart25-May-04 10:03
protectorHeath Stewart25-May-04 10:03 
GeneralRe: How to get items out of a Scripting.Dictionary instance ? Pin
PeteV25-May-04 10:14
PeteV25-May-04 10:14 
GeneralQuestion related to Word automation Pin
Mihamar25-May-04 5:05
Mihamar25-May-04 5:05 
GeneralRe: Question related to Word automation Pin
Heath Stewart25-May-04 6:53
protectorHeath Stewart25-May-04 6:53 
You would need to use the Selection object, yes. This can give you a Range which you can use or replace. I would suggest looking at the object model documentation in MSDN Online[^]., though you'll probably get better help if you have installed the developer help files with Office. The stuff on MSDN doesn't contain a very good TOC (table of contents) for the object model documentation. The developer help files (can be installed with any version of Office, IIRC) will be much more help.

Keep in mind that while those examples typically use VB (a COM client language), the same applies for you since you've created an (or are using an existing) interop assembly that wraps the COM objects, enums, and members (a Runtime Callable Wrapper, or RCW). While parameters may typically be declared as object or ref object, you still pass in the right objects (or a reference to them using ref someObjectInstance) according to what the object model documentation says.

 

Microsoft MVP, Visual C#
My Articles
GeneralRetrieve Listbox items Pin
BillAnton25-May-04 4:35
BillAnton25-May-04 4:35 
GeneralRe: Retrieve Listbox items Pin
Judah Gabriel Himango25-May-04 4:47
sponsorJudah Gabriel Himango25-May-04 4:47 
GeneralRe: Retrieve Listbox items Pin
BillAnton25-May-04 5:25
BillAnton25-May-04 5:25 
GeneralRe: Retrieve Listbox items Pin
netclectic25-May-04 5:44
netclectic25-May-04 5:44 
GeneralRe: Retrieve Listbox items Pin
BillAnton25-May-04 10:29
BillAnton25-May-04 10:29 
GeneralChange Font Size through out the application Pin
Chris#25-May-04 4:26
Chris#25-May-04 4:26 
GeneralRe: Change Font Size through out the application Pin
Judah Gabriel Himango25-May-04 4:44
sponsorJudah Gabriel Himango25-May-04 4:44 
GeneralRe: Change Font Size through out the application Pin
leppie25-May-04 9:30
leppie25-May-04 9:30 
GeneralRemoting question Pin
Judah Gabriel Himango25-May-04 4:24
sponsorJudah Gabriel Himango25-May-04 4:24 
GeneralRe: Remoting question Pin
Heath Stewart25-May-04 6:03
protectorHeath Stewart25-May-04 6:03 
GeneralRe: Remoting question Pin
Judah Gabriel Himango25-May-04 6:09
sponsorJudah Gabriel Himango25-May-04 6:09 
GeneralRe: Remoting question Pin
Heath Stewart25-May-04 6:48
protectorHeath Stewart25-May-04 6:48 
GeneralRe: Remoting question Pin
Judah Gabriel Himango25-May-04 8:19
sponsorJudah Gabriel Himango25-May-04 8:19 
GeneralRe: Remoting question Pin
Heath Stewart25-May-04 8:25
protectorHeath Stewart25-May-04 8:25 
GeneralRe: Remoting question Pin
Judah Gabriel Himango25-May-04 10:02
sponsorJudah Gabriel Himango25-May-04 10:02 
GeneralNew DataRow in SQL-Server with ID Pin
Anonymous25-May-04 4:18
Anonymous25-May-04 4:18 
GeneralRe: New DataRow in SQL-Server with ID Pin
Heath Stewart25-May-04 5:57
protectorHeath Stewart25-May-04 5:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.