20,285 Topics
![]() | |
Hi All I have a listview attached to a dbase app I am working on, the last column has a price value and I would like to create a total value for this column in a label or text box below the listview control. I was searching back the old … | |
hi guys please help me.i have confusion for file handling. i am developing a application that uses one txt file. now i want to find a particular word from file and replace it as space. i don't how to do this. please help me | |
hi, I have a table & I am placing a background image to the table, but the problem is that the image is very big & i want to fit it in my table background. How can this be done???? Thanx.. “Ask and it will be given to you; seek … | |
:idea:I'm a bit stuck I wrote a printing part. But cant find how to preform a pagefeed [CODE]Private Sub PrintBTN_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PrintBTN.Click copieen = 1 PrintDocument1.PrinterSettings.Copies = copieen PrintDocument1.Print() end Sub Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage … | |
[B]For school, using Visual Basic 9.0 (2008)[/B] Write a program called Histogram that reads data from a file (allow the user to input the file name) and produces a horizontal histogram. The first line of the file should contain he title of the histogram, and each subsequent line should contain … | |
Hi Please tell vb.net equivalent of following method: [CODE=C#] private void LookForUpdates() { System.Threading.ThreadStart timerThreadStart = new System.Threading.ThreadStart(delegate() { sua = new ShowUpdatAvailable(); DelGetUpdateArgs delGetUpdateArgs = new DelGetUpdateArgs(this.GetUpdateArgs); sua.GetUpdateArgs = delGetUpdateArgs; sua.StartLookingForUpdate(); }); timerThread = new System.Threading.Thread(timerThreadStart); timerThread.Start(); } [/CODE] I tried using C# to VB.NET code converter which gave … | |
If i want to pop out a message to user eg, please enter number only. Do i need to declare? If need, how do i declare. URGENT!!! My test is in 2 days time. Thanks in advance. | |
what is comment in VB.Net and how to comment. I having a test in 3 days time. Urgent!!!! Thanks in advance. | |
Hi, I want to pass a value from one page to another(say from page1 to page2) & the same value again to another page(say page3). What is the best way to do this in vb.net. Query string, Session Variables or any other method? Thanx “Peace comes from within. Do not … | |
I usually feel pretty bad asking simple questions like this, but I've a deadline that's fast approaching. What, if anything, is wrong with this Update statement? [CODE]"Update ScoutInfo Set YearID = 20092010, GSUSAID = 1, FName = 'Jacob', LName = 'Lowe', DoB = '10/16/1989', Grade = '12', Level = 'Ambassador', … | |
Hi Folks, I've just upgraded an old VB6 app to VB2008 - all has gone well and I'm pleased with the new .net features. However I need to holds the common settings for all of the apps ona server (UNC path). Previously I used an ini file on the server … | |
im making a tool for a gamer to help others but it has 3 forms 1 appear - 2 and 3 are hide they can change but how i do that when 1 form closes all close ? no only form 1 to close cuz if others close they are … | |
![]() | first of all, two images: 1 - [url]http://img46.imageshack.us/img46/2875/bezzz.jpg[/url] 2 - [url]http://img692.imageshack.us/img692/9595/saa.jpg[/url] My first problem... As you can see it on first image, there are certain number of records/pages and you can print only all pages at once (that icon for every record is like "blank document"). On second image, again, … |
I need to use comboBox to store the months then when i select a particular month. I need to display out the data onto a gridview for that selected month. | |
![]() | Im trying to set one variable equal to another but it says "No default member found for type 'Decimal'" what does that mean? Both the varuables are deciamls, one is a regular decimal that I declare in the sub and another is an array that I declare in the class. … ![]() |
I had a fair amount of experience with much older versions of VB, but recently made the switch to VB.net and am trying to figure my way out through the changes. I have a small form program that is basically an interface for installing different software packages so that we … ![]() | |
Hi Guys, I'm obviously missing something here. Basically I'm writing a program that will read in a csv file or excel file, and allows the user to pick which fields thay wish to use for what line of an address, and then import all the addresses to a SQL table … | |
Simple question one would think, but I am having trouble finding the answer. Eclipse.org promotes eclipse as being a Java IDE, but has many plugins and extensions. I was wondering if maybe there is a plugin or extension that would allow me to compile/debug vb.net projects in eclipse? | |
I am trying to read data from remote SQL base. I have written the function that works great if you need to get 1 Value , but when I want to read 2 or more value at from one query it doesn't work how can I fix it? [CODE]Imports System.Data.SqlClient … | |
Hi, I need a vb.net code that will give me random numbers, which i will save in a database column in a primary key field. But the code should surely generate the random number. Thanx & Regards Anup | |
[QUOTE]Hi all I have been straggling to mask a text box. I searched for the Mask property I could not find it. I have also tried to use textbox.mask it tells me that mask is not a member. I'm trying to enter currency in The text box ($1000.000) I'm using … | |
![]() | Im making a sim of a robocup for a project and it would really help make the code easier to read if I could have an array of players but I cant dim and array as new and my players are all a class I made called gameobject. How do … ![]() |
Hi, I'm writing a function that takes a word doc and returns the number of pages in it. I have the function working and returning pages except that it opens a Word dialog asking if I want to save changes - does anyone know how to stop this? I have … | |
Hey guys, The idea with this form is to add the futures which is calculated when the button is pushed but I need the list to update every time and show the values each time to which the previous value is added to the new calculation, e.g. of what it … | |
[CODE] Dim name1(100) As String Dim Cal1(100) As String Dim i As Integer For i = 0 To 10 Step 1 name1(i) = GridView1.SelectedDataKey.Item(1) Next i [/CODE] i want to store the selected value into an array then display the array in a text box [CODE]Label5.Text = name1(0) Label6.Text = … | |
trying to delete selectedItem from combobox to remove selectected account from database using mysql and vb.net 2008....this is my code for my delete menu can anyone help? *************************************************** [code] Public Class delete Public Sub _load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads … | |
Someone is building an application for me in VB.NET. I want to be able to check out their work. I want a way to fill up the form, by drawing values from a text file that contains sample values, as soon as I click a button (outside the application window). … | |
First off, let me be honest in saying that this is homework. I am not asking for it to be done for me, merely some help in figuring out what I have messed up. Secondly, I am not good with VB, nor do I particularly care for it, but seeing … | |
Hi guys, Anybody can help me out with this. I have made a DLL with VB.net. Under project settings i have marked checked 2 things 1. Register for COM interop 2. Make assembly COM visible When i build project its done successfully. Now i take DLL file from project location … | |
Can anyone please send me the ebook for VB.NET 2005. Thank you | |
![]() | Whenever I try to run my program it keeps giving me an overflow error and I dont know why. The problem is shown when i call this sub: [CODE]blueP.shootBall(blueS.x, blueS.y, blueP.ang, blueP.captured, ball.x, ball.y, ball.velx, ball.vely)[/CODE] this is the sub [CODE]Public Sub shootBall(ByVal x, ByVal y, ByVal ang, ByRef caputred, … ![]() |
Hi guys, Im having trouble with this code, when i had it working with static variables set, it was fine, now i am using a passed variable, its not working... Might not be anything to do with it, anyhow... [CODE]Public Class frmContacts Dim con As New OleDb.OleDbConnection Dim ds As … | |
i was able to successfully connect my database using connection string, i am having a hard time finding tutorials on how to add the items in a textbox. [CODE]Imports System.Data.SqlClient Public Class FrmMain Private Sub FrmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim sqlconnection As New SqlConnection … | |
I'm using a combobox connected to my account numbers in mysql..I want to take the selecteditem and put it in the delete row string for mysql using vb.net....her is what I have so far and it wont delete the seleted..any help will do.... [code] Private Sub btnDelete_Click(ByVal sender As System.Object, … | |
Hello Experts, I'm a new bie in vb.net.I completed an application in vb.net and i'm using sql server 2005 as database engine.Now I want to create a software package for this application.But the problem is that how can I include the database within this package,I'm also using a crystal report … | |
Hey guys, I have been working on this problem for a while and wanted to see if you could spot what the problem is. This form is used so I can add a customer to the list which calls up another form for the adding. And also has an option … | |
hello dear friends i installed visual studio ( full installation) then i got xampp from their site i have mysql and apache running i downloaded the connector from mysql site and i created a simple project to check if i can connect to mysql or not i have made this … | |
I am attempting to write a vb.net 2008 application that will allow me to send files from a server to a client based on a request. I am going to post the same console application code below. When i run the server and the client on the local machine, i … | |
hi i m using Asp.net and i want copy random 20 records from one table to another table in ms access database using Asp.net. and also i want have My primary key 1 to 20 in new table . if any one can help that would be really helpful thx | |
Hi I'm new to VB and was working on a small app that needs to populat or update a checked listbox. I have the code written it copiles without error. No syntax errors. But it does not execute the way expected. So there is probably some simple logic error that … | |
im am trying out this code but it keeps giving an error msg but i cant see where the error is...please help [code] query = New OleDbCommand("INSERT INTO studenttable(sname,scourse,syear,ssemestor,sgrade)values('" & TextBox1.Text & " ',' " & TextBox2.Text & " ',' " & TextBox3.Text & " ',' " & TextBox4.Text & … | |
Hi, Can someone please show me step by step how to use the Microsoft Office Spreadsheet COM component in VB.NET, and how to package and deploy it to a client machine which only runs XP with .NET framework 3.5. I am a newbie, please help. Thanks. | |
I'm trying to write a simple macro in Word to clear the checkbox at the current cursor position. I'm sure this is simple, but I'm just an occasional hit and miss macro maker and the VBA help isn't helping. Apparently I need something like: ActiveDocument.FormFields("FieldName").CheckBox.Value = False But that would … | |
Hello guys, the last few days i've been looking for the solution, but to bad. Nowhere i seem to find it. I've found many posts about it, but none of them works for me. The problem: Last week we've stepped over to windows server 2008. Very nice..bla bla bla. However, … | |
I have a button, if I press the button, new picturebox will appear in my main form. How to add picturebox name in the listbox ? how to select picturebox name from a listbox for deleting the selected picturebox? thanks... | |
hey all, I'm using a form to throw info straight into a database. i know it isn't the best way but i'm new and all other implementations have confused me (i've been reading and watching tutorials for 2 weeks) but anyway i'm going to take the info straight from the … | |
I'm developing an advance web browser in visual basic 2008. But there are some problems that really irritate me: 1) Firstly, when there is a popup window, it open in new IE window instead of my own window. I want the popup to open in my own tab/window instead of … | |
ahm can anyone help me on my basketball scoreboard system... my problem is that i don't know how to do the code for the buzzer will buzz when the set time is done...please help me...please thank you | |
can anyone help me with my problem? i'm trying to set a password in my database using vb.net. here's my codes.. Private Sub btn_ok_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_ok.Click Dim chkpass As Integer Dim strsql As String Dim conDatabase As ADODB.Connection conDatabase = New ADODB.Connection 'Dim … | |
Hey, anyone can plz help me out!!!!! i hav a tabpage on a form n on its click event i want to call the tabpage of another form (like frmcut.tabcontrl.tabpage1). But i dont know how to do it???? so plzzz help me... |
The End.