20,899 Topics
![]() | |
[CODE] Dim InputText As String = Me.txtenter.Text Dim Letters = From c As Char In InputText.ToCharArray Select c & " = " & AscW(c) & " " Me.lblanswer.Text = String.Join("", Letters.ToArray) [/CODE] The above code is to convert each letter in a word or phrase (including the space) to its … | |
I'm a real newbie to ASP, I'm afraid. I have a windows app that I have written in Visual Basic 2008 using Visual Studio. Could I use ASP.NET to move the app's functionality to be available over the internet? Broadly speaking, the app collects lots of data from the user, … | |
Ok so im not quite sure this is possible but i've had a lot of help here so i thought i'd give it a go. I have a batch file that i wrote that installs some programs silently (Adobe reader, nero essentials etc) and i would like to be able … | |
Hi there, i am new in VB.Net and i have problem with my VB.Net project. I want to create an application where it capable to print a report like we normally do in word and save it in the pdf format. But the problem is i dont know how to … | |
Dear Experts How to make datagridview current row bold? Please help | |
Ok, I know that I am missing something due to my lack of knowledge with Binary Serialization and wish I could find better material on it. In the mean time, thanks to one of the moderators help, I have now been able to store an array in my database. Once … | |
Hey Guys, Ok so here is my problem, i have written a failrly long batch file that automates a lot of the jobs i have to do to new machines when built (im a PC Tech) and one of the things it does is tells you your processor arcitecture type … | |
Dear freinds, I have a big issue which I have been struggling with for days now. I have a richtextbox where users Can input text and print it. My problem is that i don't want to allow more than one page to be printed so i need to prevent the … | |
[CENTER][url]http://www.4shared.com/file/199140856/ed929f06/SendEmail20.html[/url][/CENTER] [URL="http://www.4shared.com/file/199140856/ed929f06/SendEmail20.html"]SendEmail[/URL] SendEmail tool and 20 examples (C++ - C# - VB6 - VB.Net - Delphi - MSSQL - MSAccess - ASP - HTML - PHP - VBS) [LIST=1] [*][B][U][COLOR="indigo"]Prosperities:[/COLOR][/U][/B] [LIST] [*][B]From[/B]: (Optional) Set sender email, string [*][B]FromName[/B]: (Optional) Set sender display name, string [*][B]To[/B]: Set send-to email, string [*][B]ToName[/B]: … | |
Hi guys, Just wondering if there is a way to detect the windows version, form say 95 to win7, in vb.net? pardon my ignorance but im not a big coder and norm only do python. Thanks in advance. Cheers, James | |
I have an assignment that asks me to: 1. create a button 2. when that button is clicked, an inputBox will appear to ask the user how many words they will enter. 3. then display an inputBox for each word. For example, when the first inputBox appears, I enter "3" … | |
Hi everyboy! I ran into this assignment that asks me to "create an application that allows the user to enter a word or phrse, then the Label should display that word or phrase backwards in all lowercase. For example, I enter "I read" Then the label should display "daer I" … | |
I just have an assignment that tells me to do the following things. Create a button. When that button is clicked, an InputBox will appear to let the user enter a word or phrase. Then, there are 2 radio buttons: Encode & Decode When Encode is checked "True", the label … | |
Dear Experts Table gpass has data as gate-----date-----c----bno----acccode----tittle----weight-------qty 1----18/01/2010---a----2--------2----------abc-----10.00-------15 Then there are two textbox having values as txtgat.text=1 txtdat.text=18/01/2010 I these codes and it generates error message as [CODE]ArgumentOutOfRangeException was unhandled. Idex was out of range. Must be non-negative and less than the size of collection. Parameter name: Index [/CODE] … | |
Code for changing font through menu selection like "Arial"???? | |
Hello, I have a VB form with 2 comboboxes and a textbox in which a user can type into. I would like my mouse cursor to move from my 2nd combobox selection directly over to the textbox that I have on a VB form. 2nd comboboxe name: "CodeComboBox" Textbox name … | |
Hi i am trying to delete a file(s) from a checked list box, when i click a button. This is the code i have: [code] Dim item As IO.FileInfo For Each item In CheckedListBox1.CheckedItems Try item.Delete() Catch : End Try Next item [/code] But i get the error: Unable to … | |
Dear everybody, i hope that someone Can help me. I have a form where i want to print some textboxes on one page and then Force a print on a second page even though the first page isn't full. Like: printdocument1.print e.Graphics.DrawString(textbox1.Text, textbox1.Font, Brushes.Black, 9, 55) 'and then go to … | |
i get 1 error Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class. here is my code [CODE] Public Class test Private _course As String Public Shared Function function1(ByVal data As String) As Boolean … | |
Hi. Can some one please help me as i am trying to read from access database and that work with data in a program. I used to work with VB from previous version and now it seems to me there are differencies. If someone can paste a working simple code. … | |
How can I correct. I have textbox that is empty and where the cursor is flashing and I wish to move to other textboxes. What happens is that the error message is displayed first and when I press OK, only then can I move to the other textboxes. How do … | |
How to use GDTwain control in VB.net | |
hi this is my coding if i run this coding. first time i able to get data then i click second time i got error Procedure or function "procedure name" display has too many arguments specified" why this error plz explain for me [code] Dim mydst As New DataSet MyConnection.ConnectionString … | |
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, … | |
Im a 4th year computer engineering student. i really love my course, especially programming, specifically, using VB.Net. Hope you all can help me reach my goals. lol. | |
Dear SIR, I am using sqlserver2005. Table1 has a column named bill_no and its type is text Now I want to change its type "Numeric" When I do this the it displays this error message --------------------------- Microsoft SQL Server Management Studio --------------------------- Conversion from 'text' to 'numeric' is not supported … | |
I am trying to write a program that interfaces with a BlackBerry device plugged in via USB (utilizing the Desktop Manager API). The only exampes I can find for doing this are in C++, but I only know how to write/interpret VB .NET (I'm a novice, really), so I decided … | |
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 … |
The End.