The following comes from MSDN:
This is a virtual method to be implemented by the programmer (that's us) or the next version of Windows Forms.
Bryan Wilhite
Songhay System
http://www.songhaysystem.com
I don't see how strDocsPhysicalPath is returning anything. I'm seeing a leading double backslash in yoir code that is not UNC to a netowork share:
strDocsPath = "\\George\UserHome\Common\Q & A"
This code should return 0:
strDocsPath = "\\George\UserHome\Common\Q & A"
strDocsPhysicalPath =...
Okay, so another guess is that the Wizard is started via an editor declaration with System.ComponentModel.EditorAttribute.
But this implies that you have access to the source code of your provider. Are we on the right track here?
Bryan Wilhite
Songhay System
http://www.songhaysystem.com
I am almost sure that the wizard is related to the SQL Server Provider, unless there is an OLEDB ODBC wizard as well.
This may mean that your non-SQL Server provider must implement its own design-time editor.
Bryan Wilhite
Songhay System
http://www.songhaysystem.com
The DataTable contains a Rows Property and this is just a Collection of objects similar to old-school VB6 collections:
Private Sub PrintRows(myDataSet As DataSet)
' For each table in the DataSet, print the values of each row.
Dim thisTable As DataTable
For Each thisTable In...
Microsoft often provides more than one way of doing things. With that said, try the DataGrid.CurrentCellChanged Event.
During this event you can check the DataGrid.CurrentCell Property, which will expose an instance of a DataGridCell struct. This will hand you the DataGridCell.ColumnNumber...
I'm pretty sure that you are going to need to define a schema for your Data Table here:
objDataAdapter.Fill(objDataSet, "Users")
You might have seen this slightly misleading example:
Dim SelectQuery As String = "SELECT * FROM Customers"
Dim adapter As New...
Unfortunately, you may have to read the Word file using Interop or PIMs (Primary Interop Assemblies). There is a set for Office XP and a set for Office System 2003 best obtained by getting Microsoft Visual Studio Tools for the Microsoft Office System.
One easy way out is convert this file into...
I'm not sure what's going on. It could be something as simple as using this:
e.Handled = true;
where e is of type System.Windows.Forms.KeyEventArgs.
Also you might want to check out the typeof operator to verify that the KeyDown is there before assigning stuff. Here's an example:
private...
This is a snippet from Windows Forms FAQ:
[C#]
public override bool PreProcessMessage( ref Message msg )
{
Keys keyCode = (Keys)(int)msg.WParam & Keys.KeyCode;
if(msg.Msg == WM_KEYDOWN
&& keyCode == Keys.Delete
&& ((DataView)...
Even the billions of dollars at Microsoft has yet to reach you [sadeyes]. They even threw money at online TeeVee shows to get to you and you still have not seen:
http://msdn.microsoft.com/vbtv/
have you?
Bryan Wilhite
info@songhaysystem.com
http://www.songhaysystem.com
MS Access does not have the ability to send email. However you can call Outlook from Access and ask Outlook to send the mail. This is an example:
Public Sub basSendMail()
Dim objMailItem As MailItem
Set objMailItem = Application.CreateItem(olMailItem)
With objMailItem...
Are you writing VBA in Access or are your calling an Access MDB file via ADO from a VB 6.x application?
Bryan Wilhite
info@songhaysystem.com
http://www.songhaysystem.com
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.