20,899 Topics

Member Avatar for
Member Avatar for scias23

Has anyone here tried putting a combobox to a bound datagridview? The selected value of the combobox will depend on the value of the corresponding column in the database. I have a datagridview. When the user clicks the edit button, the application fetches the records from the database and binds …

Member Avatar for scias23
0
353
Member Avatar for Dheerajpro

i have taken one text field and want coding to print text wrintten in text field on button

Member Avatar for Dheerajpro
0
114
Member Avatar for Korenai
Member Avatar for Korenai
0
101
Member Avatar for Vivek_1986

When i'm trying to create a new SQL Server Database in VB.NET 2005 through Server Explorer i'm getting following error (no matter what authentication i select): [COLOR="Red"]An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the …

Member Avatar for reeeeeee
0
179
Member Avatar for RenanLazarotto

I've found this a little hard to find, so I decided to share with you guys. This small code will allow your app to accept arguments. Just copy the whole code into the main sub (I didn't tested elsewhere) and edit the code inside the for to do what you …

Member Avatar for anoopkh
0
1K
Member Avatar for paulablanca

Hi! I am creating an entrance examination and what I want to do is get all the questions which belong to the same Year Level (e.g.first year) from a table and display the first question into a rich text box and when the next button is clicked, the second row …

Member Avatar for paulablanca
0
2K
Member Avatar for airesh

hi again guys, i want to automatically turn on the caps lock when the cursor is focused on a certain textbox.. please help..i am doing a school project and i badly need all you help guys..thanks.

Member Avatar for airesh
0
1K
Member Avatar for dre-logics

I have an official version of Visual Studio 2008 Team System. I use Visual Basic 2008 from Visual Studio 2008 Team System. With Visual Basic 2008, I built several Windows application. [B][COLOR="Green"]I want to use Visual Studio 2010 Premium [/COLOR][/B] [COLOR="Red"]Upgrade scenario[/COLOR] I have three Upgrade questions: 1.Can I upgrade …

0
92
Member Avatar for airesh

hi, i have 2 combo boxes. both values are integers and i want to add the values of the two combo boxes and display the sum to a label..how is it possible? guys, please help thanks much!..:)

Member Avatar for airesh
0
178
Member Avatar for Korenai

hi, can u check where have i gone wrong on this code? i have 2 listviews with similar columns, whenever i click the item on listview_1, it will transfer to my listview_2. the code below adds the column_named 'UNITS' to my label box For Each TempNode In ListView1.Items If Double.TryParse(TempNode.SubItems.Item(2).Text, …

Member Avatar for codeorder
0
105
Member Avatar for airesh

hi, i have 2 combo boxes. both values are integers and i want to add the values of the two combo boxes and display the sum to a label..how is it possible? guys, please help thanks much!..:)

Member Avatar for codeorder
0
45
Member Avatar for weasel7711

I have a small company Database that tracks our repair orders. I have a query that I would like to execute based on criteria that the user inputs. I am new to VBA so most of my code is based on google research. I took a technique of wrapping my …

Member Avatar for weasel7711
0
255
Member Avatar for dougancil

I have the following code: [code] Public Class Payrollfinal Private Sub Payrollfinal_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load exportfileButton.Enabled = False Dim oCmd As System.Data.SqlClient.SqlCommand Dim oDr As System.Data.SqlClient.SqlDataReader oCmd = New System.Data.SqlClient.SqlCommand Dim _CMD As SqlCommand = New SqlCommand Dim adapter As System.Data.SqlClient.SqlDataAdapter = New System.Data.SqlClient.SqlDataAdapter …

Member Avatar for dougancil
0
645
Member Avatar for like_bilal02

Daer Freinds Kindly help me about generating crystal report through LINQ TO SQL query

0
57
Member Avatar for MaddTechwf

I was wondering if there is a way to add command line arguments to my application so that if someone wants to modify the settings they could run myexe.exe /settings and get the settings form of my application.

Member Avatar for codeorder
0
82
Member Avatar for RenanLazarotto

Hey guys! How can I get the progress from a console window? Like... running UPX and get the current compression progress to use into a progressbar? Thanks!

Member Avatar for RenanLazarotto
0
61
Member Avatar for kruxena

Hi guys need help here. Scenario: I have a function in my textbox1 with the got focus event. I have a 40 textbox in my goupbox1. Here is my code so far. [CODE] Private Sub Textbox1_GotFocus(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Textbox1_GotFocus ... ... For Each x …

Member Avatar for codeorder
0
21K
Member Avatar for docfnt

I'm writing a text editor for my own use ( I'm "home learning") where I want to be able to leave comments for myself, like in code section of the VB express IDE. I have figured out how to get the Integer Location of the apostrophy, but can't get it …

Member Avatar for GeekByChoiCe
0
172
Member Avatar for Netcode

How do I create a Dynamic crystal report? That is, I want my codes to select and filter the content of the datagrid at runtime. I need help seriously, Thanks

0
82
Member Avatar for drdream100

hi! ok i have a search engine. it works fine. only thing is that when i write something in the textbos i must click the button 'Search' with my mouse for it to start searching. what i want to do is write something to the textbox and hit the 'Enter' …

Member Avatar for Netcode
0
112
Member Avatar for starmax

Hello Guys! I just created my first VB.net project using Microsoft Visual Studio 2010 that has database(.mdf) and some forms, here is the video link of my project: [URL="http://www.youtube.com/watch?v=4YBt3vP85kY"]http://www.youtube.com/watch?v=4YBt3vP85kY[/URL] I want my project to be remote/network using lan environment, in what way i can do this? can you please help …

Member Avatar for starmax
0
875
Member Avatar for paulablanca

Hi! Hope my title is understandable. I have four comboxes all containing A,B,C,D. My problem is if I have chosen letter A on the first combobox, the last three won't have letter A anymore, then on the second combobox, if letter B is chosen, the last two will have C …

Member Avatar for sandeepparekh9
0
169
Member Avatar for jamshed ahmed

i am trying to search between two dates startdate and end date there two problems problem given below 1. i have set the dtpSearchStockFrom and dtpSrchStockTo to dd/mm/yy when i enter into table it is inserted successfully but when i reterive data it show the format in datagrid as mm/dd//yyyy …

Member Avatar for sandeepparekh9
0
146
Member Avatar for track&price

I cannot get the my application (AA_Coins.exe) to run on a different PC. I have 2 pc's are using Visual Studio 2010 and Net Framework 4 Client Profile. My .exe works fine on both as expected. I put it on a 3rd PC that does not have VisualStudio with Net …

Member Avatar for Pgmer
0
113
Member Avatar for cjoyce

hey guys. is it possible to drop an MS Access Database using Oledb in VB.Net? if yes, then how? i've been searching from Google but can't find any answer.

Member Avatar for cjoyce
0
111
Member Avatar for adarshcu

Hi everyone, I have an InvalidCastException Error in my program. The program is that i try to insert an employee record into a database table after getting the details from a form. I've used Money data type is SQL Server for salary and SqlTypes.SqlDecimal data type in employee template class. …

Member Avatar for Pgmer
0
179
Member Avatar for JohnPhilipps

Good evening, I have a simple dos command, I use to stop a java service which I am trying to execute within VB.NET, however it doesn't seem to stop my service. My DOS command which works is as follows: NET STOP "Java Quick Starter" My VB.NET attempt is as follows …

Member Avatar for JohnPhilipps
0
342
Member Avatar for vanzhyme

ahmm, please help me. I want to update the items in listview when my form loads up. this is my code for the listview. It actually displays the data on the database but when i add another data it wont appear on the listview. please help me guys. I'll appreciate …

Member Avatar for vanzhyme
0
157
Member Avatar for GrexP

Normally, when populating controls with data from a database I create a connection and then pass a SQL statement to create a DataReader. I then loop through the DataReader and populate the controls. Because I am creating the SQL statement on the fly I can query the database joining on …

0
113
Member Avatar for Lee21

I'm trying to pass a multiple value from a field in my table like "Employee ID" to a parameter field in Crystal Report named "EMPID" and here's my code.. [CODE]Private Sub btnView_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnView.Click Dim reports As New frmReports Dim objrep As New …

0
57
Member Avatar for MaddTechwf

Is there a way that I can use like F1, F2, F3, etc to open a specific form? I would like to have an options form but not have it to where anyone can access it unless they know the Function key to use.

Member Avatar for Unhnd_Exception
0
117
Member Avatar for MaddTechwf

I'm wanting to create a small application that will allow me to schedule a machine to shutdown at a specific time. Any suggestions on how I can make this .exe run at a specific time besides using the Task Scheduler?

Member Avatar for MaddTechwf
0
84
Member Avatar for Smalls

What my question is, Is it plausible to have a listview item search a specific folder that has nothing but text files in it, pull the first 2 lines from the text file(s) and display them in columns 1 and 2 if so, how would one go about doing it, …

Member Avatar for Smalls
0
400
Member Avatar for tonyfonseca

Help needed I would like to know how to sum seven text boxes with time in vb.net. Anybody can help me please? Thanks

Member Avatar for abirami2908
0
4K
Member Avatar for senti.arasu

i need the label control to be bordered in any of one colour... what to do for that.. addition to that i need the textbox to be shape arc bended on corners

Member Avatar for codeorder
0
84
Member Avatar for RenanLazarotto

Hey! My app has a nice menu strip, with two tool strips, one containing file options, and other contanining options options (oO) The bad part is... the options toolstip has two subitems that should be excluse. Like: I click one, other gets unclicked and become not functional. I've tried it, …

Member Avatar for RenanLazarotto
0
91
Member Avatar for Korenai

Good day 2 all .NET guru's, i am an IT student on my final year. Im developing a subject plotter program for enrollment(but not an enrollment system), i use a database to store retrieve/store and update data. What my problem is that i have 2 listview, one that holds the …

Member Avatar for sandeepparekh9
0
125
Member Avatar for get connected

Hello All. I am having issues with files on a network drive being moved - the file name always remains the same but the location changes. (users move it - much arrrrrrrgggggggg!!) Is it possible to search through all drives and paths to find FILEX ? I hope so as …

Member Avatar for sandeepparekh9
0
135
Member Avatar for ramareddy_dotne

I have 3 textboxes in my webform.I want my user to enter valid entries into them. If user leaves any textbox empty.I want Give him an alert to him (like a msgbox in vb.net).I'm using textboxes in asp.net(web server controls).I dont want to use the validation controls as they wont …

Member Avatar for shahnawaz khan
0
851
Member Avatar for vn412

Hi, I m attaching the view i want with the datagridview design. Please help me with the code to design programatically with dtagridview in vb.net 2010. Thanks

Member Avatar for sandeepparekh9
0
117
Member Avatar for shredder2794

Hello all, I've started to learn about WPF UI automation and have been having some trouble. I get the general way of automating a program to interact with another program to perform tasks but I am very new to VB.NET programming and it would help a LOT if someone gave …

0
68
Member Avatar for adarshcu

I have a property active to indicate status of an employee. Along with all the details, i extract the details from an employee table into a dataset, but however i am not able to get the value present in active as i get an invalid cast exception. This is the …

Member Avatar for sandeepparekh9
0
333
Member Avatar for ramezan1356
Member Avatar for RenanLazarotto

Hey guys! How can I invert (or reverse, whatever) a string, but reversing each word? Like: [ICODE]This is a string.[/ICODE] Output: [ICODE]sihT si a gnirts.[/ICODE] and not: [ICODE].gnirts a si sihT[/ICODE] Also, how can I do it to a entire file? Thanks in advance!

Member Avatar for codeorder
0
2K
Member Avatar for RenanLazarotto

Hey people! It's me, AGAIN! =) I'm not sure if I already saw a trackbar inside a menu strip, but there is a way to add it? Or even a numeric dropdown? Thanks =)

Member Avatar for RenanLazarotto
0
541
Member Avatar for markdean.expres

Guys I need to store the exact value (including the mask) from my maskedtextox into my database. My maskedtextbox has 5 digits (ex. 20000) but when I am saving it and checking it into my database, only the first non-zero digits are being saved. How do I deal with this?

Member Avatar for ChrisPadgham
0
92
Member Avatar for kruxena

Hi guys, can you please help me out. Scenario: I have 14 panels in my form, the user then input a number in the textbox. Then this textbox will now determine how many panels will be enable. My formula would be, userinputtextbox/0.5=panels to be open. Example: 3/0.5=6. So far this …

Member Avatar for kruxena
0
304
Member Avatar for ticktock

EDIT: I am so sorry! I have added my thread to the C# discussion thread instinctively wherein in fact I have been creating my application in VB.NET so sorry! Please transfer my thread to the appropriate location! Really sorry! Hey all I am currently trying to mess around with a …

Member Avatar for ticktock
0
183
Member Avatar for markdean.expres

Guys, I am in a trouble with this error: "An attempt has been made to free an RCW that is in use. The RCW is in use on the active thread or another thread. Attempting to free an in-use RCW can cause corruption or data loss." I am not sure …

Member Avatar for markdean.expres
0
119
Member Avatar for paulablanca

Hi guys! I need some help. I have two listviews that uses drag and drop to pass values, however I can only pass the value of my first column. What I need is to pass the value of my two columns. Thanks! God Bless.! :)

Member Avatar for Unhnd_Exception
0
3K

The End.