Answer Questions
tri4pro using ADODB
im trying to execute a store procedure in a method written in c#, but i want that method to return a recordSet so i tried using adodb but how to execute the store procedure using adoodb is it possible thanks in advanced ok, i will try that thanks for the help :) Hi, I guess the problem lies within your wrapper. Could you post the wrapper Maybe someone here can help you... & ...Show All
MON205 Solution for shared list
Hello, I need to create server/client with such funtionality: Server has list, which is shared with alll clients. This means, that all connected clients see the same list. If any client removes item from the list, server and all other clients must imiadetly refresh their list. If not talking more about specific software functionality, I can list such things about comunication, what I need: Communication betw ...Show All
tcsekhar Converting to a string...
i want to convert a data row value to a string but i get an error saying System.Data.DataRow cannot be converted to a string, how can i do this without getting an error can i use a CType to convert it DataTable table; DataRow row; //Get a DataRow object "row" from your DataTable "table". //Then loop over each column and print its value. for(int iCol=0; iCol<table.Columns.Count; iCol++) { Console.WriteLine(row[i ...Show All
Brett Samblanet 64-Bit OS Error: VFPOLEDB.1 Is Not Installed on Local Machine
I need some help folks... I am getting the Infamous " provider not instaled on local machine" message for the VFPOLEDB Driver. 1.) It has NOTHING to do with what user I register it with (I've used them all, local and domain) 2.) The driver is most certainly there, and so are the registry entries. This error only occurs on 64-bit Operating Systems. Is there something different out there I have to do on a 64-bit OS. It says i ...Show All
HoustonRocket Deserialization problem in DLL (unable to find assembly)
Hello, I don't understand why this code works within a normal exe test application but it doesn't work in a DLL (it returns the exception in deserialization: unable to find assembly (InvisibleLists....etc.. ): Config.SaveOption(cmb.Items); DataListView[] data = Config.LoadOptions(); ... [Serializable] public class DataListView { ... } Note: the DLL is composed by 3 files and 1 of them contains the DataListView class th ...Show All
Ximena Cardenas Connecting a Winform to sql server
Please can anyone help me with this in case i want to connect a winform to a database on an sql server as follows: a form first should ask about the connection to wanted when selected and pressed ok another form appears with a datagrid, showing the content of the table in that database. i've done that using MS VB6, but in .NET it's different and i want to know the coding language so i can learn to use it. Thank you ...Show All
Ravichandhiran - MSFT why does this crash it's too small to crash? :)
CultureInfo * ci = new CultureInfo(S"en-US", false ); NumberFormatInfo* nfi = ci->NumberFormat; double __gc * m1; if (Double::TryParse(Form1::m1->Text, NumberStyles::Any, nfi, m1)) {g->DrawLine(penblack, 100, 0, 0, 100);} Heeeeeeeeelp pleeeeeeeeease, does it have to be this hard to convert a string into a real What exception does it throw duh, how could I be so slow :( ok now the ...Show All
Tummaluru TimeSpan or Stopwatch not as accurate as Environment.TickCount
Can someone, maybe preferably from Microsoft, confirm a behavior that I'm noticing concerning the lesser accuracy of using TimeSpan and the Stopwatch object to time something in milliseconds versus using Environment.TickCount. Specifically, I'm noticing that in my Ping class that when I use Environment.TickCount to measure how long a host responds to my message, the result in milliseconds is accurate compared to the results when I use ...Show All
Chanderssen ODBC <> FileMaker VWD ODBC Bug?
I work for a company who have a large amount of data stored in a FileMaker database. I'd like to access that data from VWDexpress and do wonderful things with it. My problem is when i try to add an SqlDataSource in VWD (That's Visual Web Developer express edition) Here's what i did... I set up a very simple database in FileMaker with just a few fields which i populated with test data. I set the database to be ab ...Show All
sjbates101 Did asynchronous execution change in 2.0
hello, i have this code that called method asynchronously through the delegate class with the begininvoke and endinvoke methods. Exceptions could be thrown withing the methods which were always caught by the framework and rethrown when endinvoke was called. Has this now changed as my exceptions are no longer being caught and rethrown, and just bringingt the whole app down as they are unhandled. he is sample code that i use to denote the changes. ...Show All
WeeZarD Beta 2 Inheritence question
Hi, I have question about inheritence under Beta 2. I created a class library for my web application using a new namespace 'MyNameSpace'. And then I created a class named 'MyFirstClass' under the namespace, derived from SqlMembershipProvider (MS Class, under system.web.security namespace). using System.Web.Security; ...................... public sealed class MyFirstClass : SqlMembershipProvider { .................... & ...Show All
Sergio Vasquez DataSet Parent/Child relation filtering problem??
Hi, I'm working with a Dataset that contains 2 tables. Let's say table A and B. A is the parent table and B the child. The tables have relation with Foreignkey. I'am showing the table A in a DataGridView. I would like to filter table A by filtering one column in table B. I know how to filter one table in a Dataset, DataView , DataViewManager but this takes no efect on the other table. I hope you can help me. Please ...Show All
Chris Conti Intermediate NullReferenceException when calling DataRow.EndEdit()
Hi there I have got an application with the following cateristics: * A datatable is populated with records from a database. * A set intervals the database is checked for changed records, and the corresponding DataRows in the DataTable is updated accordingly. * Invoke is used at all times for the update to ensure that the update is done by the the thread that created the window handle. * A DataView is connected to the DataTable. * A GridControl ( ...Show All
wicked_mk Why has Microsoft made "Public" the default for implementation of interfaces?
I'm keen to get an answer on my blog entry. Please see: http://www.enigmativity.com/blog/PermaLink,guid,85480956-beb8-4feb-904a-0dcab471e817.aspx It starts off with: I've recently been wondering why Microsoft, in their infinite wisdom, has decided to provide helper code in both C# & VB.Net that promotes bad OOP coding. Have you ever implemented an interface in either language Well, Visual Studio - in 2002, 2003 & Whidbey ...Show All
Greg Leepart How to pass custom object to WebMethod?
Want to pass my Currency entity object to a webmethod. I have marked the object as Serializable. However, another object with the same class name Currency(generated by VS.NET 2005) is required when I try to use the webmethod. Why How can I pass my entity object Thanks New Currency class generated because wsdl.exe used for code generation have no knowledge (by design) about your Currency classes. T ...Show All
