20,899 Topics
![]() | |
I add connections in server explorors. Then, I use AdventureWorks Person.Contact to set up a query by searching peter and mary ,but how to add it on form 1 ? and I type part of their names and by the way how to link a "VB label of text" or … | |
I am just writing a simple file browser. It works without problems when i point to a specific directory but throws "UnauthorizedAccessException access to the path .... is denied" when i point to drive "C:\\" or "D:\\" appreciate any help. [CODE] If Not txtToSearch.Text = Nothing Then ListBox1.Items.Clear() FC = … | |
its a simple car parking fee calculator that uses timer start and stop value to calculate hourly fee.... | |
Dear Experts I have loaded a picture in PICTUREBOX1 by this command Me.PictureBox1.Image = Drawing.Image.FromFile("D:\C2007\BITMAPS\pict.jpg") How to store this picture SQL server 2005 table1's IMAGE column? I do not want to store image path in table. I want to store picture in image column in any format. Reason: If I … | |
Hi all, I've written the code to create a digital clock using a label and it's all working dandy. Now though, I want to take it to the next level and use images for each of the digits instead of a simple label to make the clock fit more with … | |
I have been all over the web (and through several books) in an attempt to get an answer to my problem. Briefly, I am trying to get the contents of a string array expressed as the header text for datagridview columns by the calling that array from a listbox. There … | |
I am developing an application that based on when a user has last entered a payroll, my program tells them the next available Sunday that is available to them based on 1. The date that the last time payroll was entered 2. If payroll ran = "yes" or "no" I … | |
Hi there, I have a question in a datagridview in C# desktop application, In one interface ha have a datagridview which has a textboxcolumn and a calendar control column, what I want to do is when the user is start typing a value in the datagridview text box column the … | |
I have a DataGridView control that is bound to a DataTable, and I am using the DataTable to add rows to the DataGridView. I am not using a database in any way, but need to add data to the DataTable/DataGridView using code alone. I need to replace certain columns with … | |
hi i have a problem, in crystal report in VB.net how can i set the paper size A8? plz, guide me. | |
codes pls. the format should be like this. DATE: TEXTBOX1 = month/date/year TIME: TEXTBOX2 = time DAY: TEXTBOX3 = day today pls help me. needed ASAP. | |
Ive got a big problem. I need to read data from the serial port Ive used serialport from the toolbox , but dont know how to use it. I used to do it on a Amiga like this open serial("serial.device".0.2400.0) rem(open port) repeat GW.w=readserial(0) if gw>29 and gw<128 gewicht$=gewicht$+chr$(gw) rem(at … | |
I am new to vb.net and am using visual studio 2008. I am sending data back and forth using the serialport module. I am wondering if there is a way to send a hex byte, rather than having the module ALWAYS convert everything to ASCII. This is extremely obnoxious, and … | |
I heard that in order to sell a software created using VB, we must buy a license from Microsoft. Is there anyone know where I can buy it? Or maybe someone can tell me how much it costs? Thanks in advance. | |
Dear Experts, I am working on project for cyber cafe. Requirement is that when user login for net surfing then he can download/upload only 25 MB after that downloading/uploading will be disabled but net surfing will be on. I did but it is capable for calculating download/upload data on net … | |
Hi all Hi to move a label box from left to right and right to left with the help of timers. Also how to change the fore color of the label (RAndom colcors )with the help of timers Thanks in advance | |
guys i have an issue with scrolling a datagridview (VB.Net 2010) using the mouse wheel i created a mousewheel event an i am catching the mouse-wheel movement up or down i created a scroll event and set the boundaries for the scroll, but i have no idea how to combine … | |
Hello all, Greetings! I have just found this site, as i was searching for how to read any file in binary mode, like when you open a word file in hex editor it will show the "D0 CF 11 E0 A1 B1 1A E1" as the first eight bytes. I … | |
Hi guys! I created a simple code to add records into an SQL database as shown below. It seemed to be working but then the next time i tried running it, i got no output. actually on clicking the button nothing happens at all. no warnings or error messages at … | |
Hi, could someone please show me how or direct me to a source where i can learn how to connect and manipulate SQL Server 2008 database with VB.NET. I have created a database in SQL Server 2008 and i've created forms for viewing data on VB.NET but i dont know … | |
this windows application finds the amount of your pay if your pay is doubled each day, starting with a penny a day or a nickel a day. Instead of one month's salary, a boss offers her new employees a penny the first day and experienced employees a nickel the first … | |
Hi, While script execution i want to dislay few messages on desktop.Please let me know how i can do it in vb.net ? | |
This is my code: Add_click [code] dbcmd = New SqlCommand("INSERT INTO dms(name, dept) VALUES (@name, @dept)", connection) 'Add Database Parameters dbcmd.Parameters.Add("@name", SqlDbType.VarChar).Value = name.Text dbcmd.Parameters.Add("@dept", SqlDbType.VarChar).Value = dept.Text [/code] But I want to add the data in gridview [code] Dim record_series As String = DirectCast(GridView1.FindControl("Record_Series_Number"), Label).Text Dim doc_name As String … | |
Hello everybody, I am novice programmer in vb.net.I need to export datas from DatagridView to Excel.I could load the data but not columns names.Please help me to load the column name as well along with datas | |
Hello all, I am currently using VB 2010 and am having a problem comparing strings in my program. My problem is that i need to output a line between each set of employees every time the name changes, in a list box. For example: My current output is: James James … | |
VB .Net : how to validate textbox to get only alphabets a-z , A-Z...Pls help me | |
pls help..iv juz started learning vb.net..encountered this problem in this code: [code] Private Sub NavigateRecords() TextBox1.Text = ds.Tables("stdDataSet").Rows(inc).Item(0)-error msg appeared here sayin null reference evception was unhandled. Object reference not set to an instance of an object. TextBox2.Text = ds.Tables("stdDataSet").Rows(inc).Item(1) TextBox3.Text = ds.Tables("stdDataSet").Rows(inc).Item(2) TextBox4.Text = ds.Tables("stdDataSet").Rows(inc).Item(3) this is the full … | |
[B]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "students" And TextBox2.Text = "amaer" Then Dim a As New Form2 a.Show() Me.Hide() ElseIf MessageBox.Show("Please enter a valid Username and Password.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning) Then End If End Sub[/B] | |
Hi guys i am wondering if anyone can help. I basically have a few thousand transactions 7,000 - 10,000 transactions to process over a short time. The flow goes like this. <Select single record> ---> <convert to xml doc> ----> <transmit document as string to https:// location> ---> <receive a … | |
Hi Everybody, I have a desktop application designed (VB.NET 2008 and SQL2005) which consists of user login and some access level for the users. The user class which i have classified are : 1. Administrator 2. Operator 3. Report User This user has got a few access in my application. … | |
how to add progress bar on button click that i know but how to hide progress bar after it complete till 100% and then on to next form bcoz i tryd but both form appears togather after clicking on button plz solve my problem | |
hi how to print the contents present in the gridview using Vb.net | |
Schema is a string, lstSchemas is listbpb and rc is a variant Schema = VB6.GetItemString(lstSchemas, rc) | |
Hi, everybody I wonder if you can help me with a program in visual basic. I have to write a program that does a count down on the number of seconds you entered in the GUI I have most of the code and it basically has to countdown the seconds … | |
i dont know how to make my log in system to have a multiple users with different access levels. for example when the admin logs in it can access all the features of the system and if the ordinary users logs in some of the features are disabled. my log … | |
Hello everyone! I am developing an application with an Access DB, and i'm having trouble retrieving data from the db, i want to count how many operations have been made through two dates that i'm passing from a datetimepicker, and i can't manage to do it, since i keep getting … | |
hello all.. i'm new ni vb.net i need help. i got problem how to pass datagrid value to textbox. i have two from. Form1 is textbox and form2 is datagrid. what i want to do is to pass the selected value from datagrid(form2) to textbox(Form1). im using vb.net 2003 thank … | |
Hi, i am try to read from a file and then split the data and store them in array but i am getting an error. can someone please point to the right direction here is the file i am trying to read from 8 223432,YNYYYYYYYYYNYNYNYYNY- 623123,YNYNYNYYNY--YNYNYYNY 912234,YYYNYNYNYNYYNYYNYYNY 612356,YYYNYFYNYYNYYNYYNYYN 165478,YYYNYYYYY-NYYNYYNYYN 612321,YYYNYFYNYYNYYNYYNYYN … | |
I am using VS2010 and SQL Server 2005. I have a query to search between dates. Depending on which date I select on the datetimepicker I get no results or limited results, but mostly not all the dates between the two dates I specify. For example, if i select 10/9/2010 … | |
I want to retrive data from table into combobox ..when the user click combobox items it's corresponding data will be show. [B]In details :[/B] I have PERSON table , my program allow to the user search by : Person Name When the user enters the name into TextBox the combobox … | |
Hi I am using axMSChart objects to display charts in my VB .Net Windows Forms App. I am also trying to export them to a PowerPoint presentation which I automatically generate using Office Interop. However, when I use EditCopy to copy the Chart to the clipbord and paste it into … | |
Hello world of DaniWeb, it's been months since I last visited this forum but here I am asking for your help again :) I've been developing a text editing application and my problem is that the RichTextBox control will "lose" all special formatting (like font, color etc.) when enabling WordWrap. … | |
hi, i'm getting error of [COLOR="Red"]data source object is invalid[/COLOR] when i try to load a transaction report from sql database. [COLOR="Red"]Error 4 Overload resolution failed because no accessible 'Fill' can be called with these arguments: 'Public Function Fill(startRecord As Integer, maxRecords As Integer, ParamArray dataTables() As System.Data.DataTable) As Integer': … | |
my crystal report displays group tree. though it is important for navigation, i want to get rid of it whenever the report loads-just plain report.can somebody help me? | |
[CODE] Inherits System.Windows.Forms.Form Dim bill As New POS Dim mypath = Application.StartupPath & "\db1.accdb" Dim connection As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=d:\db1.accdb;Persist Security Info=False;") Dim cmd As OleDbCommand Dim cmdGetIdentity = New OleDbCommand() Dim sql2 As OleDbDataAdapter = New OleDbDataAdapter("Select * from customer", connection) Dim db1 As DataSet = New DataSet Dim … | |
Hi, I'm looking to find out how to force a refresh on a datagrid in a windows app. On a mainForm the user clicks a button to add a new record. This opens a new window. When the user has entered the data they click save and close which should … | |
hi, when i run my report its asking for database login id and p/word. i have make a connection before it and everything goes well but i'm not sure why its come out with the login asking for id and p/word. HELP !!1 | |
[B]Intent:[/B] I'm trying to create a simple GUI application (VB Desktop) that will allow me to modify an XML file's nodes which contains the program settings and table definitions for an application. The GUI application's datagridview contains three columns: colA, colB, colC. ColA should be the direct value from an … | |
hello, i'm have a payment form and a listview in this form. i'm adding about 3 item in the listview, so it has 3 row. but how can i insert the items in one of the column into database. for example for listview [U]id[/U] [U]item[/U] [U]netmount[/U] 123 Stock1 113.00 231 … | |
So here's the problem- My app has an image in it in a picture box. I need the end user to be able to change it. So the code I added below should do that. However, I get the "A generic error occurred in GDI+. while saving" I understand it … |
The End.