I'm with trouble when trying to set a background color in a JTree node. Actually I'm using the JTableTree (A JTree rendered inside a JTable) example from the java tutorials @ sun to display some data, and I need to paint each row background with a specific color according to the data on that...
I'm not sure if you can, I don't think so. I'd install something like apache on your local machine and test from there, no need to upload to a web server you can test it locally as long as you have a http server running on your machine.
MS has discontinued it, you'll have to get it from sun now i guess. Unless you can get the MS one from other site. But if I was you I'd download the one from sun.
well this line of code is your problem:
ac.showDocument(new URL(url+ "SessionRecording.htm"), "_blank");
by using "_blank" it will allways open in a new window. If you want to open in the same window use "_self", if to want to open in an already opened...
yes it can, just do something like
import java.lang.Runtime;
Runtime rt = java.lang.Runtime.getRuntime();
try {
rt.exec("c:\\path_if_needed\\app.exe");
} catch(Exception ex){
System.out.println("Error message");
}
hope this helps.
I'm not sure what you're doing, but instead of using the adodc control to add data, I think you should do it by code.
Using ADO and the Connection.Execute method to insert records on your table.
This should be the "better" way of doing it.
Hope this helps
That error is most of the times related to the record source statment you're using on your ADO control.
Using inner joins, selecting from various tables or even not selecting all the fields from one table sometimes lead to this.
Access needs the date between # so try:
SELECT * FROM tblMainRepos WHERE DateAdded = #" & CDate(tvTreeView.SelectedItem.Text) & "#"
Hope this helps
This sure sounds like a problem in your record source of your ado control, you're probably selecting records from more than one table, using Inner Joins or selecting only some fields of that table.
Plz show the record source statement.
I had some problems when I try to select only some fields...
To open notepad several times, add a textbox to your form name it txtnumber and there you will place the number of times u want it to open.
Then just
For i=1 to txtnumber
shell("C:\windows\notepad.exe")
Next i
You should also test if the txtnumber.Value is an integer first.
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.