20,284 Topics

Member Avatar for
Member Avatar for LaBoss

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 …

0
62
Member Avatar for prayag.419

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

Member Avatar for Naveed_786
0
71
Member Avatar for Chris Ewe

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 …

Member Avatar for kvprajapati
0
101
Member Avatar for zulhimi89

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 …

Member Avatar for AndreRet
0
84
Member Avatar for swathys

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") …

Member Avatar for swathys
0
841
Member Avatar for zwench

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]

Member Avatar for samina228
0
159
Member Avatar for eladreznik

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 …

Member Avatar for eladreznik
0
92
Member Avatar for VB2008beginner

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 …

Member Avatar for lolafuertes
0
207
Member Avatar for hsncvs

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 = …

Member Avatar for lolafuertes
0
118
Member Avatar for anonymousi

its a simple car parking fee calculator that uses timer start and stop value to calculate hourly fee....

0
79
Member Avatar for tqmd1

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 …

Member Avatar for akar
0
270
Member Avatar for TheMightySpud

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 …

Member Avatar for codeorder
0
299
Member Avatar for Duane Stockwell

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 …

Member Avatar for Duane Stockwell
0
112
Member Avatar for dougancil

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 …

Member Avatar for dougancil
0
187
Member Avatar for judithSampathwa

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 …

Member Avatar for judithSampathwa
0
139
Member Avatar for groberts1980

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 …

Member Avatar for groberts1980
0
209
Member Avatar for Naresh Vaidya

hi i have a problem, in crystal report in VB.net how can i set the paper size A8? plz, guide me.

Member Avatar for Naresh Vaidya
0
89
Member Avatar for krusnik08

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.

Member Avatar for Naresh Vaidya
0
114
Member Avatar for Ulukay

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 …

Member Avatar for albay
0
272
Member Avatar for ecloney

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 …

Member Avatar for albay
0
142
Member Avatar for AirGear

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.

Member Avatar for AirGear
0
172
Member Avatar for pardeep3dec

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 …

Member Avatar for AndreRet
0
100
Member Avatar for suganzeni

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

Member Avatar for mzoner
0
1K
Member Avatar for eladreznik

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 …

Member Avatar for lolafuertes
0
218
Member Avatar for thexplanet

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 …

0
57
Member Avatar for chris evans

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 …

Member Avatar for AndreRet
0
147
Member Avatar for chris evans

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 …

Member Avatar for AndreRet
0
211
Member Avatar for Wesley80

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 …

0
49
Member Avatar for rakhi12

Hi, While script execution i want to dislay few messages on desktop.Please let me know how i can do it in vb.net ?

Member Avatar for Atove
0
37
Member Avatar for jaejoong

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 …

Member Avatar for jaejoong
0
98

The End.