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

    Append data to an xml file

    I need to append data to a pre-existing xml file. We run a process and write out a certain amount of information in the beginning. The we need to append data to the file as long as the process is running. My file will look something like this <Main Tag> <BeginningData value="This is the...
  2. shabnam

    Convert ctime to DateTime in C#

    I have some files written using VC++ 6, they use ctime. I need to convert the data to a datetime object in C#. ctime starts from 1 Jan 1970 while datetime in C# apparently starts from 1 Jan 1601. As a example - the old code stores the date - 15 Sep 2003 as 1063664140 (this includes the time...
  3. shabnam

    Listing ALL forms in an application

    Is there some way to list all the forms that are present in an application. I cannot use the forms collection since it only lists the loaded forms, I want to list ALL the forms that are part of an application
  4. shabnam

    Mouse/keyboard event

    I have an MDI application with a status bar that shows a timed error message (using the timer control). I want the error message to be shown till a mouse/keyboard event or till the timer event whichever is longer. Since the user can click on a child window - the MDI form does not always get the...
  5. shabnam

    Setting the paper orientation for the default printer

    Hi, I need to print from VB and I want to set the paper orientation to Landscape. I cannot use the windows print dialog control. So to set the orientation I use the code Printer.Orientation = vbPRORLandscape But it still prints in potrait which is the default setting for the printer.
  6. shabnam

    Good VB.Net book

    Can anyone recommend me a good book for VB.Net? I have worked on VB6 but .NET is so different. Need a head start :)
  7. shabnam

    CString::Find

    I want to remove all the &quot;/&quot; from a string. I write the following code CString str = &quot;c:/home/dir/test1.txt&quot;; int iPos = str.Find(&quot;/&quot;, 0); while (iPos > 0) { str = str.Mid(iPos + 1); iPos = str.Find(&quot;/&quot;, 0); } This works fine as long as...
  8. shabnam

    Registry entry vs. search paths

    The path variable (PATH)in the autoexec.bat (Win 98) or enviroment tab (NT) lists the folders to search in for an executable. The registry entry on the other hand according to MSDN are - 'Whenever an application creates an instance of a COM component, the registry is consulted to resolve...
  9. shabnam

    ADO bound controls

    I read this tip about using a DBCombo to have a hidden field (as a bound column) and another as the ListField. But the DBCombo works only with the Data Control not the ADO Data Control. I hunted for but could not find a combo control that bound to ADO DataControl. Any suggestions?
  10. shabnam

    Sheridan ultragrid

    I am using a Sheridan ultragrid and trying to bind its datasource to an ADO recordset. I use the following code - Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset conn.Open &quot;provider=sqloledb;server=ssarup-desk1;uid=shabnam;&quot; rs.Open &quot;select * from...
  11. shabnam

    editable grids

    Hi, I need to use an editable grid in my application. As far as I know MSFlexGrid is uneditable. I know that there is a control called Sheridan grid but I don't know the name of the company that produces it. Any ideas - any other grid that I can use?
  12. shabnam

    Date Parameters - Crystal Report 7

    Guess I didn't explain my query properly. The Crystal Report is called from VB and is based on a SQL Server stored procedure that has a datetime input parameter. In Crystal Report 5 when we pass the date from the front-end (VB) or even in Crystal Report if we say database - stored procedure...
  13. shabnam

    Date Parameters

    In Crystal Reports 5, the date format is yyyy:mm:dd 00.00.00.000, what is the Crystal Report 7?

Part and Inventory Search

Back
Top