20,285 Topics

Member Avatar for
Member Avatar for Umarmai

Please faithfuls, I ve been vein problems with the properties of the combo box. wat i really want is disallow users to type into my combobox ( I want them to be limited to the items in the combo) 10qs.

Member Avatar for samir_ibrahim
0
124
Member Avatar for iwaqasi

Hi, I am working on a Project that has to search some specific folders and inside those folders I want to check if any file resides. I used the following techniques but they are not working if I need to connect to the machine as USER: [CODE] If Directory.Exists("\\" & …

Member Avatar for samir_ibrahim
0
132
Member Avatar for omotoyosi

Greetings to all Please i have a listview displaying files in a particular directory e.g c:\test so i want the user to be able to sort it based on date modified. 1. The list view have to column The file name and the date modified How can i sort by …

Member Avatar for TomW
0
79
Member Avatar for Merovingian

I have two function that replace certain strings in a text file. The first one works perfectly: [CODE] Dim readAlias As String Dim RxDIR As String = Nothing Try RxDIR = Registry.GetValue("HKEY_LOCAL_MACHINE\Software\RLtd\R", "MAIN", False) RxDIR = RxDIR + "\Bin\Configuration\alias.config" Dim sr As StreamReader = File.OpenText(RxDIR) readAlias = (sr.ReadToEnd()) sr.Close() sr.Dispose() …

Member Avatar for Merovingian
0
122
Member Avatar for PalC

Need help with vb 2008 express code to copy value from form1, textbox1, then paste it to all the records in access db ,table1, field 1. I know there must be 50 ways to skin this cat however its kicking my butt. Thanks

Member Avatar for sknake
-1
128
Member Avatar for perumar

Hello all, I could finally save my array to the textfile but how can I format the textfile so that i will have 9 rows and 9 columns [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveButton.Click Dim cellValue As String, i As Integer Dim returnValue …

Member Avatar for perumar
0
114
Member Avatar for avgVBUser

I'm trying to understand the sql connection a little better. I have some code that returns data via a stored procedure on the sql server. Here is the code to execute the procedure and put the data in a data grid: [code]Dim tblSteps As DataTable = New DataTable Dim cnPMSQL …

Member Avatar for avgVBUser
0
120
Member Avatar for networkmancer

Just how can I make the Tab Control Box transparent because I tried changing its Back Color to transparent but still the same. Visual Basic 2008.

Member Avatar for kvprajapati
0
91
Member Avatar for vampke

Hi guys, I'm habing a problem with an access database i'm trying to fill programmatically with vb.net. I have a datatimepicker to set a date with a custom format like "dd/mm/yyyy hh:mm" If I insert this date in my access database the days and months are switched (mm/dd instead of …

Member Avatar for sknake
0
178
Member Avatar for Alphard
Member Avatar for Alphard
0
77
Member Avatar for Maulth

Hey all, I've recently begun learning visual basic using visual basic express 2008 with plans to purchase visual studio 2008 (it'll be worth it as I've used C++ for a very long time, I just wanted to learn vb and vb.net). What I'm very interested in right now is creating …

Member Avatar for GeekByChoiCe
0
855
Member Avatar for Rofling Waffles

I dont know what im doing wrong, but the dataadapter, doesnt find the table im looking for: Public Shared Function DSet(ByVal ID As Integer, ByVal Name As String, ByVal Address As String, ByVal City As String, ByVal State As String, _ ByVal ZipCode As Integer, ByVal Phone As String) As …

Member Avatar for CodeDoctor
0
98
Member Avatar for sreeram01

Hi, I am trying to get the html source of the particular webpage that having different frames.i want the html source of a particular frame. Thank you in advance

Member Avatar for CodeDoctor
0
116
Member Avatar for chanlichin

[QUOTE]My following code is only retrives number month(1,2,3,4....12) and not month name(January,February,.....December). Can anyone help me to retrieves month name in sql query. Before that i had try using function datepart, Monthname and date_format but i still din get my answer.Thanks[/QUOTE] [CODE]con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = C:\YS.mdb" con.Open() sql = …

Member Avatar for TomW
0
260
Member Avatar for Atove

Ok heres my problem which i'm starting to find very annoying :S I am trying to load a date stored on my sql server database into a date time picker. [code] Dim MyDate As Date = (DetailLookup("PLIExpiry", "tblConcessions", "ConcessionID", varCompanyKey)) frmConcessions.dtpPPLIExiryDate.Value = MyDate [/code] DetailLookup is a public function that …

Member Avatar for TomW
0
162
Member Avatar for Ulukay

Okee here my problem When i create a button in the designer , i got options in the properties window for putting a Image in the button and even a ImageAlign But i want to change the image at runtime I looked at the button members , but i cant …

Member Avatar for Ulukay
0
177
Member Avatar for Atove

Hi all! Okay i've been attempting to create this segment of code which is supposed to read from the database; based on search criteria entered, then load them into a form for viewing/editing. I am able to read the concessionID from the database; however i am then unable to select …

Member Avatar for Atove
0
108
Member Avatar for TechSupportGeek

Well, that is exactly what I want to do. To help you a bit more, I want to create a toolbox that has an auto-hide feature so my application's users will have the option to do actions from there. To be even more specific, I want to create a built-in …

Member Avatar for TechSupportGeek
0
87
Member Avatar for hemchantra

Dear All, Please kindly help me, i go data in the datagridview and textbox from database. i would like in textbox data change and equal to rows of datagridview. when i click next or previous button. Thanks in advance. Chantra

Member Avatar for hemchantra
0
137
Member Avatar for murid

1st of all, i'm new in socket programming... I try to received file.txt n show it in a form... I try my code below, but it always fails... it seem like become endless loops... I try to trace it, 1st loop seem ok, but it's not stoping after 1st loop.. …

Member Avatar for murid
0
146
Member Avatar for samir_ibrahim

Hi -I have a form where IsMdiContainer = True -I add Split contaner which has 2 panel vertically (panel1 and panel2) -In Panel1 I have buttons where every button should display a form in panel2 I want to display a form in the center of panel2 I had tried the …

0
71
Member Avatar for riddhi84

hullo frenz, i am designing an employee database. the records are displayed on a master (emp.vb) form whereas the search button is on a seaparate form(emp_search.vb). hw do i code the search button on the 'emp_search.vb' page so that this form closes automatically and den the records are displayed on …

Member Avatar for Putta
0
116
Member Avatar for Alphard

Hi. I'm using a datagridview to display data and make updates to my access database. I was able to display data from my database to the datagridview but it is not filtered. The datagridview displays all the records on my database. I tried using query builder to execute sql select …

Member Avatar for Alphard
0
112
Member Avatar for Alphard

Here's my SQL Statement: SELECT * FROM tblHeader WHERE Requestor='"&label1.text&"' Why doesn't it work?

Member Avatar for Alphard
0
132
Member Avatar for sgleason

Hello everyone, I am an Intern at a company and I mainly create scripts to update databases. I don't have the opportunity to do much "real" programming, hence the reason I am begging for some help :p I am working in visual studio and my program runs great. There is …

Member Avatar for sgleason
0
96
Member Avatar for hery

This is my code: [code] Private Sub cmdHitung_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdHitung.Click Dim tempBASIC As String If strChrDec = "." Then strFormatDec = "#,##0.00;(#,##0.00)" formatSAVE = "############0.#0" Else strFormatDec = "#.##0,00;(#.##0,00)" formatSAVE = "############0,#0" End If If Val(Format(Convert.ToDouble(txtGajiPokok.Text), formatSAVE)) > 0 Then If Trim(txtGPPilih.Text) = …

Member Avatar for sknake
0
248
Member Avatar for sarabah
Member Avatar for Lori Barber

Greetings - I'm wondering if anyone can assist me with troubleshooting. When I login, my page displays the heading, but not the user record (formview). I am using the default membership and users tables (SQL server 2005) along with the basic login control. I have a table called 'members' where …

0
64
Member Avatar for jameswoodhouse

Hi there im very new to VB.net. However ive bee told its the best place for me to start if i want to program a small application for use with my family business. Basically i want to be able to enter the type of employee. Either (Manager, Help Desk or …

Member Avatar for bubbachunk
0
197
Member Avatar for jayr05

i downloaded this hotel management system in vb.net 2008 from source coders, the tables and the forms are connected via table adapters and no clear relations among the tables so i cant quite figure it out. Here is the link: [url]http://www.sourcecodester.com/visual-basic/hotel-reservation-system.html[/url]

0
70
Member Avatar for danielagaba

hi i designed an application in vs 2008 using vb.net which uses an access db. i would like to add a feature where if one of the users of the application updated the database, another user with the same application on a different computer but with an internet connection can …

Member Avatar for kvprajapati
0
54
Member Avatar for kerek2

Hi Alls, I really need help from u all regarding how to update database using checkbox in datagridview.... i got 4 columns from my access database that is:- Columns1 = Id Coulmn2 = Name Columns3 = Status Columns4 checkbox = I need to update any data in column that have …

Member Avatar for kerek2
0
256
Member Avatar for bigtreeworld

Hi there, I'm creating a program and I need to block out the keyboard completely. Including every button and key combo. Is there a way to do this? I already scoured the internet... any help would be greatly appreciated!

Member Avatar for bigtreeworld
0
102
Member Avatar for Arunabh Nag

I heard somewhere that i can draw a datatable onto a local form, with the connection open.... How do i do this..??

Member Avatar for sknake
0
113
Member Avatar for hery

this is my code.. In my code i have succesful get table column name. But i want the first table column name showing not all. Thanks' [code] rs.Open(strSQL, adcLEDGER, ADODB.CursorTypeEnum.adOpenKeyset, ADODB.LockTypeEnum.adLockPessimistic) Flds = adrCURR.Fields TotalCount = Flds.Count For Each fld In Flds MsgBox(fld.Name) Next [/code]

Member Avatar for sknake
0
219
Member Avatar for manutd4life

hi all i need is the comments for this piece of code here it is: [code=vb.net] Private Sub populate() con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ System.Environment.CurrentDirectory.ToString() & "\DataBase.mdb") ' con.Open() dAdapt = New Data.OleDb.OleDbDataAdapter("select * from Watches", con) dSet = New DataSet dAdapt.Fill(dSet) dBind.DataSource = dSet dBind.DataMember = dSet.Tables(0).ToString() …

Member Avatar for sknake
0
110
Member Avatar for kimbula...

Hi all, I need a big favor to carry out a task. I want to get information in a exel sheet to a datagrid in VB.Net. For example lets say Excel sheet contains following information. ID,Name,Telephone I want to get these data into the datagrid. Can anyone suggest me a …

Member Avatar for sknake
0
311
Member Avatar for rcook

I have an application in VB6; I want to put part of its functionality onto the web. I have Visual Studio 2008 using VB, and am familiar with OO programming (in Java), VB6 programming, and with web programming, though not all in one place. I would like general advice on …

Member Avatar for kvprajapati
0
172
Member Avatar for babbu

this is my code [code] dataGridView1.Rows.Add() dataGridView1.Item(0, dataGridView1.Rows.Count - 1).Value = cboColourCode.SelectedText.ToString dataGridView1.Item(0, dataGridView1.Rows.Count - 1).Value = txtQty.Text.Trim.ToString dataGridView1.Item(0, dataGridView1.Rows.Count - 1).Value = cboQty.SelectedText.ToString [/code] only a blank row is added in the datagrid

Member Avatar for babbu
0
96
Member Avatar for TechSupportGeek

Hello guys, since I'm new here, I did some research to find similar problems but I didn't find what I needed. Well, my problem follows as this: I created a Picture Viewing application in VB.NET and I want to add two functions: a save function and a function that lets …

Member Avatar for sknake
0
153
Member Avatar for tate-u

Can someone help and show me how to display using (VB.net) these two tables combined into one. I'm really struggling trying to figure this out after hours of work, I decided its time to ask for help! So in SQL Server 2005 I have the following tables... [B]Students[/B] PKId Cart_Id …

Member Avatar for padtes
0
157
Member Avatar for mrbillbenson

Wikipedia has most movies well sussed; I would like to take an excel list of movies, call up wiki page using System.Diagnostics.Process.Start("http://www.wikipedia.org/") System.Windows.Forms.SendKeys.Send("Moonraker") System.Windows.Forms.SendKeys.Send("{Enter}") , use sendkeys to enter the name of the movie from the excel list into Wiki's default search text field and {Enter} to launch. What I …

Member Avatar for mrbillbenson
0
152
Member Avatar for S.A.H

hi every body , I want to write a program with vb.net about calculating the GPA in my program I'll ask the user to Enter the number of courses then I'll Generate ComboBox(s) by the number of courses ... So How can I do the dynamic Generate of the combobox …

Member Avatar for S.A.H
0
110
Member Avatar for diyerxa

Hello, Is it possible to change the connection string after setting up a Data Source? I'd like to set up a Data Grid View, but the user must be able to change the location of the database file at a later time (over a network). i've been trying: My.Settings.db1ConnectionString1 = …

Member Avatar for Arunabh Nag
0
170
Member Avatar for atv161

does anyone know how to subtract a certain number of days from a given date? thanks in advance for your help. Nevermind I figured it out with the help of the help index.

Member Avatar for marc-0
0
130
Member Avatar for Loony064

Hey All I'm busy with a program in VB.Net 2008 that performs sales. When a user clicks on the Invoice button, a record with the details of the Transaction is addedd to the Transactions table in the back-end MS Access 2007 database. The Transactions table has the following fields: LogID …

Member Avatar for Loony064
0
99
Member Avatar for vinnarasi

How to delete,update records in listview? Changes also affect the database?

Member Avatar for vinnarasi
0
93
Member Avatar for hery

this is my code. [code] Private Sub cmdSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSearch.Click temp = "DaftarGaji" modPY.LookUp("SELECT * FROM MS_UMR ORDER BY TAHUN", strCONNECT, 0, 1, temp) End Sub [/code] [code] Public Sub LookUp(ByVal strRecordtoSearch As String, ByVal strCONNECT As String, ByVal KeyFieldPos As Short, ByVal …

Member Avatar for kvprajapati
0
193
Member Avatar for juliusceasar

Good Day All, I am having issues making reference to .subitems(5) of ListViewStudents below, I can get to .subitems(4) with no issue but it tells me .subitems(5) does not exist. lsvFemaleStudents has 6 columns therefore it should have 5 subitems right? Does anyone know if there is a restriction when …

Member Avatar for kvprajapati
0
87
Member Avatar for whitezombie

I'm new to this forum but I I'm trying to find an answer to my question. I've developed an application in VB.Net using the console option. This program runs from the command-prompt and is very basic. The issue I am having is: 1. I compile the program and copy the …

Member Avatar for kvprajapati
0
189

The End.