Search results for query: *

  1. B

    Changing the Query for an MS Access Report Programatically

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

    Create Queries

    Solved I'm looking at this now as well...did anybody have a solution? I had an example of it a month ago, but my colleague went and erased that project. :|
  3. B

    MDI Form - checking if child is already open

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

    Dynamically creating objects based on Strings

    Alright...I'll play with that a bit and see what I can do. Thanks very much, gnome. :D
  5. B

    Dynamically creating objects based on Strings

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

    MDI Form - checking if child is already open

    But Kul... I said... in the code that I pasted... not you. ;) I'm talking about my implementation (which is what he was trying to use, by the looks of it)
  7. B

    Dynamically creating objects based on Strings

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

    MDI Form - checking if child is already open

    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) Not FindForm(findform()) So in your implementation, it would read FindForm("frmUserMaintenance",Me) HTH Kaleb
  9. B

    Multi-User Access Application

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

    Adding Blank line to Combo Box

    I have the following in my code: PopulateComboBox(myComboBox,myDataSource,mySortString,myFilterString) 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...
  11. B

    Adding Blank line to Combo Box

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

    Adding Blank line to Combo Box

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

    Adding Blank line to Combo Box

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

    MDI Form - checking if child is already open

    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 ForEach...
  15. B

    adding data to a dropdownlist already containing items

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