20,285 Topics
![]() | |
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 | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Dear Sir, Please Help me that How I can Upload data from Excel File in VB .Net Please Reply With Code Thanks Mrinal Roy | |
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 … | |
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 … | |
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 … | |
[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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
hi guys......... How to use performance counter component in vb.net........ | |
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 … | |
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 … | |
hi all, I need a code which export access table data into excel sheet.I am working in vb.net2003 | |
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 | |
This is my first application that I have devloped in Vb.net. It is an advance version of a simple notepad. | |
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? | |
How to put checkbox in listview header? Use of checkbox is for select all and vice versa... Thank You... | |
(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 … | |
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: … | |
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... | |
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 … | |
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 | |
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 = … | |
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. | |
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 … | |
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] … | |
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 … | |
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] … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
hi,everyone i need help about simple code to move the picture in form simply animation of the picture. thanks |
The End.