4,439 Posted Topics
Re: Search! Google,MSDN,etc. Example: [url]http://msdn.microsoft.com/en-us/library/8bh11f1k.aspx[/url] | |
Re: "It craches" tells us nothing. Be more specific. Did you debug the thing? What are the error messages and codes? Etc. | |
Re: First question would be: "What is an odd number?" Could you write a function that returns a boolean, telling if the inputted number is odd or not? | |
Re: Don't know exactly what you mean by "automate visual studio", but [these](http://vb.net-informations.com/) might help. | |
[OH noo, please not that again!](https://www.youtube.com/watch?v=DvShTJKuy2w) Yeah, primes sigh. But they play a minor role here as a perfect victim to explain some other things. Would not advise to use the algorithm here to calculate them in real life. There are languages like Python, F#, Haskell etc. who have list … | |
Re: Line 24 I would write as `for (int I = 1; I <= 10;I=I+2 )` And as a side note: why are you reffering to a computer as a "he"? It is just a bunch of copper, silicon, plastic and some other materials. | |
Re: What do you mean by NAN, NAn, nan etc.? | |
Re: Saying you have an error tells us little to help solve your problem. What is the error? What value do some values have? Your stack trace. Please show us that information. | |
Re: Did you know you can override the Sort method of the ListBox? Here is [an example](https://msdn.microsoft.com/en-us/library/system.windows.forms.listbox.sort(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1). | |
Re: The other day I was looking for piano scores on the web, just looking, not buying or free downloading. (I have enough piano scores for my two left hands to bother about hĆ©,hĆ© ) I next went to a weather site and it struck me that I was suddenly overwhelmed … | |
Re: Your program doesn't only calculate the area of a right triangle, it calculates the area of ANY triangle. | |
Re: Are you trying to achieve something in VS ( C# or C++ ?) or do you want something to change in an excel sheet from VS? Please some more explanation would be handy. | |
Re: With every button click, you are making a new appendable file. Try to rearrange your code, the button click, should only append two txtboxes to your file. Success. :) | |
Re: I recently read HTML5 and CSS3 for DUMMIES. I found it very good and interesting since I knew practically nothing about web development. | |
Re: Hmm, strange, my experience is that visual studio in case of say a power failure never looses code, it always nicely and gently recovered it. | |
Re: Maybe [this](https://courses.cs.washington.edu/courses/cse378/03wi/lectures/mips-asm-examples.html) might help you out. | |
Re: There exists a quaternion structure in C#. | |
Re: I have read some source code from many books. Saying, yeah, that seems obvious. Until you type them in, there will allways be some small errors sneaking in. So my advice: read books and practice, practice | |
Re: You have to somehow format your date value. | |
Re: Have a look at this:(Traevel pointed this one out) ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++. Thought this was banned from the net, but you can find some explanation [here](https://en.wikipedia.org/wiki/Brain####). Does not make me think of C, but it's hello world! | |
Re: @rproffitt: for some raison or another, many old systems(Turbo C, PC 386 etc.) are still used today. | |
Re: PLayer should be a decent second, as class. Find out what a player object has and what this object can do. | |
Re: The cycle repeats with a period of 6,4 days. That should give you a hint for the for loop. | |
Re: You could use this from the Path class. [See here](https://msdn.microsoft.com/en-us/library/system.io.path.getfilenamewithoutextension.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1). | |
Re: [This article](https://msdn.microsoft.com/en-us/library/aa287601(v=vs.71).aspx) tells you how to initialize an array in C#. Google for tutorials for more. | |
Re: modular? from `module`? A variable global to a `module`? | |
Re: In the Graphics class you would want to use the DrawString method. But beware, this can get heavy in the beginning. But total control on how to draw  a string is your reward. If you are looking to print just plain text, I should first try the suggestion … | |
Re: Put the following in some DB update event handler or after data change `MyButton.BackColor = Color.Red;` | |
Re: I guess your last method call was something like `FindMethod(methodName)` (See your stack trace) First thing were I'd look: Does methodName have a name? | |
Re: How are you saving your DGV? File, Excel, DB? Perhaps have a look at the [EndEdit method](https://msdn.microsoft.com/en-us/library/ms158620(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1) | |
Re: I attached my working version of a matrix in C#, I did some time ago. Maybe it helps. | |
Re: Have you read [this](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question)? | |
Re: You probably need to implement the INotification interface in some way. Google is your friend. [Example](https://www.codeproject.com/Articles/41817/Implementing-INotifyPropertyChanged) | |
![]() | Re: Hint: You got four lines to print. How should your first for loop look like? |
Re: I googled `usb vb.net` https://www.codeproject.com/Questions/199147/How-to-interface-VB-Net-Application-with-USB-Port looks interesting. | |
Re: Also have a look at the [tab order](https://msdn.microsoft.com/en-us/library/bd16a8cw(v=vs.110).aspx) | |
Re: A DataGridView doesn't look ugly, it is hard to grasp at first time. But it takes some effort... took me at least some weeks and I still don't understand all of it. :) | |
Re: The first thing you have to realize is that form coordinates are a bit different as we normally use them. They start at the top left corner of the form, being Point(0,0). Y goes down, X goes the normal way, from left to right. As you programmed it on line … | |
Re: You could use excel, but why not use file handling of .net? See this [article](https://www.tutorialspoint.com/vb.net/vb.net_file_handling.htm). | |
Re: FWIIW, perhaps [this](http://www.python-excel.org/) can shed a light. | |
Re: I also don't see it where the nested ifs would fit in. Could you show us the code you already have? Maybe it is just a few lines, maybe it's not working, we don't care. But it would help us better to help you! :) | |
Re: IMHO speaking of speed as an integer is nonsence. |
The End.