Answer Questions
David Chavez Problem with Data access from different Forms in a multiple Forms project
Hi peers, can anyone help me with the problem with the problem that i am encountering and which is related to exchange of or retrieving data from different forms within one project. I am building a three-tier (data, business object, and user interface)Windows App with three child Forms embedded into the MDI Parent form. The three Forms are related to three distinct trading data inputs, whilst the Form1 performs calculations us ...Show All
Graham Laidler DataView and Sybase
Hi all, I have a very strange problem with ado.net dataview and sybase. I am upgrading an application from .Net 1.1 to .Net 2.0 and the application is designed to work with either MS SQL Server and Sybase. Therefore, I have 4 combinations: 1) .Net 1.1 and MS SQL Server 2) .Net 1.1 and Sybase 3) .Net 2.0 and MS SQL Server 4) .Net 2.0 and Sybase The frist 3 combinations work prefectly fine. But in the .Net2.0 and Sybase combination, the d ...Show All
Peter Hozjan OleDbDataAdapter query parameter (Oracle)
(New to VS.) I have a simple query that I am entering into the QueryBuilder. (Oracle backend) SELECT ... FROM... WHERE (emp_last LIKE ) I'm having a problem figuring out the WHERE clause syntax within QueryBuilder/Visual Studio. When I hit the Execute button, the question mark changes to @PARAM1 and the query seems to run within QueryBuilder. When I hit OK and the dialog closes, I get an Oracle error "Ora-00936". I've tried using a colon wi ...Show All
jptaba Does anyone know how to confirm if an email was sent successfully?
I’m using the new System.Net.Mail.MailMessage to send emails and will like to have a way to confirm if sent ok. (I have no problems sending, I just need the confirmation only) Which function or method to use Can anyone post a snippet for this Thanks all [ Flags ] public enum DeliveryNotificationOptions { None = 0, OnSuccess = 1, OnFailure = 2, Delay = 4, Never = ( int )0x08000000 } pleas ...Show All
ngmvista testing presence of optional assembly
Hi, I'm developing a Windows.Forms program which talks to differet types of database backends. We got a number of drivers from various vendors, but not all of them will be present on a particular user's machine. I'm now looking for ways to dynamically discover whether an assembly is present. My best bet so far appears to be AppDomain.CreateInstance( ClassName, Assembly.dll ). I'm not really interested in the instance ...Show All
UNOTech Tricky Question Data Access
Hi all am developing one web application in .net, I want to develop a component a console project which will run as server for any data access.I am confused in how the web server will connect to this data access server for data accessing. I just want to distribute this data processing out side web server ie only a function will be called from web server from the dataaccess server which will be running on different m/c , and function will retu ...Show All
itzik Large Result Sets and Datareader
I have a small vb.net application that I only need to log how long the query took to execute and the number of rows returned. Using the datareader it appears to be buffering the result set which is a problem for queries returning large result sets. Is there a way to limit the amount of data the datareader buffers MyODBCCommand.Prepare() ' MyOdbcRs defined as an OdbcDataReader MyOdbcRS = MyODBCCommand.ExecuteReader(CommandBehavior.Sin ...Show All
Greg D Clark ObjectManager Memory Growth
I have a multi-process application that passes significant amounts of data between processes using serialization via a binary formatter. Examining the memory usage via profiling tools such as the CLR Profiler, it apears that the ObjectManager.RegisterFixup() method is calling ObjectHolder.AddDependency(), which is instantiating a large number of arrays (char[], byte[], etc.) that are never garbage collected, and this eventually brings ...Show All
zocmer type accessibility modifier question
Why unnested type can only be marked public or internal(assembly),does the other four make no sense Who can demostrate thanks a lot! class MyType //implicit internal { private NestedType { } } Thanks a lot Correct. The other accessibility modifiers don't make sense. Private - A private class is inaccessible outside its parent. For global class ...Show All
joah load 1 record into a variable
hello all i'm quite new to vb.net i'm trying to use the online help suggestion that's supposed to load a specific table row into a variable: Dim Lnrow As paraohDataSet.LoansRow Lnrow = ParaohDataSet.Loans.FindBylID(5) (5-an existing key in my table) trying to use it to reach any value, like using this line: LID.Text = Lnrow.lID causes an error : "Object reference not set to an instance of an object." since that's exac ...Show All
Angela Alviento Process.StartInfo.Arguments
I am trying to GET the arguments that were used to start a process (console app). But it always seems to be returning empty string. Is there a way to get the command line arguments that were passed to start a process Example: Lets say I opened "notepad" using a file name on the command line. Then I need a way in .NET to get the file name value that was passed to this process. string sProcessName = "notepad" ; foreach( ...Show All
Amit Ghosh Single DLL for 1.1 and 2.0
Hi; We have a dll that we know runs fine under both 1.1 and 2.0. Is there a way that we can build the dll under 1.1 (Visual Studio 2003) but then mark it as ok for 2.0 also If not, then we have to build 2 dlls, one for 1.1 and one for 2.0. Is there a suggested anming for the dlls in this case For example, should it be dave_1_1.dll and dave_2_0.dll thanks - dave Hi, Here's a table that explains the behavior of a certain application expose ...Show All
stripendulous Text Messaging App using VB.NET?
I am VERY NEW to VB.NET and am wanting to create a text messaging app as a windows service. Can this be done Does anyone have any sample code for communicating with a modem using VB.NET I have previously created a vb6 app that reads a SQL db and sends text messages to various text messaging services. Basically, my users choose a pager(or txt enabled phone) from a list, post a message using a .ASP web app. On a se ...Show All
Tellek Liberty Return a Datatable using .NET2.0 Webservice
How can i use .NET2.0 to return a datatable. Any pointers to code can help. When you reference a WebService returning a datatable, VS creates a Reference.map and creating a “ GenericObjectDataSource ” . I know well that my “getMyDataTable()” web method is a datatable, why does VS create this custom generic data object that I cannot convert or cast to a DataTable The DataType name that is created is called getMyDataTableRespons ...Show All
Tomas Frojdo Need Registry Edit permission for my Application
Hi All I’m developing a windows based application in C# v1.1. I’m doing a SetValue by opening a key from the Registry. The thing is it works fine only for the windows account having Admin privilege for the running machine. And it is failing for other windows accounts having No Admin privilege. Is there any way to pr ...Show All
