Forum: VB.NET Jun 8th, 2009 |
| Replies: 3 Views: 2,064 You need to specify the writing mode as being:
IO.FileMode.Append |
Forum: VB.NET May 20th, 2009 |
| Replies: 4 Views: 835 Just to echo what has been said before:
45000 lines in a combo box = pure daftness
You need to think of a redesign!!! |
Forum: VB.NET Mar 9th, 2009 |
| Replies: 4 Views: 1,337 That looks like an 'attribute' within an xml file.
Therefore it would be sensible to use consider it as an xml object and use the methods associated with that. |
Forum: VB.NET Jan 5th, 2009 |
| Replies: 10 Views: 2,151 Yeah you could use the above method or another one:
pad the strings:
Dim str1 As String = "My String"
Console.WriteLine(str1.PadLeft(20, "-"))
Dim str2 As String = "My String"... |
Forum: VB.NET Nov 7th, 2008 |
| Replies: 4 Views: 2,053 If it works it works, but I'd recommend reading up on classes as they form an integral part of code design. |
Forum: VB.NET Nov 7th, 2008 |
| Replies: 4 Views: 2,508 An idea but not necessarily the best,
you could write it to the registry. |
Forum: VB.NET Nov 7th, 2008 |
| Replies: 3 Views: 483 Installation requires the dotnet framework 2.0 etc.
So you may need to check that on the client machine.
The professional version comes with an installer, the express version doesn't. (I think)... |
Forum: VB.NET Nov 6th, 2008 |
| Replies: 4 Views: 2,053 You mean declare a class and have the those objects in a one dimensional array? |
Forum: VB.NET Nov 5th, 2008 |
| Replies: 4 Views: 1,021 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 Nov 5th, 2008 |
| Replies: 4 Views: 1,591 |
Forum: VB.NET Sep 18th, 2008 |
| Replies: 1 Views: 1,698 How do I pass an arrayList to a function? |
Forum: VB.NET Sep 3rd, 2008 |
| Replies: 1 Views: 274 1) Drag a listbox onto your form
2) Drag a button onto your form
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles... |
Forum: VB.NET Sep 2nd, 2008 |
| Replies: 3 Views: 1,076 Shouldn't you be saying something like:
if mBool = true Then
as opposed to:
if mBool Then |
Forum: VB.NET Sep 1st, 2008 |
| Replies: 2 Views: 2,495 Surely this is just a case of getting the algorithm and then convert it to vb.net syntax |
Forum: VB.NET Aug 29th, 2008 |
| Replies: 2 Views: 4,144 That's a massive request.
I'd look at some basic tutorial about using vb.net and sql/access.
The video ones are quite good.
Another alternative would be to use just a text file. That would... |
Forum: VB.NET Aug 29th, 2008 |
| Replies: 6 Views: 689 http://vbnotebookfor.net/2007/07/26/mycomputerfilesystem-shortcuts-for-vbnet-part-ii/ |
Forum: VB.NET Aug 29th, 2008 |
| Replies: 5 Views: 5,370 |
Forum: VB.NET Aug 28th, 2008 |
| Replies: 4 Views: 1,995 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: 1,995 >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: 689 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 28th, 2008 |
| Replies: 5 Views: 5,370 It is a bad idea trying to read pdf files because the text could have been generated in any way. |
Forum: VB.NET Aug 27th, 2008 |
| Replies: 6 Views: 501 Add a new form to your project.
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
Me.Hide()
Dim... |
Forum: VB.NET Aug 26th, 2008 |
| Replies: 8 Views: 2,530 Incorrect, trim does replace line breaks and spaces. Please prove me wrong but you won't.
I have just tested it:
Dim nl As String = System.Environment.NewLine
Dim test As String = " ... |
Forum: VB.NET Aug 26th, 2008 |
| Replies: 7 Views: 4,245 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: 2,530 Ever heard of Trim(). Use it! |
Forum: VB.NET Aug 26th, 2008 |
| Replies: 8 Views: 1,962 ListBox1.Items.Add(Prc(x).ProcessName) |
Forum: VB.NET Aug 26th, 2008 |
| Replies: 7 Views: 4,245 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 Aug 20th, 2008 |
| Replies: 3 Views: 1,789 > your code seems right...
+ 1 |
Forum: VB.NET Aug 20th, 2008 |
| Replies: 2 Views: 2,757 Nah I get the same problem, in the end I just abandoned writing directly to excel. |
Forum: VB.NET Aug 6th, 2008 |
| Replies: 8 Views: 2,175 Hmm I wonder if you are using vb or vb.net - this is the vb.net forum. |
Forum: VB.NET Aug 6th, 2008 |
| Replies: 8 Views: 2,175 Sure which part are you having trouble with? |
Forum: VB.NET Aug 5th, 2008 |
| Replies: 2 Views: 3,766 You need to create an event handler so that when you click on a node(either parent or child) it recognises which one as a string.
Then you can open the text file using that string(path)
It's... |
Forum: VB.NET Aug 3rd, 2008 |
| Replies: 8 Views: 2,175 >I'd recommend keeping the words on a MSSQL backend (or Access)
No offence but that is overkill, for something this simple. Given the experience of the OP, or lack thereof, storing the words in an... |
Forum: VB.NET Aug 3rd, 2008 |
| Replies: 8 Views: 2,175 If you're completely new to programming I'd recommend getting a book. |
Forum: VB.NET Aug 3rd, 2008 |
| Replies: 1 Views: 529 It is a bad idea reading it from word, although you could probably do it.
I would copy the tables into an excel file and then save it as a .csv file.
It would be much easier to parse. |
Forum: VB.NET Jun 30th, 2008 |
| Replies: 4 Views: 864 >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,639 Solution:
Look in both C: and D: :) |
Forum: VB.NET Jun 20th, 2008 |
| Replies: 1 Views: 1,160 Yes it is possible.
Google using copying stuff to clipboard and then calling a process to open notepad. |
Forum: VB.NET Apr 22nd, 2008 |
| Replies: 2 Views: 1,528 Use one version of word across all computers... |
Forum: VB.NET Jan 14th, 2008 |
| Replies: 13 Views: 3,572 Yeah sorry, I missed that. See the above example though, it looks good. |