20,284 Topics
| |
I have searched the google machine to the ends of they internets and back again and tried everything from clean builds to removing registry entries. This has vexed me for the past week. It all started out as a simple application project windows form style. New project deserves new visual … | |
i want to retrieve data from Access table but i don't know where i am going wrong.here i am going to show my work which return errors:- Dim con As New ADODB.Connection Dim rs As New ADODB.Recordset Public Sub procedure1() con.Provider = "Microsoft.jet.oledb.4.0" con.Open(My.Application.Info.DirectoryPath & "\Database1.mdb") End Sub Private Sub … | |
How can I close a user generated button? Here's the code for the button that creates new user generated buttons: Public Sub Button12_Click(sender As Object, e As EventArgs) Handles Button12.Click TC = TC + 1 Dim TCP As New Integer TCP = TC * 100 Dim NT As New MyButton … | |
Greetings I am working on a mail client in visual basic, till now i can only send emails using smtp, but i am having troubles finding how to receive them. Could you help me with a working simple code on how to read/receive emails using visual basic using .Net framework … | |
| How do you change the "Apply to" portion of the permissions on a folder from "This folder, subfolders, and files" to "Files only" and to "This folder and subfolders" ? |
Hi. I want to create a picturebox when a specific button is clicked. The code below displays nothing :( TC has an initial value of 0. It will count he number of times the picturebox has been created. Private Sub Button12_Click(sender As Object, e As EventArgs) Handles Button12.Click TC = … | |
this is my Income.aspx <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Income.aspx.vb" Inherits="iplapp.Income" %> <!DOCTYPE html> and here my Income.aspx.vb Namespace iplapp Public Class Income Inherits System.Web.UI.Page Private strCon As String = "Data Source=alopex;Integrated Security=true;Initial Catalog=iplmaster;Persist Security Info=True;User ID=nizar;Password=password" Dim sql_statement As Object Dim ViewBag As Object 'Private Property db As Object End … | |
this is my Income.aspx <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Income.aspx.vb" Inherits="iplapp.Income" %> <!DOCTYPE html> and here my Income.aspx.vb Namespace iplapp Public Class Income Inherits System.Web.UI.Page Private strCon As String = "Data Source=alopex;Integrated Security=true;Initial Catalog=iplmaster;Persist Security Info=True;User ID=nizar;Password=password" Dim sql_statement As Object Dim ViewBag As Object 'Private Property db As Object End … | |
Hi group! I have what I hope is a unique question: In need to populate a combo Box with the information stored in 6 different columns on one row of a data table. I know how to do this if it just one column and one row. To be specific, … | |
Hi plz help me to correct this code.... This code is showing just first result in texboxes...how to get rest plz help... Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load cn.Open() bindDp() cn.Close() End Sub Public Sub bindDp() cmd.Connection = cn cmd.CommandText = "Select * From … | |
Hello, I am using VBA userform in MS Excel to insert data for database purpose. When I tested it for the first time, it was running okay. But after I saved it and used it again to insert the real data, it happens to repeat/duplicate the data to multiple times … | |
Hi, All, Good Day! I am instructed to create an email sender program. The requirements are as follows: - masking the sender's email address (company@no-reply.com) - able to send on multiple email-addresses - delivery logs I've used System.Net.Mail(smtp) in this task but the biggest problem is that, Net.Mail can't determine … | |
Referring to [this thread](http://www.daniweb.com/software-development/vbnet/threads/446028/how-populate-listview-in-vb.net), I am trying to do something similar. Here is a line of my code... ListView1.Items.Add(New ListViewItem({mydatarow("FirstName"), mydatarow("LastName")})) VS Intellisense marks this code with the following error: Value of type 1-dimensional array cannot be converted to System.Web.UI.WebControls.ListViewItemType Any idea what I'm doing wrong? | |
Dear Friends Can any body help me .. i want to export my crystal report to a text file, here is my code. If its not good then please give any other perfect refrence thank you Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Imports System.Diagnostics Imports System.IO Public Class Form1 Dim myReportDocument As … | |
Hi.. I am newbe in vb.net. I am creating a small project for students. I need a help. I have three DataGridView on my form.And I am importing the data from the csv to datagridview1 and datagridview2 and have 5 columns in first and second with different names. Now I … | |
Hello, I use OleDbCommand object to make Insert, Update and Delete statements in SQL Server database but I don't destroy that <b>OleDbCommand object</b> and I wish to know what is the most optimal procedure to destroy it? I have 3 choices: <big>- DISPOSE in Finally section...</big> <small>Imports System.Data.OleDb Public Class … | |
I add user account and i add Again with same username and password how to make error message sample MsgBox("Account is already registered") | |
Hi friend , I am new in programming. I am having a table named as bill and i wanted to generate crystal report for invoice purpose,and report will contain Sr.No,ProductName,Weight, Rate, Total ,VAT and a final GrandTotal as final amount sum of the Total of multiple product.Bill will be generating … | |
Hello everyone, first of all I posted this thread on vbforums.com and so far haven't had much luck getting solutions. If needed I can provide the exact link to the thread but here is what I'm trying to do: I've been trying to find out how to compile a simple … | |
Hi Dw There is a project in which I'm working on and now it had come to a point where I had to start including the Microsoft Point Of Service and I've already downloaded it and installed ow I must say I'm using windows 7 Home basic and I can't … | |
please help ASAP ..the problem is there's no device detected using this code.. **Dim buffer As New System.Text.StringBuilder(33) Dim Name As String If EZTwain.GetSourceList() Then Do While EZTwain.GetNextSourceName(buffer) Name = buffer.ToString() cboSelect.Items.Add(Name) Loop Else Call EZTwain.ReportLastError("Error getting TWAIN source list") End If** thanks in advance .. | |
i have a crystal report then i create new connection under Access/Excel, then i select my database. i add 2 access database say Database1.tbl_employee and Database2.tbl_images. now i linked the 2 tables from 2 database. tbl_employee.ID ---- tbl_images.ID it works well on crystal report the problem is when i call … | |
hi all I am a newcomer to programming.I did a project using vb 2008.while running on another computer the crystal report asks for a database login details.but I never used any username or password for my database.(ms access ).plz help me to solve this | |
How to insert Hindi and regional language in ms access data base by using vb.net code. | |
Friends .. how my code working fine with two buttons (PDF and RTF) but the last portion for HTML converting its not working .. please help Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Imports System.Diagnostics Imports System.IO Public Class Form1 Dim myReportDocument As New ReportDocument Private Sub Form1_Load(ByVal sender As System.Object, ByVal e … | |
> I have 1 form whose columns are slno,type,shape and another form where i want to retrive data from database using combo box. if i select slno from combo box in form2,then rest of the fields should display in other textbox in form2. Dim cn As New SqlConnection("Data Source=.\INSTANCE;initial catalog=record;user=sa;password=gariahat") … | |
I have a combobox that is bound to a DB and works great. However, when the user adds a value to the table to which the combobox is bound, the combobox keeps the old value and adds the current items in the table. In this case the table originally held … | |
What can I use to write application for Windows Mobile 6.1 and 6.5? Application was written before (not by me) using VB.Net 2008, but I really would like to move away from it to plain C/C++ or possibly Java. Where can I start and what are my options? I don't … |
The End.