Search Results

Showing results 1 to 40 of 268
Search took 0.02 seconds.
Search: Posts Made By: GeekByChoiCe ; Forum: VB.NET and child forums
Forum: VB.NET 1 Day Ago
Replies: 4
Views: 158
Posted By GeekByChoiCe
try

InstituteBaseDataSet.acceptchanges after your inserting
Forum: VB.NET 1 Day Ago
Replies: 2
Solved: Combobox..
Views: 183
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
kidding?
Forum: VB.NET 3 Days Ago
Replies: 3
Views: 151
Posted By GeekByChoiCe
"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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
add
Database1DataSet.Tables("tbl_Files").AcceptChanges()
at the end
Forum: VB.NET 4 Days Ago
Replies: 3
Views: 188
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
MsgBox("please enter Numbers only!")
Forum: VB.NET 9 Days Ago
Replies: 2
Views: 204
Posted By GeekByChoiCe
use the FileOK event of the openfiledialog.
Forum: VB.NET 10 Days Ago
Replies: 12
Views: 420
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
yes
yes
Forum: VB.NET 14 Days Ago
Replies: 4
Views: 277
Posted By GeekByChoiCe
frmcut.tabcontrl.SelectedTab = frmcut.TabPage1
Forum: VB.NET 14 Days Ago
Replies: 5
Views: 353
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
solved?
Forum: VB.NET 14 Days Ago
Replies: 2
Views: 240
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
how about to close the connection if the exception is thrown?
Forum: VB.NET 19 Days Ago
Replies: 3
Views: 281
Posted By GeekByChoiCe
then please mark this thread as solved :D
Forum: VB.NET 19 Days Ago
Replies: 11
Views: 567
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
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
Posted By GeekByChoiCe
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim youTube As String =...
Showing results 1 to 40 of 268

 


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

©2003 - 2009 DaniWeb® LLC