Search:
Type: Posts; User: mquamar
Search:
Search took 0.04 seconds.
-
I am trying to create a simple WITSML formatted document in .net; could someone please help?
-
jmcilhinney,
I've gone through the articles in Codebank but not sure what to do in the following code where I have marked with ???. I need to read data from table [Employee] and write that data to...
-
Yes, this needs to be done in VB.Net.
-
I have two MS Access database; Mydb1 and Mydb2. I would like to do the following:
1. Copy all records in table (MyTable1) from Mydb1 to Mydb2. MyTable1 also exists in Mydb2
2. Move all...
-
The following code gives me an exception:
"Object reference not set to an instance of an object."
For n As Integer = 1 To i
DirectCast(Me.Controls("txt" &...
-
I have a few text boxes on my form (txt1, txt2, txt3...) and would like to assign values to them based on the index.
I not sure how to describe but Something similiar to the following:
dim...
-
Could you please help me with some sample code?
-
I have an SQL statement like:
SELECT FNAME, LNAME, CITY from EMPLOYEE
How do I create a multi-dimensional array from a datareader which should store values like:
John, Doe, LA
Mike, Johnson,...
-
-
I am trying to create an event handler cboJob for two combo boxes (cboJob1 and cboJob2)
-
I have two comboxes inside a panel and have the following code which generates an error "Object reference not set to an instance of an object." on the line marked with *****
Private Sub...
-
Actually I have just noticed that the file path had a typo; it works fine now.
The exception was not generating any errors for some reasons.
-
I am trying to add an image to button but it errors out on line marked with ****
For i As Integer = 0 To 4
Dim B As New Button
Me.Controls.Add(B)...
-
Thanks... It worked great.
I just had to add StringComparison.InvariantCultureIgnoreCase t o ignore the case.
-
the combobox is unbound and filled manually (cboCity.items.Add(sCity))
-
I have three controls on my form; Textbox1, cboCity, lstCity
When something (lets say "a") is entered in the TextBox1; I want to get each and every item in combobox cboCity that starts with "a"...
-
I do not want to display the time; only need the date string.
-
How to I convert/format a textbox entry 0215 to either 02/15 or 02/15/2012
-
How do I extract the file path from the following connection string?
Dim Con = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Data\MyApp\MyDB.mdb;Jet OLEDB:Database Password=MyDbPassword;"
-
-
Please review the following code; it is not able to trap the error and the code
errors out (OleDbException was unhandled) on the code marked with *
Private sub SaveEmployee()
...
-
-
I do not want to use date/time control at all. I want to have a text box and have flexibility to enter dates in many different ways.
2/17 or 2-17 or 02/17 or 2/17/2012; it will convert to ...
-
How do I make a textbox control to accept dates only and convert to a valid date format? I don't want to use the calander control.
e.g.
if I enter 2/17 or 2-17 or 02/17 or 2/17/2012; it will...
-
-
How do I reference txtCourse1.text and txtDept1.text using an index variable similar to to code below which does not work?
'two controls on the form
txtCourse1.text
txtDept1.Text ...
-
Thanks, I will follow your directions.
-
How do I convert the following ASP code (vb.net) to win form (vb.net)? I get a n error on ViewState.
Protected Sub TextBox_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs)...
-
How do I check if the original value of a text box has been modified?
I have a few textbox controls on a form. When form loads; user enters data in these fields but later change his mind and...
-
My apology... It is DataGridview.
-
I have a form with many text tboxes; 5 text boxes (columns) in each row; each row will become a record.
FName1 LName1 SSN1 EmpID1 Dept1
FName2 LName2 SSN2 EmpID2 Dept2...
-
I was suppose to rename frmInvoice to frmZipCode...
I'v tried your code; ENTER key works but TAB will not respond.
-
Public Class frmZipCode
Private Sub frmZipCode_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.KeyPreview = True
End Sub
Private Sub...
-
I am not sure what you are asking me to do but I have modified it to be a complete code.
-
I am trying to do the following:
1. When ENTER key is pressed in txt1.text (zip code as numeric only); validate zip code against a list in a combo box cboZip (string value). If it exists then tab...
-
Thanks, ident; it worked great.
-
Here is the code..
If (e.KeyCode = Keys.Tab) Then
MessageBox.Show("Tab Key")
End If
My default focus is on a textbox which accepts only numeric values. I enter...
-
I thought it was simple but i guess it's not...
How do I detect when the tab key is pressed in a textbox?
I've tried the following code in KeyPress, KeyDown, Leave, etc. events but the tab is not...
-
txt1.text accepts numeric value (zip code); I validate the zip code.
-
The button btnExit needs to be enabled since it's an EXIT button and can be clicked regardless of what was entered in txt1.text.
|
Click Here to Expand Forum to Full Width
|