20,285 Topics

Member Avatar for
Member Avatar for rami2005

in vb6 we can declaration arecord like this [COLOR="Green"]Type x a As Integer b As String End Type[/COLOR] and deal to this record by dim s as x s.a=1 s.b="hi" but i cant do that in vb.net any one can help me please

Member Avatar for lolafuertes
0
124
Member Avatar for get connected

Hi all Does anyone know if it is possible to open a firefox webbrowser in a form. Or does it take you default web browser as the webbrowser to open in form. Eg - My Default Browser is Firefox - so does that mean the webbrowser control would be a …

Member Avatar for get connected
0
220
Member Avatar for Chair

Hi, I'd like to get the value of a column from a datagrid and insert that to a table. I get an error "Object reference not set to an instance of an object." Here's my code: [CODE] Imports System.Data.SqlClient Imports System.Data Public Class Class1 Public Shared Sub insertrecord(ByVal query As …

Member Avatar for AndreRet
0
172
Member Avatar for hajjo

[CODE]Imports System Imports System.Drawing Imports System.Windows.Forms Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click End Sub End Class[/CODE] Hello, I have a textbox and I have a button. Okey, when the button is clicked I want my mouse to go and click a …

Member Avatar for josephbeluan
0
954
Member Avatar for moh1986

i have an application that store a data about a properties for sall i use the serlization and desrlization to store the property details to an XML file i call it PropertiesList .xml i got a form called search it contain 2 text boxes when the user write down a …

Member Avatar for Pgmer
0
78
Member Avatar for kipslem

Hello, I'm newbie to VB.Net and thus I need an urgent help so doing this posting. I'm currently working on a project to track officers attendance time. I have several table in SQL backend. The 2 obvious tables are tblStaff which keeps all the staff's records, and the tblAttendance which …

0
99
Member Avatar for bestex

Hi Guyz, i just wanna know how to fix my problem, or rather fix my code and simply my code base on my MODULE. heres the error " You have an error in your SQL syntax; check the manual that corresponds to your mysql server version for the right syntax …

Member Avatar for bestex
0
145
Member Avatar for rookanga

This is my assignment Get Monthly Income Get Monthly Home Rent/Mortgage Get Other Monthly Payments (alimony, child support, student loans) Display Allowable Monthly Car Payment Display Maximum Car Value (interest rate based on credit) A customer can not exceed a debt load of 36% of their gross monthly income including …

Member Avatar for rookanga
0
222
Member Avatar for roymrinal123

Dear Sir, Please Help me that How I can Upload data from Excel File in VB .Net Please Reply With Code Thanks Mrinal Roy

Member Avatar for lolafuertes
0
70
Member Avatar for Damon88

I want to change the color of the group header text in listview which separates all the items into various groups, there is no such option to do that directly because no such property exists. As far as i can think of it can be achieved via overriding the paint …

Member Avatar for jma2400
-1
3K
Member Avatar for Ramroma

Hi every one, I need help urgently please I am creating a db with an interface from VB.Net 2008, what I need is to export to excel from a datagrideview by clicking on a button. I have found a code but its giving me errors, I posted the code maybe …

Member Avatar for lolafuertes
0
383
Member Avatar for tim8w

I have a custom-shaped form created by setting the Region to an image. I want to be able to highlight the edge of the form when it has focus. To do this I believe I need to get the outline of the form and convert it to a path so …

0
56
Member Avatar for bestex

[CODE]Imports MySql.Data.MySqlClient Public Class Form8 Dim connection As MySqlConnection Dim con As MySqlConnection Dim da As MySqlDataAdapter Dim dt As DataTable Dim strQuery As String Private Sub Form8_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load strQuery = "server=localhost; user id=root; password=phoenix0931; database=accounts;" con = New MySqlConnection(strQuery) con.Open() Me.Text …

Member Avatar for bestex
0
495
Member Avatar for get connected

I am building an application that contains data that needs to be fed out to seperate groups of people. Sending them emails is the only way to do it but this takes ages to do. Does anyone know of a way to send emails through lotus notes via vb.net code. …

Member Avatar for lolafuertes
0
494
Member Avatar for tuckerdwz2025

I'm new to VB and am writing a basic revenue calculator for class and for some reason I can't get it to display the computed values in the label fields when I run the form. I've been through the example code provide to me, my textbook, google (how I found …

Member Avatar for tuckerdwz2025
0
207
Member Avatar for bestex

Hi all, heres my code [CODE]Dim con As New MySqlConnection("server=localhost; user id=root; password=phoenix0931; database=accounts;") Try con.Open() Dim dat As MySqlDataAdapter = New MySqlDataAdapter("SELECT customers_id,customer_name,customer_add FROM customers ", con) Dim dt As New DataSet dat.Fill(dt, "customers") ComboBox1.DataSource = dt.Tables("customers").DefaultView ComboBox1.DisplayMember = "customer_name" ComboBox1.ValueMember = "customers_id" Catch ex As Exception MessageBox.Show(ex.Message) Finally …

Member Avatar for bestex
0
121
Member Avatar for dmaclam

So I am currently writing a custom proxy server to handle http requests on a local computer. I am able to get the headers but am not sure how to then send them to the browser. here is my current source code: [[CODE] Imports System.Net Imports System.Net.Sockets Imports System.Text Imports …

Member Avatar for dmaclam
0
1K
Member Avatar for bestex

I dont know what code to put Here? to get the exact value of my record on my database here is my code [CODE] Protected Const strConnPubs As String = "server=localhost; user id=root; password=phoenix0931; database=accounts;" Protected strPubsCMD As String = "select customers_id, customer_name from customers" Protected dvName As DataView Protected …

Member Avatar for bestex
0
213
Member Avatar for rkmeena
Member Avatar for Luc001
0
65
Member Avatar for bklynman01

I have a function that imports an Excel sheet into a SQL database. This function works except ONE line. [CODE] If sheetContent.Range("A" & exRow).Value2.ToString.Length < 1 Then Exit For End If[/CODE] The rest of this function works great, and it uses lines of code that are VERY similar to that …

Member Avatar for bklynman01
0
101
Member Avatar for ninjatalon

I've tried google a way to sort a table but couldn't get my code working. My program lets the user input enter information such as first name and last name in textboxes, once done they click on update button(so far everything works). On the top right of the form it …

Member Avatar for zy_430l
0
630
Member Avatar for poonams

hi all, I need a code which export access table data into excel sheet.I am working in vb.net2003

Member Avatar for Pgmer
0
99
Member Avatar for DONPAWPAW

PLEASE I HAVE OVER TEN CLIENT COMPUTERS. AM DESIGNING AN VB.NET WITH MSSQL SERVER 2005 EXPRESS APPLICATION THAT THE CLIENT CAN CONNECT TO THE DATABASE ON A ON COMPUTER HOW DO I DO THAT.# ie vb.net + sql server network application

Member Avatar for Pgmer
0
68
Member Avatar for sadiqkhanpathan

This is my first application that I have devloped in Vb.net. It is an advance version of a simple notepad.

Member Avatar for Pgmer
0
31
Member Avatar for josephbeluan

Is there anyone can post a simple code using vb,that start building a simple games? we have a project, by using vb, build a simple game. can you help me?

Member Avatar for codeorder
-1
96
Member Avatar for bLuEmEzzy

How to put checkbox in listview header? Use of checkbox is for select all and vice versa... Thank You...

Member Avatar for bLuEmEzzy
0
2K
Member Avatar for Tarkenfire

(I'm using Vis Studio 2008 and a textbook written for VB2008) Okay, so this problem from my textbook requires me to "animate" (read: move a picture box) a picture of a "robot" finding it's way to a wall and returning to it's original position. I have the logic of the …

0
122
Member Avatar for Ducklz

Hi there, I'm having a lot of trouble trying to add a new control to a dynamically created TabPage at run time, I have viewed many threads with similar help requests and cant seem to make the codes work! :( Any help would be greatly appreciated... Here's what I've got: …

Member Avatar for ninjatalon
0
308
Member Avatar for arezz

hello...anybody know how to print selected item in list view using crystal report..do i need to createcheck box in list view but how to print it...

0
65
Member Avatar for jmensah

Dear sir, I need a help. am having problem coding in vb.net. I have created a field which automatically in sql server. I want a code in vb.net so that user the text on the get focus, the automber would display the current no on the form. This autonumber is …

Member Avatar for codeorder
0
1K
Member Avatar for Netcode

Pls everyone, i need help with two regula expressions One to accept only file word and pdf file and the other to accept only images(.jg|.bmp|.png|.gif) Thanks

Member Avatar for ShahanDev
-1
126
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
189
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
95
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

The End.