Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
1
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~25.7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for manutd4life

Hello i had a datagridview with data in it and i wanted to display the selected row in textboxes here's the code i tried by i think its totaly wrong [code=vb.net] Private Sub DataGridView_CellClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellClick Dim i As Integer i = DataGridView.CurrentRow.Index …

Member Avatar for Muhammad Nauman_1
0
14K
Member Avatar for manutd4life

Hello everyone, am doing a small project and i need to use crystal report with MS access. i did the connection by wizard but now am having problem with the path when using it on another PC. What i need to know is how to connect Crystal report with access …

Member Avatar for Desiree_1
0
3K
Member Avatar for deepsmehta

I want to calculate factorial with all proper validations. Can anyone tell me the functions to be use for this using VB.NET...pLz

Member Avatar for Netcode
0
4K
Member Avatar for manutd4life

Hello every1, i create a mdiparent form and a form1, all i wanted to do is to close the mdichild form(form1) with a close in the menustrip. Sorry i cant explain this clearly When i want to close the opened childform with menustrip (i create a button close in the …

Member Avatar for skyusb
0
476
Member Avatar for manutd4life

Hello, i hav no idea abt MySQL, but i have a program with access database. Is it possible to convert it to MySQL database?? Any HELP please.. and i wanted to know also that all the code also will need to be change?? any way how should i start..?? thanks

Member Avatar for debasisdas
0
87
Member Avatar for manutd4life

Hello, I have a program connecting with a database.. so when add record in it, i want to validate for the duplication of ID in database.. here's my code for add button: [code]Private Sub cmdAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdAdd.Click dSet.Tables(0).PrimaryKey = New DataColumn() {dSet.Tables(0).Columns("WatchID")} 'The …

Member Avatar for Netcode
0
206
Member Avatar for manutd4life

Hello, am working on a program like a database Here's the code: [code=c++]#include <cstdlib> #include <iostream> using namespace std; void addclient(void); void choice (void); typedef struct client{ int number; char name[35]; char gender[8]; char address[50]; char phoneno[15]; char mobileno[10]; struct client *next; } client; client *firstnode,*currentnode,*newnode; int clientid = 0; …

Member Avatar for manutd4life
0
113
Member Avatar for manutd4life

Hello, i need to do a program which takes an input sequence of characters from the alphabet {A,B,C} and compresses it by replacing each subsequence of a particular character by a single occurrence of the character, and the length of the substring. e.g. Input : AAAAABBBBBBBCCBBBAABBCCCCCS Output: A5B7C2B3A2B2C5 i dont …

Member Avatar for manutd4life
0
157
Member Avatar for manutd4life

Hello everyone, i need to enter a value into a savings account paying 7% interest and €1,000 is withdrawn from the account at the end of each year. How many years are required for the savings account to be depleted? here's wat i did, but the loop not working: [code=c]#include …

Member Avatar for Tellalca
0
88
Member Avatar for manutd4life

hello everyone, i need to modify these code: [code=c]#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { int numOfStars = 0; int count, counter; do { printf("N="); scanf ("%d",&numOfStars); for( ; counter<=numOfStars; counter++) { for( ;numOfStars>0; numOfStars--) { if (numOfStars != 9999) { for (count = 0;count < numOfStars; …

Member Avatar for abhimanipal
0
205
Member Avatar for manutd4life

here's my question: write a program that asks the user to type the value of N and writes this picture : N=1 * N=2 ** * N=3 *** ** * here's my work: [code=c]#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { int numOfStars = 0; int count = …

Member Avatar for manutd4life
0
166
Member Avatar for manutd4life

here's my question: write a program that asks the user to type the value of N and writes this picture : N=1 * N=2 ** * N=3 *** ** * any help? tips how can i start?? thanks

Member Avatar for deanus
0
83
Member Avatar for manutd4life

Hello just Admit in a university and new in C++ i just wanted to know how to do area for several circle How to modify the code below to do the area of circle?? here's the code: [code=C]//Calculate area of a circle #include <cstdlib> #include <iostream> using namespace std; // …

Member Avatar for Tellalca
0
125
Member Avatar for manutd4life

Hello, i want to make a program that that can email a message like you enter the recipient email address and then the message and then send. So i dont hav any idea on how that works or if its possible to make something like this so any help will …

Member Avatar for muzzy1000
0
102
Member Avatar for manutd4life

Hello, i wanted to know how to write a file path for every computer For example: [code]objwrite = New System.IO.StreamWriter("C:\Users\EVGA\Desktop\VB.Net Example\myfile.txt", False)[/code] this code work only on my pc cause of its path so i wanted to know how to write it so i can use it in another pc …

Member Avatar for sknake
0
160
Member Avatar for manutd4life

hi all i need is the comments for this piece of code here it is: [code=vb.net] Private Sub populate() con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ System.Environment.CurrentDirectory.ToString() & "\DataBase.mdb") ' con.Open() dAdapt = New Data.OleDb.OleDbDataAdapter("select * from Watches", con) dSet = New DataSet dAdapt.Fill(dSet) dBind.DataSource = dSet dBind.DataMember = dSet.Tables(0).ToString() …

Member Avatar for sknake
0
107
Member Avatar for manutd4life

Am getting problem with this update statement: Here's the code: [code=vb.net]Private Sub cmdUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdUpdate.Click Try Dim com As New OleDbCommand com.Connection = con com.CommandText = "Update Sales set CustomerId='" & txtCustomerId1.Text & "',WatchId='" & txtWatchId1.Text & _ "',Dateofsales='" & txtDate.Text & "',Quantity='" …

Member Avatar for yorro
0
105
Member Avatar for manutd4life

Hello can some1 help on how to create a subform in vb.net, cause i dont have any idea how to do it. Please help

Member Avatar for Piya27
0
84
Member Avatar for manutd4life

hello press save, i got and error and said ExecuteNonQuery: Connection property has not been initialized. Here's the code: [code=vb.net]Private Sub cmdSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSave.Click Dim com As New OleDbCommand com.Connection = con com.CommandText = "insert into Sales values('" & txtSalesId.Text & "','" & …

Member Avatar for manutd4life
0
106
Member Avatar for manutd4life

Ok i have a button on MDI parent form and i need to disable it when closing a child form. When writing the button name (cmdmenu) in the child form, it says that the cmdmenu is not declared please help

Member Avatar for manutd4life
0
202
Member Avatar for manutd4life

Hello every1, my problem is how to remove controlBox of MDI child. i mean that i already set MDI child: ControlBox to False minimizeBox to false MaximizeBox to flase set windowstate to maximized formborderstyle to fixed3d When i open the form in MDI Parent, all the button minimize, maximize, exit …

Member Avatar for kvprajapati
0
182
Member Avatar for manutd4life

Hi again my problem is i always make mistake in writing statement for update, here's the code [code=vb.net]Private Sub cmdUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdUpdate.Click Try Dim com As New OleDbCommand com.Connection = con com.CommandText = "update Watches set WatchBrand='" & txtWatchBrand.Text & "',WatchModel='" & txtWatchModel.Text …

Member Avatar for Teme64
0
125
Member Avatar for manutd4life

Hello i got trouble to add data i got error saying: OleDbException was unhandled here's the code: [code=vb.net]Private Sub cmdAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdAdd.Click Dim com As New OleDbCommand com.Connection = con com.CommandText = "insert into Watches values(" & txtWatchId.Text & ",'" & txtWatchBrand.Text & …

Member Avatar for kvprajapati
0
110
Member Avatar for manutd4life

hello every1 i made a factorial program and the only thing i need to do is to validate: Whether it is empty or it contains letters Here's the code: [code=pascal]program factorial; uses wincrt; var counter:integer; number:integer; total:longint; Begin write('Enter your number '); readln(number); total:=1; counter:=1; while (counter<=number) do Begin total:=(total*counter); …

Member Avatar for mediastar
0
182
Member Avatar for EkoX

Hi all... i new to this language. so i m sorry if my question is very basically. I have two forms in my project. in first form i have a button. i want when i click this button form2 can be opened. Please help... Thank you

Member Avatar for nileshsarode
0
171
Member Avatar for manutd4life

i got a homework its about Generate code Name: qwerty Year Enrolled: 2008 IDNum: 123mem Button: GENERATE CODE Code: 083memrty { 2 last degit from year became the 2 first, 4 last from IDNum became 4 next, 3 last from name became 3 next= 083memrty} 1. validate the text boxes …

Member Avatar for Jx_Man
0
105
Member Avatar for manutd4life

Hi am in prob. 4 me its now or never to pass. get a program to do. Convert binary to decimal octal to decimal binary to hexadecimal some1 can help me. i need some PRO so if interest post ur mail id and i'll mail u my paper if some1 …

Member Avatar for manutd4life
0
343
Member Avatar for manutd4life

i make a menu AS SHOWN: PASCAL when press Ctrl + F9. so its pascal ************************* * 1. MEMBERS * 2. BOOKS * 3. EXIT * * * SELECT OPTION: ************************ NEED HELP HERE: write a PROCEDURE to close the menu when 3 is selected sorry 4 this, its too …

Member Avatar for jsosnowski
0
102
Member Avatar for manutd4life230

all work perfectly just the substraction here's the code: [code=pascal]Program calculation; uses wincrt; Procedure menu; Begin Writeln('Options:'); Writeln('1. Addition'); Writeln('2. Subtraction'); Writeln('3. Mutiplication'); Writeln('4. Division'); Writeln('5. Exit'); End; Function GetUserInput(msg:string):integer; Var UserInput:integer; Begin Write(msg); Read(UserInput); GetUserInput:=Userinput; End; Procedure Add; var add:integer; Begin clrscr; add:=GetUserInput('Enter another number:')+GetUserInput('Enter a number:'); writeln('Result=',add); End; …

Member Avatar for manutd4life
0
114
Member Avatar for manutd4life230

create an array of marks [1..5] then create a while loops to ask the user for 5 marks then displayed all stired marks. [code=pascal]program marks; var mark:array[1..5] of integer; x:integer; counter:integer; Begin counter:=1; x:=1; while (counter<=5) do begin writeln('input marks'); readln(mark[x]); x:=x+1; counter:=counter+1; end; writeln(mark[3]); end.[/code] thankx in advanced for …

Member Avatar for ExplainThat
0
124