Forum: VB.NET Jun 8th, 2009 |
| Replies: 3 Views: 2,117 You need to specify the writing mode as being:
IO.FileMode.Append |
Forum: VB.NET Nov 5th, 2008 |
| Replies: 4 Views: 1,033 Try pointing to the absolute path, or get rid of the first backslash in \interestrates.txt
The file should be kept in the same directory as where your program is ran.
Normally the debug.exe... |
Forum: VB.NET Aug 29th, 2008 |
| Replies: 6 Views: 691 http://vbnotebookfor.net/2007/07/26/mycomputerfilesystem-shortcuts-for-vbnet-part-ii/ |
Forum: VB.NET Aug 28th, 2008 |
| Replies: 4 Views: 2,040 Well I guess that's how microsoft make their money. The express edition is perfect for everything, expect database programs. I found with sql express there wasn't any option for adding other... |
Forum: VB.NET Aug 28th, 2008 |
| Replies: 4 Views: 2,040 >SQL Server 2005
Probably requires $$ or the professional version of vb.net 2008. I think the number of client connections is clipped on the express edition. |
Forum: VB.NET Aug 28th, 2008 |
| Replies: 6 Views: 691 As long as it is a simple text file and not a word document or something else, I don't see the problem here.
You just need to look at a file i/o tutorial |
Forum: VB.NET Aug 26th, 2008 |
| Replies: 7 Views: 4,307 1) Drag a text box onto your form. Make sure the multiline option is true
2) Drag a button onto your form
Imports System.io
Public Class Form1
Private Sub Button1_Click(ByVal sender... |
Forum: VB.NET Aug 26th, 2008 |
| Replies: 8 Views: 1,993 ListBox1.Items.Add(Prc(x).ProcessName) |
Forum: VB.NET Aug 26th, 2008 |
| Replies: 7 Views: 4,307 That looks way too complicated.
I would just skip the first line as you read it in from the text file. Simple enough. |
Forum: VB.NET Jun 30th, 2008 |
| Replies: 4 Views: 867 >I have created database containing only one tables.
WWWWWWWWWhat?
One table, there is your problem/ |
Forum: VB.NET Jun 22nd, 2008 |
| Replies: 3 Views: 1,674 Solution:
Look in both C: and D: :) |
Forum: VB.NET Jan 9th, 2008 |
| Replies: 6 Views: 1,560 Start of one bit at a time.
-First find out how to open a web page and download something to your pc
-Then try to create an sql database
-Then try to insert something into the database
-Then... |
Forum: VB.NET Dec 7th, 2007 |
| Replies: 1 Views: 4,690 |
Forum: VB.NET Oct 29th, 2007 |
| Replies: 14 Views: 3,419 Imports System.IO
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim objStreamReader As StreamReader... |
Forum: VB.NET Oct 27th, 2007 |
| Replies: 14 Views: 3,419 right.
A few things here. Your words can be separated by either multiple spaces, tabs newlines etc. So it can become quite tricky to identify what is a "word". The easiest way to do this would be... |
Forum: VB.NET Oct 26th, 2007 |
| Replies: 14 Views: 3,419 let us know how you get on :) |
Forum: VB.NET Oct 26th, 2007 |
| Replies: 14 Views: 3,419 I have just edited the code so it is more robust when it comes to potential errors (such as blank lines in the file). You may need to refresh your browser to see it take effect. |
Forum: VB.NET Oct 26th, 2007 |
| Replies: 14 Views: 3,419 Oopsie sorry about that. I was on my linux box :)
Imports System.IO
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles... |
Forum: VB.NET Oct 26th, 2007 |
| Replies: 14 Views: 3,419 In that case after you have capitalised the first letter of the line write it to the text box.
Did you want an example? Let me just fire up my windows box. |
Forum: VB.NET Oct 26th, 2007 |
| Replies: 14 Views: 3,419 http://support.microsoft.com/kb/315828
Read it! |
Forum: VB.NET Sep 23rd, 2007 |
| Replies: 2 Views: 2,852 http://www.daniweb.com/forums/thread85390.html
Perhaps? |
Forum: VB.NET Aug 30th, 2007 |
| Replies: 3 Views: 1,120 Can't you just have put the code on form load instead of button_clicked then? |
Forum: VB.NET Aug 11th, 2007 |
| Replies: 7 Views: 7,571 Do you know how to write a function? |
Forum: VB.NET Aug 11th, 2007 |
| Replies: 7 Views: 7,571 Create a function that checks for numbers only. |
Forum: VB.NET Aug 6th, 2007 |
| Replies: 18 Views: 3,806 I can barely read that text can you post a picture where all the text is big and clear to read. Thanks. |
Forum: VB.NET Aug 6th, 2007 |
| Replies: 18 Views: 3,806 Is it possible to show us a schematic of your tables, how they are linked and what are the primary keys etc. |
Forum: VB.NET Aug 5th, 2007 |
| Replies: 18 Views: 3,806 If you are looking to pull out just one value (field) then this is simple enough. But databases are not like that, they're linked to different tables. How they are linked will depend on how easy it... |
Forum: VB.NET Jul 27th, 2007 |
| Replies: 8 Views: 848 Isn't this an asp.net question? Should it be asked in the asp.net forum? |
Forum: VB.NET May 2nd, 2007 |
| Replies: 3 Views: 1,703 I assume you've added the relevant com library |
Forum: VB.NET Feb 3rd, 2007 |
| Replies: 2 Views: 895 |
Forum: VB.NET Jan 29th, 2007 |
| Replies: 7 Views: 4,128 No idea what you just said. That is, as far as I am aware legal vb.net syntax. |
Forum: VB.NET Jan 29th, 2007 |
| Replies: 7 Views: 4,128 Dim var As String
var = txtBox.Text
MsgBox("Name: " & var)
I think. |
Forum: VB.NET Dec 1st, 2006 |
| Replies: 16 Views: 6,181 Thank you I'm sure that will help somebody else. |
Forum: VB.NET Nov 29th, 2006 |
| Replies: 16 Views: 6,181 Your little error message states:
IndexOutOfRangeException was unhandled",
meaning your array is being accessed beyond it's physical dimension.
Why do you think that is. Try breaking it... |
Forum: VB.NET Nov 29th, 2006 |
| Replies: 16 Views: 6,181 Wrong! All I need is the code and perhaps the text file he's using, then I can compile it from within my IDE. Have you ever used .net before. No it's not like MFC, thank god. :cheesy:
Also while... |
Forum: VB.NET Nov 29th, 2006 |
| Replies: 16 Views: 6,181 Another very good tip would be to create a completely new project.
Then just try to read that file into the structure and display it. That way if there are any errors you know it is only to do... |
Forum: VB.NET Nov 29th, 2006 |
| Replies: 16 Views: 6,181 Can you post just the code here. I don't like downloading zip files in case they contains viruses and other known nasties.:cheesy:
A few hints.
If that's where the problem is try taking... |
Forum: VB.NET Nov 27th, 2006 |
| Replies: 16 Views: 6,181 Each line will be fed into a class structure:
Student 999 999 999 999 X
You would split the line using the space as a delimiter. Look up the split method.
Now you would feed these... |
Forum: VB.NET Nov 26th, 2006 |
| Replies: 16 Views: 6,181 Sorry, I don't see what you're exactly having problems with?
Do you need to create a class for your student grade problem? |
Forum: VB.NET Nov 14th, 2006 |
| Replies: 8 Views: 4,587 Cheers, how's the wma -> mp3 convertor coming along? |