Answer Questions
Mat Gardam retrieve email from pop server
can any one help me to know lf there is in c# methods or class for retrieve the email from pop server ,now i can retrive email but whith down level (using the bases commands whitch difficult); Folloging blogpost could be also helpful: http://blog.rebex.net/news/archive/2007/05/14/howto-download-emails-from-gmail-account-in-csharp.aspx The 2.0 framework brought us an official SmtpClient but still no Pop3 ...Show All
AlexSl Scanner interface
I would like to be able to activate the scanner interface and receive an image from within my application rather than requireing users to scan documents into files and then select the file they have just scanned. Is there a way to do this Yes there is. It's called Windows Image Acquisition (WIA). For a good starting point see: http://www.codeproject.com/dotnet/wiascriptingdotnet.asp Hope this help ...Show All
Sentient Copy file to remote server
Is there a way to copy a file to remote server in VB.Net without using FTP and wihout mapping the drive. You can try feeding [System.IO.FileStream System.IO.File.Create(System.String)] with the UNC route of the file and then write the contents of the local file. ...Show All
bigballball Use of HealthMonitoring in non-Web apps
I'm looking into logging options for a set of libraries used by both Windows and Web apps (as well as the apps themselves). I was tending toward log4net but just discovered the HealthMonitoring framework in System.Web.Management. It looks quite good, but I'm concerned about it's "web-centricity" (excuse me). The basic functionality doesn't seem particularly web-oriented, yet it's certainly presented as such (not in the least by being i ...Show All
Dan Scott how to show string of data in text box using parmeter query
I am tryin to input an ID number and retrieve all the information from that particualr ID Private Sub btnSubmit_Click(Byval sender As System.Object By val e As System.EventArgs)Handles Button1.Click connClass.Open() Dim cmdStudents As New OleDb.Command Dim sStudents As String = Select Student Name, Information From ClassName Where Student ID = cmdStudents.CommandText = sStudents daStudents.SelectCommand = cmdStudents Dim cb ...Show All
iifu Disable exceptions
Is there a master define that I can toggle to disable exceptions I would rather not use asserts. I would also like to avoid the following clunky syntax: #If DEBUG Then If array.Count <> m_numDimensions Then Throw New ApplicationException("Invalid number of dimensions") End If #End If Thanks, Chirag from the menus, goto Debug>Exceptions, where you can toggle exception handling ...Show All
hani1426 socket not released
Hi, I currently have an app that spawns a connection to server, the server requires hard IP and Port for both my app and the server itself. It then sends a command and disconnects. The problem is that I have to wait ~5 minutes for the socket to become usable again. I know that windows likes to maintain the socket for a few minutes. Any idea on how I can get around this. I call the socket.close() method when I am done sending my parameter ...Show All
Gary Loong Error "Invalid SQL Statement; expected 'INSERT', 'DELETE', 'PROCEDURE', 'SELECT' or 'UPDATE'"
can someone please help, according to my knowledge this should work... Dim sw As StreamWriter = New StreamWriter("C:\test.doc") Dim sw2 As StreamWriter = New StreamWriter("C:\query.doc") Dim catid As String Dim reader As OleDb.OleDbDataReader Dim comm As New OleDb.OleDbCommand("SELECT * from cat where catid <> 3", conn) If conn.State = ConnectionState.Open Then ...Show All
Fonzy Can I build a 64bit with "NMAKE"
I'm making 64bit program now.I use the VC6.0 and MS PSDK,because I have some Fortran codes,so I want use "NMAKE" to build my program. I got a makefile from VC6.0,but I got some errors. I make a simple project with VC6.0, I can get a well 64bit program use the "build" command in VC6.0,but I still got errors when I using the "NMAKE" command. Why Nmake should work fine targeting any type of processor. Can y ...Show All
Andres C. Joaquin Visual Studio 2005 NEW Data Access Methods!
Hi, I've been using Visual Studio 2003 for a few months (having come from Java). I had just got used to using datasets and data adapters and stuff, then Visual Studio 2005 comes along and changes it all !!! It's supposed to be easier, but I dunno! My question, is this : - I have just created a datasource called PhonebookDS which is my single oracle table. I dragged a single field over to my blank windows form, and it created a TableA ...Show All
Kaligero Newbie Question (kinda)
I am attempting to open a connection to a SQL 2000 Server in VB 2005 Express, and I am receiving an InvalidOperationException. I can't seem to figure it out as my VB.NET is a little weak... Here's the code: Dim con As New OleDb.OleDbConnection( "PROVIDER=SQLOLEDB; packet size=4096;user id=BLAH;data source=SOMESERVER;persist security info=False;database=BooBoo" ) Dim cmd As New OleDb.OleDbCommand( "Select C ...Show All
adnap OleDb database
Hi, there is a way to retrieve the counter field value of an MS Access database after inserted a record A general insert query like this: Insert Into SAMPLETABLE(Code, Description) VALUES('aaa', 'description aaa') After execute it, I need to known the value of the counter field. In SQL Server is: SELECT @@IDENTITY In MS Access Thanks I'm using Access 2000 and it doesn't support more than one statement at a time, and also doesn't support ...Show All
Justin_H How to refrence any avalible version of a assembly?
Hi, we have a problem in our company and we can’t solve it. We have an application that uses the Oracle Data Provider (ODP). But when you move the application to another computer that has a different version of ODP (newer version) installed the application doesn’t work, because it is trying to reference a assembly with a specific version and that does not exists... I was going trough the MSDN and some books, and discover that you ...Show All
deken_99 how to set regional and language setings in control panel from vb net
I need this to solve the problem with decimal separator in diferent cultures I found in MSDN Public nfi As NumberFormatInfo nfi = New CultureInfo("ro-RO", False).NumberFormat nfi.NumberDecimalSeparator = "." nfi.NumberGroupSeparator = "" my numbers are saved as string in my database with this format 4512545,56 i tried to send such value to cristal reports and it doesn't accept that with something like "4512545,56".ToStrin ...Show All
CyanBlue Security: protect public classes and functions in common DLLs?
Hello community members, let's assume that my .NET application is composed of three assembiles, one executable and two libraries. All assembiles communicate through public methods, instantiate public classes and so on. I want to prevent anybody from simply linking the DLL and using the public functions in his own application, else, anyone could write own frontends for example, and use our backend functions. What is a common and reliable way to p ...Show All
