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 SkipVought 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: DatabaseDude
  • Order by date
  1. DatabaseDude

    Links to PDFs stored in DB

    Actually it sounds like a hyperlink is created (~/getreport.ashx?AttachmentId=0) ... and as long as the data can be viewed, it's all good :) Thinking that if there were ever additional file types, the ashx file could be modified to include those, as well. Thanks to Jason for the idea, and...
  2. DatabaseDude

    Links to PDFs stored in DB

    I am in the process of writing code for uploading PDFs. The page will contain (1) upload control for adding new PDFs and (2) grid that lists current PDFs. The table in which PDFs will be stored contains fields named AttachmentId (int), Attachment (varbinary(MAX)) and AttachmentFileName...
  3. DatabaseDude

    AJAX help: Popup control extender not working

    Mark -- The Javascript error appears only in IE. In Firefox, no error appears, though I did find several listed in the console you suggested. I wasn't sure if it was a browser dependent problem. Kalisto -- The example from which I've been working does not have an UpdateControl, so I don't have...
  4. DatabaseDude

    AJAX help: Popup control extender not working

    I have a gridview, in which there's a notepad icon as an image. When the user mouses over the icon, I want a pop-up to display any notes associated with that record. However, nothing happens. Gridview code: <asp:ScriptManager id="ScriptManager1" enablepartialrendering ="true"...
  5. DatabaseDude

    Most efficient method of binding controls

    Which is the more efficient method of binding controls (listbox, dropdown list, gridview, etc)? - Using a SQLDataSource control for each - Creating a single connection in the codebehind page & using it to retrieve all data My first instinct is to code everything by hand, but I wanted to take...
  6. DatabaseDude

    Membership.CreateUser without password question &amp; answer

    Membership.CreateUser takes arguments for username, password, email, password question, and password answer. However, in the current project, we're not using the security question and answer. Does it matter what is entered for the question & answer? They're required, apparently. This works...
  7. DatabaseDude

    Progammatically setting &quot;Target&quot; for hyperlink columns in gridview?

    It's a Decision Made From Above that the links to external sites should open in new windows.
  8. DatabaseDude

    Progammatically setting &quot;Target&quot; for hyperlink columns in gridview?

    A gridview contains a list of links, a menu of sorts, for users in an app. Some are external, some are internal. (Aside from the external beginning with "http://" they are also flagged in the database with an IsUrl field.) We'd like the external links to open in a new window (target = blank)...
  9. DatabaseDude

    Problem with listbox not recognizing selection

    Well, one problem solved! A big D'OH on me for that :) Thanks to you as always my friend!
  10. DatabaseDude

    Problem with listbox not recognizing selection

    Sure does. I ran the stored procedure separately, and I also bound the same dataset to a gridview. All fields were populated.
  11. DatabaseDude

    Problem with listbox not recognizing selection

    This is probably so simple that I'll beat myself repetitively after learning the answer :) Problem: I have a listbox, lstUrls, that is populated by a dataset. It contains a list of web sites. And there is a button, btnRemove, that attempts to recognize the currently selected record in lstUrls...
  12. DatabaseDude

    Filtering gridview based on current username

    I have a gridview that I'd like filtered by the current username. Its source is a stored procedure, taking one argument, Username (string). The datasource configuration provides the ability to select from such choices as form control and query string, but I'm not sure how to retrieve the...
  13. DatabaseDude

    Programmatically write to app settings in web.config?

    Ouch! Yes, that would be something to be mindful of, wouldn't it? :) What if prior to changing such a value, the user gave notice to users, then went into ASP.NET Configuration and clicked on "Take application offline"? BTW is there a different way to control application being online or...
  14. DatabaseDude

    Programmatically write to app settings in web.config?

    Is it possible to write settings to the web.config file? I'm deploying an app, and the smtp server name will be stored in web.config. I know that if the value changes, the web.config file can be edited per usual. However, I was wondering if this would be something that could be set by the admin...
  15. DatabaseDude

    Executing code on a schedule

    There's some code I'd like to be executed every x number of seconds. The only way my web host says it can be done is by putting it in an aspx (or ASP or CFM) page, and they can add it to Windows scheduled tasks. While this is an option, they schedule it to run far less frequently than I'd...
  16. DatabaseDude

    Access 2007 crashes when .NET component called

    I have an Access 2007 application that "watches" a folder to determine if new files or added, or if existing files are renamed. This uses the .NET FileSystemWatcher class, incorporated into a DLL wrapper named IOLib. I've downloaded all the code and made it work without error in a VB6 form...
  17. DatabaseDude

    GACUTIL error when running an install.bat file

    I did a drag and drop into C:\windows\assembly ... and it seems to work just fine now! Thanks! When deploying on other machines, will a simple copy command accomplish the same result? Or are there other steps that should be taken?
  18. DatabaseDude

    GACUTIL error when running an install.bat file

    You are correct, I do have VS on the original machine. The reason this came about in the first place is an error when I run an application referencing the IOLib wrapper. -2147024894 The system cannot find the file specified The goal of install.bat is to register the .NET framework DLLs...
  19. DatabaseDude

    GACUTIL error when running an install.bat file

    I've downloaded some VB code that creates a wrapper for the FileSystemWatcher class in .NET. http://msdn2.microsoft.com/en-us/library/ms364070(vs.80).aspx Included was an install.bat file to register everything. It worked great on one machine. However, on another, I got the following error...
  20. DatabaseDude

    Capturing file name from Acrobat

    The file is named by user typing it in. I don't know if a button that commands Acrobat and its scanning process is possible: the idea is right along with what I had in mind initially, but I don't have any idea of how to work with the Acrobat object model, and check for things like user...

Part and Inventory Search

Back
Top