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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by gny

  1. gny

    cdosys.dll and Basic authentication?

    I am trying to use Microsoft CDO For Windows 2000 Library (cdosys.dll, version 6.6.6001.18000) for sending email from an Access 2007 application. Here is my code, somewhat altered for readability etc: Dim oCDOMessage As New CDO.Message Dim oCDOConfig As New CDO.Configuration...
  2. gny

    Starting process by URL

    Correction: The app is running under .NET 1.1 I also wrote a little more thorough problem description: Technical description: We are running a .NET Framework 1.1 application. The application opens a URL with the method System.Diagnostics.Process.Run(URLString)...
  3. gny

    Starting process by URL

    Thanks for your reply chiph. I do not think the file associations are the problem because if there already is an instance of Excel or IE running (which is not a child process of my application), IE correctly picks Excel to handle the document and it opens just fine.
  4. gny

    Starting process by URL

    In a .NET 2.0 Forms application, I want to open a Reporting Services report using the default viewer application for the report content type, e.g. MSExcel. I start a process using the System.Diagnostics namespace, specifying the report http address as file name. Internet Explorer starts up and...
  5. gny

    Capture record index from datarow or datatable?

    if all you need to do is to access the fields in the row, I can't see why you don't just use a variable that holds a reference to the row. I would recommend that you do not use the index (DataTable contents may change etc.). Dim drLineItemNum as DataRow For Each drLI In dtLI.Rows...
  6. gny

    * URGENT * Security issues on DLL

    I have not sone this myself but I'd have a look at InternalsVisibleToAttribute. As I understand it you would typically change all your public types to Friend types and at the assembly level specify which other assemblies may see the internal types of the assembly. Or, you could use the...
  7. gny

    Capture record index from datarow or datatable?

    Might this work? dtLI = dsLineItem.Tables("lineitem") Dim nIndex as Integer=0 For Each drLI In dtLI.Rows If drLI("LineItemNum").ToString = sLINum Then idxLI = nIndex Exit For End If nIndex += 1 Next
  8. gny

    Capture record index from datarow or datatable?

    May I ask what you need the index for when you already have the actual row?
  9. gny

    Capture record index from datarow or datatable?

    Oh, IndexOf is new in .NET 2.0. Sorry.
  10. gny

    Capture record index from datarow or datatable?

    BTW, the index is an Integer (not a Short).
  11. gny

    Capture record index from datarow or datatable?

    idxLI = dtLI.Rows.IndexOf(drli)
  12. gny

    MenuItem shortcut not working correctly

    Hi, I have a form which I use as an MDI child. When the menu in the child has merged with that of the MDI parent the merged menu something like this: --File [from MDI parent] | --CurrentObject [from MDI child] | -- Undo (Ctrl+U) When i try to use the shortcut key (e.g. Ctrl+U) assigned...
  13. gny

    Check if form is modal?

    Silly me, I missed the Form.Modal property which does the trick....
  14. gny

    Check if form is modal?

    Hi! After my form has been opened I need to check whether or not it was opened using Show() or ShowDialog(). Does anyone know if this can be checked using a built-in property or if I have to shadow ShowDialog() and remember myself that the form is modal, as in: public shadows sub ShowDialog()...
  15. gny

    Report event handling in .NET

    I'm using Crystal Reports .NET in Visual Studio 2003. In order to load a picture into each detail section of one of my reports, I read that I need to handle the Section Format event. I have found code that shows how this is done. The question is simply: How/where do I write an event handler...

Part and Inventory Search

Back
Top