Topics
-
- 3 replies
- 3.9k views
I need my C# code to be able to connect to an FTP (IP=10.10.10.1, USER=ADMIN, PASS=TOTAL) and download a file (Information.zip) stored in "\Stores\Details\" from the FTP Account HOME directory. I need to save/copy the downloaded file to a specific location (C:\Temp\). Problem - I have no clue how to open an FTP connection and perform an FTP file transfer in C#... currently I do everything directly (using \\MachineName\ and basic copy commands) but I am loosing that access and being forced to go through an FTP account. Any help/hints would be greatly appreciated ... I hope this is a really simple/easy task... Thanks,
Last reply by Diesel, -
-
- Leaders
- 2 replies
- 3.6k views
Hi: Can anyone shed any light on the <[in](), Out()> tags sometimes associated with DLL calls? For example, look at the hypothetical call below...in many of the examples I see on the internet, I see these in/out tags. I know that they specify the direction of the variable, but how do you determine whether the argument for a dll is in/out or some variation of both? <DllImport("file.dll", EntryPoint:="#1")> _ Private Shared Function DSMparent(<[in](), Out()> _ ByVal arg1 As String, _ ByVal arg2 As String, _ ByVal arg3 As String, _ <[in](), Out()> ByVal arg4 As String) As String End Function A real example is …
Last reply by VagabondSW, -
-
-
- Leaders
- 5 replies
- 2.2k views
Hi, I use the following code to navigate to a certain website obIE(i) = New SHDocVw.InternetExplorer() obIE(i).Navigate(address) obIE(i).Visible = True Now I want to read the text from the page. I know about innertext which works fine unless there is a frame on the page. How can I read the text from a certain frame?
Last reply by rede, -
-
- 1 reply
- 7.6k views
Hi: We are building an application to interface with our scanner and are implementing our our twain interface. My question is this...is there somewhere I can go to get an easy to read list of the twain function calls with good descriptions of what they do? I am pouring over the latest twain specification and its really slow reading. Thanks! Eric
Last reply by ehelin, -
- 1 reply
- 1.1k views
Hi, Is there any javascript available whereby I can prevent the user from entering non-numeric values into a textfield as they are typing data into the field. Or is this requirement undoable. Mike55.
Last reply by kahlua001, -
-
- Moderators
- 22 replies
- 11.7k views
I also get this same error message. Here are some more details on it: Error Number: 5 Error Description: Thread was being aborted. Exception Message: Thread was being aborted. Exception Type: System.Threading.ThreadAbortException Base Exception: Thread was being aborted. Base Exception Type: System.SystemException
Last reply by samsmithnz, -
-
- 8 replies
- 15.1k views
Hi I have a vb.net application with Crystal Report. IDE is VS.NET 2002 and the bundled Crystal Report. My Application is works fine in both Development server and the User Machine (access the appliction via Networkdrive). But the Problem is Crystal report is creating error in the UserMachine only.(in Dev side works fine). I did add all the mergemodules and assigned the Lincesekey to regwiz.msm. First the appliction it says error as, File or assembly name CrystalDecisions.CrystalReports.Engine or one of its dependencies, was not found. The i copied all the CrystalDecisions*.dll to the installed folder(in Development machine) Then is says, File or assembly…
Last reply by laredo512, -
-
- Administrators
- 1 reply
- 996 views
Does anyone know if it's possible to place a hook of some sort so that a routine in (in this case) a C#.NET application can get called when a filing operation happens? eg: I would like to know when files are created/deleted/renamed/etc so that I can track windows favourites lists. Matt.
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 775 views
Hi, I am executing the following method which save a copy of a page to the web server that can then be emailed to a user: ' This method saves a copy of this page to a particular location on the web server. This copy ' is then accessed by when the email is generated and sent to the administrator of the system. Private Sub saveReceipt() Dim csReg As New clsReg Dim outputFileName As String = dstDataset.Tables("Organization").Rows(0).Item(0).ToString() + ".Html" Dim outputFileLocation As String = csReg.readReg("Software", "SureTxt", "ReceiptPath") Dim renderedOutput As StringBuilder Dim writer As StringWriter Dim html…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 675 views
this is the code the name is showing ok but the file isnt showing up i am double cliking on a file list in a list box Private Sub FilesList_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles FilesList.DoubleClick Dim _name As New ArrayList Name = InputBox("Please enter the name") Dim AddToBox As String AddToBox = Name & ": " & LstKaraokeQue.SelectedItem LstKaraokeQue.Items.Add(AddToBox) End Sub can anyone help?
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 2 replies
- 1k views
What does the "Copy local" of the reference means?
Last reply by miwaypro, -
-
- 0 replies
- 735 views
Hi all, Have a solution that consists of a web project and a web service. Have uploaded the web service and the web project up to a web server. When the web project is accessing some of the functions on the web service I am getting the following error: "Server did not recognize the value of HTTP Header SOAPAction: http://tempuri.org/myWebService/wsImportExport/GenerateIdentification" Could the problem be related to the web references, and if so is there any way of updating the web references without having to upload both projects again as it takes over an hour to do the upload. Mike55.
Last reply by mike55, -
-
- Administrators
- 10 replies
- 1.7k views
can someone tell me how to copy the database of SQL Server from 1 pc to another? and how to restore it?
Last reply by miwaypro, -
-
- 6 replies
- 916 views
Hi All, A newbie to ASp.NET. Today I just made a user management web site kinda thing. In this when I click on a link to edit prifile of a user, It opens up the page which is same as is used for adding a user with all the information filled up. I can get all information from the database but not Password. With the textmode of the textbox set to Password, it does not display the password as "*****" in the Password textbox. Could someone tell me why is it so ? Thanks in Advance Ashutosh
Last reply by ashutosh9910, -
- 1 reply
- 659 views
i am trying to understand a bit of code can someone please explain in detail what this dose? Dim NewThreadStart1 As New ThreadStart(AddressOf Me.ShowFilesInFolder) Dim Newthread As New Thread(NewThreadStart1) Newthread.Start() if i understand this i might beable to carry on with what i am doing
Last reply by IngisKahn, -
- 1 reply
- 839 views
I'm just getting into ASP.net programming, and I thought I'd use it with FrontPage, but I've got version XP, not 2003, will that make any difference to the way it works with dot net?
Last reply by Nate Bross, -
- 1 reply
- 1.3k views
Does anyone have any good links or information about using css in datagrids? I'm trying to make a professional looking datagrid but it's tough. There are attributes that can be applied in the html declaration of the datagrid (like CellPadding) but that seemingly can't be contained in a css style declaration. Is this true? Does anyone have a nice looking template that they want to share with me? I'll make you famous. Your name in lights. I don't want to go with one of those off the shelf formats. I'd rather do it myself. I just need a listing of the tags and what they do to help me out. Would I be better off creating my own datagrid deriving from the MS one? Thanks…
Last reply by Nate Bross, -
- 1 reply
- 2.1k views
CREATE OR REPLACE PROCEDURE WES_UAT.P_INS_EMAIL ( param_sendTo IN EMAIL.SENDTO%TYPE, param_sendFrom IN EMAIL.SENDFROM%TYPE, param_subject IN EMAIL.SUBJECT%TYPE, param_format IN EMAIL.BODYFORMAT%TYPE, param_priority IN EMAIL.PRIORITY%TYPE, param_body IN EMAIL.EMAILBODY%TYPE, param_errorEmailAddress IN EMAIL.ERROREMAILADDRESS%TYPE, param_ccEmailAddress IN EMAIL.CCEMAILADDRESS%TYPE, param_systemName IN EMAIL.SYSTEMNAME%TYPE ) IS BEGIN INSERT INTO EMAIL( ID, SENDTO, …
Last reply by hrabia, -
- 0 replies
- 763 views
I've tried to install my cofigured component in more than one application partition on Windows 2003 Server using regsvcs.exe /parname:<name of partition>. The first installation has worked without problems but the second has failed with an error: "...already installed". I haven't found anything in google or msdn. What's wrong? Adam
Last reply by hrabia, -
- 2 replies
- 1.5k views
Hi all, I am a new programmer in terms of ASP.NET but with my prior knowledge of VB I can say that a label control is a single line control. Now in ASP.NET how can I get the text to be displayed in multiple lines instead of a single line. Is there any other control I could use instead of it ? chr(13) , chr(10), crlf etc etc all odnt work with it. Thanks in Advance Ashutosh
Last reply by ashutosh9910,
-
Who's Online 0 Members, 0 Anonymous, 52 Guests (See full list)
- There are no registered users currently online