Hello,<br>
<br>
I'm using VC++ 6 and have a dialog based app created with the wizard.<br>
<br>
I'm trying to use PlaySound() to play a wave I have inserted with the wizard into my "WAVE" resources. I have included the Visual C++ Multimedia component, and all is set to go right I think except...
Hello,<br>
<br>
I'm using VC++ 6 and have a dialog based app created with the wizard.<br>
<br>
I'm trying to use PlaySound() to play a wave I have inserted with the wizard into my "WAVE" resources. I have included the Visual C++ Multimedia component, and all is set to go right I think except...
Hello, <br>
<br>
Maybe the best place to start is reinforcing your understanding of C/C++/OO Programming. At least this has helped me *a lot* with VC++ programming. Buy books on sale about them and about c++ builder. Check out my page at lattes.cl.uh.edu/dubose, somewhere on there in the links...
How do I convert a CString data to a double?<br>
I need to perform calculations on string input.<br>
//This doesn't work - how to do it?<br>
CString string;<br>
double thedouble;<br>
thedouble = (double) string;<br>
<br>
DigitalOx<br>
How do I convert a CString data to a double?<br>
I need to perform calculations on string input.<br>
//This doesn't work - how to do it?<br>
CString string;<br>
double thedouble;<br>
thedouble = (double) string;<br>
<br>
DigitalOx<br>
Hello,<br>
<br>
You aren't trying to run it using the .class extension are you? <br>
<br>
//Correct Way<br>
java Main<br>
//Wrong Way<br>
java Main.class<br>
<br>
Java is a little weird that way - you have to specify the .java extension when compiling but not the .class when running. I get the...
Hello all,<br>
<br>
I'm using to JTextField to get some input, and noticed that even though I specify the width to be certain number of columns, the user can keep typing to his/her heart's content. I suppose I could check the string length using keylistener and such, but this seems like the hard...
Otto,<br>
<br>
Thanks much! That will help out a lot. I was able to set up the DOS window to display 50 lines, which makes your output really small and hard to read but you see a lot more of it.<br>
<br>
DigitalOx
Hello all,<br>
I know this isn't directly related to topic but I desperately need help. I am running a Java program in a DOS window and the error messages I am getting are long. So long, that I can only see the end and unfortunately I cannot just scroll up in a DOS window. Does anyone know how...
Thanks Otto. Yes, I did a find a maximize function for internal frames. I will try the other ideas for the JFrame.<br>
Thanks for answering at this late hour (don't what time it iswhere you are, but its 03:15 here. <br>
<br>
DigitalOx
I am trying to learn Swing, and have a lot of resources but can't seem to figure out how to send a message to my JFrame to maximize. Is there a function that does this already and still is Platform independent? Or is it more complicated, perhaps I need to to find the screen resolution and set...
Hi Otto,<br>
Thanks again for helping me out again. Not only do I need the date, but I need to save it and pull it back up. In order to avoid all those deprecated date functions I did it like this: <br>
Date date = new Date();<br>
System.out.println(date);<br>
calendar.setTime(date);<br>...
Hello,<br>
Can someone give me a quick example of how to set the calendar to the current date. I've been searching through the docs but can't find it.<br>
<br>
Thanks,<br>
DigitalOx<br>
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.