Hi,
If I am inserting millions of records (in small batches of 5000 at a time), would I get any measurable performance gain by doing these in a transaction and committing the 5000 all at once as opposed to inserting one at a time. The records themselves are relatively small, 3 columns, 1...
Hi,
I have a machine that has MySQL 4. something on it. Can I just copy those databases to another machine that has MySQL 5 on it and have them work properly?
Thanks,
- Brownie
Hi,
I tried to find a "programmer" forum for MAPI questions. This is the closest I came to. I have a GetContentsTable question -- any experts out there?
Basically it is this: will the size of the folder affect the performance of GetContentsTable? Also, can I get the size of the contents...
Hi,
Would this be a bad idea:
A table that could have in upwards of 25,000,000 records. There are 4 fields numeric fields in the table and the record length is 14 bytes. The primary key is 12 bytes. This table would not be modified during the day. There would be a process at night that would...
Guys, I am getting the following error when I try to run my program from a jar file. Note: this is not the main class. I created my jar file specifying a manifest which specifies Main-Class. That works great. However, I am not able to get any further. The very next class that it tries to...
Hey guys, is there a JNI function that is equivalent to SetIntField() that can deal with Strings? I looked at the online reference and I didn't see anything.
Thanks,
- Brownie
Hi,
I have now seen a couple of examples for using the JNI to call a functions within a dll. In both samples the makefile said to link with javai.lib. I do not see that on my system anywhere. What is it? Do I really need it? If so, where do I get it?
Thanks,
- Brownie
Hi,
I am trying to prevent users from having multiple versions of the Java app up at once. Is there a way to detect if the app is already up? Is there a way to detect the existence of other application windows?
Thanks,
- Brownie
Hi,
Very new to VBScript and ASP. I am trying to open a file in my ASP and it isn't working. Here is the code:
Dim strFileName
strFileName = "foo.txt"
Set fso = CreateObject("Scripting.FileSystemObject")
Set datafile = fso.OpenTextFile(strFileName, ForReading)
' More...
I was looking through the frame.java source code and noticed Frame.class is being passed as a parameter to some method calls within addToFrameList(). What is this exactly?
Does anyone know where exactly the code is that does the actual building and painting of a window? For example: I am...
Hi,
I want to prevent my window from being iconified. I see that I can set up a window listener and implement the method windowIconified(). However, that is after the fact. I want to capture it before it happens and discard or consume the event. Or, better yet, prevent the event from ever...
Hi,
I was curious as to what the common practice is regarding subclasses is? Is it common practice to use subclasses as opposed to creating a brand new top level class? Or does it depend on things like:
- Will the class be instantiated by any other classes really? If not, then it probably...
This isn't a C++ problem really but I thought someone here would know the answer. I have manually created a makefile to actually compile java applications. However, it will only compile the first one and nothing more. Here is an example of the make file:
PREFIX=foo
$(PREFIX).class...
I have written a fairly complex package that is a custom component. I am using 1.2. I have overridden the paint() method in a class. It calls a method of another class and passes on the Graphics parameter passed into the paint method. Drawing text and lines works fine. However, I go to draw...
Hi,
I have a 2 dimensional String array, something like this:
String foostring[][] = { {"hello"}, {"there"} };
I am trying trying to get those values into 2 dimensional character array. I have it define in my class as:
char foochar[][];
I am having a hard time getting...
Hi,
Being new to Java and coming from doing Windows API development where you do truly have total control over placement of items, I am finding control/component placement extremely challenging in Java.
If I have a window that is 400 x 200 and I want to place a check box or any other control...
Hi,
I am very new to Java and am trying to do something that seems simple. I am drawing a rectangle and then attempting to put some components (Checkboxes, Lists, etc.) in the rectangle (NOTE: I cannot use the swing package so this is all AWT and Graphics).
I am having all kinds of problems...
I receive the error when I compile the code below. What is wrong?
"Only constructors can invoke constructors"
class MyGroupBox
{
public void MyGroupBox(int x, int y, int intWidth, int intHeight)
{
this(x, y, intWidth, intHeight, "");
}
public void MyGroupBox(int x...
Hi,
In all the examples I see of using Graphics in Java it is all with applets. I am talking about doing things like draw3DRect, drawRoundRect, etc. This must be able to be done in a Java app, correct?
Also, can I paint graphics to a dialog box?
Thanks,
- Michael
Hi,
Is there a tool tip class or a fairly painless way to generate tool tips NOT USING SWING. I would like to mouse over items in a LIST box and pop up a description of the item.
Thanks,
- Brownie
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.