magiccode91405241511
Members-
Content Count
160 -
Joined
-
Last visited
Everything posted by magiccode91405241511
-
Small Issues About Mysql Connector/j 5.1
magiccode91405241511 replied to magiccode91405241511's topic in Programming
The issue with the connector/J 5.1.7 was the exception throw with [method not found].But the same .class file compiled with java 1.3.1 I run under an older version of connector that work without any problems.(both 5.0.x and 3.1)What I did was place and set the CLASSPATH to point to the jar file in the system applet.CLASSPATH=c:\java\lib\mysql-java.jarWill this be affected with a .class that is written with Generics ?Thanks,---Magiccode9, -
Hi, all, I just downloaded some versions of mysql Connector/J mysql java driver to test some stuffs. There is an issue about the lastest version of 5.1.7. It don't work correctly on older version of java 1.3.1. But an older version 5.0.x works without any issue. Hmm... anyone have ideas about this ? Testing with 5.1.7 C:\org>java -Xverify:none programException in thread "main" java.lang.NoSuchMethodError at com.mysql.jdbc.ConnectionPropertiesImpl$BooleanConnectionProperty.<init>(ConnectionPropertiesImpl.java:73) at com.mysql.jdbc.ConnectionPropertiesImpl.<init>(ConnectionPropertiesImpl.java:686) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:628) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:298) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at program.main(program.java:17) Source code for the test import java.*;import java.sql.*;import java.util.Date;public class program{ public static void main(String[] args) { Connection conn = null; Statement stmt = null; ResultSet rs = null; try { Class.forName("com.mysql.jdbc.Driver"); conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/test", "user1", ""); conn.setAutoCommit(false); stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE); rs = stmt.executeQuery("select * from sample"); rs.close(); stmt.close(); } catch (Exception ex) { System.out.println(ex); } }} Thanks, --- Magiccode9
-
Removing Background From Images
magiccode91405241511 replied to Alex Ross's topic in Graphics, Design & Animation
If the images to be processed with photoshop.You can use the some called range selection to select a range of color specified in a popup dialog.Also, you can adjust the level of range by drag the slider on the dialog.After done that. You have a selection active in place on the image.Do whatever you like such as adding layer mask or use mask or quick maskto modify it. -
Basically, this is relatively simple tutorial and it builds the foundation every needed, Thx !! C++ have many things to learning to. Such as copy constructor, type casting etc. Here is an example, class Test{private: int val;public: Test(int v);};Test::Test(int v){ val = v;}Test test = 127;
-
It seems that the database fields have a property with NOT NULL set.Could you able post the database scheme here used with your application ?
-
Actually, if your computer is connected to the Internet behind router.The only way to connect to your computer from outside world was port-forwarding.After configured it. You may download a copy of utorrent.It is used only for test case as it provides a test port function it will tell you the connection work or not.
-
I also obtain a book that tell me how linq works.But I still checking out other topics so this will be delay to a month or later.Personally, this tool looks like some Object mapping.Just as some tools that java programmer currently in use.
-
Photoshop Clipping Path
magiccode91405241511 replied to Alex Ross's topic in Graphics, Design & Animation
Using the mask is good for create semi-transparent area that needed to be fade-in and fade-out.I knew only this is supported on quarkXPress 4.0 or later.InDesign might be supported too. (I have used it older version 1.5 but not later one)After imported the image with the import command.Double-click it to bring up the object settings dialog box and check out the object wrap options.There are four or more options to choose from.Select one that fit your specific need.* It is for QuarkXPress only. *---Magiccode9 -
Photoshop Clipping Path
magiccode91405241511 replied to Alex Ross's topic in Graphics, Design & Animation
In photoshop, you can create clipping path by use the path toolto draw the shape or area you like to included in the final image and save the path.Then, from the path panel, choose clipping path. Select the path you saved previously.Finally, save the image with eps format.You now can import the image to another application such as pagemaker or indesign.The background will now masked. -
Faulty, Thanks your help !I have been tested it with Form.Move event and related bounds.But this still has flicker when I assign the top property of a form to 0.Also, I have found a vb6 sample that does somethings similar to what I want to do.That is a sample that restricted a window won't over the screen bound with a smooth moving.With this example, it is much harder to get it works.It basically work with windows message directly by intercept some messages.I'am looking for this to see how it work.Actually, it is used for my own small app that I build to get RSS feed and store some structure data.I still looking for some sample code for this.Thanks,P.S. I'am using the RapidTools as a reference.---Magiccode9
-
Hi, All, Now I got another issues that I wanted to implment a window that will snap to desktop edge.What I'am do now was creating it with timer and some windows api to check positionssay if within a range then move the form window to any edge.But this has an issue with it the window will flicker.Any ideas with this issue ?Thanks,---Magiccode9
-
This is another files hosting just found few days before. Here is the features that it supported on free account. Free Account Unlimited storage Up to 100MB per file Unlimited uploads Unlimited downloads Unlimited bandwidth Image galleries No sign up required No software to install And it's uploader is fully flash-based and very interactive.But it is not convenience as photobucket because it mainly for files sharing.
-
Random Restarting
magiccode91405241511 replied to FirefoxRocks's topic in Websites and Web Designing
Because windows vista may not be good as windows xp for hardware compatibility.It seems that you should first make a backup of the system registry.Just in case if the restart corrupted it. You still could restore it without fullly re-install the OS.So, please try to boot to the safe mode and test it if this unexpected restart still occur.If this failed to work. You might need to unplug some hardware inside the case.Such as TV card, and then try again. -
Google App Engine free server for your web app
magiccode91405241511 replied to shotgun's topic in Search Engines
I have take a look of google's AppEngine.But I don't found that supported java as the runtime language.It's currently support Python 2.5.2Also, it seems that for now it could registered only 3 Apps.The great thing should the sdk google provided.It enable users to write and test apps locally and then upload it to AppEngine by a tool provided in the SDK.A note to remind, you have to verify phone number before creating an app.Thanks for this simple but detailed introduction. -
Is all the codec contained still installed to the system with registry settings ?Because I don't wish more codec installed with writing registry keys.As I know that it will not be uninstalled when this app remove from the system.Thanks,Magiccode9
-
Task Manager Issue
magiccode91405241511 replied to Nik1405241546's topic in Websites and Web Designing
Please try this to see if it is work. Copy and Paste the content below in a file and save it as disabletaskmgr.reg NOTE: Before working with registry. It is always recommended backup the registry first before any operations. Double the file to import data to registry. Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]"DisableTaskMgr"=dword:00000000 -
Hmm... If it is a page created with tool from google site.I could delete it without any issues.Or, if this is not the cases.Could you point me to a right place .
-
At a first glance, google site looks good for personal user. If anyone wish to create web site but do not know how to scripting. The google site is one of a choose. It also provide many google components for insert to the page you created. So, speed up the pages of creation. Beside that, you also change almost color and setting on a typical web page such as background image and background color. And the most important is, you can point a domain name to it so shorter the domain name. This is url I just created. http://forums.xisto.com/no_longer_exists/ Nothing for now and soon will place some stuffs to it as I work with it. P.S. I have just checked out the Google Page Creator also. But seems that this service was stopped and replaced by the Google Sites.