20,899 Topics
![]() | |
I am developing a form that calculates a Business Travel Expense for a business trip. Everything is fine and dandy but I have to display the information in a listbox using zone ouput. There is nothing in my book about zone output...the teacher provided us with this Dim fmtStr As … | |
I cannot believe how loooooong i have been searching the internet for this. However i have a form that i have created in Visual studio 2010. I have 3 text boxes for FIRST NAME, LAST NAME and NOTES. I have 1 button to submit data. When i click the button … | |
Dear Friends, I am developing an application for multi user using vb.net with back end as ms-access. For the table name as employee_master, there is a column, name as student_profile having datatype as [B]Yes/No [/B]. If value of student_profile is "yes" then label1 will be shown and If value of … | |
I am still a newbie at programming in VB.NET but I am wondering if it is possible to write a program that allows for remote support, like Teamviewer, LogMeIn, etc., using VB.Net and what is the easiest way to go about it? Only reason I ask is because I do … | |
Hey guys! I've been working on two projects, one needs to have multiple forms, but when I open one form, it needs to close the sender. But, when I try it, the program exits! I don't want it, I just want to close the form, not the app. I tried … | |
Hi there, Im new to vb and i am using visual basic express 2010. i have put together a database and can do quite a lot with the app i have created. i am not very familiar with detailed programming so i have created my update query thru the dataset … | |
hello everyone, I am working on a little program (game) is called Pig latin. I created a sub procedure and I passed the word to be converted by value and the piglatin word byref. Now when I call the procedure in the button click event I get the wavy green … | |
hello everyone, I am trying to check each letter of a word if that word doesn't contain (AEIOUY) then I have to append (-way) to the end of the word. Now I have this if statement and it doesn't work: If OriginalWord.ToUpper Like "*[!AEIOUY]*" Then Label1.Text = OriginalWord & "-way" … ![]() | |
I actually want to ask two things, first, how do I set Textbox1 to get focus so that the user will not have to click the textbox if he wants to write something, the .focus() method does not work also, how do I highlight texts inside a textbox programmatically. I … | |
Hello to all ! Sorry in advance for the long post. I'm trying to get the value of a specific <div> from an html. This div has a class attribute of "itemPrice6", but problem is that this class appears few more times for other <div>s in which i'm not interested … | |
I have a datagridview and button on form , in datagridview's columns has some numeric values let say like ClientNumber and Sale 253 = +10 259 = +20 254 = -100 278 = -50 259 = +30 254 = +40 now what i want when there is repeatation of same … | |
I need some help setting the maximum size on a picture box. I thought the syntax for setting size was picturebox.MaximumSize = (Width,Height) but doesnt seem to work. Did syntax change from VB6? Thanks in advance | |
Guys can anyone tell me how to change fontsize of my listbox programmatically? This code does not work listbox1.font.size = 10 or listbox1.font.size = new size 10 What is the right code? | |
how to get 10 th record from record set using SQL server? there are a lot of code in the internet that can get first 10 results using "TOP" keyword in sql. but i want to get 10th row valus. I'm using VB 2008. please help me.... Regards Pra$ad. | |
This Code allows you too countdown seconds and minutes but im not sure how to add hours or maybe even days to it:( =========================================================================================== [CODE]Imports System.Threading.Thread Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If InStr(timetowait.Text, ":") Then Dim time() As String time … | |
how to inset data into ms access database in vb 2008 | |
hey im trying to create a program where the user will type in a number then choose the units its in and units it will be converted to from 2 comboboxes. The output should be changing as different units are clicked without a button.Please tell me how to fix my … | |
Hey Guys! I'm about done with a personal application im making for my small furniture factory. I'm having a little problem retrieving the total sum of my employee's loans discounts.It comes up perfectly using the statement: "SELECT sum(TotalDiscount)as TotalDiscount FROM EmployeeDiscounts WHERE EmployeeID=val(" + Me.txtEmployeeID.Text + ")and PayRollID=val(" + Me.TxtPayrollID.Text … | |
Hi, I am NOW doing a short application that installs a program, without the program being embedded into the application. I have found myself at a loss for code, now that I cannont figure out how I can COPY the entire contents of a folder to a new folder, WITHOUT … | |
I just can't seem to understand when i am suppose to put Accept outside the LOOP and when i'm suppose to Accept inside the LOOP at the beginning. Can anyone please make me understand?? | |
Hi all, I'd appreciate if somebody could shed some light on the following; I have a tabbed container, each tab has the same controls but for a different target. I am using a timer to control when to fire each event from the 5 different tabbed controls, my problem is … | |
hello. i need help with this coding, i need to bring the temporary parameter from set page (which is user input) to the retrieve page in order to trigger the color. seems like the session didn't carry the temporary value. [B]code in page set session;[/B] [CODE]Protected Sub ViewPara_Click(ByVal sender As … | |
how to load the combo box'values from one form to another form's combobox Example: form1: cust(table name) no(textbox) name(combobox) form2: CName(combobox) now i load the form1's name which is the combo values .. to form 2's combo box whixh is name of 'CName' | |
Hello everyone, I have this problem that I read over and over and over but I didn't understand what I suppose to do. I just want an explanation of how does this problem or I should say this game work. create a mouse game for a single player. Set up … | |
Hi All, I am using grid with image column. When user's click image to opened up image(jpg,jpeg,bmp,gif) via a image and fax viewer (i.e by the operating system). i have try to open but it's open in IE any one please me. Thanks Anandh | |
need help.. a long distance provider charges the following rates for phone calls daytime $0.07 evening $0.12 off-peak $0.05 create an app that allows the user to select a rate category (from a set of radio buttons) and enter the number of minutes of the call, then displays the charges. … | |
hey im trying to create a program that will convert between metric and standard units.I chose length as my measurement so i have nanometer,millimeter,centimeter,meter,hectometer,kilometer,inc,feet,yard and mile. i wanted the inpu to be - number to be converted(text box) -unit number is in(combo box) -unit to convert to(combo box) i know … | |
Greetings, I am keeping a log of the amount of time a machine has run. I have a textfile with timestamps and the amount of minutes my machine has run. To keep the size of the file in check, I would like to delete the first half of the text … | |
Hey i am very new to vb.net and am creating a simple unit converter, i want my unit converter to display results in a listbox and want the user to be able to specify the start, step and end value in a For Next loop. Here is the code i … | |
Hi clever people, I need some help making a VB application which chooses a random line for a file, sets it as the value of a Label (word) and also adds it to a ListBox (list) when a Button (nextbut) is pressed. I also want it to keep going. Button; … | |
hi, I have three comboboxes in my windows form. I want to relate them all with each other. the data is coming from database a table which has the following columns: id description ap code seg code now if user selects description then ap code and seg code should change … | |
Hi, Need your help to point me in the right direction. I need to capture the right click event in the OS (specifically the RUN AS ADMIN ) and make have it popup a custom login window. so..the user will right click on the icon which is in desktop ....click … | |
Hi All I'm new to VB and trying to learn for a specific project - I've done plenty of VBA (although not for a year or two) in the past but that's my limit. I'm helping to manage some equipment which adds a new record to a csv log file … | |
Hey, i'm trying to have 2 browse file dialog boxes, one that allows you to select a file from a folder, and the other folder should allow you to chose the location to copy the file to. Thanks | |
I have code (below) that opens a dialog box to either open or save a file. What I need to do though, is have the file location in the textbox next to it. Can anyone tell me the code to do that? [ICODE] protected void Browse_Click(object sender, EventArgs e) { … | |
hello guys in daniweb. i have a application windows based created in vb.net that contains crystal reports and access .accdb files. to be honest i have tried to publish this app for 11 times and still there to be some problem. the application will install but it cannot run. it … | |
I know this question has been asked dozens of times, but the code I have been looking at has not helped me. So far I have been able to connect to the string and the database from where I need to check the username, but in my page it is … | |
Hi, I would like to know how can i change the panel location where my pointer points? | |
hi! i have a DataList view in created in vb.net (4 columns) how can i make this work?: the data from the first two columns will be from the database and the next two columns will be inputted by the user. and when i click save, all of the data … | |
I am writing an audio program in VB.net 2005 and I am having a bit of trouble with WMP. I can get media added to the playlist and I can play it from there, but it doesn't load until I press play, which gives a slight delay while the media … | |
i have done my application that uses crystal report and access database. I try to publish the application but when install on client machine, it wont work. the access database wont load and so the reports. What should i do? can anyone help me? | |
Please Help me to solve that i just wana to search Data feilds from SQL Database and to show on different TExtboxes of VB.net forms..... [CODE] Dim Bio As New DataSet Dim Marks As New DataSet Dim Disp As New SqlDataAdapter Dim Dispp As New SqlDataAdapter Dim Bind As New … | |
I'm querying a SQL DB and sometimes the result is Null, so I thought I would test this but my code results in an error "Data is Null. This method or property cannot be called on Null values." Here is a snipet of my code: For i = 5 To … | |
Hey guys .. i want to insert data into data base from my combobox, which parameter should i use in insert query ? example.. insert into login values ('"+ComboBox1. ?????? +"') Thank You in advance | |
Please, if anyone have a full source code for Mobile shop management or have a project look similar to 'that' so please let me borrow it. Many thks for any helps here!!! | |
Hi all I created a RDCL in the designer. I would like the User to Determine what is shown in the Report. How can I change the query at runtime? (ex. changing the customer Name) This is the query that I have in the properties SELECT [Date], Address, Customer, Orders … | |
Hello, we have to create a football scoreboard in Visual Basic. Purpose: The application calculates the points scored during a football game by one team Requirements: 1. The user clicks the enter score button in an input box object to enter a score after the football team scores 2. Each … | |
Im just wondering if theres a way to remove the tabs from the TabControl and just buttons to control which screen is shown. Ive coded a form that uses buttons to hide and show panels but because you cant click buttons in design view, its extremely hard to edit the … | |
Dear all programmers I’ve search all over Google and have not found an answer. [B]My question is.........[/B] I have two DBF tables called product and ullage. The user enters data from products table into ullage, by searching for product id and adds their count into the ullage table. This part … | |
IS this Correct or Please help me to find error, i cant solve that how to see record on my form Dim Slec As New SqlDataAdapter Slec.SelectCommand = New SqlCommand("SELECT Name'=" & txtname.Text & "', CNIC#='" & txtcnic.Text & "', F_Name='" & txtfname.Text & "', College='" & txtdept.Text & "', … |
The End.