Forum: VB.NET 1 Day Ago |
| Replies: 4 Views: 158 try
InstituteBaseDataSet.acceptchanges after your inserting |
Forum: VB.NET 1 Day Ago |
| Replies: 2 Views: 183 i would go with the Tag property.
create a class in your project:
Public Class ComboItem
Private m_Tag As String
Private m_text As String
Public Sub New(ByVal Text As String,... |
Forum: VB.NET 3 Days Ago |
| Replies: 3 Views: 151 ow if you meant the moving in the designer then set the "Lock" property to true. |
Forum: VB.NET 3 Days Ago |
| Replies: 1 Views: 187 |
Forum: VB.NET 3 Days Ago |
| Replies: 3 Views: 151 "can't move at all" means that it doesnt change the position on resizing the form? if so then set the anchor property of the label. |
Forum: VB.NET 4 Days Ago |
| Replies: 3 Views: 188 yes and?
dim tmp() as string= TextBox1.Text.Split(",")
If tmp.Length <> 20 Then
MsgBox("numbers are not exact 20")
End If
For Each s As String In tmp
Dim d... |
Forum: VB.NET 4 Days Ago |
| Replies: 9 Views: 151 add
Database1DataSet.Tables("tbl_Files").AcceptChanges()
at the end |
Forum: VB.NET 4 Days Ago |
| Replies: 3 Views: 188 does it have to be a regular expression?
this code will do its job too and you can tell the user which "number" is wrong though
For Each s As String In TextBox1.Text.Split(",")
... |
Forum: VB.NET 4 Days Ago |
| Replies: 3 Views: 198 hmm i dont really understand your problem tbh.
each time you click the button then quantity grows by 1 if the checkbox is checked.
can you please explain a bit more detailed? |
Forum: VB.NET 5 Days Ago |
| Replies: 3 Views: 198 Private Sub submitButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles submitButton.Click
'add selected products to CompletedOrderForm.
If... |
Forum: VB.NET 8 Days Ago |
| Replies: 4 Views: 199 MsgBox("please enter Numbers only!") |
Forum: VB.NET 9 Days Ago |
| Replies: 2 Views: 204 use the FileOK event of the openfiledialog. |
Forum: VB.NET 10 Days Ago |
| Replies: 12 Views: 420 ok im totally confused here.
You have a form (called Form1) that contains one textbox and one tabcontrol.
You want to transfer the content of a textbox from another Form to the textbox that is in... |
Forum: VB.NET 11 Days Ago |
| Replies: 4 Views: 247 you need to initialize each player as new gameobject
Dim players(9) As gameobject
For i As Integer = 0 To players.Length - 1
players(i) = New gameobject
... |
Forum: VB.NET 12 Days Ago |
| Replies: 3 Views: 227 you asked this question already here: http://www.daniweb.com/forums/thread241370.html
please describe your problem more detailed! |
Forum: VB.NET 12 Days Ago |
| Replies: 7 Views: 319 change
Dim years As Integer = Convert.ToInt32(cmbYears)
to
Dim years As Integer = Convert.ToInt32(cmbYears.selecteditem) |
Forum: VB.NET 13 Days Ago |
| Replies: 5 Views: 353 |
Forum: VB.NET 14 Days Ago |
| Replies: 4 Views: 277 frmcut.tabcontrl.SelectedTab = frmcut.TabPage1 |
Forum: VB.NET 14 Days Ago |
| Replies: 5 Views: 353 Try
'if the name of the picturebox is added into the listbox
Dim picBox As PictureBox = CType(Me.Controls.Find(ListBox1.SelectedItem.ToString, True)(0), PictureBox)
... |
Forum: VB.NET 14 Days Ago |
| Replies: 4 Views: 4,810 if the image is the same directory as your application:
My.Application.Info.DirectoryPath & "/myImage.jpg"
if the image is in My Documents folder... |
Forum: VB.NET 14 Days Ago |
| Replies: 6 Views: 299 |
Forum: VB.NET 14 Days Ago |
| Replies: 2 Views: 240 Level is a reserved word. change it to the query below and try again.
Dim strInsert As String = "Insert Into ScoutInfo " & _
"(ScoutID, YearID, GSUSAID,... |
Forum: VB.NET 14 Days Ago |
| Replies: 8 Views: 360 ok i have tested your code and it works perfect after small changes to the procedure
my procedure:
ALTER PROCEDURE [dbo].[Designation_INSERT]
-- Add the parameters for the stored procedure... |
Forum: VB.NET 14 Days Ago |
| Replies: 9 Views: 323 Dim current As Date = Date.Now
Dim sstatement = "SELECT TransDate, Deposit, Withdrawal, TotalAmount FROM Transactions " & _
"Where UserID = " & AccID & " and... |
Forum: VB.NET 14 Days Ago |
| Replies: 6 Views: 299 i find that warning pretty handy. so even the "weirdest" users will realise they cant use the startform :p |
Forum: VB.NET 14 Days Ago |
| Replies: 11 Views: 567 then attach your project and we can check it for you. its hard to find the problem if you dont really answer the questions (like how you format the textboxes) |
Forum: VB.NET 14 Days Ago |
| Replies: 8 Views: 360 can you please show us the complete code? the code you posted in your first post cant be complete. where and how you define the variable "Param"? you might keep adding parameters into param without... |
Forum: VB.NET 16 Days Ago |
| Replies: 6 Views: 299 just open your other forms with .ShowDialog
this prevents the user to access your StartForm until the other form is closed. |
Forum: VB.NET 16 Days Ago |
| Replies: 1 Views: 243 question is you wanna save the content of your textboxes from your different forms to the same time.
if not then i would suggest to create a Module in your project and add following function:
... |
Forum: VB.NET 17 Days Ago |
| Replies: 6 Views: 304 disagreed :p
ok lets take a look on my PC
HDD space = 2,5 TB
Games location:
C:\-=GAMES=-\-=SOF II=-
C:\-=GAMES=-\Call of Duty 4
C:\-=GAMES=-\Steam
and so on |
Forum: VB.NET 18 Days Ago |
| Replies: 2 Views: 201 hmm i think he meant that his program shows the messagebox even there is no code for in the load event.
just post your code here and see if we find it ;) |
Forum: VB.NET 18 Days Ago |
| Replies: 6 Views: 304 actually solution 1 is the best solution for two reasons:
1. you are in control what games should be in list
2. the most easy way if u provide a xml file online where your game can check for new... |
Forum: VB.NET 18 Days Ago |
| Replies: 5 Views: 377 Private Sub btnDelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDelete.Click
If CBAccountNumber.SelectedIndex = -1 Then
Return 'nothing selected
... |
Forum: VB.NET 18 Days Ago |
| Replies: 11 Views: 567 yea that why i asked you for some example content of your textboxes.
how you enter the time? like "10:30" or "10.30" or whatever.
the code i provided is working with the format hh:mm(.ss ) |
Forum: VB.NET 19 Days Ago |
| Replies: 7 Views: 307 Public Sub upis(ByVal upit As String)
Try
If Not myconnection.State = ConnectionState.Open Then
myConnection.Open()
End If
Dim sq As New SqlCommand(upit,... |
Forum: VB.NET 19 Days Ago |
| Replies: 7 Views: 307 how about to close the connection if the exception is thrown? |
Forum: VB.NET 19 Days Ago |
| Replies: 3 Views: 281 then please mark this thread as solved :D |
Forum: VB.NET 19 Days Ago |
| Replies: 11 Views: 567 try this calculation :
'Calculation for Monday
If Not Date.TryParse(MonInTextBox.Text, TimeA) Then
End If
If Not Date.TryParse(MonOutTextBox.Text, TimeB) Then
... |
Forum: VB.NET 20 Days Ago |
| Replies: 2 Views: 265 dim query as string= "SELECT Rec1, Rec2, Rec3 FROM Table1 WHERE Rec1 LIKE '%" & txtTextBox.Text & "%'" |
Forum: VB.NET 20 Days Ago |
| Replies: 3 Views: 281 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim youTube As String =... |