20,278 Topics

Member Avatar for
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
186
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
86
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
117
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
203
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
242
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
404
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
468
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
341
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
170
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
331
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
131
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
597
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
200
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
239
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
332
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
236
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
65
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
825
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
128
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
97

The End.