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 SkipVought 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: rasx
  • Order by date
  1. rasx

    Setting the default text for a TextBox

    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
  2. rasx

    VBScript List Directory Contents problem

    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 =...
  3. rasx

    Data Adapter Configuration Wizard Question

    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
  4. rasx

    C# ASP.NET: Detecting the Existence of URL Variable

    Check out the System.Uri class. Bryan Wilhite Songhay System http://www.songhaysystem.com
  5. rasx

    Data Adapter Configuration Wizard Question

    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
  6. rasx

    In what were replaced metods from VB6 in VB.NET

    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...
  7. rasx

    Datagrid event Question

    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...
  8. rasx

    Fill DataSet in Class, bind in Form

    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...
  9. rasx

    Can I read MSWORD contents from VB.NET

    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...
  10. rasx

    KeyPress Events in DataGrid

    Willing to help[thumbsup] Bryan Wilhite Songhay System http://www.songhaysystem.com
  11. rasx

    Another comboBox problem

    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...
  12. rasx

    KeyPress Events in DataGrid

    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)...
  13. rasx

    VB 6 v. VB .NET

    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
  14. rasx

    how to send email from access 2000

    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...
  15. rasx

    pass value to parameter

    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
  16. rasx

    Foreign Key Constraint Problem

    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...
  17. rasx

    Set value for variable in Store procedure

    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...
  18. rasx

    How do I call a Javascript function from vbscript on an ASP page?

    I assume that you are trying to call a client-side JavaScript function from server-side ASP running VBScript. Seeing your code example, I will tell you that it is not wise to call a client-side function during a walk through an ADO recordset. But if you are young and inexperienced and you need...
  19. rasx

    FULL OUTER JOIN not working - why?

    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
  20. rasx

    Homesite w/ Visual SourceSafe

    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...

Part and Inventory Search

Back
Top