20,285 Topics

Member Avatar for
Member Avatar for vbdotnetlover

Hello good Teachers I have a datagridview with 3 columns. the second column is a read only . When I leave column 1 I would like to go directly to column 3. For this, I got following codes from somewhere but I need these codes in vb.net format, please help …

Member Avatar for kvprajapati
0
137
Member Avatar for vbdotnetlover

Hello Everyone Sqlserver Table1 has following data Sno---------date---------qty 1-------25/12/2009------5 2-------25/12/2009------4 1-------26/12/2009------8 2-------26/12/2009------3 3-------26/12/2009------2 I want to get following result Sno---------date---------qty 2-------25/12/2009------9 3-------26/12/2009------13 That is grouping on date. Column1 =count date Column2 =date Column3=sum of qty What command should I write to get above result Please help

Member Avatar for kvprajapati
0
83
Member Avatar for cromie09

could anyone please help me with this1. Create a simple Times Table program which will allow the user to enter an integer value n (between 1 and 20) into a textbox. On the click of a button output to a label the n times tables. Use a For…Next loop to …

Member Avatar for ssommaro
0
108
Member Avatar for arunsolanki31
Member Avatar for manojurfriend
-1
40
Member Avatar for Ap0ca1ypse

Hello, I can pull 3 tables data into my program and read from all of them, i can update all 3 datasets but when it comes to updating the actual database i can only send the updates from the last dataset. [CODE] Imports System.Data Dim con As New OleDb.OleDbConnection Dim …

Member Avatar for Ap0ca1ypse
0
110
Member Avatar for Kristensen292

Hello i have a problem, i need the code for tracking the mouse movement in VB 2008. my program needs to make a pop-up window when the mouse have moven an inch ( ex.) some code suggestions is needed, thank you - Martin

Member Avatar for Kristensen292
0
2K
Member Avatar for Kristensen292

Hello. i need a code for, lets take an eksample when the curser has moved 32 px, then a pop-up box needs to pop up and say " you have moved 32 pixels!" it also need to work out side of the form. - Martin

0
47
Member Avatar for royshoa

Hello, I am using the Visual Studio Web Developer 2008 for programming in VB.NET and i have some problems: 1. Sometimes it stops highlighting the text. 2. Is there an option to refresh the Intellisense of the page? 3. When i am including files to my page, its say variable …

0
53
Member Avatar for xorpej

hi everyone! Got some problem here. I really need help. I'm trying to have a shortcut key for my button, w/c has a random text. So, using the access key "&" wont work for me. Here's the original code: [CODE]Button1.Text = Mid(ChoosenWord, PickedSeq(0), 1) Button2.Text = Mid(ChoosenWord, PickedSeq(1), 1) Button3.Text …

0
54
Member Avatar for Ap0ca1ypse

Hello all, I am creating a project for myself to practice Database connectivity, updating, deleting and adding items. I am having an issue updating one of the tables i have added, within a table there is a column called Today's Date which will contain the date the last time the …

Member Avatar for Ap0ca1ypse
0
127
Member Avatar for darcee

what i did was i use a select statement in opening multiple IE just for testing but the main function is what you put number on a textbox then the number the IE's will open for example i put 100 on textbox then when i click a button then 100 …

Member Avatar for BoemaN
-1
121
Member Avatar for tqmd1

Dear Experts DataGridView has 3 columns as Sno----name----marks While entering data, if sno column is empty and user press Enter or Tab then Focus must go to me.textbox1 Please help

Member Avatar for kvprajapati
0
906
Member Avatar for kshrini

Hi All, How to calculate pixel intensity in Candela using RGB values? Thanks, Shrini

-1
66
Member Avatar for itzshaheer

I made a query for inserting a value from text box to MS ACCESS db [CODE] sql = "INSERT INTO Equipment (port_number,display_name,equipment,tonnage,user_privilage) VALUES (" & CLng(txtPort.Text) & ", '" & CStr(txtDisplay.Text) & "', '" & CStr(txtCA.Text) & "', " & CLng(txtTonnage.Text) & ", '" & CStr(cmbUser.Text) & "')"[/CODE] Actually I …

Member Avatar for vbdotnetlover
0
151
Member Avatar for vbdotnetlover

Dear Developers How to enable "Autio Hide" command for Solution Explorer Window Please Help

Member Avatar for padtes
0
118
Member Avatar for chongarian

i created a smartdevice project,,(target platform =pocket pc;device=emulator; editor= vs2008). Without writing any code additional to template generated by vs2008 ; hit F11 (step into) ; Then vstudio asks to locate a source file named 17d14f5c-a337-4978-8281-53493378c1071.vb. i dont know what this file is; same problem does not occur if i …

0
45
Member Avatar for Brian Charlie

I currently am working on a project for work that deals with WSDL. The client has sent me the WSDL in XML form, so I was wondering can I even use this with VB .NET 2003 or do I have to use the "Add Web Reference" feature and add the …

Member Avatar for kvprajapati
0
88
Member Avatar for Clyw

I need help urgently for 3-tier coding in retrieving data from database and display it in label. It would be a great help if anyone solve it for me. thanks [B]I got the code for data access layer but im not sure if it's right:[/B] [code] Public Function getFeedbackQ(ByVal Question1 …

Member Avatar for kvprajapati
0
133
Member Avatar for tqmd1

Dear Experts I am using following codes to format datagridview column headers, that works fine. My questions are 1) how to make all headings bold? (bold header row) 2) how to apply specific font to heading row 3) how to apply specific fontsize to heading row 4) how to apply …

Member Avatar for kvprajapati
0
431
Member Avatar for TommyTran

I have an assignment that asks me to create an application that lets the user enter a word or phrase, then displays the number of vowels found in that word or phrase. Here's what I have so far: [CODE]Dim mystring As String = Me.txtenter.Text Dim chars As Char() = mystring.ToCharArray() …

Member Avatar for apegram
0
1K
Member Avatar for ludamizleeto

I have always used the API for Vb.net from Decaptcher.com and have always sent the Captcha by sending an actual url to them as you see in the code below. Or maybe it uploaded the image anyway to them (I use the Webbrowser Control) I'll use for example this: Code: …

Member Avatar for darcee
0
551
Member Avatar for TommyTran

I have an assignment that asks me to do the following things: 1. Create a textbox to get the student's first and last name (ie: John Ark) 2. If the student's "first letter of his last name" (which is "A" in John Ark) ranged from A to I, then puts …

Member Avatar for apegram
0
107
Member Avatar for ZidaneXero

So i need to add a supreport to the main report that i have and im not sure how to do that so i google it and im not getting it right can anyone help me here please :$ [CODE]Dim strConnection As String = "Server=OADMIN\SQLEXPRESS; Database=EHV2;uid=admin;Password=ehvgem" Dim Connection As New …

0
49
Member Avatar for ZidaneXero

Hello Everyone I need some expert advice on this problem that i have, i been trying to google this issue but still no luck. Im using VB 2005 and the Crystal Reports that come with Visual Studio 2005. I have a "Purchase Order" program that im trying make my company …

0
80
Member Avatar for samuel_1991

Hi, I am currently doing an advanced search of a product. It is such varies into 3 categories: Product Title / Description, Price and Product Specifications I have called 3 datasets to check on each of these categories. Now, for reason, when I merge these 3 dataset [code] dsPrice.Merge(dsKeyword) 'Then …

0
69
Member Avatar for vbdotnetlover

Datagridview has three columns as code-----name------country 1--------Eric--------Germany 2---------Bill--------France I want to apply code like these [CODE] If e.ColumnIndex = 2 Or e.KeyValue = Keys.Left Then SendKeys.Send("{RightArrow}") End If [/CODE] These are not correct codes, I need modification Reason: When cursor is in column3 (country) and user press LEFT arrow key …

0
52
Member Avatar for PcPro12

So I have a question about timers and need some help... I'm still learning VB.NET programming, so I'm a beginner here...but so far, with timers and all, I've been able to do them well. My last assignment dealing with timers went very smooth...one of the things was to create timers …

Member Avatar for jenphoenix
0
253
Member Avatar for dre-logics

I Use visual Basic 8.0 and Mysql 5.0 I have two exactly the same Tables: Table1: RecordID , Integer = primary key auto_increment NOT NULL Articlenr , Integer Articlename, Char(20) Table2: RecordID , Integer = primary key auto_increment NOT NULL Articlenr , Integer Articlename, Char(20) Table1: has [COLOR="Green"]two records[/COLOR]: RecordID, …

Member Avatar for dre-logics
0
214
Member Avatar for tqmd1

Dear Experts SqlServer Table1 has data as follows Sno-------date 1------01/01/2010 8------01/01/2010 1------02/01/2010 5------02/01/2010 2------18/01/2010 9------18/01/2010 3------18/01/2010 1------03/01/2010 6------03/01/2010 My questions are: 1) I want to display the SMALLEST Date into textbox1 which is 01/01/2010 2) I want to display the BIGGEST Date into textbox2 which is 18/01/2010 3) I want …

Member Avatar for apegram
0
113
Member Avatar for TommyTran

[CODE] Dim InputText As String = Me.txtenter.Text Dim Letters = From c As Char In InputText.ToCharArray Select c & " = " & AscW(c) & " " Me.lblanswer.Text = String.Join("", Letters.ToArray) [/CODE] The above code is to convert each letter in a word or phrase (including the space) to its …

Member Avatar for apegram
0
92
Member Avatar for JohnDove

I'm a real newbie to ASP, I'm afraid. I have a windows app that I have written in Visual Basic 2008 using Visual Studio. Could I use ASP.NET to move the app's functionality to be available over the internet? Broadly speaking, the app collects lots of data from the user, …

Member Avatar for kvprajapati
0
83
Member Avatar for Psychoticus

Ok so im not quite sure this is possible but i've had a lot of help here so i thought i'd give it a go. I have a batch file that i wrote that installs some programs silently (Adobe reader, nero essentials etc) and i would like to be able …

0
60
Member Avatar for zulfahmi

Hi there, i am new in VB.Net and i have problem with my VB.Net project. I want to create an application where it capable to print a report like we normally do in word and save it in the pdf format. But the problem is i dont know how to …

Member Avatar for Psychoticus
0
94
Member Avatar for tqmd1
Member Avatar for kvprajapati
0
211
Member Avatar for sbanks_charles

Ok, I know that I am missing something due to my lack of knowledge with Binary Serialization and wish I could find better material on it. In the mean time, thanks to one of the moderators help, I have now been able to store an array in my database. Once …

0
63
Member Avatar for Psychoticus

Hey Guys, Ok so here is my problem, i have written a failrly long batch file that automates a lot of the jobs i have to do to new machines when built (im a PC Tech) and one of the things it does is tells you your processor arcitecture type …

Member Avatar for vbnetskywalker
0
126
Member Avatar for 21KristianN

Dear freinds, I have a big issue which I have been struggling with for days now. I have a richtextbox where users Can input text and print it. My problem is that i don't want to allow more than one page to be printed so i need to prevent the …

Member Avatar for 21KristianN
0
175
Member Avatar for Psychoticus

Hi guys, Just wondering if there is a way to detect the windows version, form say 95 to win7, in vb.net? pardon my ignorance but im not a big coder and norm only do python. Thanks in advance. Cheers, James

Member Avatar for apegram
0
1K
Member Avatar for TommyTran

I have an assignment that asks me to: 1. create a button 2. when that button is clicked, an inputBox will appear to ask the user how many words they will enter. 3. then display an inputBox for each word. For example, when the first inputBox appears, I enter "3" …

Member Avatar for apegram
0
98
Member Avatar for TommyTran

Hi everyboy! I ran into this assignment that asks me to "create an application that allows the user to enter a word or phrse, then the Label should display that word or phrase backwards in all lowercase. For example, I enter "I read" Then the label should display "daer I" …

Member Avatar for Ranx
0
94
Member Avatar for TommyTran

I just have an assignment that tells me to do the following things. Create a button. When that button is clicked, an InputBox will appear to let the user enter a word or phrase. Then, there are 2 radio buttons: Encode & Decode When Encode is checked "True", the label …

Member Avatar for vbnetskywalker
0
133
Member Avatar for tqmd1

Dear Experts Table gpass has data as gate-----date-----c----bno----acccode----tittle----weight-------qty 1----18/01/2010---a----2--------2----------abc-----10.00-------15 Then there are two textbox having values as txtgat.text=1 txtdat.text=18/01/2010 I these codes and it generates error message as [CODE]ArgumentOutOfRangeException was unhandled. Idex was out of range. Must be non-negative and less than the size of collection. Parameter name: Index [/CODE] …

Member Avatar for vbnetskywalker
0
141
Member Avatar for buzzykerbox
Member Avatar for apegram
0
110
Member Avatar for JohnPhilipps

Hello, I have a VB form with 2 comboboxes and a textbox in which a user can type into. I would like my mouse cursor to move from my 2nd combobox selection directly over to the textbox that I have on a VB form. 2nd comboboxe name: "CodeComboBox" Textbox name …

Member Avatar for JohnPhilipps
0
402
Member Avatar for Bagleys

Hi i am trying to delete a file(s) from a checked list box, when i click a button. This is the code i have: [code] Dim item As IO.FileInfo For Each item In CheckedListBox1.CheckedItems Try item.Delete() Catch : End Try Next item [/code] But i get the error: Unable to …

Member Avatar for Bagleys
0
194
Member Avatar for 21KristianN

Dear everybody, i hope that someone Can help me. I have a form where i want to print some textboxes on one page and then Force a print on a second page even though the first page isn't full. Like: printdocument1.print e.Graphics.DrawString(textbox1.Text, textbox1.Font, Brushes.Black, 9, 55) 'and then go to …

0
73
Member Avatar for iamai

i get 1 error Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class. here is my code [CODE] Public Class test Private _course As String Public Shared Function function1(ByVal data As String) As Boolean …

Member Avatar for iamai
0
85
Member Avatar for dr.e

Hi. Can some one please help me as i am trying to read from access database and that work with data in a program. I used to work with VB from previous version and now it seems to me there are differencies. If someone can paste a working simple code. …

Member Avatar for pauldani
0
196
Member Avatar for DesperateDan

How can I correct. I have textbox that is empty and where the cursor is flashing and I wish to move to other textboxes. What happens is that the error message is displayed first and when I press OK, only then can I move to the other textboxes. How do …

Member Avatar for DesperateDan
0
143
Member Avatar for shreeLokesh

The End.