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