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...
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)...
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.
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...
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...
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...
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
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...
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()...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.