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

    Shift+Scrollwheel not working in numeric updown

    I'm trying to allow users to change the increment of a numeric updown but holding down shift (increment = 5) or ctrl (increment = 10). Default increment is 0.5 It works fine for ctrl but not for shift - even though my code is showing that I'm capturing the shift key. The numbers don't go up...
  2. gdrenfrew

    Best way to preserve user.config?

    Hi all, Am looking for a bit of advice on how best to preserve user.config settings each time we deploy our C# application. Currently the app is deployed via an .Msi and requires the old versions be de-installed. The de-installation leaves previous user.config files in tact in the user's...
  3. gdrenfrew

    Watch window of all fired events?

    Hello technical genii, is it possible while stepping through code to watch which events on a control or form are firing? Maybe in a trace or immediate window? I'm trying to find out what event is causing a particular behaviour (ultrawingrid refreshing and scroll bar not resetting) without...
  4. gdrenfrew

    DataTable Rows ToString chopping long strings

    Hi, A string of XML from the database appears to get chopped when it's put into a datatable, then extracted again with ToString(). How can I stop this? Thanks. I am maintaining historical code which gets a string of XML from the SQL database (using FOR XML AUTO, ELEMENTS) eg...
  5. gdrenfrew

    Floating control activated, but stop the parent form becoming active?

    I'd like to know if it is possible to stop the parent application of a floating form becoming active when the controls on the floating form are clicked? I've got a large application, with multiple embedded controls. Some of the controls can be detached on effectively floating forms, which can...
  6. gdrenfrew

    Clicking away from a control to lose its focus?

    Hello, I've got a form, with a customer control on it. The custom control has panels, numeric updowns etc. When the numeric updown has the focus, I then want to click away from the numericupdown so it loses the focus. However, I don't know how to make the panel_click event take the focus...
  7. gdrenfrew

    Cannot login via Media Player 10

    Hi, one of our customers is trying to listen to a commentary that we publish on the web via Media Server. They should log in via Windows Media Player to hear it. Unfortunately, one user cannot get in even though they are using the correct username/password. Does anyone know of any sites that...
  8. gdrenfrew

    Should "lookup fields" be strings, ints, what?

    In development, we have a couple of databases each similar, but each being designed by different developers. Lookup Table on Dev 1 Approved 2 Rejected 3 Deleted 4 Cancelled Lookup Table on Live 1 Approved 2 Rejected 3 Deleted 5 Cancelled Without fail, someone will write a...
  9. gdrenfrew

    FPSE2002: Submit/Cancel button don't do anything

    Hello, I'm trying to change some configuration settings in my FPSE2002 install (to allow external source control specifically), and although I can click on the Submit button to save my changes - nothing happens. I don't get any error. Can anyone help me understand why I can get to the...
  10. gdrenfrew

    Remove a control from a control array?

    Hi there, hope someone can help, haven't been able to solve this... I'm trying to remove a control from a control array, dynamically within the code. I have a form with 3 controls on it, called CtlLine(0),(1) and (2). How can I remove the second element? Unload CtlLine(1) removes it from...
  11. gdrenfrew

    A document management app/plugin for our corporate site?

    Hi, Looking for a simple off-the-shelf document management program to fit into our existing corporate (static) website... we're looking for a document management solution for our small corporate website. It's so we can manage reports and market information that we want visitors to the site to...
  12. gdrenfrew

    How to check if string field contains a date?

    Can I check if a string field contains a date? Is there an IS_DATE function in Oracle? Thanks
  13. gdrenfrew

    Convert string to date, for use in SQL Server...

    Trying to get a date out of a table, unforunately it is in the format "dd.mm.yyyy". Can someone suggest how I can change this into "dd-Mon-yyy"? It needs to be in a suitable format for inserting into SQL Server, and I've found that this format works. I've tried the following...
  14. gdrenfrew

    "Awaiting Command", when using VB MTSTransactionMode

    Hi All, This didn't get a response in the VB forum, so am trying it here. I've got an issue with SQL Server 2000. I have VB6 components using Objectcontext (transactions) running on machine A. When I try and get them to connect to my SQL database on machine B, the connection looks like it's...
  15. gdrenfrew

    MTSTransactionmode and SQL Server conncetion hanging

    I'm trying to create a connection to my SQL Server 2000 database, from my W2K workstation. When I use a component, with the MTStransactionmode set to "Requires New", my connection hangs on the .open call. When I set the mode to 0 - Not A Transaction Object, it connects fine. Do I have to make...
  16. gdrenfrew

    XML Encoding from XmlTextWriter won't go into SQL Server

    Hello all, I'm creating some XML in my project using the XMLTextWriter, and outputting it to a string via a memory stream so insert it into SQL Server 2000 using the OPENXML functionality in a stored procedure. When I try to run the stored procedure I get this error: "Server: Msg 6603, Level...
  17. gdrenfrew

    SerializableClasses : how to seriailize properties, not class name.

    Hello, I've got a class I want to serialize into XML. Simple example: The class is called "ElementClass" and contains the property "ElementName" which I give the value of "Commodity". Can I serialize it so the XML output is along the lines of "<Commodity>", and not "<ElementClass>"? Or...
  18. gdrenfrew

    ServicedComponent can't open connection on SQL Server DB (sort of)

    Having some issues with ServicedComponents and opening connections with them to SQL Server database (v8 sp3). .NET Framework 1.1, Microsoft Development Environment 2003 version 7.1.088 It's a little complicated, but I'll try and simplify. On my PC (Windows 2000), I write a component which...
  19. gdrenfrew

    Developing a ServicedComponent

    I'm writting components in C# to run in COM+. I know I have to derive the class from ServicedComponent, which is fine and I understand that. I'm now wanting to use transactions in my code, which need the class to be derived from ServicedComponent. However, when I'm developing the classes, I...
  20. gdrenfrew

    Connect to Oracle using SystemDNS?

    Hello, I've trawled the forums but haven't been able to find an answer. I'm trying to connect my C# windows app to an Oracle database. Is it possible to connect to an Oracle database without having the Oracle Client software installed on the client PC? If I use System.Data.OracleClient...

Part and Inventory Search

Back
Top