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 Mike Lewis 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: Brice
  • Order by date
  1. Brice

    Class does not support Automation or does not support expected...

    Anyone ever have this problem? Problem Description - When a DCOM call is made from my client object to a particular method on the server component running in MTS, I get the error "Class does not support Automation or does not support expected interface.". All other methods for...
  2. Brice

    Help!! Populating table cells in a Word document from a recordset

    I'm looking for a way to put data from fields in an ADO recordset into cells in a table on a MSWord document. I have created a Word template for use in creating the document, but I can't figure out how to get the data into the appropriate places in the document. I've tried putting field codes...
  3. Brice

    Changing fonts and colors in DBGrid columns

    Is there an easy way to change the text color (forecolor?) in an individual cell on a DBGrid (5.0)? Likewise for the font?
  4. Brice

    Transaction rollback question

    I have a scenario where I will be updating (incrementing) a field in an MS SQLServer table multiple times within a transaction. If I call SetAbort, will all of the updates be rolled back? Basically, the scenario goes like this: I have a collection of order items that need to have an item#...
  5. Brice

    Is this an MTS error message?

    ms ratan agarwal, I'm not sure I can be of any help, but I'll try. Could you explain what 'pws' is? Is this something that happens when you try install components in MTS or does it happen when installing MTS itself?
  6. Brice

    Is this an MTS error message?

    Well, I think I solved the problem. Thanks to both zallen and chiph for the suggestions. It turns out I was trying to nest transactions (probably obvious in my code posting) after all, but I didn't realize that's what the error was telling me. Thanks again.
  7. Brice

    Is this an MTS error message?

    Ok, here it goes... Below is the data access code I mentioned. I know this may be rather lengthy, but in the interest of brevity and confidentiality, I've modified some of the variable and object names and omitted things like the creation of the ParamArray from vntParams. The logic...
  8. Brice

    Has anyone gotten this error?

    I'm getting the error message, "Cannot start more transactions on this session". Has anyone seen this message? What I have is 2 dll's running in MTS. One contains business rules, the other is strictly data access code. It is the data access code that is giving me this error. I can...
  9. Brice

    Is this an MTS error message?

    I'm getting the error message, "Cannot start more transactions on this session". Has anyone seen this message? What I have is 2 dll's running in MTS. One contains business rules, the other is strictly data access code. It is the data access code that is giving me this error. I can...
  10. Brice

    DBGrid question (Unbound mode)

    8-) Actually, that does help some. I didn't realize you had to keep track of the bookmark of the first visible row. I'm sure this would probably be easier if I used data controls and recordsets, but for what I'm doing, it would actually probably be more work. Thanks for the help.
  11. Brice

    DBGrid question (Unbound mode)

    My original post seems to have fallen way down the list, so I'm posting it again. Also, I have since found out that I need to use the UnboundReadData, UnboundWriteData, and UnboundAddData events to do what I need to do, but I'm still having some trouble. Specifically, I'm having trouble...
  12. Brice

    Using a DBGrid in Unbound mode

    I'm using a DBGrid to display and edit data that is contained in objects within a collection object that is within another object (Whew!) I have no problem getting the data from the objects and putting data into the objects in the collection, but for some reason, I am not able to display/edit...
  13. Brice

    Design Advice

    I admit, I'm a little curious too. Our situation is such that the reporting requirements are fairly static, so we shouldn't have to ship new stuff all that often. Also, the application has a fairly small number of users, so upgrades shouldn't be too much of a hassle when we do have to do them.
  14. Brice

    Design Advice

    Since our app is relatively small in scope, what we've decided to use is single reports class with a method for each report on the ui-centric side and on the server side or more specifically, data-related business rules side, a single reports module with either one generic/all-purpose method...
  15. Brice

    How to use clireg32 without giving servername...

    Have you tried using the Package and Deployment Wizard and including the .VBR and .TLB files as part of the Setup package? The PDW will recognize that they are remote server files and ask you to provide the servername where the server components will be installed. However, if you leave it...
  16. Brice

    Retrieving User Account info from NT Server

    Thanks, I can always use more sources of good information. I think I solved this problem. It wasn't an NT problem, but instead turned out to be programmatic. I had a compile time constant that needed to be set properly before compiling for the customer site so that it would point to the...
  17. Brice

    Retrieving User Account info from NT Server

    At both the customer site and on the development server, we use local groups on the server. I don't have the name of the API function handy (I'm not at work), but basically what it does is it retrieves all the local groups that a user is a member of on the server. I set up the groups exactly...
  18. Brice

    Retrieving User Account info from NT Server

    Scenario: I have a VB6 app running on an NT workstation that makes an API call to an NT server to retrieve user account info for the purpose of programmatically setting user rights within the app itself (example: Enabling/disabling the Delete button or Save button based on a user group). It...
  19. Brice

    Help! Error - "The remote procedure call failed."

    Well, I guess I answered my own question. I installed ADO 2.5 on the server and BAM! everything works perfectly. Thanks for the info anyway, chiph. The ADO recordset was something I hadn't considered.

Part and Inventory Search

Back
Top