Re: [DOTNET] AGAIN: Building a solution with embedded resources

2002-06-11 Thread Jan Dropczynski
Yes, I did! The property is set to true. The project assembly is copied to the main project folder! Only the localized satelite assemblies are not copied! Jan You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.devel

[DOTNET] AGAIN: Building a solution with embedded resources

2002-06-11 Thread Jan Dropczynski
mbly files into the main project's folder at build time altough the project with the embedded resources is referenced! I don't know why? Do I think something wrong? Has or had anyone the same problem? Can anyone help me with that problem?? Please help!! Many thanks and Regards, Jan

[DOTNET] Building a solution with embedded resources

2002-06-10 Thread Jan Dropczynski
;) Can anyone help me with that problem?? Many thanks and Regards, Jan Dropczynski Software-Engineer THONA Consulting Ltd. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] embedded resource file

2002-06-06 Thread Jan Dropczynski
ed: ResourceManager ResMgr = new System.Resources.ResourceManager ("MyApplication.UI.MyResources", System.Reflection.Assembly.GetAssembly(this.GetType())); Regards, Jan Dropczynski You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to oth

[DOTNET] embedded resource file

2002-06-05 Thread Jan Dropczynski
d the name of the resource I try to get are both right. Now I have no idea what's going wrong. Have one of you an idea? Thanks and Regards, Jan Dropczynski Software-Engineer THONA Consulting Ltd. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or s

[DOTNET] Problem with Visual Studio Designer

2002-05-30 Thread Jan Dropczynski
same assembly and it cannot be referenced in itself! What can I do? Can anybody help me? Thanks and Regards, Jan Dropczynski Software-Engineer THONA Consulting Ltd. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] Limit data records via a XML schema

2002-05-16 Thread Jan Dropczynski
the XML file contains more than 500 records then only 500 should read in. Is that possible with a XML schema? Or is there another (better) way to handle this? Thanks and Regards, Jan Dropczynski Software-Engineer THONA Consulting Ltd. You can read messages from the DOTNET archive, unsubscribe

Re: [DOTNET] DataGrid and scrollbars

2002-05-15 Thread Jan Dropczynski
I have resolved my problem myself. There was a problem with the DockStyles of the panels. The datagrid was bigger than the visible part so that it was partially hidden from the lower panel. The grid has scrolled if the list was longer than the real height of the grid. After I have changed the Dock

[DOTNET] DataGrid and scrollbars

2002-05-14 Thread Jan Dropczynski
agrid have more rows than the datagrid can be displayed no vertical scrollbar appears. The same problem is if I minimize the size of my winform so that at least one column is hidden then no horizontal scrollbar appears. Can anybody help me to say I have to do? Many thanks and Regards, Jan Dropcz

Re: [DOTNET] Finding out User's Home Dir

2002-05-07 Thread Jan Dropczynski
Hi Rama, many thanks for your help! That's what I have looked for. Regards, Jan You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] Finding out User's Home Dir

2002-05-07 Thread Jan Dropczynski
Hi all, how can I find out the user's home directory in C#? I have a win application that stores a config file that should be placed in user's home directory. Is there a static method or so that delivers me the directory path? Thanks and Regards, Jan Dropczynski Software-Engi

Re: [DOTNET] Send data with SendMessage

2002-04-30 Thread Jan Dropczynski
Hi Keith, many thanks for your help! I will try your test code and also hope this helps! ;) But a question I still have: Works the CopyData message between two processes? I ask because my forms running in different applications. Thanks again and Regards, Jan You can read messages from the DOTNET

Re: [DOTNET] Send data with SendMessage

2002-04-30 Thread Jan Dropczynski
Hi Keith, sure I can post the code. ;) Here it is: /** In my sending form **/ public const int WM_COPYDATA = 0x004A; // this is the data to be send [StructLayout(LayoutKind.Sequential)] public struct CopyDataStruct { public string ID; public int Length; public string Data; } CopyDataStruc

Re: [DOTNET] Send data with SendMessage

2002-04-29 Thread Jan Dropczynski
Hi Steve, thanks for your help. And I have another question. I have found the WM_COPYDATA message. How about with it? Do you know how it works? I have a problem with WM_COPYDATA because if use it nothing happens. The receiving application don't get that message. Do you know something about WM_COP

Re: [DOTNET] Send data with SendMessage

2002-04-26 Thread Jan Dropczynski
Hi Axel, thanks for your help. I will try it with your sample. ;) And if I still have questions again I'm here again. Regards, Jan You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] Send data with SendMessage

2002-04-26 Thread Jan Dropczynski
. And then I use a pointer to that byte array for use with SendMessage. To use pointers in C# I have to work with an unsafe code block but how can I declare an unmanaged byte array in the unsafe code block? Regards, Jan Dropczynski Software-Engineer THONA Consulting Ltd. You can read

[DOTNET] Application communication again

2002-04-25 Thread Jan Dropczynski
the incoming messages (it works for other messages). But if I send a WM_COPYDATA message nothing happens. The window don't get that message. Anybody know what is to do? Regards, Jan Dropczynski Software-Engineer THONA Consulting Ltd. You can read messages from the DOTNET archive, unsubsc

[DOTNET] WM_COPYDATA

2002-04-23 Thread Jan Dropczynski
Hi all, does anybody know what's the correctly use of the WM_COPYDATA message? And does also anybody how can I use this in C#?? Regards Jan Dropczynski Software-Engineer THONA Consulting Ltd. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to

[DOTNET] Finding out the IP-Address of a PC

2002-04-19 Thread Jan Dropczynski
Hi everyone, does anyone know, how can I read the ip addresses from PC's network adapter if I can NOT use WMI. My WinApplication should display the addresses. That's works fine in WinXP, but on Win98 I cannot use WMI! Is there's a solution?? Regards, Jan You can read messages from the DOTNET arc