I have an app that displays a FolderBrowserDialog that allows users to select directories. I need to detect when a user selects a directory on a mapped drive.
Is this possible to do?
thanks.
I have a GUI application that displays a FolderBrowserDialog. One of my users asked if I can make the dialog show shortcuts to folders.
I don't see any properties that would allow me to specify that. On the MSDN site I found the following:
This class provides a way to prompt the user to...
Yes, it's the classic classpath problem.
I'm trying to run a small application on Windows XP using the following for a batch file:
echo off
cd D:\D_ProgramFiles\JavaHelp\MyStuff
java JavaHelpTest -classpath D:\D_ProgramFiles\JavaHelp\jh2.0\javahelp\lib\jhall.jar
pause
JavaHelpTest.class is...
I need to come up to speed on Java help so I would like a tutorial and the latest distribution.
After doing some googling I found a 2.0_05 version, but the users guide is dated December 2004. Is there a newer version?
Thanks.
I have a java app in which I use javax.xml.xpath to get references to nodes in XML documents. I'm looking for nodes that have attributes with specific names. I dynamically add the attribute name using inputMsgName as in the following:
String expression="/xs:schema/xs:complexType[@name='" +...
I have a GUI application that includes a JTextField, which is disabled because I don't want the user to type in the field.
I set the text dynamically, but when the text exceeds the length of the JTextField, then only the last part of the text is visible. I prefer to have the user see the start...
I'm making a reusable component that consists of a JPanel that contains a JButton and a JTextField.
The JButton and JTextField need to be at the left edge of the JPanel.
The JButon must appear on one row and the JTextField must appear in the row below the JButton.
I want the JTextField to span...
I have a JList which is in a JScrollPane, on a JPanel, in a JTabbbedPane on a JFrame. The JList is called list_XSDStatusList, and the JScrollPane is called listScrollPane.
When processing starts, my UI (the JFrame) consecutively adds items to the list with no break between adding items. For...
I'm using javah to generate header file on windows XP. I'm using a batch file to start javah. Here is the contents of the batch file:
javah -verbose -classpath . -jni com.mycompany.doctools.apireferencecompares.TestFrameScript >> BuildHeaderLog.txt 2>&1
The batch file is in the directory...
When I open html files that contain Javascript on my pc, I get the following message:
To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options
How do I eliminate this message?
I have IE...
I want to use the classes in javax.xml.xpath to navigate XSDs.
I have an XSD with the following structure:
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" targetNamespace="http://www.mycompany.com" xmlns:tns="http://www.mycompany.com"...
I have the following VBA code that adds a command button to a spreadsheet:
indexWorksheet.OLEObjects.Add ClassType:="Forms.CommandButton.1", Left:=0, Top:=0, Width:=126.75, Height:=25.5
But this code defaults the button caption to "CommandButton1" and I want to change the caption. I tried...
Hi,
Given a window handle, I need to determine if the window is maximized. I **think** I want to use the GetWindowPlacment api and look at the flags in the WINDOWPLACEMENT struct. Is this correct? If so, what value do I look for to see if the window is maximized?
Thanks.
I have a table with a CLOB column and I want to select all rows where the column contains
<?xml version="1.0" encoding="UTF-8"?><AddressInfo/>
How do I do this?
thanks.
I'm working in tcsh and I have a script that prints information to the console. I would like to have nicely formatted output, with some information separated by tabs, but I don't know how to do this.
How do I output a tab from a script?
Thanks.
Hi,
I have a spreadsheet and I need to add text to a cell.
The coordinates (row and column) that I want to use for the cell are defined by two Integer variables:
Dim vCol As Integer
Dim vRow As Integer
I've seen entries in the online help that seem to indicate the following might be...
I have IE and 98% of the time I need to go to web site that requires me to log in as another user. Instead of constantly entering the alternate user/password, I'd like to configure IE so I can start it automatically as the other user. I'm aware of right-clicking the IE icon and choosing "Run...
I have IE and 98% of the time I need to go to web site that requires me to log in as another user. Instead of constantly entering the alternate user/password, I'd like to configure IE so I can start it automatically as the other user. I'm aware of right-clicking the IE icon and choosing "Run...
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.