Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: cmhunt
  • Content: Threads
  • Order by date
  1. cmhunt

    Consuming web service issue

    Hi I've used VS2003 to create an application that consumes a web service which works fine on my test web server. When I build that app and deloy on our production web server, I get the error: "The underlying connection was closed: Unable to connect to the remote server" There doesn't seem to...
  2. cmhunt

    Sort Null values in dataview

    Hi I have a dataveiw which I am setting the sort to a column in ascending order. Is there a simple way of sorting to NULL values to the bottom instead of the top? Any help is gratefully appreciated. Chris
  3. cmhunt

    Referring URL Integrity

    Hi Simple question relating to security on our site. We need the client to access one page before accessing another so please can someone tell me if the referring url (Request.UrlReferrer) easily "hackable"? Thanks Chris
  4. cmhunt

    Import CSV to DataTable without header row

    Hi I'm trying to import a csv file into a data table without using the first row as a header row. My code is below: Dim Conn As OdbcConnection Dim dt As New DataTable Dim da As OdbcDataAdapter Dim strConnstr, strImportFolder, strFilename As String...
  5. cmhunt

    XML File Formatting

    Hi I'm currently delivering a series of XML files to clients. Files are all well formed and abide by schema. Clients, however, would like the file formatted for readability. I've told them that they can open the file in IE which'll make it readable but that want line feeds and tabs actually...
  6. cmhunt

    XML File Formatting

    Hi I'm currently delivering a series of XML files to clients. Files are all well formed and abide by schema. Clients, however, would like the file formatted for readability. I've told them that they can open the file in IE which'll make it readable but that want line feeds and tabs actually...
  7. cmhunt

    Dynamic JS in Body tag

    Hi all I have only ever used ASP.NET to create forms pages but now I need to make a sort of automated presentation effect. I know I need to add a Meta tag within the Head element to refresh to a new location (for example: <META http-equiv="refresh" Content="10 url=index.aspx">) but am stuck as...
  8. cmhunt

    Computer &quot;hang&quot; on network connection and disconnection

    Hi When I logon to any network, both my home network and VPN, my computer "hangs" for a couple of minutes. It also does the same when disconnecting from either network. The "hang" doesn't freeze everything, it freezes the task bar and won't let me open new windows. I can still Alt-Tab through...
  9. cmhunt

    RDC blank screen problem

    Hi I have a problem with Remote Desktop Connection which I cannot find a solution to in any MS articles. I use RDC to access my home computer from work. If I leave my home computer logged in (any user) and then try to connect to RDC, I get the usual login screen from my remote (home) PC then...
  10. cmhunt

    XML validating is leaving files locked

    Hi I have the following piece of code for an ASP.NET page which is causing problems.: Public Function ValidateFiles(ByVal sourcedir As String) If sourcedir <> "" Then Dim file As String Dim tblFiles As New Table tblFiles.CellPadding = 5...
  11. cmhunt

    XML string to dataset

    Hi I'm using a webservice which returns a string which contains an XML fragment. All I need to do is read this into a dataset but I can't figure out how to do it. If I write the string to a file and then read the XML file in to the dataset using ReadXml() it works fine. I'm sure it can't be...
  12. cmhunt

    BULK INSERT question

    Hi I have a standard CSV file which has double quote enclosed fields. How do I specify in BULK INSERT that fields are quote enclosed. Currently BULK INSERT #TestTable FROM 'F:\*****\Production\Test Files\file.csv' WITH ( FIELDTERMINATOR = ',', ROWTERMINATOR = '\n' ) works fine but leaves...
  13. cmhunt

    Outlook Express Highlight and copy on opening email

    Hi Strange one!! Just got a new PC. Set up Outlook Express as it was on my old PC. Imported all old mail messages. All works fine. Strange thing is that when I open an email, it automatically highlights all the text and copies to the clipboard. Can't find it in the options. It doesn't do...
  14. cmhunt

    Drop trailing zeros from decimal(18,6) field

    Hi I've got a column which is a decimal(18,6) which contains numbers with varying numbers of decimal places. Couple of examples: 0.00025 0.0005 300. Stored as they are, when I write a SELECT statement, the numbers are output as 0.000250, 0.000500, 300.000000 respectively. I require a way of...
  15. cmhunt

    IIS SMTP Outbound mail problems

    I used to connect to the internet via an ADSL modem. I had IIS SMTP set up so I could send emails using PHP. All worked well. Since then I have purchased a new PC and a router with built in firewall (Netgear DG834G) to connect both PCs to the internet. I have set the firewall up to allow...
  16. cmhunt

    IIS SMTP Outbound mail problems

    I used to connect to the internet via an ADSL modem. I had IIS SMTP set up so I could send emails using PHP. All worked well. Since then I have purchased a new PC and a router with built in firewall (Netgear DG834G) to connect both PCs to the internet. I have set the firewall up to allow...
  17. cmhunt

    VPN Connection Hang with XP Pro

    Hi I have a new PC with XP Pro connected to home network where my old PC with Win 2k remains connected. My work VPN is set up on both PCs and works fine however, when I connect on the XP Pro computer, all new windows which I try to open, hang for about 5 minutes. After that, all works fine...
  18. cmhunt

    PHP/MySQL Connection Problem

    Hi I am running PHP on one machine and want to query a MySQL database on another machine at another site using mysql_connect(). Without our firewall on, the PHP runs fine but with the firewall on, I get a &quot;Can't connect...&quot; error. The problem is that I need to know which specific...
  19. cmhunt

    FTP Buffer Error

    Hi I'm trying to run a simple FTP script that gets a file from an FTP server and places it locally. The script is <?php // set up basic connection and login with username and password $ftp_server=&quot;********&quot;; $ftp_user_name=&quot;****&quot;; $ftp_user_pass=&quot;****&quot...
  20. cmhunt

    Global replace throughout folder

    Hi I would like to replace all occurences of one string with another throughout all the files in a folder. There are about 14000 files in this folder averaging about 2kb each. The obvious way I can think of doing this is looping through the directory listing, opening each file, reading each...

Part and Inventory Search

Back
Top