20,284 Topics
| |
Good afternoon, I'm having some trouble with a class that uses the ToolStripControlHost, I have to create a label and a label beside the textbox, this works, the problem now and I can not access the property. Text of textbox (txt). the class to this: [CODE]Public Class ToolStripTextBoxWithLabel Inherits ToolStripControlHost … | |
i have just entered T.Y.B.Sc.I.T 6th sem. and i am confused which project topic should i select, can anyone help plz. Project wourth is 200 marks | |
Hi, appreciate if you can spend few minutes to analyze the problem below and shed some lights. Thanks I would like to Sum up MTD Value and separate by employee ID. I've used SUM(MTD_Value) and Group By Employee_ID but is not work. Thanks [B][U]VB.NET Coding[/U][/B] [code] Dim connetionString As String … | |
Hi experts, I'm using vba to do my coding. I have to check whether the data exists in the db or not. so I'd done this to check it. [code] Set rs = New ADODB.Recordset With rs .Open "pr_q", cn, adOpenKeyset, adLockOptimistic, adCmdTableDirect curr_year = Year(Date) q = 4 .MoveLast … | |
hi, when i run the code below its hit the error [COLOR="Red"]Index was outside the bounds of the array.[/COLOR] in a place that i highlight in red. Please help [CODE] Dim crParameterFieldDefinitions As ParameterFieldDefinitions Dim crParameterFieldDefinition As ParameterFieldDefinition Dim crParameterValues As New ParameterValues Dim crParameterDiscreteValue As New ParameterDiscreteValue rpt.SetDatabaseLogon("sas", "123") … | |
What does this mean and how can I fix it? An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll Additional information: Index was out of range. Must be non-negative and less than the size of the collection. [CODE]dgtsCustomers.GridColumnStyles(0).HeaderText = "Factory ID" dgtsCustomers.GridColumnStyles(0).Alignment = _ HorizontalAlignment.Left[/CODE] | |
i am trying to create a nextrow button to work with a bound datagridview the problems i have: 1. the row moves down, but the first row is the one who has the focus (the little black triangle is staying to it's left. 2. i am trying to set a … | |
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 … |
The End.