Search Results

Showing results 1 to 20 of 20
Search took 0.01 seconds.
Search: Posts Made By: tonyf
Forum: VB.NET Sep 22nd, 2007
Replies: 3
Views: 6,313
Posted By tonyf
Hi Wayne

Iv'e tried your sugesstions and they work. I want both forms to be visible at the same time with the focus set to the tip of the day form. Some one showed me the following trick and it...
Forum: VB.NET Sep 22nd, 2007
Replies: 3
Views: 6,313
Posted By tonyf
HI



I have a Tip of the day form that loads from a main form. The focus stays on the main form. Is there a way that I can switch the focus to the tip of the day form at runtime?



Tony
Forum: VB.NET Sep 21st, 2007
Replies: 0
Views: 1,019
Posted By tonyf
Hi

I have a form with a checkbox control. How would you load this form at starup if the checkbox is checked? Do you load it from the main form?



Tony
Forum: VB.NET Sep 20th, 2007
Replies: 7
Views: 6,140
Posted By tonyf
Hi Wayne

Thanks it works great! How would you call the Tip of the day form from the main form if the checkbox1.checked?

Tony
Forum: VB.NET Sep 20th, 2007
Replies: 1
Views: 1,920
Posted By tonyf
HI



I need help saving the checkbox state to a setting file, and if the checkbox.checked = true then load the form from the main form.



Thanks
Forum: VB.NET Sep 20th, 2007
Replies: 7
Views: 6,140
Posted By tonyf
Hi wayne

I've figured it out. The label was definitely the way to go! You have been very helpful! Now If I can only figure out how to save the checkbox setting to load the Tip of the day Form when...
Forum: VB.NET Sep 20th, 2007
Replies: 7
Views: 6,140
Posted By tonyf
Hi Wayne

I've decided to go with a label instead. How would you cahnge teh following to list in a label:

ListBox1.Items.Clear()
ListBox1.Items.Add(ary(index))

Tony
Forum: VB.NET Sep 20th, 2007
Replies: 7
Views: 6,140
Posted By tonyf
Hi wayne

The lines are not apperaing in the listbox properly. Like word wrap not being checked in a text file



result:
Forum: VB.NET Sep 19th, 2007
Replies: 7
Views: 6,140
Posted By tonyf
Hi



I'm looking to write the contents of a text file to an array and view one line at a time in a listbox. When I say one line at a time I mean only view one line in the listbox and as It...
Forum: VB.NET Sep 18th, 2007
Replies: 6
Views: 1,445
Posted By tonyf
Wayne

Close but not there yet. I don't need to browse for a file using the openfiledialog control. What I actually need is to read a text file and display one line at a time from the text file...
Forum: VB.NET Sep 17th, 2007
Replies: 6
Views: 1,445
Posted By tonyf
Thanks Wayne but not exactly what I'm looking for. I need the code to read from a text file.

Tony
Forum: VB.NET Sep 17th, 2007
Replies: 6
Views: 1,445
Posted By tonyf
Hi

Does anyone know how to create a tip of the day dialog for VB 2005. the examples that I've found so far do not work.



Tony
Forum: Windows NT / 2000 / XP Sep 11th, 2007
Replies: 0
Views: 1,033
Posted By tonyf
Hi

Does anyone know of a way to ad a group to the local security settings\local policies\User Rights assignement\allow logon through terminal servies of a remote machine? From the command line or...
Forum: VB.NET Aug 16th, 2007
Replies: 3
Views: 5,783
Posted By tonyf
Hi binoj_daniel

Thanks for replying. Yes concerning ClickOnce I don't like the fact that you can't modify the install directory, and as far as updating multiple files I've tried the bootstrapper...
Forum: VB.NET Aug 15th, 2007
Replies: 3
Views: 5,783
Posted By tonyf
Hi

Does anyone know the code to compare file versions from a server share and prompt the user to download the update if the file versiion is newer? Also how would you get this code to work...
Forum: VB.NET Aug 15th, 2007
Replies: 9
Views: 13,804
Posted By tonyf
Hi Veena

It turns out that the code you've provided was helpful. I've just used the StreamReader class instead.

Thanks

Code:

Dim sw As StreamWriter
Dim sr As...
Forum: VB.NET Aug 13th, 2007
Replies: 9
Views: 13,804
Posted By tonyf
Hi Veena

Unfortunately it didn't work I get the following error:
System.IO.streamwriter cannot be converted to System.IO.TextWriter.

Here's wahat i am trying to accomplish:

The code works...
Forum: VB.NET Aug 10th, 2007
Replies: 9
Views: 13,804
Posted By tonyf
HI all

Thank you for your help. The coed that you've all provided me with works but for some reason my output to the text file is still the same as you will notice below:

frh001wa2555655
f
fr...
Forum: VB.NET Aug 8th, 2007
Replies: 9
Views: 13,804
Posted By tonyf
Hi Richard

Thanks for your help. I've tried using the StreamWriter class and it creates the file and writes to it with no problem. I haven't figured out how to append to it using the StreamWriter...
Forum: VB.NET Aug 8th, 2007
Replies: 9
Views: 13,804
Posted By tonyf
Hi

I'm using the following code to append a text file:

Dim sw As IO.TextWriter
sw = IO.File.AppendText("C:\MyTextFile.txt")
sw.WriteLine(text1.text)
sw.Flush()
sw.Close()
Showing results 1 to 20 of 20

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC