Posts
 
Reputation
Joined
Last Seen
Ranked #567
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
96% Quality Score
Upvotes Received
24
Posts with Upvotes
23
Upvoting Members
17
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
7 Commented Posts
3 Endorsements
Ranked #486
Ranked #490
~49.4K People Reached
About Me

Final Year Bachelors Student of NEDUET Karachi, Pakistan. Microsoft Certified Professional for .Net framework 2.0. Mostly self taught programmer who just love to code.I can be contacted by:eng.shahan@hotmail.com but I won't solve any question "personally".

Interests
Favorite Games: Basket Ball, Cricket, Football. Favorite Foods: Nuts, Chocolate Chip, Chocolate and…
PC Specs
As a contributor in these forums: DaniWeb Contributor Experts-Exchange Contributor MSDN Contributor…
Favorite Forums
Favorite Tags
Member Avatar for jazzyb

I am creating one application visual basic and sqlce I have two forms name Form1 and Form2. I used Form1 to add data to database using OLeDb command and used Form2 to show data in datagridview by using dataset I used following code: FFORM1 CODE is as following [code] Private …

Member Avatar for spandan_1
0
3K
Member Avatar for paulablanca

Can someone tell me / post some codes here on how could I validate my datagridview? I mean, a certain column on my datagridview should accept integers only, otherwise, it will return a messagebox. Kindly include on which event it should be posted. Thank you very much. God Bless. :D

Member Avatar for valeriduss
0
6K
Member Avatar for Ghost

Hi, i'm new 2 C#, so my question may seem stupid... but, what is the code to exit an application. I know in java it is: [CODE]System.exit(0);[/CODE] Thanx in advanced, C++

Member Avatar for vasanthmc2
1
10K
Member Avatar for mrinsult2000

I have an issue with some code im writing. I have a Datagridview object that always has two columns, but could have any amount of rows depending on many different scenarios. I would like to be able to take the values from the DatagridView and put them into an array, …

Member Avatar for Richardlee32
0
5K
Member Avatar for sushilsth

hi, i have 12 groupbox in each tabcontrol page. And i want to keep all groupbox in same location of same size overlapping each other. I want to make one function and apply to all groupbox. So that my code wouldnot be lengthy. But i didnot get idea to do …

Member Avatar for ShahanDev
0
138
Member Avatar for ammukarthi

I am having a database table which stores customers information which includes cutomers country as a column.now i want to convert the customer's country as a single word for example f a customer belong to united states i want to convert it as 'us' and want to dispaly it in …

Member Avatar for ShahanDev
0
214
Member Avatar for hueikar

I put this code at App.config for winform. <appSettings> <add key="DocumentVault" value= "\\10.100.100.10\C$\SomePath\SomeWhere\Else\"/> </appSettings> but why I still can't access the filepath?

Member Avatar for ShahanDev
0
106
Member Avatar for oluseye.ademola

I am new to vb.net Pls. Can someone help me on how do to display my data saved into sql server from form1 to datagridview in form2 with vb.net. Thanks in advance.

Member Avatar for ShahanDev
0
212
Member Avatar for DryGoldFish

Hi all, I'm trying to make a form wich can make new users in a Access database. However, usernames can't be duplicate, but I can't seem to get the code to work so users can't enter 2 of the same entries. Can anyone help? Private Sub btnAanmaken_Click(ByVal sender As Object, …

Member Avatar for ShahanDev
0
149
Member Avatar for joel.blundell.5

I'm trying to do my Computing coursework, and every time I try to write an UPDATE statement in SQL, it tells me there is a syntax error in the statement. The connection is set up, I know, as other SQL statements like select statements work, but I can't work out …

Member Avatar for ShahanDev
0
193
Member Avatar for tin.marcelino

Good day, I would ask for your help, my code below is giving me an error whether I open my new window(application/form?) resulting to appearance of the error "Object reference...." first before the said application. What is the problem in this codes? Thank you for your help. =) Private Sub …

Member Avatar for ShahanDev
0
193
Member Avatar for saleem.mukhtiar

> Quoted Text Here Hello Guys ... HOw's are you .. kindly guide mein about format of DateTimePicker where user can select date from calnender as wel as time also .. Thanks in advacne waiting for your reply ... TC

Member Avatar for ShahanDev
0
115
Member Avatar for vijaycare

Dear all, I have developed a small application to my users in my company. I have almost finished that. I have designed the crystal report for each delivery challan they have entered and saved the application will ask about printing the current record. But the user wants to take the …

Member Avatar for ShahanDev
0
149
Member Avatar for cheiL

Hi there I have a few lines of code that I would like to ammend but have been unsuccessful in doing so. I have posted in a few other forums with no luck, hopefully somebody here can help me out. I have a delete statement which I have been asked …

Member Avatar for cheiL
0
134
Member Avatar for BleepyE

Hi, i was just wondering how I get user details from a user table from a mysql database. Ive already worked out how to connect to the server, im just wondering how to import the data into a datagrid. Thanks Heres my current code [CODE]Imports MySql.Data.MySqlClient Module sql Dim Connection …

Member Avatar for farooqpathan
0
209
Member Avatar for vn412

Hi, I generated columns from database and getting cell values from database too. my problem is that for some columns I have to generate checkbox in each cell at runtime. I m using visual studio 2010. Please Help Thanks

Member Avatar for Patel Pritesh
0
280
Member Avatar for Cally_Law

Can anyone help on how to show a message box showing that existing record has been entered in database if i tried to enter the new record. However, if the input is new record (record added), the record is saved into the database. I'm using visual basic 2008 and Microsoft …

Member Avatar for ShahanDev
0
229
Member Avatar for djjavo

Basically I use text files to hold the program data, which is loaded in to variables when the program starts. I use StreamWriter to write to the text files when they update within the program. This is fine although the writer adds a extra line when I do not want …

Member Avatar for djjavo
0
166
Member Avatar for 0096

Hello, I am learning VB and got stuck..I found nothing in books and tutorials. I want to make simple quiz (100 questions), structure: 1 lbl = question, 3 radio buttons (answers) and 1 button(next question). I added access database to DataSource, binded data to lbl and radio buttons, it automaticaly …

Member Avatar for 0096
0
250
Member Avatar for kylelendo

Dear Friends How can i convert file into its hex in vb.net or any programming language???

Member Avatar for ShahanDev
0
216
Member Avatar for StevenSchaffner

Well my datagrid so far has the edit,update,cancel feature and it can get info back from database after entering a number into a textbox. All i need now is to get it to where I enter a number the data comes up which works and I want a blank row …

Member Avatar for ShahanDev
0
491
Member Avatar for Derren

hiya, What i am trying to do is save text from a number of text boxes to a user named file then subsequently be able to reload the data back into the same text boxes at a later date. so far i have this which was provided for elsewhere on …

Member Avatar for codeorder
0
234
Member Avatar for ryan311

can anyone help me on how to done w/ this for example i choose 9/1/2011 i want to get the previous date 8/31/2011. help me please.

Member Avatar for ryan311
0
112
Member Avatar for RenanLazarotto

Hello guys. I have an integer that is storing the result of a division between two numbers. I usually recieve an result that looks like [ICODE]5,2496874654[/ICODE]. How can I limit the variable length so it looks more 'approximated', like [ICODE]5,25[/ICODE]? Thanks in advance!

Member Avatar for RenanLazarotto
0
148
Member Avatar for VIPER5646

Hi all I'm using a dialog form with two bottons and two Radio buttons. I'm oppening this Dialog when a button is clicked on the parent form. My situattion is when the Dialog opens the code in the button event continues to execute, but I only want it to continue …

Member Avatar for VIPER5646
0
164
Member Avatar for bklynman01

I have an application that allows the user to upload information from and Excel sheet. Since the user is more familiar with Excel, they prefer to do it this way. My software will close the workbook with [ICODE]Me.exApp.Workbooks.Close()[/ICODE], but if you have the task manager running, you can see the …

Member Avatar for ShahanDev
0
133
Member Avatar for kylelendo

Dear friends I have a query regarding VB.NET....Whenever we type any code on the code page not on the design page all the controls that appear on the screen for eg:- if I type "Textbox." different options is available on screen in a drop down list like "Equals,Fromchild handle.formequals...etc.etc" or …

Member Avatar for Hani1991
0
186
Member Avatar for maknae10

whats wrong with this code??? the vb always tell that items is not a member? [CODE]Imports MySql.Data.MySqlClient Public Class search Public conn As New MySqlConnection Private Sub search_load(ByVal server As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If conn.State = ConnectionState.Closed Then conn.ConnectionString = "SERVER = localhost; USERID = root; …

Member Avatar for ShahanDev
0
194
Member Avatar for shers

Hi, I have done some code to write to Excel from a String Array of 3 items. These 3 items are written to columns 1, 2, 17 or 3, 4, 17, depending on the value of the 3rd item in the array. For certain Excel files, this is taking too …

Member Avatar for ShahanDev
0
136
Member Avatar for ninjatalon

I'm in desperate need of pointers :( I have this problem. [CODE]private class frmMenu private intX as integer Private Sub btnEstimate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEstimate.Click frmEstimateMenu.Show(intX) end sub end class private class frmEstimate private y as integer Public Overloads Sub Show(ByRef x As integer) y=x …

Member Avatar for codeorder
0
89