I am trying to populate a combo box on a form from an ADO recordset. Obviously, I'm not having much luck. It appears that the additem property does not exist for the control. I tried all of these and it says an object is required:
Forms!frmGroup.Group.ItemData(X).Add rst.Fields![m-user]...
This is what I got from that. Pardon me for having you tell me what it all means. I'm pretty new to vb.net.
*** Assembly Binder Log Entry (12/18/2003 @ 1:05:35 PM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded...
Good suggestion! I ran them both and the following is what I got.
Application Description
MEPrints.exe AXInterop.SHDocVw, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null
I'm not sure what all that means other than it didn't bind. Any ideas?
Ok, losing lots of hair on this one. I have created my first vb.net app and would like to distribute it to my users. Problem is I used an active X web browser that requires the shdocvw.dll library. In doing this a wrapper library was created AxInterop.ShDocVw.dll. When I run the install on...
Is it possible to automate the replication of an Access 2000 database. We have two front ends and a backend. I would like to have a user when done with the database (on-close) have it synchronize. Does this sound possible?
I pulled a rookie mistake. I had the button enclosed in the form tags, but not the multi-select listbox. Therefore, it was not posting the data selected but the value of the button itself. Sorry, it just took some looking at it before it showed up. Thank you for all of your posts.
Thank you for the responses, but I think something else is wrong? I can use Response.Write to put anything I want on the page. But when I call anything from Request.Form I get nothing. What do you suppose would make the Request.Form information null/blank/empty?
I'm using the below code to view items selected from a multiple list on one page. I cannot write the information to screen or to the textbox. Please advise.
<% LANGUAGE="VBSCRIPT" %>
<form name="Suggestion" method="Post" action="confirm.asp">
<table>...
Hello all,
I have an application that opens acrobat reader and prints several pdfs. On my machine it works, but on the users it will not. I get "429 ActiveX cannot create component". The line that causes the app to bomb is...
Set AVDoc = CreateObject("AcroExch.AVDoc")
Am...
I have a form that when click is trying to update another form. I have done this in VBA Access but cannot get it to work in VB. Here is an example in VBA:
Forms(nameofform).Controls(nameofcontrol) = variable
I keep getting an error because forms in true VB only has one property - count. Can...
To answer your question, yes I have but parameters in the query. It still doesn't prompt me for the input. One reason for this may be the fact that When I call this query I have an Excel workbook open that the query information will be stored in.
Here is a snippet of the code.
'open the...
Hello, I have a query set up in my database that requires two dates. It is parameterized so it asks for the dates when it is run. The problem I am having is calling this query from code. It doesn't ask for the dates.
Set rs = db.OpenRecordset("qryClosedThisWeek")
produces the...
Obviously I'm new. I have a dropdown box that is populated from a database. Now when I click a button I would like the selected to display in a listbox. This may be better handled with a multiselect, but I don't know how to do that either. The idea is to select multiple names and then pass...
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.