20,284 Topics

Member Avatar for
Member Avatar for DyO1

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?

Member Avatar for Reverend Jim
0
176
Member Avatar for bullet_1

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 = …

Member Avatar for Begginnerdev
0
179
Member Avatar for DyO1

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?

Member Avatar for DyO1
0
667
Member Avatar for tomexlfc

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 …

Member Avatar for waseem.akhtar.3572
0
16K
Member Avatar for mahaveer somani

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 …

Member Avatar for ddanbe
0
125
Member Avatar for bhagawatshinde

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 …

Member Avatar for pandey.k.vivek
0
315
Member Avatar for Jayme65

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 …

Member Avatar for ReyJEnriquez
0
223
Member Avatar for savedlema

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 …

Member Avatar for TrojanhorseRovhine
0
2K
Member Avatar for spider2vb

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 (*) …

Member Avatar for ReyJEnriquez
0
1K
Member Avatar for mahaveer somani

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

Member Avatar for Ancient Dragon
0
2K
Member Avatar for elie.karkafy

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 ?

Member Avatar for oussama_1
0
787
Member Avatar for ReyJEnriquez

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) …

Member Avatar for G_Waddell
0
555
Member Avatar for Trle94

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 …

Member Avatar for G_Waddell
0
84
Member Avatar for killer88

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 ?

Member Avatar for G_Waddell
0
210
Member Avatar for jared.geli

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, …

Member Avatar for jared.geli
0
763
Member Avatar for ReyJEnriquez

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..

Member Avatar for tinstaafl
0
240
Member Avatar for gmmorpheus

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 …

Member Avatar for ReyJEnriquez
0
178
Member Avatar for danielgr

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 …

Member Avatar for danielgr
0
264
Member Avatar for pc20912

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)

Member Avatar for oussama_1
0
117
Member Avatar for Patrickfrog1

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 …

Member Avatar for Patrickfrog1
0
203
Member Avatar for KafitiJr

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 …

Member Avatar for Reverend Jim
0
139
Member Avatar for Naveed_786
Member Avatar for spider2vb
0
5K
Member Avatar for sashyn01

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 …

Member Avatar for sashyn01
0
155
Member Avatar for Animal Mother

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 …

Member Avatar for dnis30
0
7K
Member Avatar for Aspir_1

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 …

Member Avatar for kRod
0
188
Member Avatar for nadimfaz

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

Member Avatar for nadimfaz
0
1K
Member Avatar for DM Galaxy

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 …

Member Avatar for DM Galaxy
0
305
Member Avatar for markdean.expres

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 …

Member Avatar for Ronald_2
0
167
Member Avatar for mandyCheong

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 :)

Member Avatar for APG1
0
278
Member Avatar for ugbama7

The End.