Forum: VB.NET Dec 11th, 2008 |
| Replies: 3 Views: 959 hi,
fetch your leave start date and end date
startdate = stdt
enddate = nddt
if currentdate >= stdt AND currentdate <= nddt
{
msgbox (".....")
} |
Forum: VB.NET Dec 9th, 2008 |
| Replies: 1 Views: 1,116 hi
you can do this using TreeView |
Forum: VB.NET Dec 8th, 2008 |
| Replies: 1 Views: 2,397 Hi,
oConn.open() statement is missing
(Data Source=NAWINSQL050;Initial Catalog=AlbatrossDB; Integrated Security=true)
oConn.open()
objFormatOut =... |
Forum: VB.NET Dec 8th, 2008 |
| Replies: 7 Views: 1,652 Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
Try
oConnOleDb = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data... |
Forum: VB.NET Dec 6th, 2008 |
| Replies: 7 Views: 1,652 try this
Dim con as new OledbConnection
con = new OledbConnection (constring)
con.open()
Dim cmd as new OledbCommand
cmd = new OledbCommand("Delete Query",con)
cmd.ExecuteNonQuery() |
Forum: VB.NET Dec 6th, 2008 |
| Replies: 7 Views: 1,652 |
Forum: VB.NET Dec 1st, 2008 |
| Replies: 7 Views: 1,652 Dim con as new OledbConnection
con = new OledbConnection (constring)
con.open()
Dim cmd as new OledbCommand
cmd = new OledbCommand("Delete Query")
cmd.ExecuteNonQuery()
cmd.Dispose()... |
Forum: VB.NET Nov 28th, 2008 |
| Replies: 2 Views: 930 Hi,
Dim con as new Oledbconnection
con = new Oledbconnection(constring)
con.open()
Dim cmd1 as new OledbCommand
cmd1 = new OledbCommand("Insert Query",con)
cmd1.executenonquery() |
Forum: VB.NET Nov 26th, 2008 |
| Replies: 6 Views: 1,596 while dr.Read()
idcombo.Items.Add(dr(0))
end while |
Forum: VB.NET Nov 24th, 2008 |
| Replies: 6 Views: 1,596 |
Forum: VB.NET Nov 24th, 2008 |
| Replies: 6 Views: 1,596 Hi,
dim con as new DqlConnection
con = new Sqlconnection(constr)
con.open()
dim objSqlCommand as new SqlCommand
dim objdr as SqlDataReader
objSqlCommand = new SqlCommand ("YOUR QUERY") |
Forum: VB.NET Nov 20th, 2008 |
| Replies: 1 Views: 331 Hi,
open Project -> "Project name" Properties
open application tab from left
select form name from startup form dropdown list |
Forum: VB.NET Nov 17th, 2008 |
| Replies: 3 Views: 3,861 Hi,
Private Sub frmDesigner_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress
If Asc(e.KeyChar) = Keys.Enter Then
... |
Forum: VB.NET Nov 14th, 2008 |
| Replies: 1 Views: 4,112 ''' <summary>
''' FUNCTION TO CALCULATE SUM OF TWO TIME VALUES
''' PASS TWO DATE VALUES AS STRING
''' </summary>
Function GetTimeSum(ByVal dt1 As String, ByVal dt2 As String) As... |
Forum: VB.NET Nov 10th, 2008 |
| Replies: 5 Views: 1,665 hi,
I think messagebox will not work in ASP.NET.
you can solve it through JAVA SCRIPT |
Forum: VB.NET Nov 7th, 2008 |
| Replies: 3 Views: 3,187 Hi,
imports System.Data.OleDb
Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=DATABASE PATH")
con.Open()
If solved please mark as solved |
Forum: VB.NET Nov 5th, 2008 |
| Replies: 1 Views: 2,268 Hi,
I want to Convert
1. HTML file into PDF file and
2. PDF file into HTML file
through code in vb.net or c#.net without using third party component |
Forum: VB.NET Oct 21st, 2008 |
| Replies: 8 Views: 656 |
Forum: VB.NET Oct 21st, 2008 |
| Replies: 9 Views: 1,758 CrystalReportViewer1.Visible = false; |
Forum: VB.NET Oct 21st, 2008 |
| Replies: 8 Views: 656 Try this
DataSet objDs;
int i = 0;
protected void Button1_Click(object sender, EventArgs e)
{
if (i == 0)
{ |
Forum: VB.NET Oct 21st, 2008 |
| Replies: 9 Views: 1,758 Private Sub CloseToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CloseToolStripMenuItem.Click
CrystalReportViewer1.ReportSource = Nothing
... |
Forum: VB.NET Oct 21st, 2008 |
| Replies: 9 Views: 1,758 Hi,
Take one button and on that Click write this code |
Forum: VB.NET Oct 21st, 2008 |
| Replies: 8 Views: 656 Hi,
There is WHILE loop to read the records
i.e. WHILE dr.read()
so it will read all the records one by one |
Forum: VB.NET Oct 20th, 2008 |
| Replies: 8 Views: 656 Hi,
try this
Dim conn As OleDbConnection
Try
conn = New OleDbConnection(My.Settings.ConnectionString)
conn.Open()
Dim asql As String = "Select... |
Forum: VB.NET Oct 20th, 2008 |
| Replies: 9 Views: 1,758 Hi,
CrystalReportViewer1.ReportSource = Nothing
If ur problem solved ,pls marked Solved |