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

    Dumb file sharing question

    I have two computers on my home network. At some point in time, I logged onto computer2 from computer1 using username1. Being lazy, I told the system to remember the username and password. Now, I want to log onto computer2 from computer1 using username2. What the heck should I do to get the...
  2. groston

    Cannot delete paragraph format in Word XP

    I am working on a document that I did not create. In the 'Styles and Formatting', I have selected to show only 'Formatting in use'. To update a document's formatting, I typically right-click on the format that I want to change, choose 'Select all <x> intances', then click the format to which I...
  3. groston

    Setting text in DataGrid ButtonColumn based on data row value

    Can't quite wrap my head around this one... Given a datagrid, based on an underlying DataTable, that has two Button Columns and several bound columns: <Columns> <asp:ButtonColumn Text=&quot;Edit&quot; ButtonType=&quot;PushButton&quot; CommandName=&quot;Edit&quot;></asp:ButtonColumn>...
  4. groston

    DVD drive lost after Windows updates

    I am putting together a new computer. After installing XP (and third party device drivers), all of my devices were present. In particular, both my CDRW and DVD/WR drives were present in the device manager. After installing all of the Windows updates, the DVD/RW drive is no longer in the device...
  5. groston

    Measuring string width, BUT no PaintEventArgs

    In my application, I get a string of data from a user. I need to determine the length of the string, because if it is longer than some predetermined length, I need to insert a carriage return so that it fits inside a fixed width box on a PDF form. All of the methods I have seen for calculating...
  6. groston

    Seeking more elegant form of expression

    Consider an application for which different classes of users are granted diffeent levels of access to the underlying data. (Not too hard to imagine!) Now, consider the case where one class of users is permitted to query the database based on some value of some field but another class cannot...
  7. groston

    Please explain VS.NET created DataAdapter commands

    The syntax of the SQL commands created by VS.NET puzzle me. Hopefully you can offer a rational explanation. Here is an example table, name myTable: ValID (int, Identity, primary key) Value (varchar(50)) From VS.NET toolbox, I select SqlDataAdapter. I enter the connection and ask it to generate...
  8. groston

    Need help formulating query

    Consider a DB with two tables: PurchaseOrder PO_ID as int Username as varchar (etc) Items Item_ID as int PO_ID as int Description as varchar (etc) What I want to do is the following Select * from items where description is distinct and item_id is maximum item_id for the user...
  9. groston

    Setting control value via javascript called from function

    I am trying to do the following: On a page have a button that fires a code-behind function (to perform some server-side actions) which in turn calls a javascript function to launch a dialog window. The dialog window accepts some user input and upon the user's pushing a button, fires a...
  10. groston

    Dynamic class definitions

    I have an ASP.NET application to which I want to limit access depending on the user's level of authorization. Currently, I do this by maintaining a database table with the requisitie information. However, this is a poor method. What I would rather do is have each page (class) define a method...
  11. groston

    Sporadic error with Visio embedded in Word

    I have written an Word macro that generates a Visio chart (based on information automtically gathered from a Word document combined with user input) and pastes this chart into the document. The structure of the program looks like this: +++ begin psuedo code +++ Sub BuildForm Load UserForm...
  12. groston

    Listbox in datagrid

    For a Windows application (not ASP), I wish to present a two column datagrid. The first column shows student's names and the seocnd should have a listbox that lists the professors' names. My plan is to have the user select a single professor for each student. Upon clicking a fished button, each...
  13. groston

    Setting focus on webform

    I suspect that I am making this much harder than necessary... Consider a form with four TextBox'es: txtFName, txtMName, txtLName and txtUserName. The first three have Autopostback=true. The UserName is created algorithmically from the user's name. The problem is this: when I enter a name in...
  14. groston

    Formatting a text column in a DataGrid

    One of the fields on my DataGrid is a long text field. I would like to display the field with some inserted characters to facilitate reading the data. For example: Data: abcdefghijklmnop Display: abcde-fghi-jklmnop It seems that applying a &quot;Dataformatting Expression&quot; to the column...
  15. groston

    Validator for ListBox

    Is it possible to use one of the provided validators to determine if a ListBox has at least one item selected? If so, how does one do this? Thanks! ---- Gerry Roston gerry@pairofdocs.net
  16. groston

    Why doesn't FillSchema get FK information

    For developing a DB application, .NET provides the FillSchema method for populating certain aspects of a DataSet's schema. This includes the PK column, allow NULL and several other properties. However, FillSchema will not populate the AutoIncrementStep, AutoIncrementSeed or FK information...
  17. groston

    Which one of these notebooks is faster?

    I am planning to upgrade my notebook. My two leading contenders are: Area-51m Performance (which uses a SiS648FX + SiS963L AGP8X Chipset with an 800 MHz FSB) vs: ProStar 5614 (which uses a Intel i865PE+ICH5 chipset with an 800 MHz FSB) Assuming they are configured the same: 3.2 GHz...
  18. groston

    An inverse JOIN query???

    I have two tables: Table1: columns: tblID (unique, pk), data1, data2, etc Table2: columns: tblID, data1, data2 Both tables have about 6000 rows. What I want to do is find all rows in Table1 for which there is no related entry in Table2. The dumb approach: Select * from Table1, Table2 Where...
  19. groston

    ADO.NET - problem assigning primary key column

    This problem is killing me! What I have doen si greatly simplified the problem and cast it into MS Access (instead of MS SQL from whence it sources) to allow easy distibution. A zip file with the database and all vb.net files can be found at www.pairofdocs.net/TestTable.zip. The file is a...
  20. groston

    Positioning a button

    On a web form, I have a datagrid and the necessary controls to add items to the underlying table. What I would like to do is have a 'Done' button positioned just beneath the table, that when pushed, commits the changes to the database. Now, this may seem silly, but the part I cannot figure out...

Part and Inventory Search

Back
Top