Forum: VB.NET Aug 8th, 2008 |
| Replies: 3 Views: 1,301 Hi,
Add another MainForm, And make it MDIForm by setting the property (ISMSI=True). Create Menus to show different forms. and In MenuClick, Show the Forms (In Modal)..
Regards
Veena |
Forum: VB.NET Jul 6th, 2008 |
| Replies: 5 Views: 670 Hi,
You need to First Create a Public User, in "SQL Server Authentication Mode" .
and give permission to the database.
Also Select Default Database for this User.
And You need to login thru... |
Forum: VB.NET May 22nd, 2008 |
| Replies: 3 Views: 980 Hi,
Check the MSDN Help:
For each property, you can specify an integer between -32768 and 32767
inclusive.
Regards
Veena |
Forum: VB.NET May 15th, 2008 |
| Replies: 3 Views: 3,624 Hi,
Sorry..
Check this link:
http://www.gamerzplanet.net/forums/visual-basic/247884-settings-file-reader-writer-vb2008.html
REgards
Veena |
Forum: VB.NET May 15th, 2008 |
| Replies: 3 Views: 3,624 Hi,
Check this link:
"http://www.gamerzplanet.net/forums/visual-basic/247884-settings-file-reader-writer-vb2008.html"
Regards
Veena |
Forum: VB.NET Apr 16th, 2008 |
| Replies: 4 Views: 1,918 Hi,
Try this condition :
If Combo1.SelectedIndex = 0 Then
' Code to disable
Else
' Code to Enable
End If |
Forum: VB.NET Apr 16th, 2008 |
| Replies: 3 Views: 1,426 Hi,
I guess, you can use this :
MsgBox("Selected Rows : " & DataGridView1.SelectedRows.Count.ToString())
Regards
Veena |
Forum: VB.NET Apr 16th, 2008 |
| Replies: 14 Views: 14,052 Hi,
Try This :
Private Sub Text1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Text1.KeyPress
If e.KeyChar <> ChrW(Keys.Back) Then
... |
Forum: VB.NET Apr 11th, 2008 |
| Replies: 1 Views: 528 Hi,
Check this link:
http://www.a1vbcode.com/app-3859.asp
REgards
Veena |
Forum: VB.NET Aug 25th, 2007 |
| Replies: 3 Views: 2,748 Hi,
I dint get u, U already r appending outside the loop, what u want to do here..?
REgards
Veena |
Forum: VB.NET Aug 23rd, 2007 |
| Replies: 5 Views: 2,188 Hi,
.net dosent have a special Script Control. so u need to use COM script. Check this (http://searchvb.techtarget.com/tip/0,289483,sid8_gci1045916,00.html)
Regards
Veena |
Forum: VB.NET Aug 22nd, 2007 |
| Replies: 16 Views: 5,765 Hi,
then mark the thread as Solved....
Since it was not marked, i thought , ur problem is still hanging..
Regards
Vee |
Forum: VB.NET Aug 20th, 2007 |
| Replies: 16 Views: 5,765 Hi,
ur SQL Statemnt should contain all the 3 tables names:
sql = "SELECT ThresoldTable.* FROM thresholdTable,Configuration,Consistency Where Configuration.Configuration =... |
Forum: VB.NET Aug 20th, 2007 |
| Replies: 16 Views: 5,765 Hello,
u cant give the thresholdTable name in Dataset like that...
Proper Syntax is:
Dim da As OleDbDataAdapter = New OleDbDataAdapter(sql, conn)
da.Fill (MydataSet,"ThrTable") |
Forum: VB.NET Aug 19th, 2007 |
| Replies: 16 Views: 5,765 Hi,
Post the whole SQL Statement here. Such error occur when u have Mis-Spelled the Column Or Table Name.
I noticed it now Remove the Comma in the Relationship and give AND there. Check This:
... |
Forum: VB.NET Aug 19th, 2007 |
| Replies: 4 Views: 3,427 Hi,
Start with Access (mdb) file.
Collect all the necessary info u need to store in db. then u can start designing the database. If this is ok, and if ur DB is huge, u can shift to SQL Server.
... |
Forum: VB.NET Aug 19th, 2007 |
| Replies: 16 Views: 5,765 Hi,
In case u have one more table, include that also in SQL Statement and give appropriate links..
Regards
Veena |
Forum: VB.NET Aug 19th, 2007 |
| Replies: 16 Views: 5,765 Hi,
Then give one more condition in where:
sql = "SELECT T.* FROM thresholdTable T, Configuration C Where C.Configuration = T.Config And C.Consistency = T.Consistency"
u can give any... |
Forum: VB.NET Aug 18th, 2007 |
| Replies: 16 Views: 5,765 Hi,
check this:
sql = "SELECT T.* FROM thresholdTable T, Configuration C Where C.Configuration = T.Config"
Regards |
Forum: VB.NET Aug 17th, 2007 |
| Replies: 9 Views: 14,284 Hi,
I just didnt realise that.. Yes u will have to use StreamWriter, to write the file..
Any way, good, ur problem is solved..
Regards
Veena |
Forum: VB.NET Aug 13th, 2007 |
| Replies: 5 Views: 6,794 Hi,
Check This (http://www.activexperts.com/activsms/howto/gsm/vbnet/) and also Download examples from the same site...
REgards
Veena |
Forum: VB.NET Aug 13th, 2007 |
| Replies: 13 Views: 3,767 Hi,
I'am not clear what u r asking for..?
Did u mean to use "CStr()" Function..?
Regards
Veena |
Forum: VB.NET Aug 13th, 2007 |
| Replies: 5 Views: 2,188 Hi.
Check This (http://vb-helper.com/howto_net_use_vsa.html)
Regards
Veena |
Forum: VB.NET Aug 12th, 2007 |
| Replies: 9 Views: 14,284 Hi,
Have u tried my code..?
Regards
Veena |
Forum: VB.NET Aug 12th, 2007 |
| Replies: 2 Views: 3,979 Hi,
if u r talking abt Serial Port then check this (http://www.codeworks.it/net/VBNetRs232.htm)
Regards
Veena |
Forum: VB.NET Aug 12th, 2007 |
| Replies: 1 Views: 508 Hi,
Read This Step By Step (http://www.oracle.com/technology/pub/articles/cook_dotnet.html) Intsructions
Regards
Veena |
Forum: VB.NET Aug 12th, 2007 |
| Replies: 7 Views: 7,576 Hi,
use Val() function check this :
num1 =Val(InputBox("Please enter a number"))
Even if user enters some Text chars, u get its value as zero..
May be u can write check after that to... |
Forum: VB.NET Aug 10th, 2007 |
| Replies: 18 Views: 3,806 Hi,
Just Get the Stored procedure to output these parameters, If the Search is Matched..:
TableName, FieldName, FieldValue, ID of the Matched record.
If user selects some thing from the... |
Forum: VB.NET Aug 9th, 2007 |
| Replies: 1 Views: 512 Hi,
Download the Source/Demo file of DataBound ListView Control HERE (http://www.codeproject.com/useritems/DBListViewForV2.asp).
It is for ASP.net, easily, u can convert it to ur VB.net... |
Forum: VB.NET Aug 9th, 2007 |
| Replies: 2 Views: 2,105 Hi Kshiteesh,
few points what i have noted here...:
1. Before Creating the DataAdapter, u are not checking if "S" is blank or not.. the error which u have may be the same..
or else in ur... |
Forum: VB.NET Aug 8th, 2007 |
| Replies: 9 Views: 14,284 Hi,
OK, then u need to parse the whole text file..
Open the TextFile, read the Contents, and check if the Hotsname is already present... else add..
check this code:
Dim sw As... |
Forum: VB.NET Aug 8th, 2007 |
| Replies: 2 Views: 2,162 Hi,
Use DataReader which is very fast. Check This Code:
Dim cn As OleDbConnection
Dim cmd As OleDbCommand
Dim dr As OleDbDataReader
cn = New... |
Forum: VB.NET Aug 7th, 2007 |
| Replies: 6 Views: 8,858 Hi,
u can also check this (http://aspalliance.com/articleViewer.aspx?aId=138)
Regards
Veena |
Forum: VB.NET Aug 7th, 2007 |
| Replies: 18 Views: 3,806 Hi,
u can check the Storedprocedure here (http://vyaskn.tripod.com/sql_server_search_and_replace.htm)
It Checks and Replaces, u can modify it to Check and Return back...
Regards
Veena |
Forum: VB.NET Aug 7th, 2007 |
| Replies: 18 Views: 3,806 hi,
In Total how many tables do u need to do search operation..?
If Many Tables, and many recs in each table, then this will be a huge Overhead on the database.
But if u need to do it... |
Forum: VB.NET Aug 7th, 2007 |
| Replies: 1 Views: 6,521 Hi,
Keep a Public Project Level Variable To Populate Building Selected in first Form. And While Loading Second Form Filter Records for only the Selected Parameter using "Where" Condition in the... |
Forum: VB.NET Aug 7th, 2007 |
| Replies: 18 Views: 3,806 Hi,
What is the Database u r using..? Access..?
-Vee |
Forum: VB.NET Aug 7th, 2007 |
| Replies: 18 Views: 3,806 Hi,
what u actually want..? Search all the fields of all the tables for any one Specific condition...?
-Vee |
Forum: VB.NET Aug 7th, 2007 |
| Replies: 11 Views: 4,967 Hi,
Sorry that was C code not vb
And Recordset Object does exist in VB.net..
check this :
Dim conStr As String = "Provider=Microsoft.JET.OLEDB.4.0;data source=K:\Database\db1.mdb"
Dim... |
Forum: VB.NET Aug 2nd, 2007 |
| Replies: 11 Views: 4,967 Hi,
Check this Code:
Add a Datgrid to ur Form.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
dim sSQL As String
Dim DA As... |