Forum: VB.NET May 18th, 2008 |
| Replies: 2 Views: 998 Add a timer to your form and add some code likeIf Form2.Left < Form1.Left + Form1.Width Then
Form2.Left += 10
End If |
Forum: VB.NET Apr 23rd, 2008 |
| Replies: 4 Views: 2,211 You can't just do a cbo1.items = cbo2.items
You will need to do somthing like:Dim Value as string 'Im not sure if this should be a string
For each Value in cbo2.Items
cbo1.items.add(Value)... |
Forum: VB.NET Apr 23rd, 2008 |
| Replies: 2 Views: 2,057 When you clicked "Publish Now" under the Publish tab it builds all the files, including one called something like "windowsApplication1.exe.deploy". This is the exe file but VB.NET has added the... |
Forum: VB.NET Apr 19th, 2008 |
| Replies: 6 Views: 2,261 You could store the data in a database, XML files or just you the My.Settings area
The My.Settings area is setup from the "My Project" List and it is a left side tab called Settings
The... |
Forum: VB.NET Apr 7th, 2008 |
| Replies: 3 Views: 1,527 Where is the problem?
If the problem is withDim c As Integer = DGVShops.Item(0, i).ValueThen try using CTypeDim c As Integer = CType(DGVShops.Item(0, i).Value, Integer)
If the problem is the... |
Forum: VB.NET Mar 11th, 2008 |
| Replies: 2 Views: 774 Hi,
Open "Visual Studio"
Select "Tools > Options"
Tick "Show all Settings" (Lower Left)
Select "Debugging"
Select "Just-in-Time"
... |
Forum: VB.NET Jan 26th, 2008 |
| Replies: 3 Views: 4,936 Hi,
FormName.Show 'to open a form
and
FormName.ShowDialog 'to open a modal form |
Forum: VB.NET Jan 6th, 2008 |
| Replies: 4 Views: 8,641 Hi,
If you want to send E-Mails without Outlook installed then you might want to use VB.NETs SMTP code
Try this:
http://www.taylorsnet.co.uk/SourceCodeDetail.aspx?SourceID=2 |
Forum: VB.NET Dec 30th, 2007 |
| Replies: 2 Views: 667 Hi Try,Dim SQLChanges as New DataTable
SQLChanges = SQLTable.GetChanges
if SQLChanges.Rows.Count > 0 then
msgbox("Changes Detected!")
Exit Sub
End if
Where
SQLChanges is a New... |
Forum: VB.NET Nov 28th, 2007 |
| Replies: 7 Views: 4,856 try
Dim FileName As String = "12345_789.567"
If FileName.contains("_") Then
' do whatever
End If |
Forum: VB.NET Oct 30th, 2007 |
| Replies: 3 Views: 836 TryDim url (http://www.daniweb.com/forums/thread94848.html#) As String
url = "Project.aspx?"
url &= "id=" & id_txt.Text & "&"
url &= "age=" & age_txt.Text
Response.Redirect(url)
... |
Forum: VB.NET Oct 29th, 2007 |
| Replies: 10 Views: 4,096 Try enabling the menu on Private Sub frmMDIChild_FormClosing(ByVal sender As Object, _
ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
'Enable Menu Here... |
Forum: VB.NET Oct 25th, 2007 |
| Replies: 3 Views: 6,985 You can read from both user and application settings but you can only write (save) user settings
To Read:
Dim Value as StringValue = My.Settings.Astrology
Value = My.Settings.Cricket
Value ... |
Forum: VB.NET Oct 10th, 2007 |
| Replies: 2 Views: 7,189 Focus
txtBox.Focus
Colour
txtBox.BackColor = Yellow |