20,899 Topics

Member Avatar for
Member Avatar for dheerajlonely
Member Avatar for tukky

I have a list view control on one of my forms in my program. If i click on a selected item and click on the delete button it gets removed. But i want it so that if i havent got an item selected i click on delete i get a …

Member Avatar for auxius
0
100
Member Avatar for Mr.BunyRabit

Hey There all you clever people. Its Ruan here. I am using vb 2010, and i really would like to Just open, not modify a word document. Now i have browsed the internet, and this is what i have found.. in project menu>refferences> select .. microsoft word 9.0 object library …

Member Avatar for AndreRet
0
2K
Member Avatar for izyrider

I have a combo populated with: [code] With Me.cboOwner '// populate cboOwner .DataSource = dtMyCos .DisplayMember = "CoName" End With [/code] DtCos datatable contains: CoID int CoName string So far so good! Then I have a second combo cboIssuer that needs to contain all the items in cboOwner **PLUS** an …

Member Avatar for AndreRet
0
104
Member Avatar for zarifin99ska

i have button add and the coding, but everytime 1 click the button, a messagebox said that syntax error INSERT INTO. all database column name and the textbox name is true. i checked many times. this is my code [CODE] Try 'add data inside the database con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data …

Member Avatar for zarifin99ska
0
87
Member Avatar for swathys

hi, how do i format the currency value. i have used [COLOR="Red"]Format(GrandTotal, "0.00") [/COLOR] but i still got output like this [COLOR="Red"]60917.3972[/COLOR]. How can i make it to 60917.40

Member Avatar for swathys
0
122
Member Avatar for swathys

hi, how do i get latest transaction from sql database. All the records is saved in sql database and i use different application to grab the data from sql base on transaction. I use SELECT statement but i don't know how to make it unique variable/ID. 1st user might have …

Member Avatar for swathys
0
149
Member Avatar for arch_mah

In the MDI main form I am loading one child form (i.e Login Form)at the center of the MDI form. I want without closing the child form(Login form)no one can access the MDI main form.. After login only the login page should close and MDI form should enable true.. Before …

Member Avatar for Rodge1230
0
668
Member Avatar for VBPRGM

Hi, I am using visual basic express 2008 . and i am adding few rows to the database using some stored procedure. it is working fine. after adding the row i am displaying in a grid using dataset . fine.but when i close the program and reopen the program i …

Member Avatar for lolafuertes
0
106
Member Avatar for dorothy.v

[COLOR="Green"]*help me with this code i cant withdraw. *the balance inquiry didnt appear in the form4 *in my database, do i need to put the withdraw field? [/COLOR] <form 6> [CODE] Imports System.Data.OleDb Public Class Form6 Dim conn As OleDbConnection Dim cmd As OleDbCommand Dim strSQL As String Dim dr …

Member Avatar for lolafuertes
0
290
Member Avatar for Cavemankrug

Hello, I'm kind of new to this but have successfully launched a database UI before but this time I am using the Datagridview to display by data. I do this by OLEDB and establish my connection (see code below) and bind too two different datagrids: [CODE][/CODE] Public Sub FindTroubleshootingTable() Dim …

Member Avatar for lolafuertes
0
107
Member Avatar for TheDocterd

Hi all If I am at the wrong place please excuse as I am new at this IT Discussion Community. My problem is that I want to convert an application that is written in VB6 to VB.NET using Microsoft Visual Studio 2008. The conversion completes but there are compile and …

Member Avatar for lolafuertes
0
253
Member Avatar for dorothy.v

error message: No value given for one or more required parameters. that falls in dr = cmd.ExecuteReader need help Imports System.Data.OleDb Public Class Form1 Dim conn As OleDbConnection Dim cmd As OleDbCommand Dim strSQL As String Dim dr As OleDbDataReader ' Dim ctr As Integer Private Sub Form1_Load(ByVal sender As …

Member Avatar for AndreRet
0
211
Member Avatar for Pundia

How can I retrieve data from a DB in Access to labels, or radiobuttons in VB.NET? I've search and to retrieve data people usually show Datagrids. I just need to know how to navigate in records, by the number of their position (?) and to place that data in labels/textbox …

Member Avatar for AndreRet
0
168
Member Avatar for Really

Hi everyone, I am trying to build a code to get the website asynchronously using webclient.downloadstringasync I want to pass the data thus retrieved from dowloadstringcompleted to another function. This is the code I am using, [CODE] dim myString as String Function GetSite(ByVal as URL as String) StartDownload(URL) WebBrowser1.DocumentText = …

Member Avatar for Really
0
1K
Member Avatar for keedier

hi there... i am very new (and i mean VERY NEW at visual basic) programming, lets just say this is my 5th hour (and counting) learning programming, i googled since hour 1, i even read almost all i can read while im installing visual studio 2010 coz i really want …

Member Avatar for codeorder
0
240
Member Avatar for VisActualyBasic

Hi everybody, I have following code: Public Class Form1 Private Sub btn1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn1.Click Dim dayChange As Date = dtp2.Value Dim answer As Date answer = dayChange.AddDays(1) dtp2.Value = answer End Sub End Class Working : each time I click btn1 datetimepicker changes …

Member Avatar for rajpu
0
180
Member Avatar for StartOf

hi guys i new in vb.net i want to ask about checkboxlist, can i add an image to it ? if yes who can i do it ? if no why?? thanks in advance best wishs start OF FU

Member Avatar for roottybrian
0
92
Member Avatar for eikal

Hi, i got a program im working on. it does some calculations using quantity and price in such. heres the calculation module. [code] Private Sub calculations() If AdultsizeRadioButton1.Checked = True Then adulttotaldecimal = quantityinteger * adultpricedecimal * hoursinteger ElseIf ChildsizeRadioButton2.Checked = True Then childtotaldecimal = quantityinteger * childpricedecimal * hoursinteger …

Member Avatar for eikal
0
131
Member Avatar for jk_bscomp

Hello everybody!!! I just want to ask some internet sites where I can download Oracle server like mysql and sql server because I want to learn about how to use it. I have already knowledge about sql and mysql and how to access them using vb.net, and for more improvement …

Member Avatar for Ezzaral
0
273
Member Avatar for Mr.BunyRabit

Hey There, its Ruan. uhh, i need help, as i did indeed hit a brick wall. at the moment, i can connect to a database through textboxes, ill put the code at the bottom. What i want to do/know, is, How or What is the code or manner to read …

Member Avatar for Mr.BunyRabit
0
121
Member Avatar for Mykal73

hopefully I can explain this well. I have an application built in vs 2008. The main form is a MDI form with a datagrid for record selection. When the user double clicks on the datagrid it opens a child form with the selected information. the problem I'm having is once …

Member Avatar for Mykal73
0
161
Member Avatar for Mubusher
Member Avatar for Mubusher

hie , i am in trouble please help me , i am having a datagridview name of DGView and Textbox Tb when i write sometheng in TextBox so the similar information of datagridview row is selected my problem is that when i pressed up or down so the focus move …

Member Avatar for lolafuertes
0
60
Member Avatar for jcfans

May i know how to sort a datatable?My code that show below got any problem? why the datatable cant sort by qFundCode? Firstly,my program is add sum datarow where qFundCode show below are to datatable. qFunCode WER WER WER THS THS THS AG AG AG After this,i add another datarow …

Member Avatar for lolafuertes
0
202
Member Avatar for hanes84

Hi anyone can help me edit VB6 code to VB.NET code cause i have been working on it and still can't get any thing on it. there are some code which cannot be recognise by .net pls help.

Member Avatar for bagraoprasad
0
252
Member Avatar for swathys

hi, this is the code that i use to press enter. how do i make that enter to be pressed only once not more than that. PLEASE HELP!!! [CODE] Private Sub frmPasscode_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress blnPwdFromKeyboard = True If Char.IsNumber(e.KeyChar) Then Select Case Microsoft.VisualBasic.Val(e.KeyChar) …

Member Avatar for swathys
0
141
Member Avatar for sean_king

I am working on a class project that calls for a test score calculator that calculates and displays the score total, score count, and average score. If the user clicks the Display scores button, the application sorts the scores and displays them in a message box. There is also a …

Member Avatar for lolafuertes
0
1K
Member Avatar for zarifin99ska

Hi. for example i want to put 0000012, but the zero number not showing. can someone help me?

Member Avatar for roottybrian
0
75
Member Avatar for xcarbonx

Hi, I am trying to make a program which outputs an Invoice Number, which consists of the first 3 letters of a person's first name and the last 3 digits of their zip code. The user enter their first and last name, then enters their city, state, and zip such …

Member Avatar for xcarbonx
0
111
Member Avatar for mogaka

Am developing a software project using vb.net 2005. I have created an external file which is the program's help file. Can somebody help me with a code that can load/invoke it to be useful to the user? the help file is .CHM

Member Avatar for AndreRet
0
95
Member Avatar for konin

I'm currently working on a project, but need the codes for watermarking the image. Can somebody help?

Member Avatar for magdyalgamal
0
911
Member Avatar for roottybrian

Hi guys, Am currently working on a project and i think i need a dynamic graph, you know like the one you see when you open taskmanager, for those blue screen users, and then you click the performance tab. Anyone with an idea on how i can get there?

0
82
Member Avatar for amecily

Hi everyone, I have a form open (UpdateResponse) and the user wants to update a datagrid. So they click on a button to update the datagrid (and the database) and then they receive a message (ResponseUpdateConfirmation), which is another form, telling them that the update was successful. I want to …

Member Avatar for roottybrian
0
110
Member Avatar for JohnDove

I have a huge amount of data in flat-file format that I would like to validate with Visual Basic 2010. Basically the data is a text file with 300 comma separated fields and 500,000 records. Any tips, sample code or examples? Are any .NET classes specifically geared for data validation? …

Member Avatar for agrothe
0
170
Member Avatar for glenak

I'm using visual studio 2010 and even though I'm not new to VB.NET I still want to get the best possible book that can teach me what I need to know. Any suggestions?

Member Avatar for glenak
0
169
Member Avatar for Noorul Ariff

Dear... I'm doing a project... I want to have a TOOLBAR in my project in vb.net... I need this in my project... please help me to finish it... Thanks in advance...

Member Avatar for codeorder
0
132
Member Avatar for nikisen

Hello I am using a webservice with autocomplete. it is getting all customer from my database. but the issue is that i need to passt hru a selected value from a radiobutton list to just get the customer form the choosen area webservice code Public Function GetCompletionList(ByVal prefixText As String, …

0
61
Member Avatar for Peric

I've started to work something with ASP.NET in c# (i'm newbie), and i have a question: I've a DataGrid and inside DataGrid i have Columns with TemplateColumn, BoundColumn and ButtonColumn. I've binded DataSet to my DataGrid and it's all working fine but I want to know how can I programmatically …

Member Avatar for Peric
0
62
Member Avatar for raaif

I am Writing a program which converts latin text to original Language script. this where i have gone so far [CODE]' Mapping for Ascii to Unicode Private mapAsciiToUnicode() As String = {"h" => "1920","S" => "1921", "n" => "1922", "r" => "1923", "b" => "1924", "L" => "1925", "k" => …

Member Avatar for GeekByChoiCe
0
294
Member Avatar for y0yie_333

i want to have 2 listbox. the first listbox is for the Main category and the other one is for the sub category. and by using sql 2005 for the database. help me plz. . . for example my main category for the 1st listbox is ADIDAS CONVERSE NIKE SKETCHERS …

Member Avatar for codeorder
0
403
Member Avatar for mindserve

Well this is interesting for those who have images ( external) in their reports. I have an app that shows the jpg without any issues on Vista ( home basic) 32 bit. Same app on Windows7 pro does not allow the jpg to appear in the report. I switched the …

0
53
Member Avatar for mrclark

I am making a library that will load UI files in which a user can customize the UI of the program. The UI file is arranged that it is like vb code and that to set the text and location of a button the user would use the following UI …

Member Avatar for lolafuertes
0
115
Member Avatar for kehar

Hi, pl write me the simple example to connect student table of school database of Access through VB.net and code to AddNewRecord,DeleteRecord, UpdateRecord, SearchRecord. the fields in the table are say- Name, Desig and Age and textbox in form are- TxtName, TxtDesig, TxtAge the event under which each code has …

Member Avatar for lolafuertes
0
124
Member Avatar for PerplexedB

Is there a more elegant way to do this? : [CODE] For Each ctrl As Control In Me.Controls If TypeOf ctrl Is txtBase Then Dim ctrl1 As txtBase = ctrl ctrl1.ioEnable(value) End If If TypeOf ctrl Is pnlBase Then Dim ctrl1 As pnlBase = ctrl ctrl1.ioEnable(value) End If Next [/CODE] …

Member Avatar for lolafuertes
0
108
Member Avatar for kashy!

Hi again, I have a problem again with crystal reports. I am using Microsoft Visual Studio 2008 and want to design my Dynamic crystal reports. In vb6 i normally did this via bounding each control of the section1 ,2 or 3 via run time code by giving the name of …

Member Avatar for Naveed_786
0
924
Member Avatar for Noorul Ariff

Dear friends, I'm doing my inventory project in visual studio 2005... Back-end is ACCESS... i'm having purchase, sales tables... I want to know, how to Generate Report(Crystal or Data)... I need Steps to create and coding associate with it(For both, if it is possible)... Because i need very urgently... Plase …

Member Avatar for Naveed_786
0
131
Member Avatar for jib

I need to create an application that displays math problems by randomly generating two numbers, 1 through 10, and an operator (*, -, /, +) and prompts the user for an answer. The application should check the answer and display a message, display the correct answer and generate a new …

Member Avatar for killbill07
1
297
Member Avatar for yonderyellow

Hello, i have to interface an energymeter (RS485) to the RS232 port on the PC and develope a program in Visual Basic to manipulate the data received from the meter (according to IEC1107 protocol). I must be able to read the data recieved real time and also save the data …

Member Avatar for craigcl
0
131
Member Avatar for amecily

Hey everyone, I am developing a Windows application in Visual Studio 2005, V2.0 using VB.NET. I am coding part of an Emergency Response Information System. On my form, I have two combo boxes (cboBaseStationID and cboPriority). I am trying to populate the datagrid with records from my database based on …

Member Avatar for lolafuertes
0
171

The End.