20,284 Topics
| |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 >= … | |
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] | |
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 … | |
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. | |
Hi friends, i want to restrict -ve values entering into access database table.im using vb.net as front end... please help.. | |
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 … | |
[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") … | |
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 … | |
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, … | |
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 | |
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 … | |
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" … | |
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 … | |
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 | |
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 … | |
[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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.