20,897 Topics

Member Avatar for
Member Avatar for SolidSora

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 …

Member Avatar for e_ayt
0
177
Member Avatar for mr3army

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

Member Avatar for codeorder
0
168
Member Avatar for jaango123

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.

Member Avatar for codeorder
0
88
Member Avatar for vigneshvdm

[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]

Member Avatar for codeorder
0
95
Member Avatar for johnbo100

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> …

Member Avatar for johnbo100
0
5K
Member Avatar for get connected

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 …

Member Avatar for get connected
0
264
Member Avatar for eleng

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 …

Member Avatar for bklynman01
0
210
Member Avatar for vn412

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 …

0
56
Member Avatar for horserider
Member Avatar for codeorder
0
308
Member Avatar for aplee

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 …

Member Avatar for aplee
0
245
Member Avatar for SuperFurryToad

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 …

Member Avatar for el_vala
0
2K
Member Avatar for a_salted_peanut

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 …

Member Avatar for DotNetNewbie5
0
2K
Member Avatar for bestex

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 & "','" & …

Member Avatar for Tommymac501
0
115
Member Avatar for xxxferraxxx

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

Member Avatar for xxxferraxxx
0
364
Member Avatar for Quarie9

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.

Member Avatar for Ezzaral
0
103
Member Avatar for GH23

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 …

Member Avatar for GH23
0
571
Member Avatar for jmensah

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 …

Member Avatar for prvnkmr194
0
117
Member Avatar for mcupryk

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

Member Avatar for Andyc75
0
348
Member Avatar for CrashanBurn

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 …

Member Avatar for CrashanBurn
0
204
Member Avatar for like_bilal02

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 …

0
66
Member Avatar for jcb0806

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")""

Member Avatar for Marcel_Go
0
134
Member Avatar for sachin mali
Member Avatar for sheelap

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 …

Member Avatar for Marcel_Go
0
91
Member Avatar for Joshua Kidd

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 …

Member Avatar for G_Waddell
0
121
Member Avatar for wewehalim

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, …

Member Avatar for hansys
0
265
Member Avatar for AnooooPower
Member Avatar for @Kui

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 …

Member Avatar for codeorder
0
144
Member Avatar for rookanga

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 …

Member Avatar for codeorder
0
182
Member Avatar for ayarton

[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------------------------------------------------------------------------ …

Member Avatar for codeorder
0
105
Member Avatar for AnooooPower

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 …

Member Avatar for codeorder
0
3K
Member Avatar for johmolan

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 …

Member Avatar for AnooooPower
0
142
Member Avatar for rhian23

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 …

0
68
Member Avatar for Jessurider

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

Member Avatar for Jessurider
0
230
Member Avatar for emaduddeen

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 …

Member Avatar for emaduddeen
0
96
Member Avatar for Polongo
Member Avatar for ddanbe

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 …

Member Avatar for ddanbe
1
619
Member Avatar for vn412

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 …

Member Avatar for Mariandi
0
2K
Member Avatar for Joshua Kidd

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 …

Member Avatar for Joshua Kidd
0
283
Member Avatar for mr3army

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

Member Avatar for codeorder
0
161
Member Avatar for CityThrille

Good day to all. How can I transfer entries from listview to disk using System.io? Help is appreciated. Thank you. :-/

Member Avatar for codeorder
0
95
Member Avatar for AnooooPower

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 …

Member Avatar for AnooooPower
0
744
Member Avatar for CityThrille

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.

Member Avatar for CityThrille
0
212
Member Avatar for zepi

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 …

Member Avatar for zepi
0
184
Member Avatar for Tommymac501

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 …

Member Avatar for Tommymac501
0
657
Member Avatar for JOSheaIV

(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 …

Member Avatar for ddanbe
0
654
Member Avatar for TechNewbie23

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 …

Member Avatar for TechNewbie23
0
222
Member Avatar for Steve Mac

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.. …

Member Avatar for Marcel_Go
0
205
Member Avatar for CrashanBurn

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 …

Member Avatar for CrashanBurn
0
405
Member Avatar for moose333

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 …

0
116
Member Avatar for Smoogel

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

0
51

The End.