Struggling to do something very simple.
I want to additems to a combo box when I open a word document.
my code, which doesn't work is as follows. Could someone tell me where i'm going wrong please.:
Private Sub Document_Open()
Me.ComboBox1.AddItem ("item 1")
Me.ComboBox1.AddItem ("item 2")...
I am using reporting services 2005 to display an report in an asp.net app.
I need to impersonate another user to get to the reports and have therefore used the following web service code.
Dim rs As New ReportingService
rs.Credentials = New NetworkCredential("User", "pwd", "domain")
Can I...
I have a gridview that has a templatecolumn for editing that contains a dropdownlist. The dropdown gets it's data from an objectdatasource and is working fine.
I now need to add a selectparamter to the objectdatasource which gets an id from the gridview. I need to do this as the dropdown...
I have a gridview that is bound to an objectdatasource. I want to add a search box and button to my page. I have threfore added a filterexpression to the gridview. Firstly the Like statement in my filterexpression does not appear to be working. Secondly, how do I get the search button to refresh...
I am trying export a large amount of data to excel from a recordset which fails presumably because of a timeout. How do I get the size of my recordset so that I can break it down using Chunks? My code thus far is
Do until RSRef.EOF
For Each F In RSREf.Fields
if F.Type = adDouble...
How can I disable the parameter prompt box in code in CE9.
I need to dynamically populate a parameter depending upon a users log on details, but I don't want them to be able to manually change the parameter once I have populated it.
Can I setDisallowEditing or PromptOnDemandViewing...
I have a pop up modal window that I need to post to a second page to update the database. I cannot use the querystring due to the amount of data and request.form does not appear to work.
How can I get around this problem?
I am using the treeview from microsoft.web.ui.webcontrols and am trying to get the format the same as the MSDN treeview.
I am building the treeview dynamically from a database. The problem that I have is that I need to change the imageurl for a node when the user clicks on it, how do I do this?
Is there any way to test when Crystal 9 throws a line during whileprintingrecords.
I have a report that prints items in columns and rows. Due to the nature of the data I need to populate arrays and then print the items of the array using whileprintingrecords.
To ensure that the rows align...
How can I can my CR9 report to prompt for connection information every time I run the report. At present it will ask the first time then store the value on refresh.
I am logging into Sql server via Access using the following code
Set wstemp = DBEngine.Workspaces(0)
Set dbtemp = wstemp.OpenDatabase("",False,False, "ODBC;DSN=TEST;USR=TEst;PWD=TESt")
Yet I still get the SQL Server Login box, how can I prevent this appearing?
I have written a windows service and am trying to get it running on another machine. When I try to run it I get
Error 1053: The service did not respond to the start or control request in a timely fashion.
I have installed SP1 for version 1.1 of the .Net Framework as Microsoft have suggested...
I have an access DB that connects to SQL Server Linked tables. The db will be on a laptop and disconnected from SQL Server for a time. When the laptop is reconnected to the network, I want a 'synchronise' button to test the connection to sql server again.
At present I use the DAO refreshlink...
I have an editable datagrid, to which I have added an "Add" button into the footer.
To do this I have changed the column containing the delete button from a buttonColumn to a template column
Previously a confirm delete attribute was added to the delete button in the OnItemDataBound code as...
I want my user to download a file
to Achieve this I have the following:
Response.AddHeader "content-disposition", "attachment;filename=Download.csv"
A dialog box pops up and the user can save the file. Once this is done however I want to automatically close the download.asp page. How can I do...
Is it possible to test for which version of JAVA is running on a machine using VB.Net. If it is the wrong version required for the program we are using, uninstall it and re-install an earlier version of JAVA.
We apparently have some software that will only run on a certain version of JAVA and...
I have a text box that contains a date of birth. Next to the text box I have a button that opens a calendar popup to pick the date of birth. This is done in Javascript.
The popup window returns a value to the main window thus:
Link.Attributes.Add("href"...
I'm trying to get a validation summary to show as a pop up box. I have
EnableClientScript=True
ShowMessageBox=True
ShowSummary=true
on my validation summary, and have set EnableClientScript=True for the requiredfield and compare validation controls on my page. The Summary is fired but and the...
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.