69 Posted Topics
Re: please do try this on your own, atleast just try and then where you get stuck, we will have a look :) | |
Re: [B]Cannot find column [reklamace.kod_reklamace]. [/B] thats your error... it cannot find that column... either remove the reklamace. from the query and try again. | |
Re: do you want to search for more than 1 field at a time? or search one field, and all relevant data with that ( this should already be happening0 | |
Re: you could declare it as private... and just create getters/setters which can be declared as public. | |
Re: well if your adding a primary key, then there shouldnt be a problem with renaming and adding new pictures, even after deleting pictures... primary keys, are suppose to be unique and in your database, if you delete lets say record 5... you wont be able to create a new record … | |
Re: your going to first need to read the contents of the text file... either using a ifstream or just a fstream(fstream is both ifstream and ofstream) lots of examples on the net... just google ifstream/fstream | |
Re: i think its possible yes, as it is possible with todays scanners... which "take a picture"(scan an image) and then translates it to words... this is possible with a moblie app, but itll need some sort of text recognition in it, which im sure there is examples out there somewhere … | |
Re: as far as i can see.... from this code [CODE] string pattern = "xmlns:.*?\".*?\"";[/CODE] the [CODE]xmlns:[/CODE] says what exactly to look for... must exactly match that... then moving on to the [CODE].*?\"[/CODE] the "." i think is some kind of append to the pattern it then says the next part … | |
Re: everything is possible... some just require more work than others... but whoever told you to use VB.net was a good choice... although using C#.net would be even better. good luck, and dont give up on the project | |
Re: upload your complete project as an attachment and ill have a look at it | |
Re: when closing the main form its like closing the app... so a suggestion would be, disable the main form close button when there are child forms open... and just enable it again when there are no child forms open... or create a global variable(a bool perhaps), that when a child … | |
Re: please add the CODE-tags to the respective areas... it makes things easier to read :) thanx | |
Re: to make things easier for us.... state the problem... | |
Re: 1st of all.... welcome.... 2nd of all we dont just give code... the point of this forum is that you 1st try to code it yourself, and then AFTER research on the internet...and a search on the forum, then you post your problem here WITH your try... from there we … | |
Re: change this code [CODE] public static getMove(int turnNumber) {[/CODE] to this maybe [CODE]public static [B][U]void[/U][/B] getMove(int turnNumber)[/CODE] note: mark as solved if this fixed it | |
Re: try this [CODE]if (turnNumber % 2 == 1)[/CODE] when using the = its like assinging a value to a variable... but what you want to do is compare the values... thats why you use double = like == if this works mark as solved. Thanx | |
Re: [url]http://www.codeguru.com/csharp/.net/net_data/datagrid/article.php/c13041[/url] [url]http://social.msdn.microsoft.com/forums/en-US/winformsdatacontrols/thread/fbe691ae-ec83-4a09-8766-0088cfcc1ea3/[/url] thers many posts out there concerning this a quick google search got me this... | |
Re: [QUOTE] int number; { number= Integer.parseInt(Dialog.input("Enter repetition?")); number= Integer.parseInt(Dialog.input("Which timestable do you want?")); for(int a =1;a<=12; a++) { System.out.println(a + " times " +number + " is " + a * number); } };[/QUOTE] just add another loop... [CODE] int number; int number2; { number2= Integer.parseInt(Dialog.input("Enter repetition?")); number= Integer.parseInt(Dialog.input("Which timestable … | |
Re: [CODE] 2 for loops with int I and K if (num[i] > num[k]) swap = num[k] num[k] = num[i] num[i] = swap [/CODE] to change the order(ascending/decending) just change the > to < or vica versa | |
Re: [QUOTE=winecoding;1164028] [CODE] for (i = 0; *(str+i); i++)[/CODE] [/quote] this is a for loop, which will start with[CODE] i = 0[/CODE], and iterate through until the condition [CODE]*(str+i)[/CODE] is met, and the iteration will move by one at a time as shown by the [CODE]i++[/CODE] note: as far as i … | |
Re: 1st of all, what must happen when u click on what? do u want it like the game? to click and the block moves over to the open slot? or just 1 click to sort it all?? | |
Re: what is currently happening when you run this? plz to add code tags to you code | |
Re: haha rule 1: never learn code out your head rule 2: think logically rule 3: practice... | |
Re: your code will have to be done here... [CODE]public void actionPerformed (ActionEvent e){ JFrame frame2 = new JFrame ("Binary to Decimal Conversion"); frame2.setVisible(true); frame2.setSize(500,300); JLabel label = new JLabel ("Binary"); JPanel panel = new JPanel(); JButton b2d = new JButton("Convert to Decimal Now!"); JTextField text = new JTextField(25); frame2.add(panel); panel.add(text); … | |
Re: a simple if-else statement could do this if type = admin goto adminPage else goto userPage | |
Re: normally such assignments provide a formula to work it out? [QUOTE]P = (Pv*R) / [1 - (1 + R)^(-n)][/QUOTE] that formula will work out the monthly payments ... where Pv = amount of loan APR = Annual Percentage Rate (one year time period) R = Periodic Interest Rate = APR/ … | |
Re: [QUOTE=C Newbie;1161778] [B]positive decimal integer[/B][/QUOTE] as far as i know...integers dont have decimal values... | |
I have no idea whats wrong here, i am fairly new to java.. heres my code.... [CODE] private JPanel pnlLogin, pnlFinalLogin,pnlUser, pnlPass = new JPanel(new BorderLayout()); btnLogin = new JButton("Login"); lblUser = new JLabel("Username:"); lblPass = new JLabel("Password:"); pnlUser.add(lblUser, BorderLayout.WEST); //pnlUser.add(txtUser); pnlPass.add(lblPass, BorderLayout.WEST); //pnlPass.add(txtPass); pnlLogin.add(pnlUser, BorderLayout.WEST); pnlLogin.add(pnlPass, BorderLayout.CENTER); pnlLogin.add(btnLogin, BorderLayout.EAST); … | |
How would i be able to reference to a file in my resources.. lets say i got a default template.dotx (word 07 template) in my resource folder... how would i be able to point to it when i publish my app? thanx Phoenix911 | |
i got a site that is hosted by google, i have to write a program that creates/updates pages on the site... i got the google site API... but i have no idea where to go to.... so far my app logs in to the site, and access my documents, which … |
The End.