20,278 Topics
| |
When i try to log in i keep getting this error and i dont have a clue what it means the code i used is below along with the error message: code - Dim dr As OleDbDataReader = cmd.ExecuteReader error - Syntax error in FROM clause | |
hi everyone! need help in using all the listbox contents for filtering a datagridview2 (that is binded with an access database) my code is as follows: [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim tables As DataTableCollection = VPC_DatabaseDataSet.Tables Dim view1 As New DataView(tables(4)) … | |
I used VB 6.0 very much. There is a provison to compile to EXE file then package and deployment wizard make setup.exe But I learned VB.Net 2005 programming but I couldn't any way to make a setup program or any alternative to sell my project. | |
What I'm working on is a video rental project in visual basic 2008. I have a local database which contains info on DVDs, Members and a table for current rentals. [B]The columns i have in the current rentals table are:[/B] MemberID | DVDID | DaysOnRent | DateRented | DueDate | … | |
Hi I'm doing a project where I need to have people register by entering a username and password. When they click register I want them to be added to the database, but I'm having trouble doing this. Can anyone help? This is my first time using VB. This is the … | |
I have a VB.NET application created in Visual Studio 2005. The application uses crystal reports. It works fine on the developer machine, but I am receiving the following error on a client machine: System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=11.5.3700.0 This is a standalone executable and not distributable … | |
Want to know how to move an object from one place to another for a project on [B]interior decoration system[/B] | |
hiiiiiiii friends i want to get path of current directory . tell me as soon as posible | |
Hi i have my INSERT and DELETE command working fine my data gets saved to my database to deleted, my problem is my UPDATE command. i have a form which displays 'employee' information the form includes text boxes i.e forname surnam etc and this is where the data is displayed … | |
Hi there, I'll try to be brief, In short im trying to add together a variable, (name = STRFinValue) within a For loop, I think the syntax should be: STRTotal = STRFinValue +STRFinValue(f) But I am very wrong. [code] Private Sub btnLBTotal_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles … | |
Friends I m workin on vb.net ado.net oledb, I have also added datagrid Control to my form for retriving database from .Mdb file i used following code [code] 'decleared Name Space Imports System.Data.OleDb 'Dicleared Variabls in Class Form1 Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da … | |
Hi, In one of my vb.net 2008 application i have called a java class file through batch process which creates txt file and jar file and put in app path folder. When i run the application it creates only txt file in the app path and not the jar file. … | |
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim quantity As Integer Dim quanarr(20) As Integer Dim item As String Dim price As Double Dim x As Integer = 0 Dim counter As Integer counter = QuantityList.Items.Count quantity = Val(QuantityBox.Text) item = ItemBox.Text … | |
Imports System.Data Imports System.Data.SqlClient Public Class Form2 Dim myconnection As SqlConnection Dim mycommand As SqlCommand Dim dr As SqlDataReader Dim dr1 As SqlDataReader Dim ra As Integer Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click myconnection = New SqlConnection("server=Pakistan;Initial Catalog=Mumtaz;database=Mumtaz") myconnection.Open() mycommand = New SqlCommand("insert into … | |
I have a database I am creating with about 50 users over a network. There are about 6 groups of users and these users are spread across 10 branches. I want to block/allow users from particular forms and views. For example I want branch users forms to be filtered by … | |
I'm trying to distribute a click-once application to clients in various locations via our company website. I used to be able to do this with no problems when I was deploying these apps internally on a intranet. Now that I am deploying via the internet, the application will not install. … | |
Hi everyone, I've got an interesting problem that has me stumped and I just cannot seem to find the right answer in the help files. Background: My project requires that I establish more than a few relationships amongst datatables in a dataset so I decided to create a generic routine … | |
Hello everyone, I have this code below and everytime I run it I get this error. Please help. [CODE]Private Sub SendEmail(ByVal sender As Object, ByVal e As EventArgs) Handles Button2.Click Email.To.Add(Settings.txtTo.Text) Email.From = New MailAddress(Settings.txtFrom.Text) Email.Body = "Email Body" Email.Subject = "Email Subject" SMTPServer.Host = Settings.txtSMTPServer.Text SMTPServer.Credentials = Authentication SMTPServer.Send(Email) … | |
Hey everyone, I'm having a really hard time with this one, so I would really really appreciate some help - please... What I want to accomplish is this, I have a webbrowser control and I want to be able to go to a website pick a block of content - … | |
hello.. anyone here can help me in my coding.. i have coding my rfid reader and active tags in vb 2008. i just to ask if i can convert my received data from active tags to IP address.. if somebody know..i ask for help.. thank you.. | |
ok so i'm trying to set up my program to insert a new record to my database i keep getting a insert syntax error [CODE] Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click '************************************************ '* ** '* will first verify that all necessary information needed ** … | |
Hi! I have following problem. I need to select multiple random rows in DatagridView with keypress. Ex: Row1 -selected Row2 -not selected Row3 - selected I do have part of code that will update certain field in database on keypress, but i have no idea how to create multiple selection … | |
Hi... I am fairly new to VBA programming in EXCEL. So my apologies in advance. I have a USERFORM with several CHECKBOXs and one TEXTBOX. When the user clicks a checkbox the textbox appears next to it for the user to enter dollar amounts. I am trying to use the … | |
Hi, In my asp.net page, I have the following line inside an UpdatePanel: <input type="text" id="userInput" onblur="DisplayWord()" onkeyup="SearchWord(event, this.value)" /> Is there a way to retrieve the input value in the code behind (VB.NET)? Thanks, Ana | |
Hi I'm trying to format a datetime field to just show the date. The datetime is bound to an asp:label and for the Text attribute I have tried the following.... [code] Text= String.Format("{0:D}", '<%# Bind("CReviewDate") %>') and Text= String.Format("{0:D}", <%# Bind("CReviewDate") %>) and Text= String.Format("{0:D}", <%# Bind('CReviewDate') %>) and Text= … | |
Let me preface this by saying that I've only taken 1 formal programming class and everything else I've learned is from trial and error or Google (forums, blogs). I have never taken an algorithm class or an advanced math class. In the process of making my current application, I need … | |
Because I can't seem to find any good examples, I know this is something simple. Even so, I would greatly appreciate some help. I have an array of email address that I want to use for a BCC. How do I get this array into my blind copy list? Also, … | |
[CODE] Private Sub LinkClicked(ByVal sender As Object, ByVal e As EventArgs) Dim link As HtmlElement = WebBrowser1.Document.ActiveElement Dim url As String = link.GetAttribute("href") WebBrowser1.Navigate(url, False) 'MsgBox("Link Clicked: " & link.InnerText & vbCrLf & "Destination: " & url) End Sub Private Sub WebBrowser1_NewWindow(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles … | |
Hey Guys! , Im having a bit of a problem here. I need to add a certain string in this case ([B][COLOR="Red"]'[/COLOR][/B]) infront of every item in my listbox. So lets say items are : item1 item2 item3 item4 After i execute a code i want it to be item1' … | |
I'm having a little trouble deleting multiple lines for a listbox. I know how to remove a single line, which is this: [CODE=vbnet] Try If listbox1.Items.Count <> 0 Then Dim linedel As Integer linedel = listbox1.Items.IndexOf(listbox1.SelectedItem) listbox1.Items.RemoveAt(linedel) Else End If Catch ex As Exception MsgBox(ex.Message) End Try[/CODE] If I change … |
The End.