I have two Visual Studio 2005 apps and for some reason, when the apps are run, the menustrip background color appears different. One is a light blue (same color that appears in the design window) and the other is a light tan (matches the form color). I've compared the properties for both...
I'm creating a Class that performs low level manipulation of an archaic indexed sequential database. The Class is to make it easier for other developers who have to manipulate this database. I have a Class with Properties and Methods (subs and functions). However, how do I create a sub-method...
I have a program that reads files with a .tsp extension. When a user double-clicks on a .tsp file, I'd like my program to run and open the .tsp file. I've setup a File Association for .tsp files to run my program - this works. However, what code do I need to pick up the file that was clicked...
Every time I open myFile.xls, I get the following message:
"Unable to open http://www.gov.sg/windows\TEMP\SAS Program\2001\2001 new format.xls. The Internet site reports that the item you requested could not be found. (HTTP/1.0 404)"
I've searched all the sheets but can't find anything that...
I've been using a RichTextbox (RichTX32.ocx) in a VBA Form for the past serveral months. All of a sudden, I started receiving error messages. I checked the form and noticed that the RichTextbox somehow got deleted. When I try to put it back on the form, I receive a message that says "The...
Problem: User clicks on a PDF link in a web page and a blank page is displayed within the browser.
Solution: There are several solutions out there for this problem but, in my case, none of them worked. It finally turned out to be caused by an apostrophe in the PDF file name. Once I removed...
If I need to call an event from code, say a button click event, what arguments do I use for the sender and e arguments?
Private Sub btnDoSomething_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDoSometing.Click
do something code here
End sub
Private sub MySub()...
Using VB .NET, I need to determine which cell the user is currently positioned on in a spreadsheet the user has opened in Excel and then I need to retrieve the cell formula. I've tried using:
Public oExcel As Excel.Application
Public oBook As Excel.Workbook
oExcel = New...
I've read the threads about the permissions needed to address the .ldb file and I've set the permissions accordingly. However, my situation is a little different (I think). I've got an MS Access front end that uses linked tables to another MS Access DB. Whenever a second user tries to open...
I need to update the label.text property on Form1 from Form2. From1 opens Form2 as follows:
Dim form2 As New Form2
form2.Show()
In form2, I try to change the label property in Form1 as follows:
form1.label.text = "test"
What exactly...
Is there a way to prevent the Reviewing toolbar from automatically displaying when opening a document? We turn it off but when we open certain documents, it automatically displays again.
Whenever users open a second (or third, etc) word document using Word XP, it opens a completely separate instance of Word. Can this be changed to open the documents in the same instance of Word as in previous versions?
How do I use the Is_member function from Visual Basic? I want to enable/disable form objects based on a user's permissions. The Is_member function appears to be what I want to use but I don't know how to include it in my VB code.
We've just upgraded to Office XP. Now, whenever a user opens a Word attachment in email, the Reviewing Tool bar is automatically displayed. How can we prevent this from happening?
Using MS Word XP and the Track Changes feature, Deleted text shows up in a different color without the strikethrough. This is ok if viewing on the screen, but when printed on a black and white printer you can't tell which text was deleted. Note: Using Tools, Options, Track Changes tab...
Is there a way to turn a bound text box upside down in an Access Report? We want to print "Tent" cards for Students in a class (You know, those silly Name cards that sit in front of each Student) and we want the name to appear on both sides of a folded 8.5x11 card.
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.