Forum: VB.NET May 18th, 2008 |
| Replies: 2 Views: 974 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,118 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: 1,989 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,188 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: ASP.NET Apr 16th, 2008 |
| Replies: 2 Views: 600 First i would try using standard DataTables as it is possible that the server has not got the prerequisites installed for H2C2DataLayer.h2c2DataSet.topicsDataTable
Try
Dim SQLTable as new... |
Forum: ASP.NET Apr 14th, 2008 |
| Replies: 1 Views: 633 I would use SQL Select Statments to select the correct data based on a (WHERE) criteria
See "VB.NET" > "How to use SQL" on or <snipped>DaniWeb Code Snippet 696 |
Forum: VB.NET Apr 7th, 2008 |
| Replies: 3 Views: 1,496 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: 770 Hi,
Open "Visual Studio"
Select "Tools > Options"
Tick "Show all Settings" (Lower Left)
Select "Debugging"
Select "Just-in-Time"
... |
Forum: ASP.NET Mar 6th, 2008 |
| Replies: 3 Views: 1,666 You could write the whole site in XML files
Read from XML Dim dt As New DataTable
dt.ReadXmlSchema("Filename_Schema.xml")
dt.ReadXml("FileName.xml")
For Each... |
Forum: VB.NET Jan 26th, 2008 |
| Replies: 3 Views: 4,815 Hi,
FormName.Show 'to open a form
and
FormName.ShowDialog 'to open a modal form |
Forum: ASP.NET Jan 10th, 2008 |
| Replies: 5 Views: 1,645 Try just using GUPTA-4E607DBAB as your server name or go by IP as the \administrator is a user and not part of the SQL Server name |
Forum: VB.NET Jan 6th, 2008 |
| Replies: 4 Views: 8,435 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: 663 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,754 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: 823 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,047 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,892 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: 6,940 Focus
txtBox.Focus
Colour
txtBox.BackColor = Yellow |
Forum: ASP.NET Sep 23rd, 2007 |
| Replies: 3 Views: 3,453 for Dataview use If dataview.count = 0 then
button1.visible = False
else
button1.visible = True
End Ifor
for datatables useIf datatable.rows.count = 0 then
button1.visible = False
else... |