Answer Questions
Bhonda Adding a row to a child table
We have a DataSet with parent/child relations set up. We have a BindingSource and a BindingNavigator configured for each table. When we use the BindingNavigator for the child table to add a new record (click the Add button...) the foreign key value in the child table is not getting filled in. When we call EndEdit on the BindingSource we are getting an exception because this field does not allow nulls in the DataSet. The relationship between the ...Show All
Graham Stanbury Will AnyCPU cause binaries to run as 64-bit on x64 machine
I used VS2005 professional to compile 18 .Net assemblies using the AnyCPU platform setting in configuration manager. I also have a startup executable that calls into one of the GAC libraries to start/run the program. I compiled both the program and all assemblies on at 32 bit Windows 2000 OS using the "AnyCPU" platform setting On the 64-bit computer running XP-Professional(64)... All assemblies were successfully loaded a ...Show All
szzhouke FCL exposed to COM
I noticed that that the FCL is exposed to COM in the form of .tlb's in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727. I have also noticed that, in COM, every class needs an interface to expose its methods. For example, the class ShellLink has an interface called IShellLink, through which you can get an instance and call the methods in the vtable. Do these .tlb's have interfaces defined for the classes i.e. in System.Windows.Forms.tlb does there ...Show All
awsexton Compare time
Hi, Im having a lil question. Im trying to compare 2 times with eachother. One time is in an xml file. The other one is the time at this current moment. If the time is older than 1 month, it should remove a whole table from the xml file. This is the code i produced so far: static void Main(string[] args) { try { DataSet xmlFile = new DataSet(); xmlFile.ReadXml("test.xml"); foreach (DataRow dateR ...Show All
DIFSMGULD2005 Uniscribe under .net 2.0
Hi; We have a library that is at present 100% managed code. However, we need to get the runs in bi-di (Hebrew/Arabic) text. (Long explanation as to why.) Uniscribe seems like the best way to do this. Is there a .net equivilent of uniscribe or do we have to become 98% managed code I hate to do this because less than 100% is a security "opportunity." thanks - dave Hi; What we need is just the runs of text in each direction, no rend ...Show All
Putta Question access base??
Hy, how can I doin in MS access base, that is one table of base invisable for sometihing people to users of base. Example if we have base with tree table , I want thta one table be visable only for one (administrator) user. How can I doing pasword for login to this table Thank you Wrong forum for Microsoft Access 2003 questions. Try these Access related newsgroups · ActiveXControls : access.activexcontrol newsgroup ...Show All
ROBSR Interop problem (.NET 2.0 )
hello, I have to load an unmanaged dll written in Delphi to my C# 2.0 application. The unmanaged function has one parameter; pointer to an interface and return this pointer. I am not sure how to declare the delegate and to use it. My code below; //here unsure about the signature internal delegate MyDel (out IntPtr IModule); IntPtr hModule = LoadLibrary( "mydll.dll" ); //if the handle is valid try to call ...Show All
GENOOO How to make a VB.NET DLL for use in VC++??
Hello, I am making a DLL in VB.NET for use in a VC++ app. I can't figure out how to code the properties and methods so that they can be exposed in the C++ program. Also I am VERY new to C++ so I don't know how to use the VB.NET DLL once it's compiled. I started a new Visual Basic class library project and here's the code in the class module: Public Class VBTestDLL Public Property TestProp() As Integer &nbs ...Show All
Lauren Lavoie - MS Sockets and Serialization
Hi, I'm building a windows forms app that needs to connect to a server farm via the internet. Performance is of the essence. I'm thinking to use .NET remoting but I prefer sockets to avoid the complexity of remoting; the data I need to pass are small in size anyway. For larger data I'll use Web services. I know that sockets connection can pass array of bytes and not objects. Can I pass a serialized object from socket to socket There' ...Show All
VIJAYMODI_81 Help with remoting error on Win2k
I get the following exception when remoting on a Win2k PC - WinXP works fine. The remoted class is also listed below. Any help would be greatly appreciated. ------------------------------ System.Runtime.Serialization.SerializationException: Invalid type code in stream Invalid. Server stack trace: at System.Runtime.Serialization.Formatters.Binary.__BinaryWriter.WriteValue(InternalPrimitiveTypeE code, Object value) &nbs ...Show All
Iouri Simernitski - MSFT IOException closing SerialPort
Hi. Can somebody give me a tip I got a serial communication, and work fine. When the remote server close the conection, and the client tries to write, it raises an exception. At this point, it’s ok. I am handling the exception, to close the serial port { port.Close() }... and here is the problem, close() is raising an exception!... if i don’t call close, the exception raises in dispose() instead. try { // First exception raises ...Show All
Mich_chool Autocad 2006
I just purchased an Xi computer with Windows XP 64-bit OS. I've tried to load Autocad 2006 and it says the .NET Framework Runtime 1.1 is not compatible with Windows 64-bit version. Do I install the 2.0 Framework on the Xi computer and Autocad 2006 will load properly Any thoughts Mark Farrington wrote: I just purchased an Xi computer with Windows XP 64-bit OS. ...Show All
barf System.Configuration Does Not Save
I am trying to use the Configuration object provided with the .NET 2.0 framework. I see that when I call the Save function it does update the <application>.exe.config file. However, when I close the application and check the <application>.exe.config file again, it has reverted back to how it was when the application was started. Is there something I am doing or not doing Here is part of my code: (And before anyone writ ...Show All
KentNguyen How to choose? ado.net api or object spaces
Hello, I have just read these article, an excellent one in how to make the layers. http://www.15seconds.com/issue/040112.htm There are many ways, object spaces, use objectdatasource with strongly typed business entities, you can also do somethings with the dataset designer. I just don know which one to chooese for my specific project! Any guidelines in how Should I choose my layered arquitecture. Thanks Any ideas are w ...Show All
salimk786 ELearning - OT?
I cannot find an eLearning forum so I am hoping someone can point me to where I should post this type of item if it is not appropriate here. I downloaded a MS eLearning course (4336) and watched the "how to use" intro which shows the ability to click on "Community" - in the lower left - to get to community support. That does not exist when I am running the eLearning off-line player. I got to a point in the course where I tried to Launch a l ...Show All
