20,285 Topics

Member Avatar for
Member Avatar for dwinn

Hi Everyone, I am currently devleloping a web site in VB and ASP.Net... I have got a dropdownlist box that contains a lot of centre names (being retrieved from an SQL Server database). I want to end up so that a user selects the name from the dropdownlist, clicks to …

Member Avatar for hericles
0
914
Member Avatar for MB1711

I have a TreeView control in VS 2010 that I need to be able to INSERT (not add) nodes to. I have stored a unique key in the TAG for each node and know how to find the value of the tag in the tree. However, I can't figure out …

Member Avatar for Reverend Jim
0
4K
Member Avatar for ulasoc

i cant toggle wmp object full screen mod after i make FormWindowState.Minimized and show it taskbar false. its ok when i load it first but i am getting error after reload it from system tray with context menu.What can be wrong? i am using .netframework4

Member Avatar for codeorder
0
51
Member Avatar for sigridish

hi all! i have here a code for browse button [CODE] Private Sub btnbrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnbrowse.Click 'prompt user to select Excel name and folder path Dim openFileDialog1 As System.Windows.Forms.OpenFileDialog openFileDialog1 = New System.Windows.Forms.OpenFileDialog With openFileDialog1 .Title = "Excel Spreadsheet" .FileName = "" .DefaultExt …

Member Avatar for sigridish
0
1K
Member Avatar for Smith5646

I have a menustrip with several levels of submenus as in below Client 1 [INDENT]Project 1[/INDENT] [INDENT][INDENT]Project 1 Task 1[/INDENT][/INDENT] [INDENT][INDENT]Project 1 Task 2[/INDENT][/INDENT] [INDENT]Project 2[/INDENT] [INDENT][INDENT]Project 2 Task 1[/INDENT][/INDENT] [INDENT][INDENT]Project 2 Task 2[/INDENT][/INDENT] Each entry is clickable, even if it has children. In the above example, I can select …

Member Avatar for Smith5646
0
164
Member Avatar for lcfjoertoft

First I tried getting a SQL query into an array, and then mail it. Made the data incomprehendable. So someone told me to use CSS to build a table format, filling it with the array. A LOT of hard work (since I had to learn css all the way from …

Member Avatar for Unhnd_Exception
0
930
Member Avatar for PM312

hi i am trying to accepte text in text box only numbers and capital alphabets in keypress event below code is not converting lower case to upper case [CODE]Private Sub Tbx_AcctCode_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Tbx_AcctCode.KeyPress Dim KeyAscii As Short KeyAscii = Asc(e.KeyChar) If KeyAscii >= …

Member Avatar for PM312
0
545
Member Avatar for toldav

Any will help will appreciated. Every time I run my code my list city still visible at run time how do i make not to visible when I run my vb code. [CODE]lstCity.Visible = False[/CODE]

Member Avatar for TechSupportGeek
0
168
Member Avatar for dre-logics

I use Visual Basic 2008 with Mysql I have a table article with the following data : Articlenb - Productcode - amount 1 - XXL - 1 2 - 12 - 1 3 - 10 - 1 4 - 1.5 - 1 5 - 7 - 1 6 - 4 …

Member Avatar for adam_k
0
193
Member Avatar for vammy

Hi Guys, I want to enforce validation rule in create table statement for a coloumn. im using vb.net as front end and access as back end. could u please post a sample code here.help would b highly appreciated.

Member Avatar for vammy
0
91
Member Avatar for vammy

Hi friends, i want to restrict -ve values entering into access database table.im using vb.net as front end... please help..

Member Avatar for vammy
0
120
Member Avatar for ndraycott

Hi I am trying to upload and convert video files then retrieve the filepath. I successfully managed to upload and save the filepath, but I am trying to add the converting functionality. The code I have so far is below. Thanks in advance [CODE]Protected Sub btnUpload_Click(ByVal sender As Object, ByVal …

0
78
Member Avatar for simpleonline12

[CODE]Imports System.Net Imports System.IO Imports System.Text Imports HtmlAgilityPack Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click HtmlNode.ElementsFlags.Remove("form") Dim doc As New HtmlDocument() doc.LoadHtml("http://mywebsiteishere/") Dim secondForm As HtmlNode = doc.GetElementbyId("form2") …

Member Avatar for hericles
0
206
Member Avatar for tallygal

I'm creating a sales commission application. I have to use a Select....Case statement to implement the sales commission schedule. When the calculate button is clicked, three methods should be called. One to calculate gross sales, one to calcuate the commission percentage based on the commission schedule and one to calculate …

Member Avatar for tallygal
0
246
Member Avatar for mags11

Hi all! I am in the beginning to mid stages of my project. It's an autobody program. You get the calculations when you click Calculate. However, I can't seem to get the hours of labor box to compute to the correct amount. Whenever I put something more than 1 hour, …

Member Avatar for hericles
0
406
Member Avatar for uzn

Hi, I'm running VB.Net code that prints the error file using DOS and it is plain text file. I want it to be more informative. I want to print the error file in HTML format with or without pictures or pdf format. Any help is appreciated. Thanks

Member Avatar for MrDeveloper
0
2K
Member Avatar for VB 2012

Okay Ive got a Huge problem something that my current Programming skills will not be able to fix. Ive got a Program and a text file , this text file gets load into the list box but that's not the problem. The problem is that when i make the text …

Member Avatar for VB 2012
0
137
Member Avatar for johmolan

I have a button I use to copy a folder from one location to another. the code looks like this: [CODE] Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click Const FOLDER_FROM As String = "C:\Testcopy1" ' Folder to copy from Const FOLDER_TO As String = "C:\Mappestruktur" …

Member Avatar for GeekByChoiCe
0
535
Member Avatar for Gh0stRa1n

Hey, I'm new here and I need some help. I'm trying to make a program to send a command through a textbox when a button is clicked, THEN grab the output and put it into another texbox. If you could help i would be great full. This is what I …

Member Avatar for GeekByChoiCe
0
109
Member Avatar for vammy

Hi Guys, I need Some help in validating a particular coloumn in datagrid for duplicate values before inserting into database.Im using datatable. Please help with some example code.appreciate our help. regards, vamsee

Member Avatar for vammy
0
1K
Member Avatar for parag_dekate

this is the code... I am trying to update a element from login table but it not showing any error massage or any thing execution is error free but finally whenever i check the database its not updated.. i'm using access2007 database with vb 2008.. PLEASE Help me.. [CODE] dbprovider …

Member Avatar for adam_k
0
113
Member Avatar for jaimin4829

[CODE]obcon.cmd.CommandText = " select f_name + ' ' + m_name + ' ' + l_name from contact where type='" & ledcmbsrctype.Text & "'" obcon.con.Open() Dim dr As SqlDataReader dr = obcon.cmd.ExecuteReader While (dr.Read) ledcmbsrcitem.Items.Add(dr.Item(0)) End While[/CODE] 'name is added to combo box and i want to get id for selected …

Member Avatar for adam_k
0
143
Member Avatar for toldav

I'm new in VB programming I did wrote this code so far but for some reason the senior does not calculate. Any help will greatly appreciate. This is what I'm trying to accomplished. "basic monthly cost of a membership is $100 for adults and $75 for seniors. Members must choose …

Member Avatar for Ezzaral
0
352
Member Avatar for djjavo

Hi I am doing some coding with the WebBrowser element and was wondering if there was a way to create custom error pages i.e. if something goes wrong it navigates to this page instead of the default IE8 one. I did a quick google but got nowhere. If anyone has …

Member Avatar for djjavo
0
172
Member Avatar for GTTravis

Hi Guys, i am looking for a little direction on an issue that is poundering on my mind. I want to prevent a form from loading if the systems regional datetime settings format for the date is not in the form of dd/MM/yyyy. any suggestions will be welcome.

Member Avatar for GTTravis
0
338
Member Avatar for VB 2012

I have a Problem with my Modified Event As you can See ! i know My declarations are Private I tried Some thing still didn't work So what i want to do as you can see is that if the save button was not clicked then it would check if …

Member Avatar for VB 2012
0
122
Member Avatar for chabo

hey everyone, i need a little help in here....i am making a vb program( VS 2008 ) that create a blood type Card for a patient(Name,ID,BirthDate.....and picture), All info are stored in SQL database (SQL 2008), concerning the image i store the path of it....so in the crystal report how …

0
65
Member Avatar for tashiDuks

Hi EveryOne, I have some problem in validating duplicate values while saving & updating my records to SQL database. I have following codes: [B]1. Decalaration Code[/B] [CODE] #Region "Declarations" 'Declaration for Navigation Dim inc As Integer Dim maxRows As Integer Dim ds As DataSet = New DataSet Dim dvEmpDesignation As …

Member Avatar for tashiDuks
0
133
Member Avatar for Human2.0

Greeting fellow Humans, I'm trying to "[I]comb merge[/I]" (if any thing as such) bunch of Excel files. There are 2 type of Excel workbook: A & B Both has a column called : [I]Location ID[/I] [U]These are the step I think the prog should do [/U]: Promp user to select …

Member Avatar for Human2.0
0
614
Member Avatar for djjavo

Hi guys I have a standard scoring algorithm but I need to help on a piece of code to only execute the scoring algorithm at certain times. I want it to be triggered by dates, but the problem arises if the program is used after 2 (or more) dates have …

Member Avatar for codeorder
0
212
Member Avatar for VB 2012

So here's Wat im trying to do Ive got 2 List boxes 1 Shows Processes other one is for Storage Anyway that's not important Im trying to Kill all the Processes wat are stored in Listbox 2 I had to add .exe at List for Listbox 2 But still not …

Member Avatar for VB 2012
0
244
Member Avatar for skran

Hi all! I have cascading comboboxes and when I choose the value for the first one everything is fine. But when I try to choose the value for the second combo the value of the first disappears. However, the second combobox is populated with the appropriate values and then I …

Member Avatar for lolafuertes
0
340
Member Avatar for weeraa

I've developed a software using VB.Net and SQL compact edition database. (.sdf file) Now i want to add my .sdf file to setup file. I've search internet and create setup file. when i install the software, it is created new folders in program files including my database file and exe …

Member Avatar for lolafuertes
0
241
Member Avatar for djjavo

Hi guys, I have a total of 72 link labels on a form and I want them to do a similar task. Is there a way to accomplishing this without writing each labels individual code? Example function of the link label [CODE] Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e …

Member Avatar for djjavo
0
2K
Member Avatar for PF2G

Hi, DaniWeb I'm having problems with the insert: (This is the login code, i can't open the register form) [CODE] Imports MySql.Data.MySqlClient Public Class Login Dim server As String = "Server=localhost;Database=escola_musica;Uid=root;Pwd=;" 'Dim server As String = "Server=localhost;Database=esola_musica;Uid=root;Pwd=;" Dim con As New MySqlConnection Dim da As New MySqlDataAdapter Dim sql As …

0
68
Member Avatar for bob12321

For example on any tinyurl/ajdeijad link (this one is fake), the link redirects to another url I cant grab the whole response because it is 200 MB- what can I do to JUST GET THE URL Here is my code: [code] Dim request1 As HttpWebRequest = DirectCast(HttpWebRequest.Create(urlvimeohd), HttpWebRequest) request1.UserAgent = …

Member Avatar for Oxiegen
0
870
Member Avatar for vammy

Hi guys, Could some one please help me in validating a datagrid coloumn..,i want only alphanumeric values.,symbols like -,+..etc were not allowed..folliwing is the code wht i have.,but it allows only alphabets but not numerals.. [CODE] If Char.IsDigit(e.KeyChar) Or Asc(e.KeyChar) = 8 Or Asc(e.KeyChar) = 46 Then If Asc(e.KeyChar) = …

Member Avatar for vammy
0
133
Member Avatar for vammy

Hi Friends, I need ur help..I have finished my proejct in vb.net with access database. could u please help me in making an exe for this with database.. please help..

Member Avatar for vammy
0
101
Member Avatar for b-one

Hello, I have formatted an invoice and saved it in a text file. In my text file i used TAB after every field, but when I am trying to print that text file using streamreader all tabs are disappeared. Can you please tell me how to retain the TABs while …

Member Avatar for b-one
0
211
Member Avatar for khizer03

i am a beginner, how to authenticate username and password to the database i hope i'll be responded soon

Member Avatar for Reverend Jim
0
293
Member Avatar for khizer03

just guide me to create a VB.net form that should accept a perfect username and password with the help of the example code

Member Avatar for khizer03
-1
242
Member Avatar for kentuckyjoe

I have a an inherited form that has a panel control on it. I want to paste other controls onto this panel but the paste option is grayed out and won't let me do it. I made sure that the template form did not lock the panel. I'm stymied from …

Member Avatar for kentuckyjoe
0
120
Member Avatar for pROKO

I'm quite new to .net so would appreciate your help. My project is nearing completion and I would like to save my work prior to making changes each day, should something go wrong. Eventually I would like to end up with a series of archived projects so that I could …

Member Avatar for pROKO
0
170
Member Avatar for AfreenJamadar

Hi everyone, Well, First of all m glad to join a community of all master minds. My question is : I have a datagridview and each time i enter values in database the values are not reflected in the datagrid untill i load the form again. I want a method …

Member Avatar for pROKO
0
212
Member Avatar for renzlo

Hi All, I want to search specific range of rows in datagridview. I want to search the entire third row of my datagridview. How can I do that? Here's my current code: [CODE]Private Sub cmdSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSearch.Click For Each row As DataGridViewRow In …

Member Avatar for Reverend Jim
0
157
Member Avatar for khizer03

how to link the form so that it should display as soon as the computer gets started and the user should not access any other thing first he has to attempt the form then after successfully he can acess rest of the other option the form will be containing user …

Member Avatar for adam_k
1
138
Member Avatar for vammy

Hi, How to validate the contents of a datagrid per row, per column in vb.net? i have a specific coloumn PlotNo in which values shld nt get repeated..it is an unbound table.. please help me with an example code..

Member Avatar for ndeniche
0
57
Member Avatar for vammy

Hi Guys, How do i calculate the sum of all rows in a coloumn..? im using vb.net and access as back end.. could u please gimme an example code?

Member Avatar for ndeniche
-1
90
Member Avatar for saly+two

Hello all, I'm developing a project and I faced a probelm of how to insert a new row to specific index choose from user Can anyone help to do that in VB.net Please? Thanks a lot

Member Avatar for Sarama2030
0
80
Member Avatar for khizer03

how to link a button in vb.net to a exe file just suggest with the help of the code

Member Avatar for TechSupportGeek
-1
113

The End.