20,897 Topics
![]() | |
I'm trying to add a number to a listbox that a user enters into a textbox. The program crashes when I press the button. [CODE]Public Class Form1 Dim numbers() As Integer Dim numNumbers As Integer = 0 Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress e.Handled … | |
Hi, I have tried lots but i would like the listbox1.selected index to go through each single one i tried +1 it works but it wont go the next one Please help cheers | |
I cannot find the xsl debug option in the xml option within VS 2008 express edition. Is it not available. What should we do to get that enabled. | |
[B][COLOR="Green"]hi evryone !! i am designing sites in sharepoint 2010 and i need to use the javascript in vb.net!! and how to display an alert message in a web page using vb.net!?! please help :) thank u :) [/COLOR][/B] | |
Hi All I am trying to get vb.net to select a single node by id. I then want get all of the childnodes within the id and place them in to textboxes. Please see code below: Xml doc [code] <Subject> <Items> <Item id="1"> <CustName>john</CustName> <Filename> </Filename> <StartDate> </StartDate> <FinishDate> </FinishDate> … | |
Hiya, A short while ago, I posted the following code snippet in reply to someone who was looking to make a simple encoded password... See here for a full explanation of how this works -->[URL="http://www.daniweb.com/forums/post1470261.html#post1470261"]http://www.daniweb.com/forums/post1470261.html#post1470261[/URL]. While this method is a little cumbersome, it does work and can be encoded and … | |
I am final year collage student. I want to do one final project in this semester. I know [COLOR="Red"]VB, VB.NET[/COLOR]. I already done a student management system for a collage. Now i need a good project title to do in this semester. can anyone give me a good project title … | |
Hi, I've problem with formatting the data. I have rows in grid with date columns "1-12-2011, 7-6-2011, 06-12-2010, 07-12-2010, 08-12-2010, 09-12-2010, 10-12-2010" similary in other rows i have the values like this. I need help with the code so that format the datatable as Jan: values of dates in Jan … | |
How can i extract Target Path of Existing Shortcuts on the desktop. | |
Hi everyone, I hope you could help me with my problem I am a fresh graduate and I am working now as a developer in a good company By the way, I am not the one who developed this tool, it's the previous programmer and they gave the project to … | |
I need some help figuring out how to parse an XML file in VB.net so I can find a particular node and write the contents into a database. Basically all the data in the XML node below needs to be read into an object. The file contains hundreds of these … | |
Hi all, Please bear with me on this as i have not long been learning how PHP works and am still learning VB.NET slowly. I have been testing the code for PHP using the Apache webserver. The problem i am having is, this is the function i am using with … ![]() | |
hi, can i ask how do i insert my records from my textbox to specific column name of my table [CODE]IsConnected("Insert into products values(" & _ Me.TextBox1.Text & ",'" & _ Me.TextBox2.Text & "','" & _ Me.TextBox3.Text & "','" & _ Me.TextBox4.Text & "','" & _ Me.TextBox5.Text & "','" & … | |
I need help for background music i have the code but its not constant (continual) Here's my code : [CODE]My.Computer.Audio.Play(My.Resources.NAME OF FILE, audioplaymode.background)[/CODE] I need the constant (continual) code please.. Thanks in advance | |
I Need Help With Building A Powerful Auto link Viewer Bot With Proxy Support Can Anyone Help Me With The Coding In Visual Basic 2008 It For Linkbucks In Other Link Sharing sites. | |
Hello, I'm curious as to what the "key" for a DataTable Row collection is. And if there is a better way of executing what I'm trying to do. My situation is this. I have a DataTable populated with different data from multiple databases, for the sake of this thread let's … | |
the code display 2 colunms in one combo box from a table. i have table with 2 columns account_type and account_name. the account_type is an abbreviation(codes) which would be stored in a new table when selected. I want the code when the combo is click, would display the code-account_type and … | |
Dim substr As String = dr.Item(4) if substr is {System.DBNull} substr = "" if substr is "" then do not do substr = substr.Substring(0, 2) else substr = substr.Substring(0, 2) I need this in vb.net | |
Hi, Was wondering if anybody could give me his/her opinion about what i am doing. This program i am writing is basically a way to record orders. So i got a bunch of possible components required, which got their textfield(1 for product info, 1 for product price). Those are controlled … | |
Dear Friends, I face a problem in crystal report that I fetched data from two tables 1 is Invoice Table and other one is Payment table. Its a kind of account software problem. Is that I want to make a Ledger or A/C statement Report but when data is come … | |
I'm just trying to write the following out in an excel cell using VBScript. What I want in the cell: =BDS(A2,$B$1,"dir=H") I'm having problems with excel accepting the quotations for some reason this is what I have and is getting an error with: ""=BDS(A"& LC &",$B$1,"dir=H")"" | |
how to access in datagridview record in the textbox by clicking mouse pls help me | |
IN VB.NET (VISUAL STUDIO 2005) I HAVE taken one textbox with some message and want to bold it by using chkbox control when checkbox is checked the text in textbox should be bold otherwise it is regular.i tried the code too many different ways but till now problem is not … | |
I need some help with checking a process or if a certain window name is open on my project. Right now what I have is: FSXCheck = Timer fsx.exe = Flight Simulator X [CODE]Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load FSXCheck.Enabled = True End Sub … | |
Hi, i have this datagridview containing column: {product, price, quantity, Total price}, and a 'calculate' button. I need to enter the quantity column and when I press 'calculate' button, it will calculate total price by price*quantity what i am struggling now is how to grab the 'text' in "quantity" column, … | |
Button is disabled until a radio button is selected. | |
Hi, I'v just started learning VB. i need help with a program that allows the user to enter a month and a number of years. (e.g March and 10 years) The program then displays all the months of the year from the entered month in a loop that runs as … | |
My assignment is to get the Get Monthly Income (Num1) Get Monthly Home Rent/Mortgage (Num2) Get Other Monthly Payments (alimony, child support, student loans) (Num3) Display Allowable Monthly Car Payment Display Maximum Car Value (interest rate based on credit) (answer) [CODE]Public Class Form1 Dim Num1 As Integer Dim Num2 As … | |
[CODE] Imports System.IO Public Class frmRODSelectPage Private Sub btnSelectImages_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSelectImages.Click '--------------DECLARE VARIABLES------------------------------------------------------------------------ Dim FileName As String Dim Export As String 'filename only Dim DidWork As Integer Dim InitialDirectory As String = "E:\Hasbro\CaptureImageFolder\" Dim HotFolder As String = "E:\Hasbro\CaptureHotFolder\" '--------------END VARIABLES----------------------------------------------------------------------------- '--------------EXCEPTION HANDLING------------------------------------------------------------------------ … | |
I have a groupbox with quite a few checkboxes. I want a specific textbox to have custom string per checkbox in the text box. Exemple chckBox1 chckBox2 chckBox3 chckBox4 chckBox5 chckBox6 I checked 1, 3 and 6 So my textbox will contain as text ckbox1, chkbox3, chkbox6 if i uncheck … | |
I have a method where I am making a trial period. When the date has exceded its trialperiod the program will not close. The code looks like this: [CODE] Public Sub DemoRestrict() If My.Settings.dteStartDate = Nothing Then My.Settings.dteStartDate = Now End If If My.Settings.intTime = Nothing Then My.Settings.intTime = intTime … | |
hi to all! Im having a problem with crystal report. I am doing a vb.net project. Actually its an Inventory System, I need to print a report by branch. I set the parameter field by branch id and name but it didn't work, all of the fields like product, price … | |
hi can anyone tell me how to bring the [B]WebCamCapture[/B] in visual basic 2008 .......the attached project is one i got from internet............in that [B]WebCamCapture[/B] is something which i cant find also i cant bring that into a new project | |
Hi Everyone, Can you tell me how to fix my query so I can determine if an amount entered into a textbox is < the largest number in a database table? Here is some sample data: [CODE] CategoryNumber ---------------- 10 20 30 40 50 [/CODE] If the user enters 35 … | |
please help me.. I don't know ho to make that. Thanks | |
I was wondering why are there so many methods for adding a row to a DataGridView consisting of textboxes. I have 4, if you find more let me know. Have made a WindowsFormsApp and put on it a DataGridView, with 3 standard columns to it and a button with the … | |
Hi, i have a code where I dynamically generate the columns name and bind it it datatable. now I am iterating thru loop for each column and fill the datatable. My Problem is when I fill for first column row is already added to the position(e.g 0,1). I want help … | |
Any Ideas on how to get a picture of just a certain program widow and not the entire Desktop? This is the Code I used to get a pic of the Desktop [CODE] Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Dim bounds As Rectangle Dim … | |
Hi, Im trying to click a button on [url]http://www.threatexpert.com/submit.aspx[/url] but my code does not want to fill it in. It fails are the [CODE]Form2.WebBrowser1.Document.GetElementById("txtEmail").SetAttribute("value", TextBox1.Text)[/CODE] [CODE]Form2.WebBrowser1.Document.GetElementById("File").InvokeMember("click") If Form2.WebBrowser1.Document.GetElementById("File").GetAttribute("value").ToString = vbNullString Then Form2.WebBrowser1.Document.GetElementById("File").InvokeMember("click") Form2.WebBrowser1.Document.GetElementById("txtEmail").SetAttribute("value", TextBox1.Text) Else WebBrowser1.Navigate("javascript: WebForm_DoPostBackWithOptions(btnSubmit") End If[/CODE] What is wrong with my code Cheers | |
Good day to all. How can I transfer entries from listview to disk using System.io? Help is appreciated. Thank you. :-/ | |
I want to outpout part of a richtextbox content to a textbox. Exemple (This is just part of the richboxtext1: [CODE]<meta http-equiv="refresh" content="0;url=?sid=defd7592f5b806ad8a4fa1273bd73077"> <[/CODE] This is code i used but is faulty :( : [CODE]Dim strBuild As String = Nothing strBuild = Split(Split(RichTextBox1.Text, "sid=")(1), "''>")(0) TextBox6.Text = strBuild[/CODE] I want … | |
Good day to all. I'm a VB.NET newbie. How can I search, for example ID Number, and want to highlight the listview item found in search from my first form? I'm using combobox from my second form to search. Thanks. | |
i have a problem with refreshing a datagridview. so i have an unbound datagridview that is not enabled. rows are added when a button is clicked. this works the first time, but when i click the button again, the new rows are not all displayed, only the rows that fit … | |
Does anyone know how to copy subfolders from one place to another in VB?. I have a Template folder on a network share I want to use to set up the base folder structure on newly created job folders, however, I can't seem to get any copy methods to take … | |
(I'll make this sweat and short, writting in class) Okay so I am working on a sudoku program, and am using a dataGridView for the gameboard. But I need to know how to create different boarders for the cells so that I can make up the 4 black lines that … | |
Hey! I am creating an application which will allow users to search parents names and display their childen respectively in a datagrid. I have created a form with two text boxes, a search button and a datagrid. The two text boxes are txtFName.text and txtLName.Text. On clicking btnSearch I want … | |
Is there any way that i can be able to get the ExecutenonQuery to Execute faster. Am using it to run mysql queries that have joins from diffrent tables. As I have come to notice, the user has to wait a while before the statement ExecutenonQuery can be completely executed.. … | |
Hi, I am trying to get my little program to do some calculations. So far i got 15 textboxes, named TxtPP(followed by product type),so i got TxtPPproduct1, TxtPPproduct2 etc.... At the bottom of the form i got a disabled textbox which shows the total of all the above textboxes. Now … | |
Hello I am currently attempting to write the contents of a .hrm file into a datagridview and place each piece of data into its required column. This is the code I have at the moment which is currently just extracting some data from the .hrm file and placing it in … | |
Hello there. I want to make a overlay for the whole PC. I don't really know how to explain it but you could use the example of a Dyslexic overlay (green, transparent paper for example) but I want that to cover the whole screen. Any ideas? Thanks:D |
The End.