- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I'm jens, a student in his final year application development. We didn't get too much code - heavy class, so I try to learn that as good as I can with the aid of the logic that I am thaught.
- Interests
- Swimming, chess vs Vista, multimedia, mobile development
31 Posted Topics
Re: mV.createMainView(); mV has not been declared in this class. dV.createDetailView(); dV has not been declared in this class. etc etc. You should make a new instance for the variables you want to use, or let them get returned from other classes (if you don't want a new one). So in … | |
Re: The use of an array with dynamic adding of entries is a little bit more...complex I think. I'd advise to use an arraylist for that. Do know that if you store an object in an arraylist, that you will still have to parse the item in your arraylist to a … | |
Re: If your database is running locally, try [CODE] SqlConnection conn = new SqlConnection("Data Source=(local);Initial Catalog=Dorpshuis;Integrated Security=SSPI); [/CODE] For the adding of your password or username, you can add ;Uid = id;pwd = password. If this connection still gives errors, please just tell so. You are not out of options yet … | |
Re: You can do this by using serialization too. .Net has good documentation about the issue. [URL="http://msdn2.microsoft.com/en-us/library/ms745778.aspx"]MSDN Linkie[/URL] I have never used this myself, but I included it in my technical analysis of my current project. I'll probably have to do something similar here. And Jerry, also thanks for your take. … | |
Re: The button to reset your text field is just an actionlistener that sets the value of your textfield.text property to "" (or null). For the generation of numbers, I suggest a class where you declare a variable (int var) and then use [code = java]var = (int)(100 * Math.random()) [/code] … | |
Re: Hehe, I don't think it is that simple. Speech to text relies on complex algorhytms analyzing hyphens (am I correct?). At least according to the seminar I got from dragon naturally speaking. If I can dig up the powerpoint, I could share it, but I'm not certain that it would … | |
Re: I can be wrong here, but I think that rollback only works for a current transaction. If you use commit, you close that transaction. So you should catch your error before the commit, and roll back then too. If all is fine you can proceed to commit. Also, autocommit should … | |
Re: I started 'programming' when I was in my 3th year of secondary school (don't know how it is called in england). I wasn't that good in remembering formula's for physics classes, so I wrote a program on my calculator that would let me select what I needed, what variable I … | |
Hello everyone I am building on a little project in .net, but I have ran into some problems on database - level. I am creating a view with data from a couple of tables. It all revolves around my main table (let's call it 'main' for now). In 'Main' there … | |
Re: You'll still have to make it yourself, but since this threads 'solution' is quite the same in my eyes, I'll just repeat the answer I gave there. For your architecture, check on your design patterns. They should help you nicely. After that read up a bit, and try yourself. If … | |
Re: I wonder...Did you buy an oem version of vista? Newer vista - made computers have hardware components that can only interact with vista itself. For 'normal' drivers like video or sound card drivers, these can be modified and hard loaded. But I don't know if it is possible to do … | |
Re: Ah great, onceclick. I'm also making an application for it and I must say that sometimes the deployment of these things can be a pain. (In my opinion at least). That being said, I think the only way to do this is to pack in the packages in your publish … | |
Re: Try the book 'head first design patterns'. It has a clear layout of the model view controller pattern (which is fairly hard to really grasp in the start, in my opinion). The book should tell you a bit more though, and there are more pages about design patterns. Give it … | |
Re: Try to put your connectionstring in a config - file. This way you'll be able to edit it specifically for the machine you want to install it on. In you config- file it should look a bit like [code=xml] <connectionStrings> <add name="nameconnstring" connectionString="connstring" providerName="System.Data.SqlClient"> </connectionStrings> [/code] I think. In your … | |
Re: That is handled in a handler in your dropdown. You can try the selectedvaluechanged - handler for that. The value of your dropdownlist then gets sent through the sender of your listener. Hope this helps, jens | |
Re: Try to cut up your structure of your program in several little pieces and start with those one by one. For example: You'll first need to make a connection to a database itself. If your connection works, you can try to read out your data. (A datareader is recommended). After … | |
Re: Yes...and the question is... :p I do recommend to wrap your code around tags with CODE=JAVA and /CODE . Makes the whole program a bit easier to read. Also, specify your problem please :p | |
Re: The msdn - library gives a full list of possible members of RichTextBox. [URL="http://msdn2.microsoft.com/en-us/library/system.windows.forms.richtextbox_members.aspx"]http://msdn2.microsoft.com/en-us/library/system.windows.forms.richtextbox_members.aspx[/URL] It seems you would to use the selectionfont here. Try some of the examples [URL="http://msdn2.microsoft.com/en-us/library/system.windows.forms.richtextbox.selectionfont.aspx"]here[/URL], maybe they can help you? Hope this helps, Jens | |
Re: Eclipse or IntelliJ might also help, if you are programming this in java. Aside of development tools, try to study some design patterns. I feel that these kind of applications can be enhanced by using some of these proven solutions. There is no need to invent the wheel again. Netbeans … | |
Re: After a while I found some links that might aid you in your quest. [URL="http://en.wikipedia.org/wiki/Politeness"]First link: How to ask for help[/URL] [URL="http://www.google.com"]Second link: Major resource for finding java (or other) related information[/URL] [URL="http://java.sun.com/docs/books/tutorial/uiswing/"]Third link: Java swing tutorials[/URL] Hope this helps Jens | |
Re: You mean the last item in it? In that case it would be combobox.SelectedItemIndex = combobox.Items.Count - 1; This is just a guess though, since I don't have time to try it out for now. Give it a go and tell me if it is what you seek. | |
Re: Writing a server in c#? You'd better be off with unix if it is a whole server :p. [URL="http://www.linuxfromscratch.org/"]http://www.linuxfromscratch.org/[/URL], if you have WAAAYYY too much time and patience on your hands. If you don't mean server, but something like 'monitoring application', you'd better clarify your question. Greetings, jens | |
Re: Do you mean design patterns? I don't think I get the question. | |
Re: The head - first series is incredibly easy to learn from. All books of O'Reilly actually in my opinion. As for starting language, try java (easiest in my opinion due to active debugger) or C#, and start slowly. Also digging through the documentation for your language can prove helpfull, but … | |
Re: Go to the site of sun and download the JDK. The installation gave you a warning probably, so that might explain why you were able to run it. You can't compile though, since there is no link to your jdk (which you need to compile and run your projects). Hope … | |
Re: It would look to me like there is an error with connection to your database. What is the type of exception you get? | |
Re: The person just seems to have to decide on a TOPIC, not yet a project. | |
Hello everyone I'm a starting 21 - year old developer. Mostly in c# (though other .net languages too) and java. I've registered on this forum since I think that I will get answers here that I won't always find on google. If I can I will use the little experience … | |
Re: I'm going to make a small guess here, feel free to correct me. [code] while (!(m_szdata.Contains("OK\r\n")) && !(m_szdata.Contains("error")) && !(m_szdata.Contains("ERROR"))) ; strData = m_szdata; m_szdata = ""; [/code] Am I right to say that this loop runs for as long as m_szdata does NOT contain OK, error or ERROR. Since … | |
Re: First things first, it would be helpfull to set small chunks of code between the [ code ] [ /code] tags. Without the spaces that is. Second: Could you please put your project up for download, unless you don't want that which I understand. I'm also pretty new, so I … | |
Re: Wait? What is your actual question, if I may ask. This looks like an assignment I had one day :p |
The End.