20,899 Topics

Member Avatar for
Member Avatar for sushilsth

I have boolean value either class a or class b.. if those given condition are fulfilled then i want to have class a label in my report else class b. but when i inserted below format in formula field then i got error. this is just a sample. plz provide …

Member Avatar for Reverend Jim
0
120
Member Avatar for Ahmed.C

So I've been working on this simple FTP Client and i've come across this problem. Basically when the user clicks on the folder, a label changes saying ftpserver.com/folder1 and then when a user clicks on the folder inside that it's meant to be ftpserver.com/folder1/folder2 but the label is only saying …

0
103
Member Avatar for Ahmed.C

Hi. First Post... Just need some help with this program I'm doing.. I've been programming a FTP Client and i've got the base done but i just have one problem...I've added a listview with 3 columns. 1st column is File Name, 2nd column is File type and the 3rd column …

Member Avatar for Ahmed.C
0
401
Member Avatar for drmangeshajoshi

Hi All My query is very simple. I have a data file with two fields only in EXCELL.( Fields are Name and Address) 1. Import this file in MSACCESS 2007. 2. Creat a Form in VB2008 Express edition. 3. Fetch the data from database file. 4. How to distribute/install this …

Member Avatar for kRod
0
133
Member Avatar for Fangling

hi can anyone tell me how do i put load linq query into datatable then populate into datagridview? my codes are as follows: Dim dt As New DataTable '' Create 3 typed columns in the DataTable. dt.Columns.Add("ConflictingPaper", GetType(String)) dt.Columns.Add("Numberofstudents", GetType(String)) dt.Columns.Add("AdminNo", GetType(String)) 'Dim query1 = (From a In dt3 Group …

Member Avatar for kRod
0
244
Member Avatar for sushilsth

Private Sub btnload_Click(sender As Object, e As EventArgs) Handles btnload.Click Dim sqlquery As String = "select frmStudentReg.regno,nursery.rollno,[nursery.nepali(writing)],[nursery.nepali(oral)],[nursery.maths(writing1)],[nursery.maths(oral)],[nursery.maths(writing2)],[nursery.english(writing)],[nursery.english(oral)],[nursery.physical_edu(oral)],[nursery.creative(oral)] from frmStudentReg,nursery where frmStudentReg.regno=nursery.regno" Dim sqlcommand As New OleDbCommand Dim sqladapter As New OleDbDataAdapter Dim table As New DataTable With sqlcommand .CommandText = sqlquery .Connection = conn .ExecuteNonQuery() End With With sqladapter .SelectCommand …

Member Avatar for Begginnerdev
0
269
Member Avatar for prietorheymel

How can I get data in a datagridview and put it in a textbox ?? "using .accdb file format" .. T.T please answer me

Member Avatar for Begginnerdev
0
41
Member Avatar for sushilsth

this code in form load event... Dim sqlquery As String = "select * from frmStudentReg" Dim sqlcommand As New OleDbCommand Dim sqladapter As New OleDbDataAdapter Dim table As New DataTable With sqlcommand .CommandText = sqlquery .Connection = conn .ExecuteNonQuery() End With With sqladapter .SelectCommand = sqlcommand .Fill(table) End With For …

Member Avatar for ss125
-1
1K
Member Avatar for chad.calamba05

I need to get the sum of two numbers but i do not know how example > **what the result should be:** 1,000,000 + 2,000 = 1,002,000 > **my code's result:** 1,000,000 + 2,000 = 3 > It seems that my code only adds the numbers before comma (,) My …

Member Avatar for nashy13
0
2K
Member Avatar for VIPER5646

Hi all I have a Products table which has a description and a size column the description is a string value and the size has a double value. What I need to do is after reading the data it converts the decimals value of the size column into a fraction. …

Member Avatar for VIPER5646
0
1K
Member Avatar for mrkm1188

I have a VB project that allows a user to create folders and projects on the network. How would I deploy this to the users computer so that they can run it without needing to have Visual Studio installed?

Member Avatar for Reverend Jim
0
83
Member Avatar for xcrunner15

I want to format certain columns to allow only a certain number of numbers like you can only input number 0-7 and if not a message box shows up.. can someone lead me in the right direction

Member Avatar for Rahul47
0
61
Member Avatar for smitty68503

I am currently working with a website that is very difficult to navigate and you have to open up multiple tabs. I have no access to the website or the database. Just seeing if I could perhaps query through the website to bring up the info on my application.

Member Avatar for Rahul47
0
90
Member Avatar for Gen_1

I am a college student developing a local chat application using VB.Net and SQL 2005. I have multiple clients connected to a server via local ip. My first problem is, how will I know which users are online. Each user has their own username and password in order for them …

Member Avatar for TheApex
0
368
Member Avatar for Fangling

Dim connect As String connect = "Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" & Application.StartupPath & "\segdata.accdb" Dim conn As New OleDbConnection(connect) Dim sr As System.IO.StreamReader Dim entirefile As String sr = File.OpenText(Application.StartupPath & "\SEG1.txt") entirefile = sr.ReadToEnd() ' Read the whole file Dim OriginalValue As String OriginalValue = vbTab Dim ReplaceValue As String …

Member Avatar for Oxiegen
0
284
Member Avatar for xcrunner15

I want my code to affect column 5 and 6 to, but everytime i add it i get an error this is wat i have so far Private Sub DataGridView1_CellEndEdit(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellEndEdit If (e.ColumnIndex = 4) Then ' Checking numeric value for Column4 …

Member Avatar for xcrunner15
0
150
Member Avatar for ogucheed

Hello, Please any one to guide me through. was a VB 6.0 programmer 3 years ago. Now I want to use Vb.net how to I migrate/upgrade my projects to VB2008

Member Avatar for xcrunner15
0
77
Member Avatar for mrjekzz

Hi all! i have a problem from my program in vb when i click the delete button.... EXAMPLE : |QTY| NAME |PRICE 2 1st FOOD 250 1 2nd FOOD 150 TOTAL AMOUNT IN TEXTBOX >>>>> 400 >>>>>>>DELETE BUTTON<<<<<<<<< then when i click 1st food and click delete button THIS IS …

Member Avatar for xcrunner15
0
129
Member Avatar for branding4you

I need to show the values in my datagridview as currency, I can do the currency format but that uses my default system currency. I load projects that are in many different currencies, at the moment I have it as 1,000.00 and I look at currency name I set up …

Member Avatar for xcrunner15
0
991
Member Avatar for DyO1

Hello everyone, I'm a making a BAT file creator and I can't find a way to add a 'Test' feature (open without saving) This is the code I tried using: Shell("command.Text") *Doesn't shell start DOS? command.text=that's where users wrtie a code Can someone give me a working code on how …

Member Avatar for DyO1
0
169
Member Avatar for nikki05

Hi , I am able to add Label, button,texboxes into Dictionary. However I am getting problem to add values of Combobox into dictionary. Here is how I was trying to do. Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Try Dim myLabel As Label Dim myButton As Button …

Member Avatar for Reverend Jim
0
328
Member Avatar for Sevyt

Probably already know the answer to this problem, but perhaps i am wrong. My datagrid is being sorted by Id which is Autonumber. So if i add a new entry its added at the bottom of the list. Is there any way to change the sorting to a different nummeric …

Member Avatar for Sevyt
0
165
Member Avatar for chocomilk

how can i parse files from notepad and transfer it to textbox with delimiter of newline?

Member Avatar for tinstaafl
0
232
Member Avatar for shingabiss

While going through the Publishing process, I'm encountering some odd behaviur. I select my path to publish as my desktop of the computer I'm writing the code on: C:\Users\RossS1\Desktop\ In the next window, I select "no web updates" Next it gives me a "read only" window with a web-like path: …

Member Avatar for Begginnerdev
0
111
Member Avatar for dushidav

I would like some one to help me how I can generate reports through vbnet 2010 but related to the database that I have in access 2007, I wish to make report that will require to select some columns of different tables for better making the repots. I have another …

Member Avatar for Begginnerdev
0
285
Member Avatar for pc20912

I am beginner for Vb.Net, My project used some external files (Ex. Word, Excel, PDF, and JPG). Where should I copy these files..? in Same folder Project already saved (D:\TTC) or not. If different path, what is it. (Ex, When I click Button1, Names.docx file must be opened) I want …

Member Avatar for Begginnerdev
0
226
Member Avatar for iBackpace

Hello, help me please. I have a db sample ( http://i.imgur.com/JRZ2ojP.png ) I have 1 combobox and 1 textbox If the combobox select "Notebook" then on the textbox it must be display the corresponding itemStock (3) Please :( By the this my simple code for my combobox Try Query = …

Member Avatar for Begginnerdev
0
646
Member Avatar for Sebastian_1

I have a login form that asks for credentials for access to select areas of a large app I wrote. I am trying to add a form to allow for password changes via that app instead of me having to update the SQL DB manually. DB has 1 table called …

0
74
Member Avatar for Izzy_1

Hi all, I am pretty new to VB.NET programming, and I am having trouble with a few tasks I am trying to attempt. Firstly, I have to (using Visual Studio 2010) access an MS Access databse, read one of the tables and ouput the 10 numbers which occurred most often …

Member Avatar for Reverend Jim
0
1K
Member Avatar for IsaacMessi10

I need to to this: If the selected option / item is "Enabled" I want to preview a textbox. I've tried this: If ComboBox6.SelectedItem = "Enabled" Then TextBox10.Visible = True Else TextBox10.Visible = False End If And also this: If ComboBox6.Text = "Enabled" Then TextBox10.Visible = True Else TextBox10.Visible = …

Member Avatar for Reverend Jim
0
116
Member Avatar for vivificus

I'm trying to make a program that has a world map on it and when you click on a continent you get some basic information about that continent in a textbox. However I am trying to figure out how best to do this if all continents were perfectly square it …

Member Avatar for Reverend Jim
0
254
Member Avatar for killer88

What are the additional features can be added to the web browser which is developed in visual basic

Member Avatar for Reverend Jim
-1
106
Member Avatar for faisal.ghulam.9

i really need a quick help with my code. when i debug the program no matter what the numbers in milage and Rate are the result is always 0 and here is my code: Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click Dim …

Member Avatar for C#Jaap
0
128
Member Avatar for sidyusuf

hi frnds, i have a window based datagridview with examdate as one the editable datetime column .Now i want user to update or change the date to a fully valid format(dd:mm:yyyy) just on pressing enter key within the datagridview. A popup message must appear when user enter wrong date. Any …

Member Avatar for Edah66
0
576
Member Avatar for sonyeo

When i run my program there's an error in conn.open() and tells "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done." Please help me to solve this problem... Here's my code: Dim ds As New DataSet Dim dbSource As String Dim …

Member Avatar for ss125
0
145
Member Avatar for Shodow

how to perform click on listview? when button is click listview will perform a click on first record of a listview

Member Avatar for Ancient Dragon
0
1K
Member Avatar for Learner010

i want to add a label over progress bar to show the percentage of the completed task . i added the code : Label1.Parent = ProgressBar1 Label1.BackColor = Color.Transparent but now i can't see the label1 even. so how to make label1 transparent.

Member Avatar for Gé48
0
4K
Member Avatar for Shodow

how to select all item in listview? For i = 0 To lvList.Items.Count - 1 lvList.Items(i).Selected = True Next i PrintToolStripMenuItem.PerformClick()

Member Avatar for Reverend Jim
0
115
Member Avatar for sonyeo

The problem is when i delete a records from the listview, it deleted but when i look unto database it doesn't deleted. Please help me solve this problem: Here's my recent code: Module1.connect() Dim sqlconn As New OleDb.OleDbConnection Dim Button = MessageBox.Show _ ("Are you sure you want to delete …

Member Avatar for sonyeo
0
180
Member Avatar for sonyeo

The problem is it works updating the records but all records will gonna update... i want to update the selected records only.. I use Listview~! example column table: Processor Pentium(R) Intel(R) Dual CPU when I edit the Intel(R) into VGAgraphics, the Pentium(R) and Dual CPU will also change into VGAgraphics …

Member Avatar for sonyeo
0
146
Member Avatar for ibpet11

Hello guys, I did appreciate this quick assistance, I have a .csv file and I want the lines in the file to be sorted using value in the first column and the write out the sorted file to another file Take an instance we have: ================================= 36,Line1 APPLE FRUIT 11,Line1 …

Member Avatar for ibpet11
0
2K
Member Avatar for Mr.M

Hi Dw I'm trying to create a program that I will use to browse through websites when I'm not connected to the internet and I can download the single page using the code I provide bellow but what I want is to download the entire website with it contents e.g. …

Member Avatar for Mr.M
0
329
Member Avatar for Fangling

Hi i have a datatable, dt3 showing: adminno paperno 111411H 4 111411H 9 182938C 2 192839A 3 111380Y 26 111380Y 36 111380Y 40 182737N 26 182737N 40 i want to populate: conflictingpaper numberof students adminno 4:9 1 111411H 26:40 2 111380Y 182737N ... .. .... ... i have these codes: …

Member Avatar for ss125
0
250
Member Avatar for Fangling

Hi, i have these codes: Dim dt3 As New DataTable dt3.Columns.Add("AdminNo", GetType(String)) '/*Add column AdminNo dt3.Columns.Add("PaperNo", GetType(Integer)) Dim curmodule As String = String.Empty For Each dr1 As DataRow In dt1.Rows curmodule = dr1("ModuleCode").ToString For Each dr2 As DataRow In dt2.Rows Dim found As Boolean found = False For i As …

Member Avatar for Fangling
0
1K
Member Avatar for SenseiWuzi

Hi, Basically, what I'm trying to do is that once the user has entered player names into two seperate text boxes, the user will then click the "Play" Button, this button will then change it's text to say "Quit". How would I go about doing so that once the button …

Member Avatar for SenseiWuzi
0
225
Member Avatar for Sevyt

Is there any way to show the highest value from a access db column in a textbox which you put in the load of a form? Found something by searching around, but did not get it to work at all. Maybe because i cannot open a connection in the load …

Member Avatar for Sevyt
0
615
Member Avatar for shenn.to

Problem with group box. I had created a groups box. With objects inside it with small spaces between each. But when I run the program. The spaces of the objects inside the group box became large. Picture one shows the design phase. Pcture two shows the running phase.

Member Avatar for shann_
0
186
Member Avatar for Sebastian_1

I am trying to write an app that can be used by different users with different access levels. I have some buttons that I am using a Inputbox to ask for and verify the password. I would like the change them to a password char txtbox However, I dont know …

Member Avatar for Sebastian_1
0
167
Member Avatar for GeekPlease

Good days folks, I have a dgv where I have to select a text in a certain cell. For example in a cell there is a text like - "A SELECTED TEXT". What I want to do is when I highlight the word "SELECT" in "A SELECTED TEXT" it will …

Member Avatar for Begginnerdev
0
217
Member Avatar for Shodow

The End.