Re: [ADVANCED-DOTNET] How to use the Application Folder path in a Microsoft Instaler (MSI)

2003-12-05 Thread Roberto Pinillos Montenegro
Thanks for your help but what if the user (at the installation time) choose another path for install the application, really I need exactly the path under the application have your exe files, do you know how I can refer to this variable programmaticaly ? Thanks, again. Roberto From: Adam Straugh

[ADVANCED-DOTNET] Interop with a mainframe

2003-12-05 Thread Torsten
Hi! I've to solve an interesting interop project. I get a byte stream or a byte array which contains the unmanaged memory representation of a structure like struct MyStruct { short a; byte b; char c[10]; ... }; This structure comes from a mainframe what means that numeric values are in b

Re: [ADVANCED-DOTNET] Repost Dot NET query

2003-12-05 Thread Eric Gunnerson
Depending on the requirements of your win32 dll, you may be able to use MC++ to accomplish what you want. -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Amol Chavan Sent: Thursday, December 04, 2003 12:17 AM To: [EMAIL PROTEC

Re: [ADVANCED-DOTNET] DataGrid or ListView: for obtaining selected row key & row editing

2003-12-05 Thread Dan Finucane
Set the DataKeyField of the DataGrid to the key column. Then in the event handler you can retrieve the items key as follows object key = grid.DataKeys[e.Item.ItemIndex]; --- Bill Bassler <[EMAIL PROTECTED]> wrote: > I'd like to use the Windows DataGrid for its row > editing cabilities. > I'd also

Re: [ADVANCED-DOTNET] Extending VS.NET2002 with Wizards - Web Ser vices

2003-12-05 Thread Streno, Robert
Excellent. If this works, you will be my favorite person for a while. -Rob -Original Message- From: Adam Friedman [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 5:45 PM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Extending VS.NET2002 with Wizards - Web Ser vices O

Re: [ADVANCED-DOTNET] Repost Dot NET query

2003-12-05 Thread Chad M. Gross
>But to invoke >the functions defined by the COM object, I need to know their DISPIDS. The below may be what you need where pdisp is an IDispatch*. DISPID dispid; WCHAR *szMember[1]; . . szMember[0] = "MethodName"; hresult = pdisp->GetIDsOfNames(IID_NULL, szMember, 1, LOCALE_USER_DEFAULT,

[ADVANCED-DOTNET] DataGrid or ListView: for obtaining selected row key & row editing

2003-12-05 Thread Bill Bassler
I'd like to use the Windows DataGrid for its row editing cabilities. I'd also like to use an id contained in one of its row cells as a key to load other controls on my form. However, I haven't found a clean way to grab the cell value of the selected row from the DataGrid when its selected. I can

[ADVANCED-DOTNET] Repost Dot NET query

2003-12-05 Thread Amol Chavan
Hi, I want to build a Win32 dll that interacts with the COM interface defined in .NET Assembly dll. To use the .NET API functionality from our Win32 dll, I created a type library using TlbExp.exe (supplied with .NET SDK) and was able to instantiate the COM object (using CoCreateInstance). But to

Re: [ADVANCED-DOTNET] Questions about changing the default typeFi lterLevel setting

2003-12-05 Thread Raymond
Hi Ryan, Thank you very much. I tried again and the config can work in appname.exe.config file, but can't insert these lines in Web.config file when I want to host the services with IIS. I found that in Web.config file, a node can not include a property, no matter the node is a template or an i

Re: [ADVANCED-DOTNET] Extending VS.NET2002 with Wizards - Web Ser vices

2003-12-05 Thread Adam Friedman
Oops - I got that exactly wrong (relative to what I meant). The code I use to add the project is: Uri baseUri = new Uri(projectConfig.Url); Require.Assert(baseUri.Scheme == Uri.UriSchemeHttp); // Create a virtual directory which points to our local dir. IISHelper.CreateVDir(baseUri.Host, baseUri.