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: mThomas
  • Content: Threads
  • Order by date
  1. mThomas

    error downloading a file which was uploaded to a mssql database

    I'll post code if requested, but I'm not convinced it is a coding issue. I upload a pdf or excel file to a mssql (2012) database. When I download the file I get "There was an error opening this document. The file is damaged and could not be repaired." This doesn't happen with text files, images...
  2. mThomas

    Delete an image not working properly

    I have a click event which is supposed to delete an image. I have a dropdown which displays all the images in a folder. When I try and use the dropdown selected value, the image is not deleted. However, if I pass the name of an image, the image is deleted. In the code below, when I hard code the...
  3. mThomas

    Preselecting list items

    I have a web form which has a multiple select dropdown list. The dropdown data is bound from a table. On submission the selected items are pushed to an mssql table. I have an edit version of the form where the various data is read into the form allowing the user to edit the fields and resubmit...
  4. mThomas

    HIPPA compliant transcription to open a Word doc

    I have a project which is to create a hipaa compliant transcription process. One of the parts of the process is to upload a Word document. The Word document is then accessed by a transcriber. The transcriber edits the Word document and saves the document. The Word document cannot be saved to...
  5. mThomas

    MS Word and COM

    I have a project where users will need to open a Word document inside a browser. The users opening the Word document will allow/set IE to open Word in a browser. I figured using com would be the way to go. I have a Windows server where I installed PHP 5.2.11. I have been able to write php...
  6. mThomas

    Large write to file and browser timing out

    I am trying to create a text file by reading data from a MS SQL database. Some files will have 600,000 or so lines. I want to initiate this through a browser. The browser is timing out, and the files are not complete. Here is the basic code I'm using. $link = mssql_connect($server, '$user'...
  7. mThomas

    Can you display more than one image to a browser...

    I have a couple of sites sharing a database. There will be a small number of images. Currently each site has a seperate image upload process where the image is stored on the server and the path is stored in a MS SQL table. I have been trying to use the image data and not the path so I can read...
  8. mThomas

    How many pop3 accounts can I have in Outlook?

    I have a project where I will need to POP hundreds of gmail accounts into Outlook and then filter the emails. I know there is a limit of how many POP accounts Outlook Express will read when set to auto send/receive. Is there a limit on the number of POP3 accounts I can set up in Outlook or a...
  9. mThomas

    upload text file from one server to another server

    I've been learning a lot about ASP.NET. The help I've received in this forum has/is excellent. I want to upload a text file from one server to another server. On the first server I want to have a textbox where a user can enter some text. When the user presses the submit button, I want the...
  10. mThomas

    problem with web log files

    I want to read a web site's IIS log for instance of certain images and pages. I can not seem to get the site to log events in real time. I have opened IIS, right clicked on the web site, gone to properties and on the web site tab, chosen the properties option in the enable logging panel. I...
  11. mThomas

    how to read link variables

    I am sure this is easy, but I'm a little lost as to how. I want to create a link in an email with variables and have those variables inserted into a SQL DB when someone clicks on the link. The link would be something like: http://www.mysite.com/myscript.aspx?id=12345&email=mike@mike.com...
  12. mThomas

    populate a DropDownList based on a selection in another DropDownList

    I have two drop down lists. I want to dynamically change the option values in one list based on a selection in the other list. Can someone get me started on how to do this? tia... mike
  13. mThomas

    Help with simple insert

    I am new to ASP.NET. I have been looking at several tutorials. I can do some pretty simple stuff except get an insert to work. Ok I can connect but can not do much else with a MS SQL database. There has got to be a simpler way. Here is what I've been trying. <%@ Page Language="VB" %> <script...
  14. mThomas

    EOF pattern matching

    I have an XML file which appears to be generated from a Pivot Table. What I need to do is find an instance of something in the each <z:row> element. If the something exists, remove and push the element to a separate file. After each element with the something in it has been removed from the...
  15. mThomas

    max number of characters in database name?

    Does PHP place a maximum numbers of characters that can be used in a database file name. I have a mssql database connection that uses "[abnavalthisnot-data-newsnow]" All my scripts run just fine. I created a test database by appending test to the database name. Now I have a connection using...
  16. mThomas

    checking for valid entry

    I know this is a common question. I've looked through the FAQ's, done countless searches on the net, looked in my MS Visual C++ .NET book, and yet I still am having a hard time doing what "should" be simple, and that is check to see that a numeric entry is valid. I want the input to be a float...
  17. mThomas

    coloring text in a textarea

    I am using PHP to grab some text from a text field in a database. The text is inserted into a form textarea. Is it possible to color instances of a word within the textarea. I would like the user, when viewing the text in the textarea, to be able to quickly see instance of a word, like...
  18. mThomas

    pushing/adding new elements to an array

    I have multiple MS SQL queries. I want to create an associative array with the first query. With each addtional query I want to add elements. Here is the code I'm working with (only using two queries): $planning_1 = mssql_query(" select count(distinct cdc_id)as Planning_Count,office_name...
  19. mThomas

    help with multidimensional array

    I have a mssql query which returns the following: state name category quantity freshness New York Ange Frey On-Line Researcher 2 181 New York Casey Cregg Governmental Rptr 61 30 New York Casey Cregg Governmental Rptr 100 60 New York Casey Cregg Governmental Rptr 36 90 New York Casey Cregg...
  20. mThomas

    returning the full length of a MS SQL database field

    I have a table, within a MS SQL server database, with a varchar set to 8000 characters. I have written a query to return the field in a result set and print it to a web document using PHP. In Query Analyzer, after setting the result field length option to 8000, I'm able to return the full field...

Part and Inventory Search

Back
Top