Answer Questions
bobk544 Portable Executable(PE) in applications not-managed
is there a way to reference a Portable executable library(dll of .net) in a delphi 5 application, for example thanks Hi Edwin Santos, It is possible to consume .NET based DLLs making use of COM Interop. You would need to register the DLL for COM Interop using the tool RegAsm. Once registered the .NET DLL also would have a ProgId similar to COM DLLs. Now, since Delphi understands COM, you can instantiate this objec ...Show All
Ravi Terala datareader
hello, I have a problem to understand the DataReader. There is a temp table in a database, I search some values and I have to insert the values in a other ( permanent ) table. Now I read the values with the Datareader from the temp table like this thx for form your fast answer, I will try it with a dataadapter. I try this code SqlDataAdapter sql_select3 = new SqlDataAdapter ( "SELECT WeKdnr FROM dbo.tbl_temp_a WHERE Amou ...Show All
mrbradleyt Internet, firewall and delegates
I've using delegate to send messages between server and clients, it works great in local intranet environment, however, when clients connect to server via Internet, message cannot be sent to those clients. It seem be blocked by firewall. Is it impossible to use delegate to communicate on Internet enviroment or any alternative ways to do so ! Thank you very much! First, you shouldn't use Remoting over the I ...Show All
Mihailik .Net 2.0 Breaks .Net 1.1 TcpClient ReadTimeouts
I need to find a way to make the 2.0 TcpClient behave like the one in 1.1 I am doing the following: client.ReceiveTimeout = 5000; NetworkStream netStream = client.GetStream(); int byte = netStream.Read(); If the call to Read() fails, with a timeout, then I catch the exception - checking that the reason it failed was a timeout, and try the read again. On 1.1 The system waits 5 seconds, before getting a timeout again On 2.0 It ...Show All
TexW for non sql provider, what should be the type?
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not load type 'DIP1.AspNet.Membership.OdbcMembershipProvider'. Source Error: Line 79: <add Line 80: name="OdbcProvider" Line 81: type=" ...Show All
madhive SGen on the Server
Hi there, I have a problem that could be solved perfectly if sgen-generated assemblies worked on the server with web services. The sgen documentation states very vaguely that they "won't work on the server" and that certainly appears to be the case for web services. What I want to know is why . I thought the web services infrastructure just used XmlSerializer under the hood. I have a customized XML serializers DLL and I really wo ...Show All
QldRobbo How to suppress WSDL.exe from translating "intArray" to "string"?
I use WSDL.exe to translate a SOAP service .wsdl file into C# source file. It translates the parameter type "xsd:intArray" into C# "string", which is not good to me. Could anyone help me Thanks, Yong ...Show All
Sonic1981 How to map One custom Collection to another custom collection
Hai...., I have 2 user-defined collections. There are some properties that are found in both the collection. I wish to transfer all the matching property value from one collection to the other using the assignment statement. For this to work, how should i declare my collection or should i implement something for this to work ...Show All
cmoibenlepro Hashtable breaking serialization framework
I am trying to implement a custom formatter for my own needs. The implementation is fairly advanced (see PartialFormatter.cs ), but I ended up encountering an another problem with the .Net framework: it seems that the Hastable s are breaking the serialization framework (have a look at the hashtable rotor code ). I have two questions about this: How I am supposed to (de)serialize those Hashtable Is this bug going to be fixed in .Net 2.0 Tha ...Show All
Madhur68 XML DataSet and Autoincrement
I have a typed dataset(stDataSet) and it's being loaded from a xml file. There is a table (Competitors) which has an ID and a Name columns. The ID is defined as an autoincrement value and unique. The problem appears when i tried to add new rows tot hat table. STDataSet stDataSet = new STDataSet(); stDataSet.ReadXML("C:\\test.xml"); // When i try this it doesn't store the ID and when i try to add the second row it says the ID ...Show All
ecofriend Print a document without opening it?
Hi, In ASP.Net or VB.Net, can we print a word document without opening it Srilatha The user seems to know what is in the document without looking at it !!! The requirement we have frm the user, is to print the document without opening it.. I want to know if this can be done.. Ah sorry I thought you meant print a file without reading it at some point, not print it without open ...Show All
G Glasgow NetworkStream.DataAvailable
Hi guys. I've done a client server application. On the server I'm reading from the NetworkStream using Read method. Before this I'm making a test : if NetworkStream.DataAvailbale then start to read. I've noticed that this test is slowing down the performance. Do you know how can I avoid this Thank you. Mircea Why do you need to do this Just read. If you are worried about the blocking nature of the read, use th ...Show All
Dipsy Po getting an array back from a sp
Ok, development base: Visual Studio 2005 SQL 2005 c# Question: I have an n-tier project, where I need to return an array of userroles. I have the following: protected CapitalIncentives.Users.UserRoles currentUserRoles = new CapitalIncentives.Users.UserRoles(); userManagement.GetRolesForUser(currentUser.UserID, out currentUserRoles); // This is the code that is referenced above. public struct UserRoles { public int userRol ...Show All
Ravi Nidhonkar N- Tier Architecture in ASP.NET 2.0
Hi .. I have to create n-tier architecture for my new project with visual studio 2005, asp.net 2.0 and SQL 2005.. I had seen my sample applications for that but they all are using a single project and creates Business and DataAccess class in App_Code directory so i am confused whether to use differenct projects (say one for BAL , one for DAL ) or to merge them in the single project... Any idea on which approach is better for a long term project. ...Show All
ericsmoth HttpFileXfer failure
I haven't exhausted all options yet to find out why it is not working but decided to post this question anyway. I am playing with HttpFileXfer which is one of the projects in DeliverySmartClient as part of the directory HTTP Communication Sample which in turn is a part of .NET Compact Framework Samples that I downloaded from MS websites. I've got two computers with Win2K on each. I am the administrator on both. They are physically separated ...Show All
