-
Replied To a Post in Get number of copies when print vslexgrid vb6
Printerlist is shows the printers installed on your system. So have to make sure that a printer is istalled, select the printer and print to it. I see if I … -
Began Watching Can i use listview with an index ?? ie listview(index)
i want to use a listview with pehaps 9 or 10 columns w header, checkbox's and then replicate the entire (or selected) lines into an identical listview. can this be … -
Replied To a Post in Can i use listview with an index ?? ie listview(index)
' Visual Basic 6.0 For i = 1 To ListView1.ListItems.Count If ListView1.ListItems(i).Selected = True Then MsgBox(ListView1.SelectedItem End If Next i Also check out this reference: http://msdn.microsoft.com/en-us/library/ms172636(v=vs.90).aspx -
Began Watching Get number of copies when print vslexgrid vb6
Hi all, I'm using vb6. I'd like to get number of copies when user printing. It means that after I adjust all information in vslexgrid and print it by vslexgrid.printgrid … -
Replied To a Post in Get number of copies when print vslexgrid vb6
This comes off a code snippet in this forum Private Sub cmdPrint_Click() 'set the printer and print something If Len(PrinterList.SelectedItem.Text) > 0 Then Set Printer = Printers(PrinterList.SelectedItem.Index - 1) Printer.Copies … -
Replied To a Post in Help With For loop please
O.K lets start again VB6 Private Sub Form_Load() Player(0) = "PLayer1" Player(1) = "PLayer2" Player(2) = "PLayer3" End Sub Private Sub Player_Change(Index As Integer) Call chekIT End Sub Private Sub … -
Began Watching Listbox
Hello I have a problem that is as follows. One list box with 30 perons in it and I have command(index) from a - z when I dblclick on a … -
Replied To a Post in Listbox
There isno easy way or no way to change the forecolor of a command button. Workaround is easy. Instead of using a command button use a checkbox. This has the … -
Began Watching Help With For loop please
Hiya, please can you help: In my poker program I used to have loads of code for the 10 player slots, I used to ElseIf through each player in each … -
Replied To a Post in Help With For loop please
Not knowing which version of vb you are using I do use vb6 for this. Your loop is ok but you are not accessing the combos. You either have created … -
Began Watching Sequential Files: how to...
How to save a text information with the formatting italic, bold, underline, small, medium, large? I have a menu, from where I can Save the text as a file, Open … -
Replied To a Post in Sequential Files: how to...
Maybe this link helps. http://p2p.wrox.com/vb-net-2002-2003-basics/9682-saving-rich-text-box-formatting.html -
Replied To a Post in Log in form
get rid of me.close because it exits your application -
Began Watching Log in form
Good Day, how can i put a username and password in form? in Visual Basic 2008 -
Replied To a Post in Log in form
Maybe If TextBox2.Text = "qwerty" Then -
Began Watching password
hi why does this prompt a wrong pass? plss help. :( Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "Username" And TextBox2.Text = … -
Replied To a Post in password
In Textbox2.text you have "Password Then" maybe it should only be "Password" , jsut guessing -
Replied To a Post in Create Multiple Textboxes and labels in different forms
I am using vb express 13 and office 7. I have a form and one button to open Excel and populate some cells. The following code I have modified some … -
Replied To a Post in Panel Controls array and Z ordering
No it doesn't mean this. If you create the controls during design time you can use the tag property or maybe the name of the control. If you create them … -
Replied To a Post in Create Multiple Textboxes and labels in different forms
I just checked out this example and it is excellent "adding multiple TextBoxes to a form (control array)" -
Replied To a Post in Create Multiple Textboxes and labels in different forms
Bilaluddin I have used your new code. I do get a misalignment if the form is too small and I need to enlarge it. On a maximised form I do … -
Replied To a Post in Circles and Labels (snake and ladder)
O.K. the irst thing I would do is to make a list of what you want to achieve in each step. Once you have done this I would create small … -
Began Watching vb.net ToolStripMenuItem
I have a simple question, I have the following menu. Main Menu Sub Menu 1 Sub menu 2 Sub menu 3 Sub sub menu 3.1 Sub sub menu 3.2 Sub … -
Replied To a Post in vb.net ToolStripMenuItem
Just double click on "Sub sub menu 3.3" and add something like this: Private Sub LoadForm2ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles LoadForm2ToolStripMenuItem.Click Form2.Show() End Sub also check this link … -
Began Watching Create Multiple Textboxes and labels in different forms
Hi, In Form 3 I have one Text box and Button. Question #1: If I enter 200 value in Form3 Texbox.1 And button1 click and then next I want to … -
Replied To a Post in Create Multiple Textboxes and labels in different forms
Just tried your code. Just removed 'AddHandler newbox.TextChanged, AddressOf TextBox_TextChanged because it threw an error. Textboxes line up ok.  -
Began Watching data source
Hello. How can i know the data source of my sql 2008? Dim strconnection As String = "Data Source=.............;Initial Catalog=DatabaseConnection;Integrated Security=True;" How am i suppose to know the the data … -
Replied To a Post in data source
'SQL Connection String sConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\yourdatabase.mdb" -
Replied To a Post in Circles and Labels (snake and ladder)
You need to fill the shape OvalShape1.FillColor = Color.BlanchedAlmond You can't move the shape on top of other controls but other shapes http://msdn.microsoft.com/de-de/library/microsoft.visualbasic.powerpacks.shape.bringtofront.aspx Instead of labels maybe use rectangular shapes … -
Began Watching Compering values in acess2007 with Values entered in Vb 2010
I'm faceing a problem with compering the values of the Acess with the values that the user enters. The user should enter his /her username and password and choses the … -
Replied To a Post in Compering values in acess2007 with Values entered in Vb 2010
Your login code doesn't make much sense If UsernameTextBox.Text = "" And PasswordTextBox.Text = "" Then MessageBox.Show("Enter your username & Password", "Login Error", should be : If UsernameTextBox.Text = "" … -
Replied To a Post in Circles and Labels (snake and ladder)
Which version of vb do you use? Also show us the code you have done sofar, otherwise I don't know where to start off. -
Replied To a Post in Circles and Labels (snake and ladder)
Labels have only one forecolor. You need to use a picture box, rich textbox or create your own cutom control. -
Began Watching data table will not populate with complex sql select statement
Below is the code I am using: Dim safe10_comp As Integer Dim ref_date As Date Dim dr As DataRow Dim dt As DataTable = New DataTable() Dim da As OleDb.OleDbDataAdapter … -
Replied To a Post in data table will not populate with complex sql select statement
Are you pointing to your database location? Something like this: AccessConnect = "Driver={Microsoft Access Driver (*.mdb)};" & _ "Dbq=nwind.mdb;" & _ "DefaultDir=C:\program files\devstudio\vb;" & _ "Uid=Admin;Pwd=;" -
Began Watching login form using mysql
Public Sub login() SQLConnection.ConnectionString = ServerString cmd.Connection = SQLConnection SQLConnection.Open() cmd.CommandText = "SELECT employee_id, password FROM employees_list WHERE employee_id='" & Form1.EMPLOYEE_ID_txt.Text & "' and password='" & Form1.PASSWORD_txt.Text & "'" dr … -
Replied To a Post in login form using mysql
You are not pointing to your tabase location, something like: AccessConnect = "Driver={Microsoft Access Driver (*.mdb)};" & _ "Dbq=nwind.mdb;" & _ "DefaultDir=C:\program files\devstudio\vb;" & _ "Uid=Admin;Pwd=;" -
Began Watching Circles and Labels (snake and ladder)
How to create two circle shape (circle shapes will work as token for 2 players ) in snake and ladder game. I can’t see any control for that ? Here … -
Replied To a Post in Circles and Labels (snake and ladder)
To use the shapecontrol you need to load down the powerpack off the MS website and folow the install instructions: http://msdn.microsoft.com/en-us/vstudio/bb735936 -
Began Watching can I add a subitem after the add item's code? (please see details)
Private Sub dow30_1min() command("Dow 30", "http://www.investing.com/indices/us-30-futures-technical?period=60", "1 minutes") End Sub Public Sub command(ByRef name As String, ByRef webadd As String, ByRef time As String) WebBrowser1.Navigate(webadd) Dim a As String Dim … -
Replied To a Post in can I add a subitem after the add item's code? (please see details)
You are confusing me with headline of yourThread and what you wrote underneath. What is you question? -
Began Watching mousclick X • Y
Good day. Ask for help, I want to create a program that would mechanically clicked the coordinates (x = 935, y = 115). I I click the button and he … -
Replied To a Post in mousclick X • Y
Not sure what you want. You click a button and this moves the mouse to the coordiantes? In the form or in thr screen? Or you want to click one … -
Began Watching Problem with search function
I'm having problem with my search function which now search anything related to letter or number. I want it search an exact match only from 1 column such as a … -
Replied To a Post in Problem with search function
just glancing over the code it might be better to use the string.equal method or string.compare? If _ strRow(0).ToLower.Contains(strSearch) Then -
Began Watching Expiration vb6
Can someone help me I'm having some problem with this. I am supposed to make a sytem that will alert if the medicine was expired. here is my code. Private … -
Replied To a Post in Expiration vb6
Can't see how you declared 'expirationdate'. It looks! like 'datepicker.value' is a date where as expirationdate is string? -
Began Watching Panel Controls array and Z ordering
Hello everyone, I am making a custom control which inherits the standard windows Panel object. My control has the ability to align all of the controls in the panel to … -
Replied To a Post in Panel Controls array and Z ordering
Maybe the Tag propert can help you. For Each objControl As Control In form1.Controls If TypeOf objControl is Button Then If objControl.Tag <> objControl.Text Then '---Changes have been made!--- End …
The End.