20,284 Topics

Member Avatar for
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
48
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
161
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
919
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
539
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
164
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
188
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
87
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
118
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
74
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
204
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
245
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
405
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
129
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
499
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
106
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
109
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
140
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
349
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
171
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
334
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
63
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
132
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
607
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
203
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
240

The End.