20,284 Topics
| |
| I added a ListView object, added few Columns, but the problem is there that I can't add no text to the other columns by making new Items Any help? |
I am using following code. It creates a macro button on word menu in Add-Ins tab Public Sub ShowToolbar() ' Assumes toolbar not already loaded ' Application.CommandBars.Add TOOLBARNAME AddButton "Button caption", "This is a tooltip", 526, "NameOfASubInYourVBACode" ' call AddButton more times for more buttons ' With Application.CommandBars(TOOLBARNAME) .Visible = … | |
| I would like to make a Export / Import buttons that will save/open files that contain listView data (ListView Items) Can someone tell me is there a way to do this? |
Hi all, I have already written a code to search for staff records from my staff database and it's working fine, but the problem is, if someone enters a wrong a wrong staff id or just any number or alphabets, it still displays the "Found Record" message, instead of "No … | |
actually i have a very large code in excel vba. and it is really working very well. but when i m trying to use this code to vb.net then a part of this code is not working. i.e. Dim fnum As Variant Dim FileName As Variant FileName = Application.GetSaveAsFilename(InitialFileName:="Voucher", FileFilter:="Text … | |
I am opening mathtype.exe from richtextbox and type some mathtype equation editor after closing mathtype editor the data which i type must be displayed in richtextbox. I am tried this using sendkeys.send but it seems to be not working properly. Suppose mathtype equation in richtextbox you can open it by … | |
Hi, One of the users of my application is complaining that he can't open the application. He gave me the debug output of the crashed application...unfortunately I'm not an expert and have difficulties to manage it...would you please give me some help and help me understand why the application is … | |
Hi friends, thanks all for your contributions here at DaniWeb Community. I want to ask one thing; I have a table where I keep values for students marks (StudentID,Marks). Let's say there are 50 students. I want to be able to display on the form the class rank for each … | |
Please help me to Checking for Duplicate Record of SQL Database before Inserting & Updating this my code please may anyone check my code If class1.sqlcon.state = connectionstate.open then class1.sqlcon.close() End If class1.sqlcon.open() dim cmd as new sqlcommand dim Qresault as integer cmd = new sqlcommand (" SELECT COUNT (*) … | |
i HAVE an excel file . and on sheet 1 i have some data in column A. i want to all the data from column A to list box 1 on form 1 in visual basic 2008 but how? Regards Mahaveer | |
i need to develop a software in which i can connect to a handpunch1000 throug vb.net and collect data , i am using visual studio 2010 any help ? | |
Hello Everyone, I hope everyone is having a nice day ;-) I have a question about combo box and here is it... I Have sex combo box(Male or Female only) and i want that when i choose Female it will have an id of 2(Male = 1, Female = 2) … | |
Hello, is there anyone who could help me to get all databases and their tables in treeview? Please? All i could find is how to get tables only but not all databases from mysql server. Here is some screen that could maybe help out: http://screencast.com/t/6ysNFSlz7 If anyone could help me … | |
Dim cpuLoad As Integer = CDec(Performancecounter1.NextValue.ToString()) cpuLoad = 100 - cpuLoad Label1.Text = cpuLoad.ToString() & "%" On Error Resume Next ProgressBar1.Value = cpuLoad.ToString in this why we need to write as "cpuLoad = 100 - cpuLoad" ? and what is the use of converting the integer to a string ? | |
Hi again............ I'm having problems in saving the data in my datagrid to my Database Imports System.Data.OleDb Public Class Form2 Dim con As New OleDbConnection("provider=Microsoft.ACE.OLEDB.12.0; Data Source=C:\Users\RMC\Documents\Vehicle.accdb;") Dim cmd As OleDbCommand Dim adpt As OleDbDataAdapter Dim cb As OleDbCommandBuilder Dim sql, lol As String Private Sub Form2_Load(ByVal sender As System.Object, … | |
Does all pre-defined function in vb.net can be override?? because of this (Public Overrides Function ToString() As String) I was able to ask this kind of question.. | |
studentrecords table.,.,contains IDNumber,LastName,Course,Firstname i will login through my system using IDNumber and once i go to the mainform iwant to display LASTname and course to the 2 textboxes in the mainform using the IDNumber as their Primary Key.,.My code errors Dim con As New OleDbConnection Dim cmd As New OleDbCommand … | |
I have a class of properties which is being used as part of a web service. The Class has list of another class as one of its properties: <Serializable()> _ Public Class LessonPlans Public Property Teacher As String Public Property RoomNumber As String Public Property Subject As String Public Property … | |
In my project, There are few forms (form size is small) to be opened, its opened with different locations in main form. In main Form there is specified label, How can I determine which form (may be more than one) on top this Specified Label(on Main Form) | |
Hi everyone! I have been in the process of coding a replacement track bar which fits the color scheme and design of a program I am making. I would like some of the options to be controlled by properties which I can change in the designer. These include: whetether to … | |
Please help need to see the rdate range from the pickup date of last month to todays date...Whats wrong with this code Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Public Class report Public intv As Integer Private Sub Report_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load cmbreporttype.Items.Add("Registrationform") cmbreporttype.Text = "--select--" datefrom.MaxDate … | |
Dear All, How Can i prevent duplicate record entry in vb.net. Please help | |
why my web hosting server refuses me to connect to them using vb.net net...i use add new database wizard and i input all the server name, username and password but error keeps telling me *Host '180.190.160.74' is not allowed to connect to this MYSQL Server.*..all i wanted is to connect … | |
Hi I would like to know if anybody could help me insert records into a MS access database with VB.net, I'm actually a c# programmer and I have never worked with databases before, I got as far as connecting but as soon as I want to add a record I … | |
i just found this code it was really nice, as im just a beginner i can't solve it. when i execute the code the text inside the combobox is not my database but instead a text "System.Data.DataRowView" im really newbie in vb.net im really curious how will this work. thanks … | |
hello, i am doing a mini project in vb.net2010...BLOOD BANK MANAGEMENT...but i dnt knw how to connect vb.net2010 with ms access 2007..and how to code for add, delete,update records...plz help me | |
I want to know that How I can Add the table in VB? As for wxample we see in IDM: ![a43a3a52847803516eab225b30abb76f](/attachments/small/4/a43a3a52847803516eab225b30abb76f.png "align-right") As You can see here: there were partition in th listbox. Same I want to create: I try to use multicolumn: checked = true and also adjust width … | |
Why is it that the icon of my form appears only when I am running it in my IDE. When I publish my program and running it in Windows, the icon does not appear at the taskbar, what appears is a default icon instead. Can help me how to deal … | |
is it possible to move the picturebox inside a panel in vb windows form? if yes can i know what is the code? thx and i appreciate ur help :) | |
PLEAS I WANT TO KNOW HOW TO LINK VB.NET TO DATABASE ACCESS |
The End.