20,285 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
Can some one tell me is there a way to convert vb.net code to c# in VS2010? | |
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 … | |
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 : … | |
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. | |
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 … | |
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/ | |
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.. … | |
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 … | |
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 … | |
  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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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? | |
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.. … | |
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? | |
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 … | |
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  | |
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 … | |
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 … | |
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 … | |
how can I make vb.net application online. Is it possible? so it's can be access from anywhere.. | |
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 | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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() … | |
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, … | |
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. ! | |
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 … | |
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 … | |
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 … | |
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?. | |
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! | |
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 = … | |
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 … | |
[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 _ … | |
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 … | |
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 … | |
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 |
The End.