20,278 Topics

Member Avatar for
Member Avatar for choosechrist

i'm a relative newbie in vb.net and at an earlier thread i got the code as to how to add a datetimepicker to datagridview. it's just i dont know how to access this with my datagridview. [CODE]Public Class CalendarColumn Inherits DataGridViewColumn Public Sub New() MyBase.New(New CalendarCell()) End Sub Public Overrides …

0
80
Member Avatar for ng5

I have two different forms. one has a listbox and the other has a masked textbox. the masked textbox is used as a login and i would like the masked textbox to be checked against the listbox items to be able to "gain access" and login Any ideas?

Member Avatar for M.Waqas Aslam
0
161
Member Avatar for timosoft

Hello How do i reset 2 textbox text of out four textbox at random avoiding a textbox whose text = 'A' for clarification. i have Textbox1.text = "B" Textbox2.text = "C" Textbox3.text = "A" Textbox4.text = "D" how do i set an empty value "" to any two textbox at …

Member Avatar for timosoft
0
188
Member Avatar for LFCDay123

I'm new to Visual Basic and I am trying to set up a currency converter. I have converted a currency to UK Sterling on the first form and on the second form I want to have the same label with the same amount of UK Sterling as on the first …

Member Avatar for poojavb
0
146
Member Avatar for networkmancer

Im having problem downgrading because it will show error from resource file that has 4.0.0.0 in the line .. I try changing it to 2.0.0.0 but now my body form will not show up. I tried removing my resource file and upload it again but still wont work..

Member Avatar for kingsonprisonic
0
61
Member Avatar for Farhan_B

im working on this piece of code and for sum reason i cannot understand why i keep getting this message can you please advise me thanks in advance [CODE] 'sql statements strsql = "insert into c_security_user (user_name, user_pwd,) values ('" & txtuser.Text & "','" & txtpass.Text & "')" Dim acscmd …

Member Avatar for kingsonprisonic
0
208
Member Avatar for whitetigerz79

Public Class Projectile_Motion 02 Dim initialHeight As Double ' Holds beginning height 03 Dim initialVelocity As Double ' holds velocity 04 Dim time As Double ' holds time 05 Dim heightVal As Double ' holds height at different intrvals in time 06 07 Private Sub btnmaxheight_click(ByVal sender As System.Object, ByVal …

Member Avatar for kingsonprisonic
0
204
Member Avatar for ISH777

ISH777 //Hello Everyone, I have a Problems Regarding with the IMAGE I create a Program That save Information of END USERS including Image... but the Image will save into Bytes.....and I have no Problem in that as you seen below..... [CODE]Dim xx As String = "insert into tbl_BorrowersInfo (accountno, sname, …

0
73
Member Avatar for ng5

i have a list box and a button. i would like when the button is clicked the selected item in the list box is deleted. any ideas?

Member Avatar for ng5
0
174
Member Avatar for ng5

I have a form with a text box and a form with a list box. I would like to be able to push a button on the form with the text box and have it be added to a list box. any help?

Member Avatar for ng5
0
207
Member Avatar for smudehelper

I have two combobox. I want to transfer all elements from combo1 to combo2 but with a filter only those item from combo1 will go to combo2 which are not in combo2. For example Combo1 ________ This Is Help But Not Combo2 _______ Is But And Quick So after clicking …

Member Avatar for smudehelper
0
111
Member Avatar for macdunk11

I am trying to write a program that will tell me how many calories are in a certain number of eggs, cups of flour, cups of sugar, etc. I have a set number of calories for each of the items (i.e. each egg has 72 calories), but I ask the …

Member Avatar for kingsonprisonic
0
81
Member Avatar for nettripper

I have 1 listbox, 1 textbox, and 2 buttons (for start, and stop) if I press the the buton for start the textbox will display (one by one) the items in listbox.. and if i press stop the textbox will stop displaying items.. is it possible? do i have to …

Member Avatar for nettripper
0
705
Member Avatar for Jx_Man

This Code is easy way to load / show data in Datagrid. This Code write in vb.net 2003 and use sqlserver 2000 as database. I use module to connected VB.Net with SqlServer 2000. so the function to connected can be use in every form in this project.

Member Avatar for neronero
1
2K
Member Avatar for Waldek

Has anyone succeeded in creating a class library solution/project in VB.net VS2010 4.0 Net Framework for COM to run on WindowsXP Excel 2003. I created a dll which changed specific data in an excel worksheet. The dll worked just fine on the development computer but wont work on any other. …

Member Avatar for rubberman
0
155
Member Avatar for Tobyjug2222

Hey guys, I've been having a bit of a problem using the while function. Here is my code (Simplified): [CODE]Dim RandomNumber3 As Random Dim RandomOutput3 As Integer RandomNumber3 = New Random() RandomOutput3 = RandomNumber3.Next(1, 9) Dim RandomClass As Random RandomClass = New Random() While (RandomOutput3 = RandomOutput Or RandomOutput2) RandomOutput3 …

Member Avatar for Tobyjug2222
0
231
Member Avatar for gozo12

in form it have 2 listbox and in listbox1 and listbox2 items have "s1" , "s2" "s3" [CODE] Select Case ListBox1.Text And listBox2.Text Case "s1" p1.visible=tre Case "s2" p2.visible=tre Case "s3" p3.visible=tre End Select[/CODE] i want that the code check it item in listbox1 or 2 then do the same …

Member Avatar for gozo12
0
175
Member Avatar for dilse4sk

hi every 1. i am trying to make a search form with 1 label(surname) and textbox. i have 1 gridview on the form aswell. can you plz provide me any code so that when i type in textbox i should c the result in the gridview. wat i have done …

Member Avatar for M.Waqas Aslam
0
858
Member Avatar for moone009

Hi there I am new to .net and I have put at least 4 hours in to figuring out why i cannot view my results when I run a datagrid in my 2010 visual studio WPF application. Also, it looks like it is only filling one record in the datagrid. …

Member Avatar for M.Waqas Aslam
0
262
Member Avatar for gozo12

[CODE] Private Sub save_Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim i As Integer w = New IO.StreamWriter("e:\test.txt") For i = 0 To ListBox1.Items.Count - 1 w.WriteLine(ListBox1.Items.Item(i)) Next w.Close() End Sub[/CODE] this code will save all items in listbox but i want when u click an item(selecteditem) …

Member Avatar for M.Waqas Aslam
0
167
Member Avatar for renzlo

Hi All, I can't figure this out, I have a listview and I want to export it and finally found how to do it but I'm stuck here.. Here's the code. [CODE] Dim Row0 As WorksheetRow = sheet.Table.Rows.Add Row0.AutoFitHeight = False Row0.Cells.Add("PROJECT_NAME", DataType.[String], "s67") Row0.Cells.Add("USER_NUMBER", DataType.[String], "s68") Row0.Cells.Add("JOBNAME", DataType.[String], "s68") …

Member Avatar for renzlo
0
281
Member Avatar for easygi

The startup that I set in my project is not the same when I open the exe file of my project. Someone can help me? tnx

Member Avatar for easygi
0
70
Member Avatar for flywheeljack

Hi there, I am currently working on an application that prints out several labels from 2 different printers. The printers use the same 3rd party software though so currently i am just passing command line arguments to the 3rd party application to print the labels. However there is very little …

0
54
Member Avatar for sirmcfly.works
Member Avatar for Mitja Bonca
0
162
Member Avatar for vishalchauhan
Member Avatar for poojavb

Hello, Can any one provide me with the Crsytal report runtime installer for Visual Studio 2010.. I have the installer of Visual Studio 2008 but its of no use... I need the installer that is the .msi file.... Can anyone provide it to me...coz I have searched a lot....

Member Avatar for poojavb
0
166
Member Avatar for networkmancer

Any commands for creating database using oracle command? as well as creating tables? I have this in creating table but did not work. Having invalid table name error. [CODE] Imports Oracle.DataAccess.Client Imports Oracle.DataAccess.Types Public Class dump Dim conn As New OracleConnection Private cmd As OracleCommand Private da As OracleDataAdapter Private …

Member Avatar for Reverend Jim
0
518
Member Avatar for obwills

please help!!! i have a datagridview on my form with customers info which is linked to my database. i want to execute a line of code based on the information in one of the columns in the datagridview??? for example i have a datetime column which stores dates(and maybe time) …

Member Avatar for obwills
0
136
Member Avatar for Gobble45

Hello VB.net'ers. I've got a problem. I have a feeling it is an easy one, but for the life of me i cant figure it out. My project at the moment is to grab content from a website and use it in some way (havent worked out this part yet, …

Member Avatar for thines01
0
1K
Member Avatar for tendaimare

i am inserting a row in an acces table but I also want to get the id of the last inserted row so that I can use that value. Any ideas on how I can go about it? [ICODE] Dim iSql As String = "Insert into CompanyDetails (code,description) 02 Connections.MyDataAdapter(iSql) …

Member Avatar for M.Waqas Aslam
0
238

The End.