How can I create a file, append an array of characters to this file, and place the completed file in the same directory as the application?
Any code examples would be great!
I have created two Active X controls, one is a CTreeCtrl and the other a video window. I want to be able to drag and drop from the TreeCtrl to the window. Is this possible (it should be) and if so what do I need to know to do it.
My code is all in C++ MFC.
I need to know if the above topic is possible and if so, please explain how to go about it.
I am working with a CTreeCtrl and another Active X that can be dropped into the same application or web browser as the TreeCtrl. The code is in C++.
I built an HTML and java applet using a signed CAB archive. I run the HTML on my local machine and I get all sorts of securit exceptions. I know it has something to do with running from the same location as it is served. How do I get around this, so I can test without having to upload to a web...
My embedded server allows SSI of cgi via the following method:
<!--#exec cgi="function.fn 1"-->
Where "function" is the name of the C function and 1 is parameter passed to that function in C. However I want the following to work.
<SCRIPT LANGUAGE="JavaScript">...
I have a web page that is split into 2 frames with a java.awt.List in the left frame and other selected applets in the right frame. The List works as a selection for which applet gets loaded into the right frame. Sounds pretty simple right?
Well my issue is that when I click on the List a lot...
I have developed my own class which consists of TextField and 2 DirectionButtons. This Class extends to a Panel and has all of the goodies that go along with that class except the following: I want to addMouseListener to my Object to handle mouseEntered and mouseExited events. As you'd expect...
Here's the situation:
(Code I Have):
<SCRIPT>
document.onKeyDown=handleKey;
document.onKeyUp=releaseKey;
function handleKey() {
// does something
}
function releaseKey() {
// does something
}
</SCRIPT>
<BODY>
<APPLET ---- onKeyDown="handleKey()"...
I want to intercept both a KeyPressed and and KeyReleased event for my entire Applet. The problem is I don't really want to add a KeyListener to every single object in the applet just to do this. Is there any way to intercept these events for the system?
Secondly, is there any way to detect...
It seems that when I create my java (*.jar) using Visual Cafe's deployment option and then put that file on the server and embed the applet into an HTML document, that when Internet Explorer makes a request for the (*.jar) file it also makes requests for these which it can not find...
Here is a hypothetical. Say I have some data on a server that represents some sort of configuration and I want to download this information to the client machine and save it into a file for later uploads back to the server.
Is there a security issue? Is this possible without special options in...
I have two identical object with both private and public members. I want to compare the two without having to traverse through all of the member one at a time. Is there any way to do this without writing my own function?
Example (psuedocode):
Rectangle rect1, rect2;
{some code here}...
I am only using AWT classes. Since you can not make a modal Dialog box with respect to the IE window that an Applet is contained in. How then would I pop up a save changes Dialog when the user leaves the site or closes IE? I know I can put code in the stop() function of the Applet, but since...
How do make the parent of the Dialog object an Applet? My applet runs in a browser and I want all input to that applet blocked until the Dialog is dealt with.
The Dialog constructor only accepts a Frame class as its parent. Since my GUI is running in an Applet, I don't have a Frame to assign as...
I have developed a user defined class that extend to the java Frame class. It creates a popup Frame with a simple message and a couple of button inside it. What I want to do is disable everything in the window behind this Frame until the user clicks on one of the buttons and the Frame closes...
This question refers to this component:
symantec.itools.awt.util.spinner.NumericSpinner
After adding mouseEntered event to this component, it seems to work backwards. You see every other component only handles the mouseEntered event if isEnabled()==true. The NumericSpinner handles its...
You know about the IE option if you know anything about browsing the Internet. You know, all of those enable/disable buttons (Java VM, Security, Javascript, and such...) and the cache memory settings. You can also access these parameters via the Start->Control Panel method.
Well my task is to...
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.