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 TouchToneTommy 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: Sameal
  • Content: Threads
  • Order by date
  1. Sameal

    Callback Method Problems

    I am trying to implement a forms like model in flash mx 2004. I have two classes, Container and Component. The Container contains many instances of Component. Each time an instance of Component is instantiated I assign a method pointer to it that points back to a method on Container called...
  2. Sameal

    Convert String to Boolean

    I have a string that like this. Dim switchClause As String switchClause = "1 = 0" I want to then use the switchClause in an If statement like this. If switchClause Then ' Do something cause it was true. Else ' Do something else cause it was false. End If The above doesn't work...
  3. Sameal

    Combo Phenomenon

    I have a combo box that each time the focus leaves it, it reverts back to what it was when the form loaded. Does anyone know what could possibly be doing this?
  4. Sameal

    Receiving Email in .NET

    Does anyone know how to receive email programmatically in VB.NET? Or at least point me in the right direction. I found documentation on sending email in the System.Web.Mail namespace, however there are no objects or methods for connecting to a mailserver and checking for received email. Any help...
  5. Sameal

    Components Inside Components

    I have built a custom component which I call 'VComboBox'. This component is composed of a single label and an instance of Macromedia's builtin ComboBox 'FComboBoxSymbol'. I named the instance of the FComboBoxSymbol to 'comboObject'. Now when I drag a copy of my component onto the stage and in...
  6. Sameal

    Listening for the Insert Keystroke

    Can anyone tell me how you can tell when the user presses the Insert key on their keyboard? I tried to use the KeyPress Event of my Form object, however the Insert key did not fire the event at all.
  7. Sameal

    Setting Cursor Type and Passing Args to Stored Proc

    I'm having trouble with setting the cursor type with my ADO command objects. Here is my code, however everytime I try to use 'rs.MoveFirst' I get an error that the recordset position can not be reset. ---Begin Code--- Private Sub cboPart_Click() On Error GoTo Err_cboPart_Click Dim...
  8. Sameal

    ComboBox Control with Columns

    Does anyone know where I could find a ComboBox control that allows you to format the information within it into columns like the combo boxes in Microsoft Access? Or maybe tell me some way to do it with the VB 6.0 combo box.
  9. Sameal

    Returning Values from SP's in ADO

    I am having trouble getting the return values on my stored procedure working in VB using ADO. Currently I have... ---- Start VB Code Public Function EmployeeSelectByID(intID As Integer) As Recordset On Error GoTo Err_EmployeeSelectByID 'Use the global ADO command object. Set g_objCmd =...
  10. Sameal

    Decimal Parameters for the ADO Command Object

    I'm trying to pass a value into a Stored Procedure by using the Parameters collection of the ADO Command Object. When you create and append a parameter to the Parameters collection you must specity the SQL Type and Size as arguments. One of my arguments is a Decimal with a Precision of 10, and...
  11. Sameal

    Where is the Nz() function in Visual Basic 6.0???

    I recently migrated from programming in VBA behind Access to writing VB 6.0 Client Apps. While working on my current database project I came to a huge stumbling block. It seems VB6 doesn't recognize the function 'nz()'. This function checks to make sure what is supplied to it is not null, and if...
  12. Sameal

    Menu Problem

    In the Access help for menus it states that you can set up custom functions to run the tasks for each menu item. I am having a huge problem with this and quickly running out of time. In the help files it does not say where the function code needs to be placed for the menu items. But it does...
  13. Sameal

    Menus

    I have built a custom global menu for one of my database applications. I then set a sub-routine call for each of the menu item's ACTION properties with this syntax: =MN_View_Sales() My question is this, where does the actual sub-routine code go? The help files allude to creating a global...
  14. Sameal

    Error With Menus

    I have created a Shortcut Menu (Context Menu) for one of my forms. The On Action property of the menu item 'Sales' is set to '=Menu_Sales()'. I then placed a Public Sub in the containing Form and here is the code below for it. Public Sub Menu_Sales() oQuote.Display oPart.Display End...
  15. Sameal

    Menus

    Where would one go to begin learning how to build and implement menu bars into Access or VB applications? I've found some places where people mention to use the macro editor or the toolbar customizer but I have yet to understand how in the world you use those to make a menu bar. I was able to...
  16. Sameal

    Loading Forms Without DoCmd

    I am currently working on a VB/SQL/Access project that I am creating using object oriented design. One of the problems I'm running into is how to deal with displaying a form attached to an object. I created a class module named clsQuote. Within the definition of clsQuote I added a Public...
  17. Sameal

    Setting up Connection to DAO Database

    I'm using the following code to set my global Database and Workspace variables, however when run it tells me that my password is invalid. However that password IS the correct password. Does anyone see what I'm doing wrong here? I set the database password through the plain single password lock...
  18. Sameal

    Query Bug

    I have a table with a field named 'RFQ' which is a double field with numbers that are 10-digits long. The problem I'm running into is in one instance I have found that one of my queries is not working altogether correctly. There are two different records in my tblMaterialDetails where the RFQ...
  19. Sameal

    Problem Splitting Up Records from Data Source

    The situation is that I have a single table listing all the quote items in our system. Now each of these quote records can either be an "Assembly" or a "Sub-Part". Now I realize that had I designed things differently this problem would not be here but that is post-sight...
  20. Sameal

    Sub-Report Problem

    I have a sub-report placed into the footer of the main report. The problem I have is that when the detail section of the sub-report is larger then the space allocated for the footer on the main report, it does NOT carry over to a second page and continue printing out the details. It instead cuts...

Part and Inventory Search

Back
Top