Is this possible? I'm trying to use access reports in my vb.net application. I've already determined that to show the report, you essentially need to have an instance of MS Access running, and although I don't like it, I can live with it. But I need to be able to change what the report is...
The findform function that we've currently implemented will tell us if the form we're trying to open is already open (giving us the option to show it instead of opening a new form).
But if it's not found, we're trying to show something we haven't instantiated yet. I did some scouring on the...
Is there somewhere that describes the Assembly and where various things live inside the Assembly? I tried to do some digging, but couldn't find a very difinitive explanation of it. It's a little beyond me at this phase of my programming experience. :S
Awhile ago, I was looking for how to create dynamic forms based on a string. In that search, I came across this:
PublicSharedFunction CreateObjectInstance(ByVal objectName AsString) AsObject
' Creates and returns an instance of any object in the assembly by its type name.
Dim obj AsObject...
Sorry about not seeing your post earlier. I have a mistake on the code that I pasted. It should be Dim foundForm as form = FindForm(childName,parentForm)
So in your implementation, it would read FindForm("frmUserMaintenance",Me)
Multi-User Access Application-RESOLVED
I have an application currently being developed, using Access and VS 2003. What is considered the best way to ensure concurrent updates don't get squashed? I know there is Transaction support (though limited compared to SQL) in Access, but not sure the...
I have the following in my code:
myComboBox.SelectedIndex = -1
The above code doesn't work as expected (which is to say, doesn't select an empty string. I have all of this in my form load. Could that be the reason it...
Unfortunately, kulrom, post #2 won't work because I have the source attached via the datasource method. VB complains that I can't edit the itme list if it's attached in that way.
Modifying the datasource does seem to work, although I'm finding a different problem now.
I have an overloaded sub...
Sorry about the delay folks. I was out of touch this weekend.
Thank you to all who replied. I am indeed looking for a way to "blank" the initial selection of the combo box. I tried an on form event of selected index = -1 (even put it in there twice, as I remember hearing that was a slight...
Adding Blank line to Combo Box - RESOLVED
I know how to do this manually, but I'm trying to add a blank line to a combobox that is being populated by a DataSource. I know I need to add a blank row to the datatable prior to binding it (or perhaps, after would work as well?) however, I'm at a...
I had this exact question myself not too long ago. Here's how I managed to finally solve it:
PublicSharedFunction FindForm(ByVal frmName AsString, ByVal rent As Form) As Form
Dim childNames AsString
Dim children As Form
Dim frmFound As Form = Nothing
If rent.HasChildren() Then
This is almost exactly what I'm trying to do with a windows application I'm coding right now, however, the supplied code isn't working for my instance.
In my scenario, I've got a dropdown populated from a database with 8 rows being returned. Ok so far. The SelectedIndex of the combo box on...