Hey the GetModuleFileName was what I was looking for. I could have probably figured out how to create and write to the file myself by looking through MSDN. Thanks a bunch...
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...
Bummer so I guess I can't pass cookie information to a CGI using Javascript, I hope that I can somehow get that information out of the HTTP header on the server side?
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...
Oh by the way, here is the web-site that explains the above mentioned procedure for using a modal dialog box with your Java Applets. I ended up modifying this quite a bit, but at least the explaination provided points you in the right direction...
Great I will have to use this, will this also work for User defined classes? If not, do you have to override this function with one of your own I wonder?
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}...
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.