I'm working on a report that uses a subreport to generate a value, which is then displayed in the main report. This works as expected. However, the only purpose of the subreport is to generate this value; I don't actually want to show it. How can I arrange it that the subreport is not displayed...
I'm trying to make a variant of the where-used report from the Bill of Materials module using Crystal Reports.
According to the technical reference, there should be a "sort file" named BMW_CompWhereUsedSortFile, which is indexed on the ComponentItemCode. However, this doesn't appear in the...
Short version: Why does setting $myobject->myattribute = &$this from inside of another object's constructor pass a copy of $this? How can I pass $this by reference?
Long version:
The source in question can be found at http://thepeterbailey.net/code/CollapsibleCategory.zip.
I have a class...
I recently removed SpySheriff from a laptop using Ad-Aware, and now, when I click a link on a site in IE that would open a pop-up window, nothing happens, even if I disable pop-up blocking. I tried FireFox, which works fine, but I'm doing this for a friend who prefers IE. How can I fix this?
In an ASP.Net project, I have a number of libraries, one of which is called FreeForm. In a particular page, I make reference to it with a Register directive and bring in an object with this tag:
<FreeForm:RecordFinder id="Finder" runat="server" />
When I try to view the page, it shows me...
I have a printer shared on my network, with a password on it. I'm able to connect to it from a remote PC and print documents after entering a user name and password, but I have to repeat the process whenever I reboot. How can I get Windows to remember the user name/password for the printer?
I need one of my custom controls to make a request to the server, maintaining viewstate. It's easy enough just to make the request, but the server views each request as the first time the page was requested. In other words, IsPostBack is false. How can I make a post back request?
I have a database that I would like to link to a SQL server back-end. However, when I use ODBC to connect, the .mdb file does not record the user id and password. This works for me because I can use my NT login, but other people need to use this database that don't have access to the SQL server...
I've made a custom web control, but I find that when I use it, the properties of it are not set as I expect, and I get a null reference exception when opening the page. What is the correct format for setting object properties of a web control? More detail follows, if necessary:
The control...
I'd like to display a window prompting the user to stay logged into my site when the session is close to expiring. But how can I tell ASP to renew the session? I don't need to add data to or remove it from the session object, so I'm not sure what I need to do.
I need to submit the data from a form to another page via an XMLHttpRequest object, but I'm hard-pressed to find an easy way. To I really have to build a query string by iterating over every element in the form, or is there a simple way to POST this information?
I have one .cs file that defines a class that I want to use in another program. How can I do this? I've spent half an hour on the MSDN site, and I still can't figure out how to do this in this language.
There's a point in my code where it's useful for a particular function to take another function as an argument. There's no trouble doing this with functions in the global scope, but I want to be able to pass it a method of a class (as in Class::Method). Unfortunately, it fails with a message of...
I need to create a program that one of the workers at my office can use to read and modify some columns of a table in an Access database. However, I can't figure out what connection string I would use to make this work. I specify all the details including the system database, but it leaves me...
I've made a database in Access 2000, but one person who needs to use it only has Access 97, and upgrading his software is not an option. How can I save my database in a format that he can read? The database has forms that must be used, so simply exporting/importing the data won't do.
For a form I'm building, I need to run a query on one of the tables in my database, and enable or disable a pair of buttons based on the result. However, I can't seem to figure out how to run an arbitrary select query and view the results. Just opening a stored query won't do, since there has to...
My database has two tables that share a many-to-many relationship. Call them A and B. There is, of course, a join table, which we'll call J. J has a foreign key for A and for B, as well as a 3rd value. I'd like to create a report that uses each foreign key in J as one of the axes of a table...
In a program I'm writing, it would be useful to be able to pass in a function as an argument to another function, so a portion of the receiving function's behavior is determined by this argument. Is this possible in VBA? If so, how?
I'm working with a Range of data in Excel, and what I need to do is operate on only those items that fall between two thresholds. Unfortunately, I can't seem to find an easy way to sort and filter a row of data. Is there a simple way to do this?
I was working on a project recently that entailed having a CheckBoxList on a page to represent a number of values. Each of these needed to be checked or unchecked based on an item in the data table used to populate the list. Unfortunately, the only way I could find to do this was the really ugly...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.