20,899 Topics

Member Avatar for
Member Avatar for arezz

anybody know how to save picture in picture box after upload and set picture witdh+heigh size. i want same picture in picturebox after i relaunch application .. i use this code to upload picture into picturebox....please anybody [code] Dim OpenFileDialog1 As New OpenFileDialog With OpenFileDialog1 .CheckFileExists = True .ShowReadOnly = …

Member Avatar for arezz
0
242
Member Avatar for Jake.20

Guys, can you give me some idea on how to validate the day if the selected year is a leap year in combo box. Thank you in advance.

Member Avatar for codeorder
0
157
Member Avatar for spydanger

Hi i need your help for make a browser to autowatch movie and videos on that website [url]www.videobb.com[/url] for exemple if u want watch this video [url]http://www.videobb.com/video/lU5B0ElhzHF0[/url] u need to open page then click on play a want make a browser to enter directly to the video url and play …

Member Avatar for spydanger
-1
195
Member Avatar for swathys

hi, i think there is a problem with my code below....it insert the data more than 1 record (data redundancy) in the server database....i think there is a problem at the place i highlight with red.... can any1 assist me on this.... [CODE] If Not Update_ServerPOS() Then Update_TempPOS() End If[/CODE] …

Member Avatar for bLuEmEzzy
0
117
Member Avatar for gabanxx

i try to create an application that can sent the value from vb.net to SQL database.. the problem is i dont know how....i created the interface, just a simple one like inserting name, D.O.B, hobbies & phone nmber(all this using text area)...and a submit button... pleaseeeeee........... help me :'( -im …

Member Avatar for shubhadip
0
1K
Member Avatar for zepi

hi all, am just curious to know...which is the better or more efficient way of these two? Note: tblOD is a DataTable [CODE] For dtrows As Long = 0 To tblOD.Rows.Count - 1 dgv1.Rows.Add(tblOD(dtrows)(0), tblOD(dtrows)(1), _ tblOD(dtrows)(2), _ tblOD(dtrows)(3), tblOD(dtrows)(4), _ tblOD(dtrows)(5), tblOD(dtrows)(6), _ tblOD(dtrows)(7)) Next dtrows [/CODE] OR [CODE] …

Member Avatar for Mariandi
0
138
Member Avatar for zy_430l

hi, im a newbie in using vb2008 and mysql server 5.1. i tried creating a dataset using the myodbc driver 5.1 (which im sure is correctly typed in because that is the exact same connection string i used for data manipulation within my app. now, im stuck. i cannot generate …

Member Avatar for tomason
0
623
Member Avatar for ezekiel13

I got a big problem in using crystal report in vb.net 2005 im creating a sales and inventory system for softdrinks dealer so i need to create a receipt for every cash or credit transaction of a client but i dont have any idea how to use crystal report. Im …

Member Avatar for ezekiel13
0
192
Member Avatar for altXerror

i am trying to make an OS using cosmos boot in VB.net it is called TrippyDOS i have this code here: [CODE]Imports System Imports System.Collections.Generic Imports System.Text Imports System.Globalization Imports System.Int32 Imports System.Globalization.CompareInfo Namespace TrippyDosA Public Class Kernel Inherits Cosmos.System.Kernel Protected Overrides Sub BeforeRun() Console.WriteLine("Cosmos booted successfully. Type a line …

0
90
Member Avatar for frank33

In my code I am trying to draw/define a line but despite my best efforts I cannot make it appear as thick as I would like. To be more exact I cannot do that INSIDE A GROUP BOX, although outside that box the definition is exactly as required. The full …

Member Avatar for frank33
0
192
Member Avatar for d-dawg

I am reading a table for a drop box. upon selection of item from the drop box, onselect does an autopostback and populates a datalist. Basically the drop box is list of projects and when you select project, the datalist displays the corrosponding project manager. But i can't get the …

0
38
Member Avatar for sipchen

In reference to this post [url]http://www.daniweb.com/forums/thread43763.html[/url] I have another more specific question about passing data between forms in VB.net I have a form with over 50 variables that I need to access on a second form and if i followed the method above, my form 2 will end up way …

Member Avatar for Mariandi
0
2K
Member Avatar for kazekagerandy

i have this make-over software project and im having a hard making up the codes in vb. i dont have much time for research for im having my work as well.. the software must be identical to mary kay's virtual make-over software. see link below: [url]http://www.marykay.com/whatsnew/virtualmakeover/default.aspx?ab=sidenav_vmo[/url] can someone help me …

Member Avatar for kazekagerandy
0
108
Member Avatar for jmensah

when saving the "conversion failed when converting datetime from character string" is displayed. Please help Private Sub BtnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSave.Click Try Dim cn As New SqlConnection(ConnectionString) cn.Open() put = "insert into NewAccount(Account_no,Surname,First_Name,sex,Date_Applied,Date_Birth,Contact_no,Contact_Address,Acco unt_type,Branch_ID)values('" & Me.TxtAddress.Text & "','" & Me.txtAccount_No.Text & "','" & Me.txtSurname.Text …

Member Avatar for Pgmer
0
285
Member Avatar for markdean.expres

Guys I know this error is not new. I have read many threads about this and solutions also. But I have done one of the solutions I know and it is still occurring. Update requires a valid update command.... I hava defined a primary key in my database table. What …

Member Avatar for lolafuertes
0
96
Member Avatar for tendaimare

hey. i am trying to compile my project into a .exe application. this project has already been compiled already but i made some improvements and i now want to compile can some one help me on ho to go about it. i tried build>build solution but the program is not …

Member Avatar for lolafuertes
0
88
Member Avatar for mogaka

Am using a crystal reportviewer to generate my reports. Every time the report is loaded, the 'Main report' header is displayed;but, i don't want it displayed because it does not look smart.Can somebody help me remove it?

Member Avatar for Mariandi
0
69
Member Avatar for jmensah

Below is a code displaying records from a view which is concatenating first and surname in textbox on the form called accoutnholder. But the code "txtAccountHolder.Text = myDataReader.Item("First_Name&" - " &Surname")tostring]" show the expression does not produce value. please i need ur help to continue Private Sub txt_LostFocus(ByVal sender As …

Member Avatar for jmensah
0
2K
Member Avatar for josephbeluan

hi,everyone i need help about simple code to move the picture in form simply animation of the picture. thanks

Member Avatar for Jx_Man
0
99
Member Avatar for m1234ike

######################################################################################## My question is : How do you specify shortcuts: (i.e. Firefox shortcut on desktop) in VB? I want to make a program that creates a folder for shortcuts. Thanks in advance, Mike

Member Avatar for sandeepparekh9
0
75
Member Avatar for josephbeluan

hi, anyone could help on how to attach file in mobile phone? if you have sample code for it, can post that. so that we have a reference for our study about attaching file. thank you.

0
65
Member Avatar for m1234ike

I want to create a program that I can create a Text file folder on my desktop and move all the text files into the folder. Here is what I have so far: Below is where I create the Text folder: [code]Dim myPath As String = IO.Path.Combine(My.Computer.FileSystem.SpecialDirectories.Desktop, "Text") IO.Directory.CreateDirectory(myPath)[/code] Here …

Member Avatar for codeorder
0
632
Member Avatar for kazekagerandy

i am doing a makeup and hairstyle makeover application in vb.net and i dont know if i can directly edit a photo in a picture box, the features of the project will be: 1. make-up features are a must. 2. it should save the original photo uploaded and the edited …

Member Avatar for kazekagerandy
0
3K
Member Avatar for salohcin

I have a project on my hand which is needed to be written in vb.net, which is to create a vb.net installer to install client and host.The host will have the ability to shutdown all host computer in the network ,lock the computers in screensaver mode and also prevent user …

Member Avatar for THIRUGNANAM.S
0
212
Member Avatar for nengstrom

Hi Everyone! I am a beginner at VB. I have been a systems admin for some time and my new employers are forcing my hand into programming. I am currently Trying to write custom software that interfaces with our Advantage Database. I have the data source and connection opening fine. …

Member Avatar for nengstrom
0
165
Member Avatar for aluda

this is the code help me solve it. Public Class frmBorrowBooks Dim myConnection As New mysqlConnection Dim myCommand As New mysqlCommand 'im mycommandtext As New mysql Dim dr As MySqlDataReader Dim myCommand1 As New mysqlCommand 'im mycommandtext As New mysql Dim dr1 As mysqlDataReader Dim myCommand2 As New mysqlCommand 'im …

Member Avatar for Momerath
0
123
Member Avatar for vn412

Hi, I've a problem handling dataset. I have 3 tables in access database. In loop i am firing query to select values [CODE] for i=1 to 3 sql= " SELECT field FROM tbl where some condition" [/CODE] Now i execute the query to get dataset(ds) as output. [CODE] next [/CODE] …

0
54
Member Avatar for vb.net beginner

hello all.. Hi, I'm having problem to read *.DBF (DBase File) using VB.NET. Below is my code : [code] Public abc As String = "C:\Documents and Settings\LASIM\My Documents\20100126a\JADUAL\TCMSV2" Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim sql As String Dim connection As String Dim dsXML …

Member Avatar for lolafuertes
0
729
Member Avatar for billly

hey everyone im a bit of a noob with programing because im only 16 so can you please explain your reply simply. im trying to make a batch file that asks for a password and opens a file and if the password is wrong displays a message i know how …

Member Avatar for sandeepparekh9
0
172
Member Avatar for vb.net beginner

how to select date range? My provider --> Provider=VFPOLEDB.1 im using datetimepicker to pick date. The problem is when i select date range it cannot read my query. But if i just select like this : [CODE]v_str = "Select * from attend where [DATE] = '" & v_dtpDateFrom.ToString("MM/dd/yyyy")"[/CODE] its not …

0
56
Member Avatar for bLuEmEzzy

if the itemcheck is check then all the checks will be add separately to cash... i hope is it clear enough... thank You.. God bless... [CODE] Dim Cash As Double = 0.0 Dim Cheque As Double = 0.0 Dim Other As Double = 0.0 Dim DetermineCash As Boolean Dim CheckedItems …

Member Avatar for bLuEmEzzy
0
162
Member Avatar for Mitja Bonca

Code shows how to bind the data from a database`s table to dataTable and populate dataGridView with it. And then how to pass the modified (or not) data from dataGridView back to dataBase`s table.

Member Avatar for tomason
0
754
Member Avatar for spydanger

Hi im just made a webbrowser on cisual studio 2008 to enter automaticly to a link but me i want the webbrowser to enter to the link and wait 10 sec then click on Tab key then click on ENTER key Then ENTER key again , then wait 10 sec …

Member Avatar for spydanger
0
2K
Member Avatar for arkanoid

I did not see anything about how to have multiple colors in a textbox. Is this possible, or must I use a richtextbox?. I would like to keep it simple if possible by setting it up in a standard textbox. Can someone help me with this? As an example of …

Member Avatar for arkanoid
0
121
Member Avatar for jlego

kind of directed towards adatapost... in most of my applications, i have a public function called DBUpdate() [CODE] Public Sub DB_Update(ByVal strQuery As String) Dim ADOCmd As New ADODB.Command Try If ADOConnect.State = ConnectionState.Open Then Call CloseConnection() ADOConnect.Open(dsn, user, pass) ADOCmd.ActiveConnection = ADOConnect ADOCmd.CommandText = strQuery ADOCmd.Execute() Catch ex As …

Member Avatar for jlego
0
153
Member Avatar for SaberExcalibur

After deploying my project, I tried to install it on other pc , it installs well but whenever i run the .exe application my database file which is MS Access cannot be found. Well obviously the path is the problem. How would i make my path flexible and so that …

Member Avatar for DONPAWPAW
0
110
Member Avatar for Chair

Hi, I want to populate a listview with items from datagrid view. I've been searching for solutions but it seems that all the scenarios I found were about populating listview with items from tables in database, not from another listview or datagrid view. I'm trying this code: [CODE] For count …

Member Avatar for Chair
0
1K
Member Avatar for swathys

Hi, can anyone guide me on [COLOR="Red"]how to check the server DateTime when the application launch. i want to make sure the user PC has the same DateTime as server when the user use the application.[/COLOR] Reason being is some user may tend to change their DateTime backward and it …

Member Avatar for Luc001
0
136
Member Avatar for y2kshane
Member Avatar for reedom

[B] Dear Sir, Good morning How to open CSV file within form in asp.net and control it like a Matrix thank you[/B]

Member Avatar for Luc001
0
52
Member Avatar for airesh

guys, how to check data if it is already in the database? i am using sql server.. thanks

Member Avatar for kvprajapati
0
99
Member Avatar for xxxferraxxx

Hi, I need to make "Keygen" that gen text not randomly with two text boxes, i need to use it for "username and "password" gen that i puted to gen. Please help with the code :)

Member Avatar for xxxferraxxx
0
209
Member Avatar for roymrinal123

Dear Sir, Good morning How we can Upload data from Excell to our Access database through VB .NEt Please Help me

Member Avatar for kvprajapati
0
72
Member Avatar for JD69

I have 1 form with the progress bar and 4 buttons with the following code. I would like to create another form that shows the same progress bar with the same progress. Please help Here's my code for progress bar [B]form load code is:[/B] [code] ProgressBar1.Minimum = 0 ProgressBar1.Maximum = …

Member Avatar for codeorder
0
166
Member Avatar for roymrinal123

How we can show data from acess database in datagrid please help me about the code

Member Avatar for kvprajapati
0
85
Member Avatar for JD69

VB2008 I am trying to click a button on a website but its not working for some reason. I've used this code on another site but the html code doesnt look the same. Here's the HTML Code <input type="submit" onclick="return fnbValidateLogin()" value="Login" name="Login"> Here's what i Tried theElementCollection = WebBrowser1.Document.GetElementsByTagName("input") …

Member Avatar for codeorder
0
261
Member Avatar for bettybarnes

hi can anyone please help me with the codes in search stored procedure.. for example.. i have combobox which lists lastname, firstname, pt_id, (the choices if i want to search for a particular record) i forgot the code for search T.T

Member Avatar for bLuEmEzzy
0
103
Member Avatar for RenanLazarotto

Hey people! I've saw many many times lots of custom controls, so I decided to build mine. I just don't know how :$ what do I need do to do to build a custom listbox control? Thanks!

Member Avatar for RenanLazarotto
0
1K
Member Avatar for bettybarnes

Conversion from string "Widow/Widower" to type 'Integer' is not valid. here is my code [CODE]classLibrary.addParameter("@Sex", SqlDbType.VarChar, txtSex.TextLength, txtSex.Text) classLibrary.addParameter("@Room_ID", SqlDbType.VarChar, txtRoom_ID.TextLength, txtRoom_ID.Text) classLibrary.addParameter("@CivilStatus", SqlDbType.VarChar, cboxCStatus.SelectedItem, cboxCStatus.Text) classLibrary.addParameter("@Nationality", SqlDbType.VarChar, txtNationality.TextLength, txtNationality.Text) classLibrary.addParameter("@Religion", SqlDbType.VarChar, txtReligion.TextLength, txtReligion.Text)[/CODE]

Member Avatar for jlego
0
241
Member Avatar for bettybarnes

this is the error message... The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Admission_Record_PT_Chart". The conflict occurred in database "HospitalManagementSystem", table "dbo.PT_Chart", column 'Chart_ID'. The statement has been terminated. my code is [CODE]Imports System.Data.SqlClient Public Class Admission Private cs As New SqlConnection("Data Source=SAbio;Initial Catalog=HospitalManagementSystem;User ID=sa;Password=TRACERT123") Private da As New …

Member Avatar for bettybarnes
0
241

The End.