Answer Questions
Adam Robinson odbc connection
Hi, I would like to know, how i can connect an ASP.NET to a Database by ODBC, this database can be SQL, or Access... but always by ODBC. With single asp i could... Tanks, tanks you are going to have to manipulate your connection string: Text class ="seclvl" ondblclick="menu"> ODBC default "> Standard: "Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=c:\txtFilesFolder\;Extensions=asc,csv,tab,txt;" Access ...Show All
Mr.V. Best Practices for n-tier on .net 2
Hello. I usually in asp.net 1.1 make my web application, then I created a class library in which one I put my objects like (persons, authors, books, etc). In another class library I put my Data Access Logic Layer, this one is used by the above class library. and the object class library is used by the web application. How this should be done in asp.net 2.0 I tried to make a class library but I cant add a web.config to that classlibrary to ...Show All
hopefulcoder .NET Windows Service Deployment - AutoStart Service
I've created a Windows Service, set up a deployment project for it and it installs correctly. The projectinstaller instance StartType is set to Automatic. When I view the Services, the Service is not started, but it's StartType is set to Automatic. If I start it, it will start correctly and all actions work correctly. What do I need to do so that it actually Starts after install Automatic means that the s ...Show All
JimBarry BindingSource and BindingNavigator
I've got a datasource that is bound to an object. I'm getting my results to a detail view fine.. and can use the bingingnavigator to click through each row. I'd like to be able to click on the + sign in the binding navigator and go to a new, blank "row" that I can later save. I've got a click event for the add sign, and did a Me .CampersBindingSource.EndEdit() this is creating the blank row at the end but I can't figure out h ...Show All
Todd.Net Accessing a client id from within a web service
Hi I am using Visual Studio 2005 with VB 2005 and investigating Web Services. I have a VB client application that accesses a Web Service. This works fine, but I would like to know if there is a way to obtain some kind of unique id/reference of the VB client application from within the Web Service. I would like to save this id/reference somewhere (possibly in a file or database) and then, when the Web Service responds back to the client ...Show All
Mark Arteaga_MVP Correct design pattern for WeakReference
Because of its particular nature, I have some hesitations about the design pattern to use the WeakReference class as a cache holder. Basically, public FooType MyCache { get { lock (cacheLock) { FooType foo = cacheHolder.Target as FooType; if (foo == ...Show All
Yann .net framework 2 on windows 2000?
Can .net framework 2.0 be installed on windows 2000 server without problems Is there any restriction Thanks Absolutely Luis: we're actively testing on this platform so there shouldn't be any hitches. Let me know if that aint the case! Regards, Kit kitg@microsoft.com ...Show All
Jaiprakash Sharma MSFT Formatter class implementation
I'm looking for information or a sample of how to implementing a Formatter derived class. I would like to implement a custom formatter and would like to know how to make use of the Formatter class functionality. Thanks, Ray I just posted a summary of the steps required to design a custom IFormatter (part of those information already appear in my previous posts in this newsgroup). Regards, Joannes ...Show All
drS appSettings, where do they save?
I have a windows forms application. (Visual Studio 2005) A simple form with a button on it. Here is the code private void btnTestButton_Click(object sender, EventArgs e) { ConfigurationManager.AppSettings["TestSetting"] = "TestValue"; string res = ConfigurationManager.AppSettings["TestSetting"]; MessageBox.Show(res); } I step through the program in debugging mode. The MessageBox shows ...Show All
Daniel Svensson BindingNavigator not navigating
In VS 2005 in VB I set up a form with a grid and a navigator control using Data Access Application Blocks to get the data. I get the records but when I click on the navigation buttons, even thought the record number is changing, the active row in the grid doesn't move. Something is missing from my code (below) I think. Can anyone tell me what's missing Thanks. Private Sub frmDeviceList_Load(ByVal sender As Object, ByVal e As System.EventAr ...Show All
RobertBCran Binding an XML document to a TreeView control (Windows Forms)
I was wondering if there was a simple method of binding an XML document (a WSDL document to be specific) to a Windows Forms TreeView control in .NET 2.0. Thank you, Sammy Not that I know of. ...Show All
Egyptian Retrieving an Access table' structure
Anyone could help me in figuring out how to programmatically understand the structure of an Access table I mean, given a DB connection and the name of a table, how to determine: - the name of the fields of that table - the type of the fields - any eventually relationship between the fields of this table with others in the DB Thanks a lot, Davide The DATA_TYPE values correspond to the System.Dat ...Show All
SkroSoft Use JScript from code
Hello, I have a few question about using JScript from code. In early versions this could be done by using the scripting runtime DLL by adding code and objects to a moudle and running the code after it. my question are: 1. How can I do it with .net - I mean adding objects and code to a module and running it. is there a code example 2. Is there a way to parse the script before, or I must run it to know if it is written correctly 3. ...Show All
Sumedh Kanetkar -- Microsoft XsltCompiledTransform exceptions
I'm looking for opinions on this. XsltCompiledTransform can throw a System.Xml.Xsl. XslLoadException. The problem is that the class is an internal class. Instead I have to catch XsltException. Now I guess I was expecting to be able to catch XslLoadException since it is being thrown. It just doesn't seem normal that I can't catch a specific exception that is thrown. Maybe others have run into that situation before and I haven't been doing .Net de ...Show All
Praveen Bala How can I deploy to the 'All Users' data directory?
In my deployment project, I want to place a file in the "All Users" application data directory. When I use the Add Special Folder option, however, this option is not available. There are several options for the current user (and then when you build it, you get warnings that you shouldn't place it there because other users won't be able to access it). Besides that, there are several other folder options, all of which are inappro ...Show All
