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: *

  1. BDRichardson

    Transfer to Dynamically Constructed Page

    Hi, This may be silly or strange query, but is it sensible and practical to transfer to a dynamically constructed page? By which, I mean I would like transfer to a page by clicking on a button. However, instead of using the PostBackUrl property, I wish to call a Page Constructor passing...
  2. BDRichardson

    Variable Instances With Function

    Hi, Please can anyone confirm as to whether when you pass a variable to a function as an argument, whether the variable becomes another instance of the variable? For example, I declare a global string variable, and pass it to a function as an argument. I wish to change the value of the global...
  3. BDRichardson

    CheckBox CheckedChanged Event Raised When Enabled Via Script

    Hi, I am experiencing a strange problem with the CheckBox control. In summary, I am changing the 'disabled' state of the control with JavaScript in the client. The state is changed when I click on a different CheckBox. So, if the controlling CheckBox is Checked, then the controlled Checked...
  4. BDRichardson

    Report Parameter Data Type

    Hi, I am developing a report (.rdlc) which is used within an ASP.NET C# application. The report works fine when working with parameters of String data type, however, I seem unable to use parameters of other data types. For example, I wish to use a parameter of boolean data type, and wish to...
  5. BDRichardson

    Call JavaScript Function From Page Event

    Hi, This problem has been baffling me for some time now. I wish to determine the client area of a webform using JavaScript, so that I can then re-size controls appropriately within the form. I believe that I may be able to accomplish this by somehow calling a JavaScript function from within a...
  6. BDRichardson

    Call JavaScript Function From Page Event

    Hi, This problem has been baffling me for some time now. I wish to determine the client area of a webform using JavaScript, so that I can then re-size controls appropriately within the form. I believe that I may be able to accomplish this by somehow calling a JavaScript function from within a...
  7. BDRichardson

    Optional Parameters

    Hi, I am generating a report with version XI report designer, which contains two sub-reports, and need to allow some of the parameters to be optional, but am unable to find a solution. Some of the parameters are passed as a comma demilited value, so may not be set to any default other than a...
  8. BDRichardson

    ContainsFocus or Focused Property

    Hi, Firstly, does anyone know whether the 'Focused' Property is different in any way to the 'ContainsFocus' Property? Secondly, do anyone know of any issues with using the property. For example, on many occasions when I attempt to read the property, it always seems to return false, even when...
  9. BDRichardson

    Multiple Column Drop

    Hi, Would anyone kindly clarify for me whether it is fact possible or not to drop multiple columns from a SQL Server 2000 table? If, so how? The SQL Server 2000 Online book implies that its possible by the [,...n] syntax after ALTER TABLE table DROP COLUMN column
  10. BDRichardson

    Determine Crystal Report Viewer Data Loaded Status

    Please would someone kindly clarify whether it is possible to determine whether a report within the Crystal Report 9 Viewer has loaded the data. I am attempting to change the Mouse Cursor from within Visual Studio with C#, and would like to change the cursor to an Hourglass whilst the report is...
  11. BDRichardson

    Difference Between Decimal and Numeric Data Type

    Please would someone kindly explain some of the differences between the Data Types of Decimal and Numeric. [hairpull] Currently, I am not aware of any differences!
  12. BDRichardson

    Raising Event

    Hi, Is it possible to raise an event programmatically? The reason I ask is, when changing a DataRow within a DataTable, the RowState is not updated from Unchanged to Modified unless the focus moves from the current DataRow to another. I would like the RowState to be updated, i.e. raise the...
  13. BDRichardson

    ScreenSaver Enabling/Disabling

    Does anyone know if there is a problem with re-enabling the Screen Saver after it has been disabled programmatically. I am using the SystemParametersInfo function within User32.dll, and have been successful in disabling the Screen Saver, but it does not work for re-enabling. The only way I can...
  14. BDRichardson

    Variable Problem with Simple Function

    Please would someone advise as to whether it is possible to do what I am attempting to with the following function? If so, would you kindly explain what I am doing wrong? I simply want to declare table and column names to a function, and in return, get the next free number for the column, i.e...
  15. BDRichardson

    TreeView Exception - Is This A Bug?

    Hi I have been using the TreeView, which seemed to work just fine until I began using the BeforeSelect event. Everything seems to function properly, but every once in a while it throws an unhandled exception as follows: An unhandled exception of type 'System.NullReferenceException' occurred...
  16. BDRichardson

    Storing Variables for Global Use In Application

    I am having some trouble with a simple problem of storing variables within my program. I am retrieving settings from within an XML file, which is working fine. But I need to store the variables in my program for the duration of its execution. I figured I need to store them in a separate .cs...
  17. BDRichardson

    Referencing an XML File within the Project

    Does anyone know how to reference an XML that is stored within my project? The file is used for storing a very small 'database' and program settings. I can get it to work by hard-coding the path, or using the System.Environment.CurrentDirectory member. But I dont think this is satisfactory...
  18. BDRichardson

    Checking for Open Text File in Notepad, and Closing it

    I wonder if anyone might be able to resolve the following issue: I have a text file, which I write to using a StreamWriter. I want to be able to append to the file, but beforehand I must ensure that the file is closed. I have tried using System.Threading.Mutex()...
  19. BDRichardson

    Calling a C#.Net dll Class within VB.Net - Basic Problem

    [sadeyes] I would appreciate it if someone can resolve my basic problem with calling a Class from a C# dll, from within VB. I have created a very simple Class library within one Solution, and added a reference to it in a VB Project within another Solution. It would seem that I can call the...
  20. BDRichardson

    Refreshing Form & Controls with the OnClick Mouse Event

    I have a form with several controls on it, and am finding that when I make actions such as selecting another window, the controls become scrambled. I think I need to refresh every control on the form, and possibly the form itself, each time the form window becomes active. But I am experiencing...

Part and Inventory Search

Back
Top