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

    mysqli fails to prepare statement

    Hi, I'm getting the following error "Fatal error: Call to a member function bind_param() on a non-object" when I call $statement->bind_param('i', $featuredSpecialID); in the following code: function removeSpecial() { global $HOST_NAME, $USER_NAME, $PASSWORD, $DATABASE; $featuredSpecialID...
  2. TheInsider

    WMI: Program Crashes When Setting Enabled Property of Button

    Hi, I'm new to VB.Net, so I'm probably not understanding a basic concept here. I found some code (below) that will trigger an event whenever someone plugs in a USB drive. I need this check to be running constantly in the background. When a device is plugged in, I want to perform an action like...
  3. TheInsider

    Vertically Align an Image in an Anchor Tag

    Hi, Hopefully someone can help me with this. I'm trying to create a reusable div "pane" that can be modified to stack vertically or horizontally. The concept is like the search rows returned on Ebay, where each box will represent an individual item result. However, I want the layout to be more...
  4. TheInsider

    Get Data from First Worksheet in XLS File

    Not sure if this is the correct forum, but hopefully someone will know the answer: I'm trying to use ADO and SQL (in an Access VBA module) to select data from the first worksheet of any xls file that I choose. The problem is I have several xls files with similar data, but each has a different...
  5. TheInsider

    Get Selected Rows from Datasheet Subform

    Hi, I have a parent form with a subform in datasheet view. I'd like to be able to select multiple rows in the datasheet subform and then change a value on each of those rows. I'm willing to use the continuous forms view instead of datasheet if it makes a difference. Here's an example of what...
  6. TheInsider

    Import/Link Images from Excel into Access OLE field

    Hi, I have a customer that would like to import or link his Excel spreadsheet data into and Access database. Most of the data in this spreadsheet is text and numbers, but some cells include embedded images. I need to know how to import or link these (I'm not sure which we'll be doing), so we...
  7. TheInsider

    Transparent Div with non-transparent content... is it possible?

    Hi, I've got a page with a repeating background image. This page also has a <Div> tag (border) that I want to be slightly transparent so the repeating background image is fully visible around the <Div> tag but only somewhat visible inside the <Div> tag. See below: <div style =...
  8. TheInsider

    Delete File From TSQL Stored Proc

    Hi, I'm having difficulty deleting a file from within a stored procedure. I know there are at least two methods of achieving this... EXEC XP_CMDSHELL 'del C:\temp\myfile.txt' The above code works if I log into SQL Server using Windows Authentication only and execute the stored proc within...
  9. TheInsider

    Access controls within a ListView control?

    Hi, I'm trying out the ListView control, and I'm having difficulty accessing the controls within it from my code. For example, if I have the following: <asp:ListView ID="lvwMyMemos" runat="server" DataMember="DefaultView" DataSourceID="sqlMyMemos"> <LayoutTemplate> <table border="1"...
  10. TheInsider

    RegExp to Exclude String

    Hi, I'm using the VBScript.RegExp library in VBA. What I'm trying to do is search as CSV string to find a substring that doesn't match a given criteria. I'm not interested in using the Matches collection; I only want to know True or False whether the criteria was met. For example, if I have...
  11. TheInsider

    Office/Excel 2007 How to Edit Custom Toolbars?

    Hi, I'm the unfortunate user of Office 2007 (I don't have a choice). Since Microsoft brilliantly decided to remove the traditional menu bar, even simple tasks require going on a long easter-egg hunt. Anyway, I've been asked to work on an application developed in an earlier version of Excel...
  12. TheInsider

    Modifying VBA Shapesheet Not Updating Shape

    Hi, I'm attempting to change the foreground fill-color of various shapes via VBA code, as follows: Visio.ActivePage.Shapes("Sheet.61").Cells("FillForegnd").Formula = "RGB(255,0,0)" This works with some shapes but not with others. The funny thing is, after the code executes, the Shapesheet...
  13. TheInsider

    Shape OnClick Event?

    Hi, I created a VBA form that I want to pop up whenever a shape is clicked on. This VBA form also has a public property (strNameU), so I can pass the form the NameU (the unique name) of the shape that is being clicked on i.e. frmOptions.Show frmOptions.strNameU = "" Unfortunately...
  14. TheInsider

    Output Image (binary) data from Stored Procedure

    Hi, I'm writing a small application in Java that accesses a SQL Server 2000 database via JDBC. One of my tables stores binary data (files) in a column of type IMAGE. These files may be anywhere from 30kB to 2MB in size. (Please don't reply telling me about the inefficiency of doing this. I've...
  15. TheInsider

    Stopping a Thread that creates Threads for Socket I/O

    Hi, I'm having trouble with the simple daemon that I'm writing. It's a pretty basic socket I/O application: a Daemon thread loops, waiting for client connections. When a client connection request is made, the Daemon creates a new Connection thread to handle it and goes back to listen for more...
  16. TheInsider

    Designing Classes from Use Case with Actor Inheritance

    Hi, I posted this in the UML forum but then found this forum, which is probably a better place to ask this. I'm new to good class design [purpleface]. Anyway, I'm working on a Class diagram that has me puzzled. To make this easy, I'll use an analogy rather than describe my project in great...
  17. TheInsider

    Socket I/O data not being sent

    Hi, The code below is really quite simple. I'm trying to create a socket-based client and server that will allow the client to send a filename to the server and the server will return that file to the client. Right now I've just hard-coded a file to be returned. The server is receiving the...
  18. TheInsider

    Overloading [] operate in a template class

    Hi, I'm new to C++ and I'm trying to overload the [] operator in a linked list template class; however, I'm getting "impossible conversion type errors". The class looks like: template <typename T> class LinkedList { private: template <typename T> struct Node { T *object; Node<T> *next...
  19. TheInsider

    Simple Pointer Problem

    Hi, I'm having some trouble with the code below. I'm actually using Watcom C++ with the 32-bit DOS4GW extender, but I believe my problem is compiler-independant -- I'm new to C++. It's a simple game I'm writing for VGA ModeX/13h, but it's crashing in the commented-out region... const...
  20. TheInsider

    ADO.Net SQL Server Stored Proc Parameters

    Hi, I'm coding my first ASP.Net/C# web application. I knew ASP 3 and ADO like the back of my hand, but I'm having problems with ADO.Net. When I execute the code below, I get an error stating "Procedure 'spAddGuest' expects parameter '@UserName', which was not supplied.". I've looked at several...

Part and Inventory Search

Back
Top