20,284 Topics
| |
Can someone tell me how to add an additional item to a combobox that is bound to a datatable? I have populated the ComboBox with data from table sSQLCbo = "SELECT region.ID, region.name FROM [STORES] ORDER BY store.ID" Dim ds As New DataSet da = New OleDb.OleDbDataAdapter(sSQLCbo, con) da.Fill(dt) con.Close() … | |
Hye, can one please explain to me about the code below. I need to know what exactly should be inside Field1 and Field2? I'm new to vb.net. I know that tbltemp should be the name of our table but im confused about the Field1 and Field2. Dim strSQL as String … | |
i face a problem in checking file condition. I wish to create a program that can check the condition file continuously while the program is running. For code below that I wrote: [CODE]Private Sub StartTracking_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim FILE_NAME As String = "\Program … | |
I want to draw a 'stacked column chart' in VB.Net in which a series data is just stacked one above the other in the same column. Let me explain: Suppose I have three series of data each having 5 values like this: Series 1: (a1,b1,c1,d1,e1) Series 2: (a2,b2,c2,d2,e2) Series 3: … | |
why when i save my vb project it save as SLN file? how it can be in a windowsapplication format? thank you | |
Dear All, I need to incorporate sending mail option in a windows application where i have to use secured email client but not smtp client. Is there any other way to do this. Can anybody help me in doing this. Thanks in advance. Regards, Deepak | |
Hello. I started making software for Counter Strike server of my friend. I want to grab some text from cs server page to labels in my form. Here is the page: http://www.gametracker.rs/index.php?page=server_info&ip=193.192.58.206:27065 I want to add info of the server to my form. Example: Game: ***Counter Strike 1.6*** Mod: ***PUB*** … | |
Hi there, I am trying to access a 3rd party Apache/Axis web service where I am required to submit an HTTP header with username and password attached. I have added the service/reference no problem using the VB.Net add service reference. this has given a local object for their service. I … | |
Dim ADP As SqlDataAdapter = New SqlDataAdapter Dim CONN As SqlConnection = New SqlConnection("Data Source=|DataDirectory|\dbTesting.sdf") Dim COMM As SqlCommand = New SqlCommand("SELECT * FROM tbTesting") Dim DS As New DataSet CONN.Open() Dim DR As SqlDataReader = COMM.ExecuteReader() DR = COMM.ExecuteReader() TextBox0.Text = DR("Test").ToString This was my coding in order to … | |
Hello, Can someone help me please. Ive got a listview with the columns etc, when i save a form and it shows up in the listview with some items in the columns, how can i get a textbox to add a number each time a row is entered. example: I … | |
Hi! I have a real simple problem :) I wrote an application in VB.NET and I need to loop through multiple files. Now my code looks like this: [code] Private Files() As String = System.IO.Directory.GetFiles(My.Application.Info.DirectoryPath & "\Data", "*.spe") [/code] which allows only one file to be opened. I have 12 … | |
can anyone help me to make a program for multiple choice test using visual basic and ms access???pls .. | |
hello, what code do i use inorder to link a textbox to a list box. Example: On the log in screen theres a username textbox. On another form it has a listbox containing names that are allowed to be used. If someone enters a name that is contained within the … | |
Hi, i need help when i press the save button on a form that i have created (i have no save dialog etc yet) then it saves that form with all the information in their corresponding boxes when i open it again. Example: I fill in the form then i … | |
I keep getting a NullReferenceException. Any help would be great! Private Sub fillpub(ByVal argPubID As Integer) Dim drpub As _books_Fall2012_A2DataSet.PublishersRow drpub = _books_Fall2012_A2DataSet.Publishers.FindByPubID(argPubID) If drpub.IsNameNull Then txtPublisher.Text = "" Else txtPublisher.Text = drpub.Name End If If drpub.IsAddressNull Then txtAddress.Text = "" Else txtAddress.Text = drpub.Address End If If drpub.IsCityNull Then … | |
Hello, I wanted to know whether its possible in VB.Net to use a string as an object name. Lemme describe my problem. I have four radio buttons - p1,p2,p3,p4. Now i want to check whether these buttons are selected or not, for this thing would have to use for if … | |
how can i change the value of data in crystal report base on the selected item in listview? i am using mysql and visual studio 2012 | |
pls could anyone help me with my final project..im begging u guyz ..tnx en advan pls help me to Design a program for examination such as Prelim, Midterm, Pre-Final and Final. Requirements: 1. Main Form shall contain the following menu: Types of Exam, Examinee Registration, Exam Result, Help and Exit … | |
i have a combobox that have items form database. the problem is when i selected an item from that combobox it disappeared but still in the choices. i want the combobox.selecteditem should be appearing if i selected it. here's my code : Dim strsql = "select * from DesignationEveryDept where … | |
Hi can someone please help me how to update after inserting ? In this code I am going to insert a transaction that borrow books in library system BUT In every borrow of books I need to lessen the quantity of the book.. I have an error in this code.. … | |
I want enter the telephone no into text box like this 022-1234567 how to set the textbox commands to get like this........... | |
Hi All, Quick one, I am calling a web service that returns a dataset but the company doesn't know what structure is in the dataset anymore as the original programmer has left. The webservice code calls a stored procedure that they can't access. Is there anyway to call the webservice … | |
I got a textbox which holds a persons address For example Streetname / house number / box number They are seperated by a space I want them to go into their own textboxes TxtStreet, TxtHousNr, TxtBoxNr I am pretty sure its best done with indexof But i cannot get it … | |
Hi friends, I'm developing an application for HR. I have two tables so far.One is tblDetails and the other is Academic. I have created a relationship (ID to AcademicID), I have been able to pull data to a form by this SELECT statement: sqlSearch = "SELECT tblDetails.ID, tblDetails.FirstName, tblDetails.Surname, Academic.AcademicID, … | |
hi! can someone help me or give me a tutorial on how to send email with crystal report attachment in vb.net 2008? i tried searching for video tutorials but i could not find one... or can someone discuss and teach me how to do this? PLEASE.. I NEED YOUR HELP … | |
Hello everyone, i am developing a Library system, where user can borrow books and return them. i have a table in my DB called "borrowed books" it contains list of information about the borrowed book and the borrower, when the user returns the book the system should remove the record … | |
i have a data gridview with 4 columns namely name age address and attendance. my problem is this ,using a button how i change the attendance in all to "OUT"? help me please | |
need some help guys im trying to put a hyphen between a number for the telephone number but i want to use the keypress or textchanged i already done it using the button so im trying to use the textbox rightnow but after the hyphen is been inserted to a … | |
I know that its very simple to save an image source in a MySQL database but my problem is that how can I save an image source and add it to my project's resources so that I can call it easier even if I transfer my Application to other PC, … |
The End.