Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #2K
~13.7K People Reached
Favorite Tags

33 Posted Topics

Member Avatar for markdean.expres

You can use the IsNumeric boolean property [code] If(IsNumeric(...)) Then msgbox("is a number") End If [/code]

Member Avatar for Mitja Bonca
0
97
Member Avatar for abhay1234

Hello, I am trying this.. [code] Imports System.Data.OleDb Public Class Form1 Dim conn As OleDbConnection Dim cmd As OleDbCommand Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click conn = New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0; Data Source=c:\nikhil.mdb") conn.Open() Dim row As DataRowView=ComboBox1.SelectedValue Dim row1 As DataRowView = ComboBox2.SelectedValue Dim row2 …

Member Avatar for P.manidas
0
330
Member Avatar for markdean.expres

[code] Try 'your code here Catch ex As Exception MsgBox(ex.Message) End Try [/code]

Member Avatar for markdean.expres
0
110
Member Avatar for atticusr5

Hi, [code] Do While i < Crayola.Length - 1 If (userInput = Crayola(i)) Then MsgBox("found") Exit Do ' put an exit Else i = i + 1 End If Loop [/code]

Member Avatar for abhay1234
0
68
Member Avatar for abhay1234

Hello I tried a lot however I have not been able to update data entered in the datagridview into the database table Any suggestions [code] Imports System.Data.OleDb Public Class Form1 Dim conn As OleDbConnection Dim icount As Integer Dim datagrid1 As New DataGrid Dim da As OleDbDataAdapter Dim ds As …

0
56
Member Avatar for ndeniche

simply use "isnumeric" [code] If Not (IsNumeric(NumBox1.Text)) Then MsgBox("put only numbers") End If [/code]

Member Avatar for PdotWang
0
2K
Member Avatar for bettybarnes
Member Avatar for whin_lopez

[code] Dim n As Integer = DataGridView1.Rows.Add() ListBox1.Items.Add(DataGridView1.Rows.Item(n).Cells(0).Value) [/code] just put an array Cells(i)

Member Avatar for whin_lopez
0
95
Member Avatar for zerubbabel

create database test10.mdb and create a table ..name it as "table1" add columns "username" and "password" In asp.net add two textboxes and a button put this code in button [code] Imports System.Data.OleDb Partial Class _Default Inherits System.Web.UI.Page Dim conn As OleDbConnection Dim cmd As OleDbCommand Dim i As Integer Protected …

Member Avatar for abhay1234
0
82
Member Avatar for Netcode
Member Avatar for abhay1234
0
272
Member Avatar for vegaseat

i think Kate Winslet deserves to be the one. Basically i liked her nude scene in Titanic:icon_wink: dont take me wrong. We hardly see art of that kind nowadays. check out what masturbation is for at www.freedom2312.blogspot.com

Member Avatar for JamieLynnSEO
0
1K
Member Avatar for 123mehran

use isnumeric [code] If (IsNumeric(TextBox1.Text)) Then MsgBox("correct") Else MsgBox("incorrect") End If [/code]

Member Avatar for fawadkhalil
0
99
Member Avatar for bettybarnes

why not use a textbox to enter the id [code] str = "delete from blood_chemistry where BC_form_ID='" & Bc_form_id.text & "'",cs) [/code] enter the id in textbox... Bc_form_id.text

Member Avatar for bettybarnes
0
5K
Member Avatar for denmarkstan

[code] <%@ Page Language=VB Debug=true %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.SQLClient" %> <script runat=server> Sub Page_Load(ByVal Sender as Object, ByVal E as EventArgs) ' or button click event If Not IsPostBack Then Dim DBConn as SQLConnection Dim DBCommand As SQLDataAdapter DBConn = New SQLConnection("server=localhost;" _ & "Initial Catalog=TT;" …

Member Avatar for kvprajapati
0
143
Member Avatar for sweetkinjal

if using vb as ur asp.net language you can refer this for sql server [url]http://www.vbdotnetheaven.com/uploadfile/mahesh/createsqldatabase04252005064419am/createsqldatabase.aspx[/url]

Member Avatar for kvprajapati
0
313
Member Avatar for abhay1234

Hello i have created a webpage for a project using jsp in netbeans. I have created a listbox. I want it to display data from database(MS-access) and I should then be able to modify data in database like I should be able to change an entire record through the listbox …

Member Avatar for abhay1234
0
183
Member Avatar for abhay1234

I have decided to create Bulls and Cows game for my project. I have been checking for it's correctness. But it behaves bad in some cases. Like when I have already guessed the word it doesn't respond right. This happened rarely but I can conclude that it still is not …

Member Avatar for Teme64
0
308
Member Avatar for vaultdweller123

its a curse to them ..however lets look at the positive side www.freedom2312.blogpsot.com shows beautiful puppy pictures www.change-is-refreshing.com

Member Avatar for briangreen143
0
802
Member Avatar for abhay1234

hi the problem is when i use my own word eg here "jose" the results are correct but when i use random string it doesnt work the same here's my code [code] Imports System.Text Public Class Form2 Dim guess As String = " " Dim bulls As Integer = 0 …

Member Avatar for abhay1234
0
87
Member Avatar for abhay1234

heres the code [code] <%@ Page AspCompat ="true" %> <html xmlns="http://www.w3.org/1999/xhtml" > <body> <% dim adoconn Dim rsnikhil dim ssql%> <%adoconn = Server.CreateObject("ADODB.Connection")%> <%adoconn.Open("Provider=Microsoft.Jet.OLEDB.4.0;DataSource=c:\nikhil.mdb;")%> <% rsnikhil = Server.CreateObject("ADODB.Recordset")%> <%ssql = "SELECT * FROM kulkarni" rsnikhil.open(ssql, adoconn) %> <% Do While not rsnikhil.EOF Response.Write(rsnikhil("name")) Response.Write(rsnikhil("comments")) rsnikhil.MoveNext loop %> <% rsnikhil.close() rsnikhil …

0
56
Member Avatar for abhay1234

i wish to create a cookie for an html form. I wish to get value from textbox(how do i do this). i wish to get the values displayed when i click the submit button my code [code] <html> <body> <form> <button type="button" name="rollno">rollno</button> <input type="text" name="rollno"> <br> <button type="button" name="name">name</button> …

0
59
Member Avatar for abhay1234

I have this code [code] Public Class Form1 Private connectionstring As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=c:/testn.mdb" Dim conn As New System.Data.OleDb.OleDbConnection(connectionstring) Dim cmd As New System.Data.OleDb.OleDbCommand Private ssql As String Dim dr As System.Data.OleDb.OleDbDataAdapter Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click conn = New System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;data source=c:\nikhil\testn.mdb") …

Member Avatar for kvprajapati
0
106
Member Avatar for saphireina

for my own practice i leave the calculation part to you try using constructors (methods with same name as class) [code] class Employeepay { private int salary_net; private int gross; private int noofhrs; public void setters(int sal,int gr,int noofhr) { salary_net=sal; gross=gr; noofhrs=noofhr; } } class betterEmployeepay extends Employeepay { …

Member Avatar for saphireina
0
137
Member Avatar for slade2627

Add list box to form and add entries("strings") try this [code] Public Class Form1 Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged Select Case ListBox1.SelectedIndex Case 1 MsgBox(ListBox1.SelectedItem) Case 2 MsgBox(ListBox1.SelectedItem) End Select End Sub End Class [/code] oops i used .net

Member Avatar for abhay1234
0
93
Member Avatar for Xufyan
Member Avatar for Xufyan
0
1K
Member Avatar for jez23

why dont u try Bulls and Cows game.I will help. game: guess the word eg: help if i guess "abef" ...bulls:0 cows 1 if the letter is there in the guess but not at the same position cows are counted .If the letter is at the exact position bulls are …

Member Avatar for abhay1234
-3
314
Member Avatar for abhay1234

ok i know connecting access. i want to learn database connectivity using sql server in vb.net. How do i create a table in sql server in vb.net visual studio i dont have sql server installed in my pc also performing database manipulation in windows application(i have been doing it in …

0
63
Member Avatar for abhay1234

hello again i wrote a class but not able to see the output in visual studio [code] Public Class Class1 Public Shared Sub Main() Console.WriteLine(Min(10.1, 10)) Console.WriteLine(Min("last", "first")) Console.WriteLine(Min(#1/1/2000#, #3/4/2000#)) Console.ReadLine() End Sub Overloads Shared Function Min(ByVal dblA As Double, ByVal dblB As Double) As Double Min = IIf(dblA < …

Member Avatar for abhay1234
0
88
Member Avatar for abhay1234

hello. I tried this with a bit of search. I wish to have freedom while typing text in my web page. I want the right margin to be fixed so that when i type text all aligns along the right margin. I tried tables but not satisfied [code] <html> <body> …

Member Avatar for Dr.Nour
0
71
Member Avatar for abhay1234

Dear sirs, I am trying to learn vb.net in 2005 and 2008.Where can i get good tutorials to learn basic as well as advanced. OOPs and web development etc. thank you

Member Avatar for abhay1234
0
202
Member Avatar for abhay1234

i was trying to run a program on RMI i did the following [code] import java.rmi.*; public interface HelloInterface extends Remote { public int add() throws RemoteException; } [/code] [code] import java.rmi.*; import java.rmi.server.*; public class Hello extends UnicastRemoteObject implements HelloInterface { private int m,n,message, k,l; public Hello (int m,int …

Member Avatar for mahkris
0
133
Member Avatar for abhay1234

Hello. i wish to create a jsp page which will accept username and password from list and display a page showing the selected details when clicked on submit [code]<html> <head><title>course information form </title></head> <body> <form action="course_details.jsp" method="post"> username: <select name="username"> <option>nikhil</option> <option>avdhut</option> <option>gauri</option> </select> <select name="course"> <option>MCA</option> <option>MBA</option> <option>MCM</option> <input …

Member Avatar for javaAddict
0
135
Member Avatar for abhay1234

Hi. i am trying to learn c# I have newly installed Visual studio dot net 2005. i typed the following program but not getting ouptut i did file->new->file->visual c# i tried the following code [code] // Namespace Declaration using System; // Program start class class InteractiveWelcome { // Main begins …

Member Avatar for abhay1234
0
129

The End.