Answer Questions
Maximka connect to Oracle DB in ASP.net application
I try to connect to Oracle database in my .net web application but i have the following error: Driver's SQLAllocHandle on SQL_HANDLE_ENV failed I use this source code: Dim strConnectionString As String = "driver={Microsoft ODBC for Oracle};data source=TEST;UID=pippo;PWD=pluto" Dim Conn As New OdbcConnection(strConnectionString) The "Conn.Open()" method causes the error. Many Thanks Maurizio ...Show All
*Lysander* SSL on TCP Socket, how in .NET 1.1?
Is there a way, using intrinsic .NET framework functionality, to open a TCP connection over an SSL channel I'd rather not get into buying libraries, etc. Java has the javax.net.ssl.* objects, and I'm not finding an equivalent in .NET. I looked all over the Internet, but nowhere a pointer/solution can be found. Please note this is a socket connection, not an HTTPS connection. Also, it's about .NET version 1.1. Any hints/tips/rem ...Show All
Tom2 Problem getting query to work
I'm trying to write access a SQL Server 2005 database from a Visual Studio 2005 Beta 2 web service. I'm having a problem getting it to work. The database contains a sample table (States) of the states names, defined as: StateID tinyint StateName nchar(15) The code is: D ...Show All
Darrel Miller How to monitor files in different folders using the FileSystemWatcher?
Hi This is what i came up with but it doesn't monitor these folders simultaneously Then you need to wire the Changed , Created , Deleted , Renamed and Error event. The Created event will be fired when a file is created for example. And don't reset the fileWatcher.Path = path; everytime. Because you overwrite the current path. Foreach root you must create an dedicated FileSystemWatcher object! I only execute this code onc ...Show All
papaoso Augmenting my Web Site
Well lets see, I have the following tools, IIS6, Visual Web Developer Express, and SQL Server 2005 Express I have some HTML that I would like to call stored proceedures, and something tells me that my approach is useless. In wwwroot, everything is aspx at present, and Visual Web Developer is the associated editing tool when I click on an object. It has an object call <asp:SqlDataSource> and I tried various attempts to call the stored ...Show All
slee1435 Help with a Regular Expression
Hi folks! I'm trying to parse into tokens the following string: (see 0 ((goal r) 66.7027 33) ((flag r t) 55.581 3) ((flag p r t) 42.4804 23) ((flag p r c) 53.7587 43)) to get : Token 1 = ( Token 2 = see Token 3 = 0 Token 4 = ( .............. My delimiters are ( , ) and " ". However I want to keep the parantheses as tokens, but discards th ...Show All
PaulC1234 WebRequestMethods.Ftp ; Pickup where it left off ?
I have gotten WebRequestMethods.Ftp to work fine. However, on occasion it will time out, or fail for various reasons. The files we are moving (and the speed we are going at), it can take up to an hour to move one file (Every night). Is there an example or method to use to allow my code (via the WebRequestMethods.Ftp), to resume the transfer at the point it left off. Similar to a lot of the dedicated FTP clients out there. ...Show All
Bill G Using Windows Service without Web Service to send emails from web application!!
Hi, I have to check certain conditions from the database (SQL Server 2000) and send out emails by fetching the email addresses from the database again. My application is a web application giong to be launched onthe company intranet and coded in ASP.Net and VB.Net. I could make a simple windows service. But all the examples I am getting online for accessing my database is using the Windows Service via the web serivce. But I d ...Show All
BradleyT Threads, Events & BeginInvoke
I'm having problems getting my head around raising event on the UI thread, and haven't been able to find an example for my particular situation. I've written a homespun class that exposes an integer property, and raises an event whenever it changes: public class Engine { public event EventHandler ProgressChanged; private int progress; public Engine () { progress = 0; } public int Progress { get { return progress; } } public void Run ...Show All
David Evan How to bind Byte[] data to DataGrid
Hi, I have a dataset, which contains lot_id,wafer_id are long type and site1_val is byte[] type. If I bound this dataset to DataGrid, I am getting lot_id, wafer_id in Grid, but site1_val ( which is byte[] type) is not visible in grid. Please see the following sample ... ******************************************************** string strsql=""; strsql = "SELECT lotid, waferid, site1_val from wafer_history"; string conn_string = "User id=usr ...Show All
Ryan1234 Server currupt when Client close.
I have made a "Hello world" Remoting example. The Client works fine when connecting with the Server. While I close the Client, a message comes out as below, and the Server close. Server has encountered a problem and needs to close. We are sorry for the inconvenience. The debug information is as below: System.AccessViolationException was unhandled Message="Attempted to read or write protected memory. This is often a ...Show All
mkoren File name validation method
I have a web application where the users can provide the name of a file in a field. I want to make sure the syntax of that filename is valid before using it. I browsed the methods in various .Net 2.0 framework assemblies and there does not seem to be any to specifically validate the syntax of a string representing a filename. Is there a method I can use to validate the syntax of a NTFS file name regards, Gaetan. ...Show All
Steve W. deploying visual basic express application on win 98
i have developed an applicaton using vb express edition. it works fine on win xp but does not on win 98. any suggestions please I had the same problem and reinstalling of the Net Framework on W98 machine was the solution. If you are using Net 1.1, be sure that you have service pack installed. SP1 repairs bunch of bugs under W98. Your problem is, that your application is unabl ...Show All
refaeldakar .NET UI Application Crash
Hi, We have a vb.NET client UI application which calls a number of web services. The application is intermittantly crashing completely without any evidence of an exception etc. The application is single threaded for the most part, the only area that deviates is a class managing serial port comms via win32 calls. (we do not use p invoke..) I understand the most likely cause for an unexpected termination of this nature is threading - more specific ...Show All
Peter De Decker Web Service display
Hi All: Does .NET Framework 2.0 change the display mode for Web Services In Visual Studio 2005 Beta 2, I try to take a web reference of ReportService2005.asmx (typed as http://localhost/ReportServer/ReportService2005.asmx ), I got an compilation error said: CS0234: The type or namespace name 'Xml' does not exist in the namespace 'System' (are you missing an assembly reference ) But if I add " wsdl" (typed as http://localhost/ReportServer/Report ...Show All
