4,439 Posted Topics

Member Avatar for yayaza

Search! Google,MSDN,etc. Example: [url]http://msdn.microsoft.com/en-us/library/8bh11f1k.aspx[/url]

Member Avatar for Reverend Jim
0
1K
Member Avatar for lolici

"It craches" tells us nothing. Be more specific. Did you debug the thing? What are the error messages and codes? Etc.

Member Avatar for thines01
0
398
Member Avatar for Ummu_1

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?

Member Avatar for ddanbe
0
119
Member Avatar for yosri_1

Don't know exactly what you mean by "automate visual studio", but [these](http://vb.net-informations.com/) might help.

Member Avatar for Gadgetbytes
0
748
Member Avatar for ddanbe

[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 …

Member Avatar for ddanbe
0
376
Member Avatar for Nomar_1

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.

Member Avatar for StuXYZ
0
355
Member Avatar for guest_1
Member Avatar for Joe_28

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.

Member Avatar for ddanbe
0
409
Member Avatar for erin_1

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).

Member Avatar for xrjf
0
540
Member Avatar for Jason_29
Member Avatar for mike_2000_17

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 …

Member Avatar for Reverend Jim
2
2K
Member Avatar for buckinghamshire
Member Avatar for Vokeh

Your program doesn't only calculate the area of a right triangle, it calculates the area of ANY triangle.

Member Avatar for ddanbe
0
128
Member Avatar for EF_1

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.

Member Avatar for tinstaafl
0
172
Member Avatar for Karuna_2

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. :)

Member Avatar for Karuna_2
0
231
Member Avatar for Amr_3

I recently read HTML5 and CSS3 for DUMMIES. I found it very good and interesting since I knew practically nothing about web development.

Member Avatar for Cod_1
0
492
Member Avatar for guest_1

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.

Member Avatar for ddanbe
0
133
Member Avatar for mandylopez
Member Avatar for Michael_69

Maybe [this](https://courses.cs.washington.edu/courses/cse378/03wi/lectures/mips-asm-examples.html) might help you out.

Member Avatar for ddanbe
0
372
Member Avatar for Kosta_2
Member Avatar for Naveen_20

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

Member Avatar for ddanbe
0
327
Member Avatar for Andrew_39
Member Avatar for G_S

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!

Member Avatar for ddanbe
1
501
Member Avatar for ema_1

@rproffitt: for some raison or another, many old systems(Turbo C, PC 386 etc.) are still used today.

Member Avatar for Reverend Jim
0
187
Member Avatar for hegindra

PLayer should be a decent second, as class. Find out what a player object has and what this object can do.

Member Avatar for JamesCherrill
0
580
Member Avatar for Gamal_3

The cycle repeats with a period of 6,4 days. That should give you a hint for the for loop.

Member Avatar for Gamal_3
0
321
Member Avatar for batoolhussain

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).

Member Avatar for ddanbe
0
98
Member Avatar for happygeek
Member Avatar for Frank_19
Member Avatar for Afif_1
Member Avatar for khalid_10

[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.

Member Avatar for ddanbe
0
60
Member Avatar for itprosam
Member Avatar for Learner010

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 ![1e77a88c98bdb49f0ede61186e84f0ae](/attachments/small/1/1e77a88c98bdb49f0ede61186e84f0ae.jpg "align-left") a string is your reward. If you are looking to print just plain text, I should first try the suggestion …

Member Avatar for munawer_1
0
3K
Member Avatar for Latrell_vie
Member Avatar for Kittipat

Put the following in some DB update event handler or after data change `MyButton.BackColor = Color.Red;`

Member Avatar for ddanbe
0
254
Member Avatar for Clif40RD

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?

Member Avatar for ddanbe
0
1K
Member Avatar for Minimalist

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)

Member Avatar for ddanbe
0
840
Member Avatar for Anel_1
Member Avatar for Anel_1
0
6K
Member Avatar for Shereen_1

Have you read [this](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question)?

Member Avatar for JamesCherrill
0
332
Member Avatar for Twee Nguyen

You probably need to implement the INotification interface in some way. Google is your friend. [Example](https://www.codeproject.com/Articles/41817/Implementing-INotifyPropertyChanged)

Member Avatar for ddanbe
0
378
Member Avatar for Priti_2
Member Avatar for ddanbe
0
114
Member Avatar for TheMightySpud

I googled `usb vb.net` https://www.codeproject.com/Questions/199147/How-to-interface-VB-Net-Application-with-USB-Port looks interesting.

Member Avatar for Xavier_5
0
1K
Member Avatar for KevinVernon
Member Avatar for Satyam_1
Member Avatar for Mr.M
0
1K
Member Avatar for Anshul_2

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. :)

Member Avatar for ddanbe
0
216
Member Avatar for Bernardo_3

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 …

Member Avatar for Bernardo_3
0
365
Member Avatar for Anshul_2

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).

Member Avatar for Dani
0
176
Member Avatar for dinilkarun
Member Avatar for Lerato_1

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! :)

Member Avatar for ddanbe
0
213
Member Avatar for Hi

The End.