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...
...here:
objDataAdapter.Fill(objDataSet, "Users")
You might have seen this slightly misleading example:
Dim SelectQuery As String = "SELECT * FROM Customers"
Dim adapter As New SqlClient.SqlDataAdapter(SelectQuery, dcNorthwind)
Dim ds As New DataSet("Northwind")...
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
It looks like you are rolling your own Cascading DELETEs. You should take it all the way and disable all enforcement of relationships.
In the SQL Server Enterprise Manager, select your database and find the Manage Relationships... button in Design Table or the Diagrams windows. Uncheck the box...
I am not sure that I understand the motivation/focus around your question but here are some generalities:
There are two ways to set a variable in Transact-SQL. The first way uses the SET statement and the second way uses the SELECT statement.
So this is the VB:
Dim intValue as Integer...
...<%
For vCounter = 2 To 100
Call basDelaySec(0.5)
%>
<script language="javascript" type="text/javascript"><!--
/*
Assigning window.document.all("progressBar")
to an object variable fails during page load.
*/...
I am trying to avoid a discusion about outer joins. But if my next question sucks then I guess I have few choices: why was a UNION query not used?
Bryan Wilhite
info@songhaysystem.com
http://www.songhaysystem.com
Please see Macromedia TechNote 1294 ("Using MS Visual Source Safe with HomeSite/Studio"). This may be what you are looking for even though this note is referring to ColdFusion.
Also see "Integrating Multiple Users with Microsoft Visual SourceSafe via HomeSite or Studio...
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.