Answer Questions
Mei1eiric Developing a n-tier object oriented application
I want to develop an web application in VS.Net 2005 that is n-tiered and object oriented, but I have questions about what resources I can or I must use. So I'm searching for code samples of applications like this, and if its possible, with a tutorial. If somebody has this kind of material, please send me. And, how can I implement a class that will have a collection of items that is from another class I also need material about MS Vi ...Show All
iamGary Get XPath position of an XmlNode
Hi, I read an XML file to an XMLDocument and iterate through its nodes. How do I get the XPath position (index) of a certain element For example If I on the second "b" node I want to get "2": <a> <b/> <c/> <b/> <--- This one </a> Is it possible /a/b[2] translation... root ("/"), then "a" element under that, then "b" ...Show All
s7ven Using Win32 socket handles?
Is there any way to do a socket "Select()" on Win32 socket handles in C#, other than using a PInoke style call on the C socket "Selelct()" function I'm writting C# code that has to use a third party C dll. Thanks to the people at (www.swig.org) I've wrapped up the dll functions and can call them from C#. The dll makes a number of TCP/IP socket connections to a server. It has a function that allows me to poll to see if any messages have arrive ...Show All
Mike H B Failure when opening Excel file via ADO.NET on some computers
Hello - I am writing a little Excel-to-SQL Server business tool for a client. It simply lets the user open an Excel spreadsheet with a named area defined, select one or more rows from a datagrid, and transfer the information to some SQL Server tables. Works like a champ on my PC, and 2 of my colleagues PCs, but not my clients. The situation: Using Oledb namespace in ADO.NET for .NET Framework 1.1 Standard Jet driver - I have XP SP2 which has so ...Show All
rankind window.location
Hi I have an asp.net website, using Jscript. I have a front page, with 2 buttons and a checkbox. Button 1 is to pop up another window with some information; that works fine. Checkbox is to indicate whether the user agrees to the information/terms. Button 2 is to continue on to the next page. It calls a Javascript function that checks whether the checkbox is checked: if not, it pops up a message; if it is checked, it is supposed to move on to ...Show All
anjee the order of null in a comparision
hi, Someone told me that the order of null in a comparision would affect the performance of the statement. he said that if (null == someobject) { .... } would yield in a slightly better perfomance than if (someobject == null) { .... } have anyone ever heared something like that anynote or hint thanks well... I guess it depends on the way that ...Show All
Tom Johnson Microsoft.Jet.OLEDB.4.0 driver error on Win2003 SP1 & SQL2005 April CTP
Hi folks, We've got SQL2005 April CTP i64 running on Win2003 with SP1 appied (Itenium Proc). Last week, one of developer sent me an email with error msg, : Msg 7403, Level 16, State 1, Line 1 The OLE DB provider "Microsoft.Jet.OLEDB.4.0" has not been registered. I ran Component Checker against that box and it found that MDAC2.8 with SP2 installed. I also found from MS site that Jet 4.0 SP8 i64 version available but the instal ...Show All
jazzmanmann Access to a smartcard key
Hi all, I'm trying to sign using a key stored in a smartcard and I'm going crazy. I use the following code: CspParameters csp = new CspParameters(1, "SafeSign CSP Version 1.0"); csp.KeyNumber = 1; csp.KeyContainerName = "86332793-9965-41e2-9fff-6ce481e86889"; RSACryptoServiceProvider rsa = new RSACryptoServiceProvider(csp); But then I get the error "More info is available". What's that If I do not specify any cont ...Show All
anders_sms How do I allow users to pick SQL database at runtime ?
I've got an app using a SQL backend on my develop box that will reside on a LAN client-server (no web issues). The database name and table structures will be the same. To avoid having to recompile on ach client PC, Is there a feature that allows an authorized user to 'browse' for the data source Second part of question: If I have two databases on the server, one for production and one for testing, and each has a unique name, can I point th ...Show All
toni_gom BinaryReader.PeekChar fails when checking for end of file
VB.NET 2005 - Beta 2 I create a new filestream and then a binaryreader from that filestream. I then loop doing a ReadByte until PeekChar = -1. On one file in particular that I am reading, somewhere while reading the file (it may be at the end of file, but I am not sure) I get the exception message: The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderRepla ...Show All
CDS DBA Architecting - Sql Data source and Dataviewer control
When following a 3 tier architecture approach for a web application, how should i make use of the adfvantages of the sql data source control. If i have to use a data source control in a application following 3 tier arch, wat kind of approach should i adopt. if i drag my sql data source control to my aspx page, then the architecture doc we made will be invalid, cos my presentation layer speaks to my datalayer directly. Please guide me in appro ...Show All
mcl2 databinding dropdowns and forms
I have two datatables/adapters in my form. One populates the form with a record. The other populates a dropdown with values from a datatable. How do I populate the dropdown using the TableAdapter.Fill method, and populate the form, then select the matching value in the dropdown based on the underlying record I am using the tableAdapter.fill method for both. In asp.net I would first bind the dropdown, then during the binding ...Show All
Decoy830 Interprocess communication between a managed service and an unmanaged application.
My managed code resides in the LocalSystem and is a service. The un-managed code is an MFC application that needs to pass data back and forth to the service. Will an IpcChannel defined in the service permit this and how then does the application connect and transfer data Does the app open a pipe Named or unnamed Is there an IPC mechanism in MFC, or is that really a pipe Maybe I am just dense, or went through the docs to quickly, but I ...Show All
pushart How to trace Soap Message sent from .Net client
Hello, I am working on .Net Web Service Client to consume a Java Axis Web Service from the third party. For debuging purpose, I would like to get soap message being created by .Net Proxy Class. Can anybody tell me how to get the information Many Thanks in advance. -Qing if you are using .NEt 2.0, then you can enable loggin by having the following config in your app.exe.config file or web.config file <confi ...Show All
Michael V Data Access problem
My sql server enterprise manager is working fine with this database(HCVstat) In my VS.net server explorer can view this database(HCVstat) and query. When I run my C# web application I got error message"sql server does not exist or access denied", but this project work on other one machine. And vb.net web application works fine to other database on my machine. < add key ="ConnStr" value ="server=EXEC ...Show All
