20,284 Topics
| |
I just ran into an assignment that says: let the user enter a word, then displays the "Unicode base 10 number" for "each" letter in that word. Example: enter "Aretha", the label should then display "A = 65 r = 114 e = 101 t = 116 h = 104 … | |
hi this is my coding when i run this coding for display the content in textboxes from the database by click event in datagrid. "Procedure or Function 'sp_developer_display' expects parameter '@developerid', which was not supplied." this error will display my sp in sql express is [code=text] ALTER PROCEDURE dbo.sp_developer_display ( … | |
Hi everyone! I was doing programming and ran into this assignment. It says: create a "textbox1" to let the user enter a sentence. Then create a "textbox2" to let the user enter the text they want to remove. Then create a "textbox3" to let the user enter the word they … | |
hi guys lately I've been experiencing LinqToSql + Sql Server Express 2005, and it was a great journey (muddy) anyway .... I'm at the point that I want to make a Backup/Restore for the database backup for SSE is as easy as a simple copy paste of the mdf file, … | |
Hi, I'm just about finished making my browser but i need to find a way so that i can make it the default internet browser, when it loads, it sets itself as the default program for internet browsing but so far all iv managed is setting it as a program … | |
Dear Sir, My datagridview has four column while press tab, i want to column2 not to get focus. Please help | |
Hi i am trying to write-read data from serial port but it don't work my code look like this [CODE] Private comPort As New SerialPort comPort.PortName = cboCom.Text comPort.Parity = Parity.None comPort.DataBits = 8 comPort.StopBits = StopBits.One comPort.BaudRate = CInt(cboSpeed.Text) comPort.Handshake = Handshake.None comPort.Open() 'Write GPS command comPort.WriteLine("$PSRF103,00,00,01,01*25") [/CODE] and … | |
Hi all,i'm trying to show menu items based on user rights.. I'm using database to store the menu names and the user position like this [CODE] position menu admin mnuUser admin mnuEmployee [/CODE] I named the submenu items name to mnuxxxx.Suppose it was the admin who logged in,then the menu … | |
[code] Private Sub btnlogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnlogin.Click Dim cmd As New OleDb.OleDbCommand("select * from tblPassword where name='" + txtUsername.Text + "'", conn) conn.Open() Try Dim rdr As OleDb.OleDbDataReader = cmd.ExecuteReader If rdr.Read Then Dim p As String = rdr(1) If txtpassword.Text = p Then … | |
I am writting an application in VB using VS2008 and SQL2005. I would like to save an array to my database and later retreive it. I understand that I need to serialize the array to do this but don't understand the process. I have looked at various resources on the … | |
Hello All, I am in a roadblock right now and I really need some help on the code below. What I wanted to do is close all opened workbooks. This code does the work IF there is at least one or more opened workbooks. My problem is IF there is … | |
i've written this code, it works. whenever I click the OK button of the NewModel.vb, it will insert a new record, then the datasource of the datagridview will be reinstantiated and rebinded with all the records in the database. the datagridview will be rebinded with the records from the database. … | |
[code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' declare constants and variables Dim cm As Integer Dim m As Double Dim g As Integer Dim kg As Double mtextbox.Text = "" kgtextbox.Text = "" ' converting from cm to m Integer.TryParse(cmTextBox.Text, cm) m = … | |
Hey guys im a fitness freak and i want to make a litle app for making workout routines.. i need guidance for a couple of things.. drag and drop images i wouder if in vb i can have a pic of lets say a man and we can click on … | |
Please this is my code to display records from my ms-access database whenever i click the [B]button next[/B]. But the code is only displaying the[B] last record[/B] in the database. Please HELP is needed. I have tried using for loop but it is giving me error. [code] Imports System.Data.OleDb Public … | |
Dear Sir, SQL SERVER 2005, Table1 has data as follows Date----------sno----------name 14/01/10------1-------------A 14/01/10------2-------------B 14/01/10------3-------------C The Primary key is on SNO I want to apply primary key on sno+date columns I want to enter sno on daily basis as 14/01/10------1-------------A 14/01/10------2-------------S 15/01/10------1-------------D 15/01/10------2-------------U I want to use these codes before inserting … | |
i want to display the inserted row to my datagridview. how can i accomplish this? [CODE=vb] Imports System.Data.SqlClient Public Class Model Dim sqldata As SqlDataAdapter Dim modeldata As New DataSet Dim sqlquery As String Dim conn As New SqlConnection Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles … | |
Hi all I just joined the forum, its really helpful. But I have a problem in mobile applications development. I need to know how can I develop a mobile application using VB.NET in visual studio.net and deploy it on nokia and sony ericsson mobile phones ( symbian based) . Please … | |
Dear Experts [CODE]str = "Select * from gpass where vou_no= " & Val(Me.txtGat.Text) And Date = Me.txtDat.Text[/CODE] what is wrong in codes, please modify [CODE]Dim cmd As New SqlClient.SqlCommand("update gpass set c=@c, bno=@bno, code=@code, vehicle_no=@vehicle_no,trasportr=@transportr,time=@time where vou_no = & Val(Me.txtGat.Text) and Date = me.txtdat.text)", con)[/CODE] what is wrong in codes, … | |
My vb app uses an icon which is 128x128, which looks fine on the desktop. But when viewed in a folder with View set to Extra Large Icons its size doesn't change - it is too small (smaller than 128x128). Any ideas how I can rectify this? | |
Dear Sir My question is in wed application how can we mention connection string without writing the drive in which database is present.I don't know how i I use web config file to write connection string.Please help.[code]Partial Class supports Inherits System.Web.UI.Page Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\progr2\App_Data\Database\health.mdb;Persist Security Info=False") Public … | |
Hello- I am trying to create a program that will allow a user to enter in checking or savings data; date, type of transaction (deposit or withdrawl), display the previous balance and the new balance based on the new transaction entered. I cannot figure out how to locate the element … | |
hi everyone im trying to update access from vb.net application. when excuting im getting this error: the microsoft.jet.oledb.4.0 source="c:\...."provider was not registered on the local machine. when i go and run cmd to register ddl files. i was able to register msjet40.dll and msjetoledb40.dll with the other dll a box … | |
Ok so this is what i want to do, i made a textbox where people are supposed to type in their STEAM username, i want to download a file that will download itself into: C:\Program Files\Steam\Steamapps\USERNAME FROM TEXTBOX\Cstrike\CFG\ so let's say my username is dZ_Saint, and i type that into … | |
I'm really a novice and I'm trying to draw a thermometer that moves up or down with temp change. I created a second form on my project for the thermometer and access it using Thermometer.Showdialog((). Then on the thermometer form, I'm using this code: [CODE] Private Sub ThermometerForm_Paint(ByVal sender As … | |
Hey,just have a problem with some code,just starting out Its basically a guessing game in vb [CODE] Public Class frmMain Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGuess.Click Dim randNum As Integer Dim guess As Integer = Convert.ToInt32(txtGuess.Text) Randomize() randNum = Int(20 * Rnd()) + 1 … | |
hi guys, can i ask how do i check for validation for my username field if last letter must be an alphabet? the username is in the format of 7digit + alphabet i had successfully check for the first 7 digit using isnumeric substring 0,7 but i have no idea … | |
hi this is my coding when i run this coding for display "Procedure or Function 'sp_developer_display' expects parameter '@developerid', which was not supplied." this error will display my sp in sql express is ALTER PROCEDURE dbo.sp_developer_display ( @developerid int ) AS /* SET NOCOUNT ON */ select developercode,developername,qualification,dateofjoin,designation,experience,knownsoft from tst_m_developermaste … | |
Dear Experts I have applied following custom Format to DateTimePicker dd-MM-yyyy So now DateTimePicker is displaying data as 15-01-2010 Sql server 2005, table1 has column named Date with datetime type How to store DateTimePicker text into date column of Table1 I want to save only date not time as 15-01-2010 … | |
Dear Sir. I use following codes to to convert string to date. In messagebox it displays correct date with format but in textbox it displays only #12:00:00 AM # How to send date to textbox1 from variable mydate Please help [CODE] Dim mydate As Date Dim dateString = "31/12/2009" Dim … |
The End.