20,899 Topics
![]() | |
I am new to vb and I have been working on getting my brain around this if condition problem I am having in a windows forms in VB. This part of the project is a form writing back to SQL. I am looking to valdate input in textboxAm before I … | |
Hi! I am new in vb.net and use it in our game programming. I don't know if this is the same in what they do. Here's the code. Thanks! :) Dim jeepEnemyGallery As New jeepGallery Me.y = CInt(Int((8 * Rnd(1)) + 1)) Select Case y Case 1 To 2 jeepEnemy … | |
hey everybody, i am new to vb.net environment pls help me to sort out my problem. let me explain it. in my project i need to clone/copy the content of the two fields from one table to another table in same database.i have tried my level best but got the … | |
Hi, I am new into Visual Basic programming and I am using a VB2010 Express. I've been working on something and so far managed to achieve results by refering to different articles online. Now I am stuck at the serial communication part. Can anyone please help me describing how to … | |
i have 1 text box and combobox. all i want is to enter all data that is type or selected in combobox is showed in list view. can you help me to do that.? and all entered data in listview could be save in database. ^^ | |
1) Could anybody tell me why I am getting a NullReferenceException when I hit exit? 2) Also, how would I display my txtPrice in currency form ($0.00) 3) How would I disable my navigation buttons at the same time once they reach the end of the datagrid? Option Strict On … | |
i want to save my picture in database i have these codes but then there is an error . " command text was not set for the command object " how to solve this problem? thank you.! Try If imgName <> "" Then Dim fs As FileStream fs = New … | |
I have a problem that hopefully someone can shed light on. My OleDBdataadapters and OledbTableadapters have gone on strike!! In a simple vb.net 2005 pro project I have an Access 2003 .mdb with 2 tables each with 1 primary key and all other fields allowing zero length and not required. … | |
hey, i want to perform difference of two values in datagridview and update it in access DB using oledb.. pls help me... | |
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, … | |
Please help me debug about datetimepicker. I think, the code is written correctly but its not. The program kee[s prompting **ORA-01858: a non-numeric character was found where a numeric was expected** Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim cmd As New OleDb.OleDbCommand 'cnn.ConnectionString = … | |
Hello every one and thank you all for your sweet replies. I am making a project in VB.NET, after the completion of project, is it possible to install it in anyone's computer? I mean to say, the project which I have made in VB.NET 2008, can be only run through … | |
I searched and found a lot of codes and I made a code for myself for transfering file through ftp protocole but I got some errors there that I dont know:-s this is my code : Dim FTPRequest As System.Net.FtpWebRequest = DirectCast(System.Net.WebRequest.Create("ftp://ftp.microsoft.com/Softlib/" & "README.TXT"), System.Net.FtpWebRequest) FTPRequest.Credentials = New System.Net.NetworkCredential("", "") … | |
Hello everyone! Another question pertaining my homework question I have a user control called Course which contains a maskedtextbox for users to enter in grades and a listbox to show the letter grade for the numeric grade they enter. I have 6 of these in another user control, while the … | |
Help me to solve this problem Conversion from string "LastName" to type 'Double' is not valid. Private Sub ButtonAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click Try Call OpenConnection() With OleDa .UpdateCommand = New OleDb.OleDbCommand() .UpdateCommand.CommandText = "UPDATE [INVENTRY] SET [ItemCode] = @ItemCode , [ItemName] = @ItemName , … | |
Hello! I am makeing inventry program for my SHOP, When Button1 clicked, listview all items will UPDATE, listview coloum 3(QUANTITY) will SUBTRACT from ms access quantity. Please help me. Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click Try Call OpenConnection() OleDa.UpdateCommand.Parameters.Add("UPDATE [Inventry] SET [QTY] = [QTY] … | |
Hello everyone! I'm working on a school project where I need to make a GPA calculator. I have a user control for classes and another for the type of program you are in. I'm having trouble getting an array of user controls to work mostly probably because I don't think … | |
Hi guys, I currently have a VB application which begins by calling an external C# application to download an eBay report. When it has downloaded the process ends, but the focus doesn't switch back to the VB program. Will I need to run the VB program at the end of … | |
is it possible to send email eventhough in LAN connection using Microsoft outlook ? is it programmable in VB.Net? can someone teach me? thank you ! | |
HELLO. IF I CLICKED BUTTON "SAVE" MS ACCESS ITEM WILL BE UPDATE FROM LISTVIEW. | |
Hello! I am makeing inventry program for my SHOP, When Button1 clicked, listview all items will UPDATE, listview coloum 3(QUANTITY) will SUBTRACT from ms access quantity. Please help me........ Private Sub ButtonAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click Try Call OpenConnection() Dim v1 As Integer Dim v2 … |
The End.