Is this try catch block enough to ensure the process ran successfully? protected boolean attemptLaunch() { try { System.out.println("Attempting to open '" + name + "'."); //Try to open the Process new ProcessBuilder(path).start(); return true; } catch (IOException e) { System.out.println("Opening failed. Will retry during next Iteration."); return false; } }

Member Avatar
Member Avatar
+0 forum 3

Hi everybody, we are an computer retailer with an onlineshop that is active in 8 countries and we are looking for a way to build HTML5 display ads, because they also run on mobile devices. it looks like that everybody is moving from Flash to HTML5 nowadays, but when i google for tools to produce them i only found the [display ad builder from bannerflow](http://www.bannerflow.com/features/bannerbuilder). Do you have experience with them? Are there any other professional tools out there, that will work? Bannerflow looks quite promising and i like that it just takes seconds to add 10 different sizes or …

Member Avatar
Member Avatar
+0 forum 1

It is relaed to the thread i posted a while ago. Before I edited the model of my table, it was working properly, but when i added some columns thats when the problem came out. Everytime i click the button that will open this window, it goes blank. Only a big window filled with white comes out. here is my code: tblInventory.setModel(new TableDefault( new Object[][] { }, new String[] { "Borrow", "ItemID", "Item Description", "Quantity", "In-Stock", "Out-Stock", "Last Borrowed", "Remarks" }, new Class[]{String.class, Boolean.class} )); System.out.println("lllllllll"); scrollPane.setViewportView(tblInventory); JButton btnOk = new JButton("Ok"); btnOk.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent arg0) { …

Member Avatar
Member Avatar
+0 forum 6

I'm going back to an old project to apply things I've learned. As a beginner, I was able to figure out how to change the query, based on what was chosen, but it seems like a backwards way to do it, and I'm not sure of a better way. I'm open to suggestions. I have a search page where the user selects multiple search variables, many of which are broken apart into several tables for organization(one to many, many to many, and all that) . Once the user presses submit, I use ajax to get this script below, with several …

Member Avatar
Member Avatar
+0 forum 1

Hello. When I click Add query on combo box for example, I edit the SQL statement by adding 'WHERE Club = @uClub'. Then I get the error: 'An error occured while trying to create parameterized query: Error in WHERE clause near @. Unable to parse query text' So how can I make a parameter in it?

Member Avatar
+0 forum 0

Is there a way to build a streaming shoutcast radio station app with online app builders?

Member Avatar
Member Avatar
+0 forum 1

Hi, I need little help with using MediaPlayer from System tab in Borland Builder 6 for C++. Does anyone know what member function of MediaPlayer returns bool variable which tells us is music currently being played or not? I have seen solution for this problem where we use Timer which has frequency which equals the length of song that is being played, so as soon as specified time passes, Timer switches to the next song. But I wish to know is that the only way. Thank you!

Member Avatar
+0 forum 0

Hi, Is anyone familiar with this problem in BorlandBuilderC++: void Print(AnsiString Path){ Label1->Caption=Path.c_str(); } ... Print("C:\Directory1\Directory2\Music.mp3"); When I pass this string to Print(AnsiString) and try to display it in Label1, I lose all '' signs and text in Label1 looks like this : **"C:Directory1Directory2Music.mp3"** Why is this like that? Thank you!

Member Avatar
Member Avatar
+0 forum 2

Hye. I'm a new daniweb members. I've been learning java for 4years from zero. i became to not lazy in java programming since i have to do my thesis project in java. i am developing a very simple jave coding for my thesis. the objective is to print cheque. as if we are using an atm machine. i develop something new that we can print out cheque at the atm. so i've been designing the interface, passing the value. the problem is the maain function is not working since i've just finished all the simple task. here i attached all …

Member Avatar
Member Avatar
+0 forum 1

Hi Friends, I am working on php from builder, where user can add text-box, text-area, chekbox, radio-button etc field using jQuery. Now i am ready with html code of form. Next step is to save each attributes(i.e. name, optionstags, label, title, tooltip, class etc) in mysql database. How can i store each values in database using jQuery or PHP ? I have checked jquery serialized function but that will just return values of input field. Need your help or suggestions guys. Thanks, Vibha

Member Avatar
Member Avatar
+0 forum 5

I find that using a site builder is a very convienient tool to use in conjunction with knowledge of HTML. anyone else feel this way? It's much faster and the learning curve for clients are lower as well. And you virtually eliminate constant FTP and save; everything is done in real time. One builder in particular I found quite interesting was [snipped]

Member Avatar
Member Avatar
+0 forum 3

I am currently working on a project for my computer class and i am using it as an opportunity to learn pyobjc. i have a database file that includes a path to an image, reading this and getting the path to the image is no problem. my problem is, i cannot for the life of me figure out how to display this image in interface builder. nothing fancy just a static image. my path looks like this: '/Users/jordan/Desktop/IMG_0448.PNG' I am able to drop it into the resource folder and select the image in the Image View attributes and it will …

Member Avatar
+0 forum 0

Hi there, I am starting the final year of my BSc Honurs Computing degree in September and I am currently on my work placement doing programming. The company I work for holds many events and always require websites for these events so.. Talking to my Lecturers I had suggested to implement a system that assists with these sites i.e. To make it easy for anyone with no programming experience to build the site as and when required. This would be ideal for when any technical staff are sick or on holidays and also to speed things up and make it …

Member Avatar
Member Avatar
+0 forum 2

hi. Im connecting to a oracle network database using power builder 6.0, but I get the following error when I display the window containing the datawindow: [CODE]Predefined message "pfc_dwderror" not found. message arguments: 1)A database error has ocurred Database error code: 942 Database error code message: select error: SQLSTATE=S0002 [microsoft][ODBC driver for Oracle][Oracle]ORA-00942: table or view does not exist[/CODE] this is the odbc script for connection: [CODE]SQLCA.DBMS = "ODBC" SQLCA.AutoCommit = False SQLCA.DBParm = "ConnectString='DSN=xxx;UID=xxx;PWD=xxx;'"[/CODE] once I try to connect to the database, I get the following error: "catalog tables could not be created and are not available for use". …

Member Avatar
+0 forum 0

The End.