User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 391,881 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,414 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 104
Search took 0.01 seconds.
Posts Made By: manal
Forum: VB.NET 6 Days Ago
Replies: 7
Views: 228
Posted By manal
Re: Variable declaration!!!

what I understand that the user will enter the value in textbox , after you check that user did not leave it empty you can use it .


Dim save As Double
If TextBox1.Text = "" Then '...
Forum: VB.NET May 7th, 2008
Replies: 16
Views: 1,298
Posted By manal
Re: creating next and previous button?

if you removed these lines, return them and see if you still have this problem
:S
Forum: VB.NET May 7th, 2008
Replies: 16
Views: 1,298
Posted By manal
Re: creating next and previous button?

there is no table 0 in your dataset



sorry I was mistaken here, Record_num should be initialized with -1 not 0

this time it should really work , just be sure of your dataset that it contains...
Forum: VB.NET May 6th, 2008
Replies: 5
Views: 1,003
Posted By manal
Re: Using Dataset in OledbConnection

the error
"update requires a valid insertCommand when passed DataRW collection with new rows"
tells you that when you add new row using Dap.Update(DsS, Table), you must set insertCommand's...
Forum: VB.NET May 6th, 2008
Replies: 16
Views: 1,298
Posted By manal
Re: creating next and previous button?

the problem still the same , you mean it just shows the last record ?

if yes , as I said before initializing Record_num with zero inside the button code is your problem

just imagine what will...
Forum: VB.NET May 5th, 2008
Replies: 5
Views: 1,003
Posted By manal
Re: Using Dataset in OledbConnection

what are the errors ?
Forum: VB.NET May 5th, 2008
Replies: 16
Views: 1,298
Posted By manal
Re: creating next and previous button?

is it solved ? or you still have problem :S
Forum: VB.NET May 5th, 2008
Replies: 16
Views: 1,298
Posted By manal
Re: creating next and previous button?

the problem that you decleared Record_num inside the next_button code, here each time the user choose next button Record_num will have the same value
define it outside it

public class form1
dim...
Forum: VB.NET May 5th, 2008
Replies: 16
Views: 1,298
Posted By manal
Re: creating next and previous button?

i do not understand your code.
>>"this the code for button next n previous" you mean that the same code for next and previous ? each one has its own code
i = 0
For i = 0 To -1
TextBox1.Text =...
Forum: VB.NET May 4th, 2008
Replies: 5
Views: 1,003
Posted By manal
Re: Using Dataset in OledbConnection

you will need dataAdapter and dataset
by using dataset you can update the value of any cell in database
Me.DataSet11.Tables("Table_Name").Rows(0).Item(1) = TextBox1.Text
this will not update your...
Forum: VB.NET May 4th, 2008
Replies: 2
Views: 224
Posted By manal
Re: Gurus i need help!!!

first thing you need to store the special characters in array (http://www.startvbdotnet.com/language/arrays.aspx), so you will declear array
Dim SC(36) As charafter that store values
SC(0) =...
Forum: VB.NET Apr 13th, 2008
Replies: 5
Views: 309
Posted By manal
Re: Issue with operators

If myGuess = randNum Then

here you compare between integer and class Random

to solve this
If myGuess = randNumGenerated Then
same thing in the "<" and ">"
but you need to define...
Forum: VB.NET Apr 12th, 2008
Replies: 3
Views: 565
Posted By manal
Re: [Getting an error 'Data Type Mismatch in Criteria Expression]

I think the error means that you have variable from one type and you are trying to store in it value from other type .
since you have this error when you add item then I think your sql statement not...
Forum: VB.NET Apr 3rd, 2008
Replies: 6
Views: 300
Posted By manal
Re: Newbie about Database

as Jx_Man said you need to have database so you can make it as source of your data
you can use Microsoft Access to create it
read this (http://databases.about.com/od/access/l/aaaccess1.htm) to know...
Forum: VB.NET Mar 24th, 2008
Replies: 2
Views: 1,787
Posted By manal
Re: arrayList help

and this (http://www.java2s.com/Tutorial/VB/0160__Collections/0220__ArrayList.htm)is other site
now we are waiting your code :)
Forum: VB.NET Mar 9th, 2008
Replies: 13
Views: 1,100
Posted By manal
Re: How can I declare this?

Variables that you declared are different from what you used .
Forum: VB.NET Mar 9th, 2008
Replies: 13
Views: 1,100
Posted By manal
Re: How can I declare this?

write your code here please
Forum: VB.NET Mar 9th, 2008
Replies: 13
Views: 1,100
Posted By manal
Re: How can I declare this?

You do not declare InitialValue.text you just declare variable as textbox.
textbox has many properties one of them is text
we access properties of InitialValue variable by typing InitialValue. what...
Forum: VB.NET Mar 6th, 2008
Replies: 3
Views: 803
Posted By manal
Re: Keeping string, except for last character

x = TextBox1.Text.ToCharArray
While continue = True And (i < x.Length)
If IsNumeric(x(i)) Then
y += x(i)
Else
continue = False
...
Forum: VB.NET Mar 2nd, 2008
Replies: 17
Views: 1,481
Posted By manal
Re: I need help (Newbie to Vb.net)

you need to do as Jx_Man suggest , use Convert.ToSingle
Forum: VB.NET Mar 1st, 2008
Replies: 3
Views: 447
Posted By manal
Re: For the love of GOD! Someone please help me!!!

maybe you trying to read while you reached the end of file ,

i think this return length on byte , try this
fLen1 = Int(f1.Length / 4)
Forum: VB.NET Feb 24th, 2008
Replies: 9
Views: 1,850
Posted By manal
Re: How to change Yes/No (True/False) results from SQL query to checkboxes in DataGrid

error means you defined something as integer then you tried to store in it array of char
I tried the code and I did not have this error
maybe you defined n like this
Dim n As String() ?
Forum: VB.NET Feb 21st, 2008
Replies: 9
Views: 1,850
Posted By manal
Re: How to change Yes/No (True/False) results from SQL query to checkboxes in DataGrid

yes you can
after you establish the connection with database , and fill the dataset with data, assuming you have datagrid with name dgdFunctionArea
creat new table and define the columns

Dim dtCol...
Forum: VB.NET Feb 20th, 2008
Replies: 9
Views: 1,850
Posted By manal
Re: How to change Yes/No (True/False) results from SQL query to checkboxes in DataGrid

i hope this artical (http://www.vbdotnetheaven.com/UploadFile/tameta/DataGridControl04112005012947AM/DataGridControl.aspx)will help you
Forum: Geeks' Lounge Feb 15th, 2008
Replies: 48
Views: 2,847
Posted By manal
Re: Meaning behind your name

manal is my real name :)
Forum: VB.NET Jan 6th, 2008
Replies: 4
Views: 1,202
Posted By manal
Re: DataGridView

to know which row is selected use this
DataGrid1.CurrentRowIndex
to show the value of first column in text box
Me.TextBox1.Text = DataGrid1.Item(DataGrid1.CurrentRowIndex, 0)
Forum: VB.NET Dec 19th, 2007
Replies: 7
Views: 1,203
Posted By manal
Re: show picture

see this link (http://www.daniweb.com/forums/thread72816.html)for adding flash file
Forum: VB.NET Nov 28th, 2007
Replies: 2
Views: 467
Posted By manal
Re: Regex - always the same :)

YourString.Substring(0, YourString.IndexOf("have"))
but you must handle what if "have" does not exist , i think it will give you error
Forum: VB.NET Nov 18th, 2007
Replies: 4
Views: 680
Posted By manal
Re: Printing HELP

what i understand from your code that intListIndex is integer , so you can not write
intListIndex.SelectedIndex
to print only what the user select try this

...
Forum: VB.NET Nov 11th, 2007
Replies: 3
Views: 1,499
Posted By manal
Re: Plz help me for Validation in VB.NET

i am not sure if i understand you .
any way to check mandatory fields , check they not empty
for example if user must enter ID in textbox check it like this

if Id_textbox="" then
Label1.Text =...
Forum: VB.NET Nov 8th, 2007
Replies: 4
Views: 394
Posted By manal
Re: Please Help!

i did not understand why u use For loop ,
do you want to show all the array's content in one label ? if yes then

For subscript As Integer = 0 To 3
ratesLabel.Text =ratesLabel.Text+ " "+...
Forum: VB.NET Nov 8th, 2007
Replies: 2
Views: 326
Posted By manal
Re: Events & Methods

this (http://www.devcity.net/Articles/102/Articles.aspx?a=ViewArticle&ArticleID=102) is good explanation for what you need
Forum: VB.NET Oct 31st, 2007
Replies: 5
Views: 4,956
Posted By manal
Re: login Form using Access database

i think you just need to add reference to System.configuration.dll
Forum: VB.NET Oct 31st, 2007
Replies: 5
Views: 774
Posted By manal
Re: Separating Names

you can use split method in string class


Dim namepart(3) As String
fullname = TextBox1.Text

For i = 0 To TextBox1.Text.Length - 1
namepart =...
Forum: VB.NET Oct 23rd, 2007
Replies: 3
Views: 1,693
Posted By manal
Re: Retrieving Fields from MS Access

what I understand that you have two forms , one for logging in and the other one to show information for corresponding user , right?
then yes it is better to eliminate re-entering account's...
Forum: VB.NET Oct 20th, 2007
Replies: 2
Views: 1,195
Posted By manal
Re: send and receive sms in vb.net

read this (http://www.codeproject.com/cs/webservices/SendSmsThroughWS.asp) it may help u
Forum: VB.NET Oct 20th, 2007
Replies: 3
Views: 1,693
Posted By manal
Re: Retrieving Fields from MS Access

as you did here


you can show the data in lable or textbox
textbox1.text=rdr("column_name")
Forum: VB.NET Oct 15th, 2007
Replies: 2
Views: 692
Posted By manal
Re: looping thru database results

are you asking about how to loop thru database ? i think like this
count = Me.DataSet.Table_Name.Count
For i = 0 To count - 1
m = Me.DataSet....
Forum: VB.NET Oct 15th, 2007
Replies: 2
Views: 1,011
Posted By manal
Re: vb.net error message query?!

use boolean varaible to indicate if the user enter correct value for each input like this
If Val(employeeid_txt.Text) > 10 Or Val(employeeid_txt.Text) < 1 Then
MessageBox.Show("Employee...
Forum: VB.NET Oct 15th, 2007
Replies: 2
Views: 420
Posted By manal
Re: I need in my code

i think that's wrong , you need to add 125,000 to the population grouth each year
number=number+(number*4.3) [/QUOTE][QUOTE]Loop Until count = 200000
.
other thing why you stop looping untill...
Showing results 1 to 40 of 104

 
All times are GMT -4. The time now is 7:09 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC