20,285 Topics

Member Avatar for
Member Avatar for tendaimare

my login code works fine but the it gives me problems when the username and password in questin are not on the first row in the datatable. This is because when the code in debug mode, I took the time to check the contents of the datatable using the datatable …

Member Avatar for poojavb
0
136
Member Avatar for sora90

I am trying to block a list of processes from Txt file/ Listbox Process using Timer. Here's a list of the codes Code blocks are created by indenting at least 4 spaces ... and can span multiple lines Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick …

0
131
Member Avatar for prancode

The below code was written to bind the datatable to the grid, but i am unable to fill the grid.... I am unable to fill the datagrid, I'll be very thankfull for your help. Private Sub BindGrid() Dim CMD As New SqlCommand Dim ad As New SqlDataAdapter(CMD) Dim DT As …

Member Avatar for |-|x
0
108
Member Avatar for jhedonghae

How do I open my Crystal Report in VB code (RPT files) on password-protected Access 2007 database? Ever since I protected my database with password, my Crystal Report generates an error. Thanks

Member Avatar for poojavb
0
688
Member Avatar for rigoalhn

Hi guys, im pretty much done with my program but im receivin an error that i cant find where it its. Im using a WPF application in visual studio and it uses a service reference that contains addresses and zip codes. The purpose of the program is for the user …

Member Avatar for rigoalhn
0
284
Member Avatar for metaxx

Hello all! I have an old program from 2002, which was coded in Delphi 7. Now i would like to rewrite the whole program, and expand in Visual Basic. But, i am just learning the language, and it is very difficult to me after Delphi, so i would like a …

Member Avatar for Sahil89
0
174
Member Avatar for venkateshyeluri
Member Avatar for Mitja Bonca
0
94
Member Avatar for ponkan20

hi!! im a new to vb.net and im having a problem, pls help me ok here it is... i created a listview, and i have a button5 "view records" if i click the button, all the records should be shown to the listview but yeah i doesn't work here are …

Member Avatar for Mitja Bonca
0
2K
Member Avatar for paoi00

i need to compare two different tables which are Enlistment and Schedulings Table . in schedulings Table , there was a columnnmae AvailableSlots wherein the AvailableSlots in every sections in every year is recorded.. in Enlistment table, i used to count the number of records that satisfy my query : …

Member Avatar for paoi00
0
213
Member Avatar for fafa70

hi. i have some code in visual basic and i wrote some classes in c++ and i want make it dll but i don't know that when you use dlls it decreases the speed of process or not. thanks.

Member Avatar for thines01
0
260
Member Avatar for eltonpiko

Hi i have a vb project im getting a bit of trouble with. this is how it should work 1. user input text in the textbox. 2. the input text will be count as single character each one by one 3. after been checked they will be writen to a …

Member Avatar for Mitja Bonca
0
278
Member Avatar for nettripper

guys help.. How can i Disable the Left and right Windows key in vb.net??.. my program is on fullscreen and i dont want to interrupt my users with the startup menu when they accedentaly pressed the windows key while they are using my program... help.. thanks.. ^_^\m/

Member Avatar for vbDotMe
0
2K
Member Avatar for paoi00

hello :) i am working with Search module of a student.. there's a link on the form that when clicked the schedule of the student must be shown on Listview in ScheduleStud Form.... actually i used the showmyrecords() on the other forms but when i used it in this module.. …

0
60
Member Avatar for mitchfizz05

Hello all. I am making a web browser (bangbrowser.freeforums.org for more info), and the address bar goes weird. Under the Webbrowser Navigated event, I made the Address bars text get set to "WebBrowser1.Url.ToString". It works, but I get every web request sort of thing! Even Javascript! My address bar usally …

Member Avatar for thines01
0
115
Member Avatar for choosechrist

i open a child form from within a parent form Private Sub TextBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress Dim custmast As New CustomerMaster custmast.MdiParent = Me.MdiParent custmast.Show() End Sub now the form customer master has values within a listview. when i doubleclick on a value within …

Member Avatar for LearnVBnet
0
221
Member Avatar for knowdarian

![image14](/attachments/large/3/image14.png "image14") ![image22](/attachments/large/3/image22.jpg "image22") Hi, I am extracting datas from the csv file to display in datagridview1 as shown in image1. Now I want to search the datagridview1 and display the result in datagridview2 as shown in image2. Please do refer the attached images. I am using Visual basic 2010 …

Member Avatar for knowdarian
0
174
Member Avatar for suribabuk

i have one combobox and it is containing some items when ever i changed that item the output is generated according that it means i store databases in my combobox the default item is "select" like this I have so many forms when ever i changed my cbdatabaselist that database …

0
97
Member Avatar for Dendari

Hello everyone. I'm working on a program which should edit a text file by adding/deleting some specific lines. By default this text file doesn't have these specific lines, so the program will add them. But I also want it to replace them if they're already in the text file. Basically …

Member Avatar for Dendari
0
205
Member Avatar for Reverend Jim

I have a form with a TableLayoutPanel with the following properties changed from default: Dock = Fill AutoSize = True AutoSizeMode = GrowAndShrink ColumnCount = 1 Margin.All = 0 one row set to AutoSize This is a stripped-to-the-basics version of part of my app. I want to generate a vertical, …

Member Avatar for Reverend Jim
0
2K
Member Avatar for honeybee2090

hi guys few days ago i was trying to find some thing to learn and i found a code it leech proxies from web but method used is post method/ http webrequst .... problem is here want to do same thing with web browser here r the codes [ICODE]Dim request2 …

Member Avatar for honeybee2090
0
117
Member Avatar for sicko

Hi guys, I'm doing an application that works with an online mysql database. Here is a sample of my code: ~~~ Dim adapter As New MySqlDataAdapter("select * from my_table order by code", "server=my_server;User Id=me;password=password;Persist Security Info=True;database=database") Dim my_table = New DataTable adapter.fillj(my_table) ~~~ On the last line, the application freezes …

Member Avatar for Mitja Bonca
0
125
Member Avatar for Sahil89

Hi guys, does anybody know about render issue in WPF while using windows 7? I am facing render issues when I use effects like shadow or blur. Most controls do not appear or keeps blinking. Is there any solution to fix this problem?

Member Avatar for Sahil89
0
117
Member Avatar for jhedonghae

i have 2 combobox, one is for the start time and the other is for the end time. my problem is on how to set the time interval.. for example if user select 6:00am as start time and 6:00 am as end time it must prompt that is in invalid.. …

Member Avatar for Sahil89
0
696
Member Avatar for sing1006

after searching on the web, i know that Me keyword is use to Refer to the Current Instance of an Object, but if i want to Refer to the others Instance of an Object, what is the keyword that i need to use?

Member Avatar for Reverend Jim
0
101
Member Avatar for ZainabJuma

I have a problem in my program in VB I have a serial number and if you want to add a new registry stores Descending including what it means to become the first number in the second line and the second number in the first line and the meter, but …

Member Avatar for Mitja Bonca
0
64
Member Avatar for jhedonghae

hi again everyone...i have here an attach image of my problem.... items in year level came from my database...what i wanted is that their would be no repitition...is this possible? please help ![526949_423643440983941_100000148652191_1891701_429384302_n](/attachments/small/3/526949_423643440983941_100000148652191_1891701_429384302_n.jpg "align-left")

Member Avatar for jhedonghae
0
112
Member Avatar for sharunkumar

Hi everyone, I just got this code which splits an image based on a 5x5 gride and saves them as smaller images... This works perfectly for images less than 200x200 dimention but when i use a bigger file, I'm getting an "Out of memory" exception. Can someone help me out …

0
97
Member Avatar for jhedonghae

i have here a code for my back up: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dbload As String = Application.StartupPath + "\Enrollment System.accdb" Dim backupdb As String = "G:{0:yyyyMMdd}" + ".accdb" System.IO.File.Copy(dbload, String.Format(backupdb, Date.Today), True) MsgBox("DB Backup Successful") End Sub but this code …

Member Avatar for jhedonghae
0
140
Member Avatar for mitchfizz05

Hello friends! I want to make a application that uploads a whole folder, but I can't because I don't know how to upload a folder in VB.NET. I want to be able to make my application to zip the folder, then when it needs to get the file again, it …

Member Avatar for thines01
0
94
Member Avatar for arezz09

how can I make vb.net application online. Is it possible? so it's can be access from anywhere..

Member Avatar for JorgeM
0
103
Member Avatar for ZainabJuma

How do I add an animated picture to the Splash screen in vb.net 2008 my picture is .gif and when i setup the form's backgraound the picture dosent move. hepl me pls

Member Avatar for ZainabJuma
0
907
Member Avatar for circuit009

I want to create an installer for my vb.net application, i want to have an installer which can install the application as well as the supporitng software (sql server, crystal reports). I have googled alot learned about clickonce & several other things but not able to incorporate the things. Please …

0
112
Member Avatar for paoi00

i have 3 textboxes and 1 submit button : 1. Username 2. Secret Question 3. Secret Answer when the user inputs their username , the Secret Question automatically appeared in the second textbox , and then put their answer in the third textbox.. just clicking the submit button the system …

Member Avatar for paoi00
0
499
Member Avatar for paoi00

hi! can you help me..? i want to limit how many times can user select the every items inside the combobox to 60. how could i do that? pls help me. :) here's my code in my combobox.. i dont know how to start the codes in limiting.. that' why …

Member Avatar for paoi00
0
318
Member Avatar for jhedonghae

i had set a password for my database to protect my data but the problem is that my database doesn't function with my codes in vb...how do i solved this? please help

Member Avatar for jhedonghae
0
471
Member Avatar for major_lost

I used an older version of VB (4.0) to create a program and now want to re-create it with VB.net. A line in my program used the " ; " character to force printing to wrap I can't do this with VB.net using the 'PrintLine' function. What function allows me …

Member Avatar for major_lost
0
152
Member Avatar for zhouy

Dear All, I have a small probelm with updating my database. Here are my codes ~~~ vb Module AphidSimVar Dim myCon As SqlCeConnection = New SqlCeConnection("Data Source=|DataDirectory|\AphidModel.sdf") Dim myCmd As SqlCeCommand Dim myAdap As SqlCeDataAdapter Dim myDataSet As DataSet Dim myTable As DataTable Dim myBuilder As SqlCeCommandBuilder Public Sub ShowData() …

0
95
Member Avatar for paoi00

hello again :D i want to update my database if an enrollee have balance or dont have.. if they have balance , the record of payment of student will be updated.. here's my code : Dim cn As OleDbConnection If TextBox1.Text = "" Then MsgBox("Enter a Student Number! ", MsgBoxStyle.Information, …

Member Avatar for paoi00
0
197
Member Avatar for paoi00

i saw this [article ](http://www.daniweb.com/software-development/vbnet/threads/399212/printing-from-list-view) that shows printing of listview using printdocument.. it helps me but then i want to place my list view on the middle of the page.. i want to know how to place it.. can you please help me? thank youu. !

Member Avatar for paoi00
0
90
Member Avatar for tashee2007

Dear All, I have few question regarding using Treeview in my project. The screen of my project is been attched. I can populate the data from database in treeview using following code: ~~~ vb Imports System.Data.SqlClient Public Class Tree Private Sub Tree_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles …

Member Avatar for Reverend Jim
0
929
Member Avatar for vbDotMe

Hi, I'm trying to setup sort of a LAN keep-alive proxy... Ex.: * My Xbox 360 is connected strait to my computer via an ethernet cable. * My computer is connected to the internet via a Wi-Fi adapter. * Everything works fine and I can access the internet on the …

Member Avatar for vbDotMe
0
128
Member Avatar for Begginnerdev

Hello my fellow daniwebbers, I have yet another question. I have a date, which is pulled from a database, that I need to convert to another form of that date. Example. Date1: 1/2/2001 Date2: 01/02/2001 What i am wanting to do is turn the current date format into two digit …

Member Avatar for Begginnerdev
0
161
Member Avatar for newbie12345

Good day programmers!. i have here a login in form1 that is connected to my sql database. i want that if i login in form1. the form2 will show my name. can anyone help me?.

Member Avatar for smitty68503
0
5K
Member Avatar for Sahil89

Hello guys is there any way to run the WPF storyboard using code in VB.NET? If yes how can we do it? And if i am not gonna get answer to this question too then let me know. Thank you!

Member Avatar for Sahil89
0
178
Member Avatar for paoi00

hello ! can you please help me..? i want to limit the number of students(60) that will be enrolled in one section and prompt a message that it surpass the limit.... i inserted it in my combobox1 ..here's my code : strsql = "select * from Schedulings where Sections = …

Member Avatar for paoi00
0
90
Member Avatar for tendaimare

I am trying to have a situation where if a user clicks on a certain row in a datagridview control the value in the datagridview row will be shown for a a certain column. Column 1 in my datagridview control has Names in it so I want if a user …

Member Avatar for Jx_Man
0
275
Member Avatar for tashee2007

[code] Private Sub DataBinding() Try Dim bsTableName2 As String bsTableName2 = "dbo.hrBranchSetup" 'cboOrganization.DataBindings.Clear() 'cboOrganization.DataBindings.Add(New Binding("Text", ds.Tables(bsTableName2), "OsID")) brCode.DataBindings.Clear() brCode.DataBindings.Add(New Binding("Text", ds.Tables(bsTableName2), "BranchCode")) brName.DataBindings.Clear() cboOrganization.DataBindings.Add(New Binding("SelectedValue", ds.Tables(bsTableName2), "OsID")) cboOrganization.DataBindings.Clear() brName.DataBindings.Add(New Binding("Text", ds.Tables(bsTableName2), "BranchName")) bsOnlineYNCheckBox.DataBindings.Clear() bsOnlineYNCheckBox.DataBindings.Add(New Binding("Checked", ds.Tables(bsTableName2), "OnLineBrYN")) Catch ex As Exception MessageBox.Show("Error No : " & Err.Number & vbCrLf _ …

Member Avatar for robea
0
291
Member Avatar for mikeybware

I have an SQL select statement that I cannot quite get working. Dim SelectStr As String = "SELECT * FROM Appointments WHERE Doctor = '" & ComboBox1.Text & "' AND AptDate = #" & DateTimePicker1.Text & "#" This works perfect ... however I have 2 more WHERE possibilities ... I …

Member Avatar for poojavb
0
179
Member Avatar for Gus_19

As for the form, the user enters the data, but if they need to add additional items (i.e. more people, property vehicles), I need the data to save to an excel file, but clear the form. I have been able to get the textboxes and rich textboxes to clear, but …

Member Avatar for Reverend Jim
0
102
Member Avatar for roshu10

To freeze the exicution for specified period we use threading.thread.sleep() in timer tick event..... But my problem is how to freeze the exicution of a button clivk event for a specified time.....?? I jst tried to use threading.thread.sleep() But its not working in button click event

Member Avatar for vbDotMe
0
127

The End.