Netcode 33 Veteran Poster

VernonDozier, i get your point. Well, we all can go ahead and use other IM's but i feel having ours would keep members in the forum. Come to think of it, when you have someone who becomes apparently a private distant instructor that can give you all solutions on yahoo or others, why come back to a public forum to throw a question and relax for responses? I just believe the IM would keep members in here.

Like i initially stated, its a poll to me and i want to know what others feel

Netcode 33 Veteran Poster

Depends on where you live. Here is another discussion about that.

Yeah, it really depends on where you live but the universal thing is maths because in full its written MATHEMATICS and not MATHEMATIC

Netcode 33 Veteran Poster

Do not strive for physical joy, discarding the more permanent joy of inner calm and contentment. Nothing is more profitable than contentment. It is a treasure richer than the three worlds. A contented person can experience indescribable divine glory. Contentment is the result of the acquisition of peace of mind, joy and discrimination. As a result, you can attain Sakshathkara (vision of the Lord) directly. To acquire these benefits, Namasmarana (remembrance of the Lord’s Name) and Dhyana (meditation) are the only means. They alone can give you that power.

Netcode 33 Veteran Poster
Netcode 33 Veteran Poster

THANKYOU THANKYOU THANKYOU

Every single time I ask someone that question I get 80 ... they forget BIMDAS. I put the hit because I didn't want to sound like a fool :)

One of my friends said to me, after I told him, "Tell me when you sue BIMDAS in you line of work", I thought that was a funny way to back yourself up :D

Its the first time I've asked online and it was the correct answer ^_^

Can't remember 'BIDMAS' if at all i know it. All i know is 'BODMAS'

Netcode 33 Veteran Poster

Hi everyone, this is a kind of poll.
Daniweb is one of the best and leading forums for problem solving of all kinds. Its one forum i know that you can have a friends list and add people to them, also you can send and receive private messages. Sometimes, we see ourselves online and try to make a private discussion maybe on a particular problem posted on the forum and the Private message may be a little stressful.

Whats your opinion about having an Instant Messaging(IM) system and your reason.

Netcode 33 Veteran Poster

Its pretty logical why they would keep it. There's a reason they sooo big. They circumvent the government and possibly taxes :P
If you share Google secrets adn worked there, they may assinate you. who know,s it may be as secret as area 51 but better. gosh funny theories I'm coming up with :)

I could always 'disappear' and change my identity - and so can you :D

brilliant theories but that really happens in some places we never can mention because we are not so sure but we do believe it happens as seen in movies.

Netcode 33 Veteran Poster

I ended up using a program to build a 4bit ALU. :)

Great.....good job

Netcode 33 Veteran Poster

A flatterer is a friend who is your inferior, or pretends to be so - Aristotle

Netcode 33 Veteran Poster

well this is not a help post
its something i want to tell everyone
i just had my project viva
and my project was awesome
my sir liked it very much
it was success.....i was asked to submit my resume
so that my professor could recommend me for job interviews
simply awesome

i wanna thank daniweb because a lot of coding and help i used in my project was taken from here

thank you all and daniweb

Great, good to know.

Netcode 33 Veteran Poster

ok look i have xammp how can i do a database for a forum please i have myBB
if you can tell me a tutorial site on how to do your own Forum then i can mark this topic as solved .

Thanks

I think debasisdas has given you the right answer. You need a plan to know the database you want to make use of and what you're good at. Any other thing requires further reading

Netcode 33 Veteran Poster

Don't let anyone be your most important when you're just an option to them.

Netcode 33 Veteran Poster
koneksi.Open() 'open connection to server 
strcmd = New SqlClient.SqlCommand
strcmd.Connection = koneksi
            'this is the SQL select statement query that is performed
            ' to read the username and password from server 
strcmd.CommandText = "select * from tbl_user where ID = '" & t_id.Text & "' and password = '" & t_pass.Text & "'"

            Dim reader As SqlDataReader = strcmd.ExecuteReader

            If reader.Read Then
                 frmMain.Show'Display Application Main Form
                   Me.Dsipose 'use dispose instead of hide so you can clear all login form resources from memory


            Else
MessageBox.Show("invalid username or Password")
End if
Netcode 33 Veteran Poster

People will hate me for saying this, but I recommend starting in Microsoft Windows because it's so commonly used. Personally, I know and like Unix/Linux, but I have to admit that the learning curve is steeper for that than Windows. Also, like it or not, Microsoft is doing the best C++ work these days.

I agree with the other posters that Java is a much better first language to learn than C++. It's a lot easier, and all the basic concepts are the same.

When you get to the point of learning a second language, I highly recommend learning something that is significantly different from your first language: Java, C#, C++ and Groovy are very similar; try something else. Scala or Clojure might be a good choice; both run on the JVM.

Funny enough, no one hates you. We all love each other here on Daniweb. Every post counts, IF you're right then you're right and if you're wrong then you stand to be corrected.

Netcode 33 Veteran Poster

What more can i say......I Love the debate

Netcode 33 Veteran Poster

“Doing what you like is freedom.
Liking what you do is happiness.”

~ Frank Tyger

wenbnet commented: nice +0
Shanti C commented: yes,nice quote!!!! +0
Netcode 33 Veteran Poster

The code u gave is 'DataGridView1' but i'm using 'DataGrid1'. I thought they are different things and somehow it cause errors and it still does not generate the autonumber. One of the errors is; Error 1 Handles clause requires a WithEvents variable defined in the containing type or one of its base types.
How should i fix this? thanks.

Ignore DatagridView1 or Datagrid1. Thats just the name of the control so to make it right, put the correct name given to your datagrid control there.

Netcode 33 Veteran Poster

I think it needs to be marked as solved since you've got what you want. Why did you mark it as unsolved again?

I so much agree this has to be marked solve and please don't walk away like the others now that you've got your answer. Hey! am not judging, just saying;)

Netcode 33 Veteran Poster
Netcode 33 Veteran Poster

this link is broken. can u help me with that ?

use this please, it takes you to the home site: http://www.microsoft.com/download/en/default.aspx

Netcode 33 Veteran Poster

Discovering that you're the one who holds the key to unlock the prison of your unhappiness is empowering. However, to free yourself, you have to be able to tolerate the discomfort of discovering that you've been your own jailer."

Netcode 33 Veteran Poster

check http://http://msdn.microsoft.com/en-us/express/aa975050

Remember that the free version is the express edition and has its limitations so you don't get started and have issues without knowing where its from

Happy Programming!

Netcode 33 Veteran Poster

I reason with this philosophy:
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -Rich Cook

Netcode 33 Veteran Poster

Aw.
Thats just a girl trying rap like a guy.

Well, when a girl (not a woman) tries to tell you she can do a man(not a boy) thing and does it well, then she's worth listening to.:)

Netcode 33 Veteran Poster

At 17 but had to have about 40 lessons! And failed the first time, passed the second time round.

And I have a motorbike...

Next on the list helicopter -> Speedboat -> Airplane -> Tank.

You have plans. I really want to experience what it looks like with a heavy duty vehicle (MAN Truck)before i make plans on being in the air.
I love the sight of being on the road with other cars but you would be so elevated and you can not help but look down on the roof of others

Netcode 33 Veteran Poster

If this were to be in my country, the testers would have taken over the whole nation and become so wealthy.

Netcode 33 Veteran Poster

I quit dealing with you guys xD.

You need to be more relaxed and calm. You can get all answers here only if you post them in places order than the lounge(i.e.places for serious business).

Netcode 33 Veteran Poster

There is no such thing as overdose of success

Netcode 33 Veteran Poster

How does you application work, with excel?
please show some code

Netcode 33 Veteran Poster

So, reasons for not putting all data in a single db:
1) Different backup strategies. Production dbs with data that change every second has totally different backup strategies than dbs with reporting data only. Size of dbs and of transaction logs are critical factors
2) Ownership. If each application has it's owner (or belongs to a different department) for security reasons it's best to keep the dbs separated and restrict the db owners to their db. Also merging all dbs in 1 db under this scheme means that somebody has to assume the role of db administrator / owner.
3) Compatibility. If the apps you are using require a different compatibility level then the separate dbs is a must.
4) Lack of resources. To change a lot apps means a lot of testing (depending on the importance of those apps, but still) and probably some troubleshooting. Does your company have the resources for this?
5) Data availability. When you restore a db for example, do you want everybody to surf the net, or just a portion of the company?

Well written

Netcode 33 Veteran Poster

mark as solved

Netcode 33 Veteran Poster

$1,000
High School.

thats cool

Netcode 33 Veteran Poster

Please Delete this thread I figured it out I needed the line of code

ddlflightnum.DataValueField = "flightnum"

Delete? you should mark it as solved since you've got the right thing

Netcode 33 Veteran Poster

what code i will use in asp.net to insert,update,delete & select data into oracle 10g..

Make a try first

Netcode 33 Veteran Poster

So like this

Textbox1 has this text

http://www.facebook/whatever1
http://www.facebook/whatever2
http://m.facebook/whatever3
http://m.facebook/whatever4
http://m.facebook/whatever5

I want it on a button press

it will change any urls with Http://www.

to
http://m.

so at the end after button press it will be

http://m.facebook/whatever1
http://m.facebook/whatever2
http://m.facebook/whatever3
http://m.facebook/whatever4
http://m.facebook/whatever5

And

Also i need it on button press to change the current url in the webbrowser1

from: http://m.facebook/whatever

to

http://www.facebook/whatever

we encourage hardwork you know?:)

Netcode 33 Veteran Poster
Netcode 33 Veteran Poster

you could try this for your login because you have shown some code.

Dim connection As New SqlClient.SqlConnection
Dim command As New SqlClient.SqlCommand
Dim adapter As New SqlClient.SqlDataAdapter
Dim dataset As New DataSet
 
connection.ConnectionString = ("Data Source=CUBED-DESKTOP05;Initial Catalog=Biometrics;Integrated Security=True")
    objconnection.Open() 'open connection to server 

            'this is the SQL select statement query that is performed
            ' to read the username and password from server 
            Dim SelectStmt As String = "SELECT * FROM users WHERE UserName ='" + TextBox1.Text + "' and " + _
                                "Password ='" + TextBox2.Text + "'"

            Dim objcommand As SqlCommand = New SqlCommand(SelectStmt, objconnection)

            Dim reader As SqlDataReader = objcommand.ExecuteReader

            If reader.Read Then

                MainForm.Show	'display login form

                Me.Dispose()'close login form

            Else

                'integer variable to count the number of times
                'the user has tried loggin in
                Static count As Integer = 0

                'display promt 
                Dim prompt As DialogResult = _
                MessageBox.Show("Invalid Username or Password!", "Login Error", _
                MessageBoxButtons.RetryCancel, MessageBoxIcon.Warning)

                Select Case prompt

                    Case Windows.Forms.DialogResult.Retry
                        'keep login displayed for another trial 
                        userNameTextBox.Text = ""
                        passwordTextBox.Text = ""

                        count += 1 'increment counter by one 
                        If count = 3 Then
                            MessageBox.Show("High value of failed login attempts" & vbCrLf & _
                                           "Application will be terminated" & _
                                        " for security reasons", "Error", MessageBoxButtons.OK, _
                                        MessageBoxIcon.Stop)
                            Application.Exit()
                        End If

                    Case Windows.Forms.DialogResult.Cancel
                        Application.Exit()  'terminate application

                End Select

            End If
        Catch ex As Exception
            MessageBox.Show("Error: Login Failed for User:" & " " & userNameTextBox.Text)
        End Try
    End Sub
ErnestSeeker commented: neat code +0
Netcode 33 Veteran Poster

So are you saying you stopped building your computer on paper?

Netcode 33 Veteran Poster

I work 1k a month. Not bad for HS.

Ik a month in what currency? and whats HS?

Netcode 33 Veteran Poster

"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." -Albert Einstein

Netcode 33 Veteran Poster

Please mark this thread as solved

Netcode 33 Veteran Poster

Try calling up the Main form before you clear all resources used by the Login form

'insert all codes including user validation 
     MainForm.Show
'Clear all login form resources
Me.Dispose
Netcode 33 Veteran Poster

Its an event driven application so there must be an event before there is a response. You could only use your conditional loops to check before proceeding to the calculation

Netcode 33 Veteran Poster

It is time consuming and exhausting, but i get to work when i want to, how i want to and with whom i want to.

That's pretty cool but does the profit compensate for the time consumption?

Netcode 33 Veteran Poster

you know what works best for you

Netcode 33 Veteran Poster

Better still, you could create a C+++ compiler from C++

Netcode 33 Veteran Poster

I was asked a question a few days ago that I cannot easily answer.

"Why don't we put all of our small application databases into a single database?"

Well, There's nothing really stopping us. All of our small apps were developed in house so we don't have any problems with conflicting table names etc.

My initial reaction was to recoil in horror, "No way!" I don't think that I shouted, but it wasn't far off.

But the questioner stuck to his guns, "Why not, can you come up with a REASON why we shouldn't do this?"

Well, how about high availability? Well we can set up a cluster, or mirrored pair of servers, so that's no limitation.

And, no, I couldn't.

So I'm throwing this open - How many Applications should be using a single database?

Over to you.
:)

Well, i really cant say yes or no, it depends on the user and environment. Putting all in one database is possible if they are related like a Human Resource and a Payroll but also remember like you've been told before that you have all in one basket and a good backup and recovery mechanism is paramount.

Think if it is really necessary and make best conclusions

Netcode 33 Veteran Poster

manual coding of login and logout in asp.net with c#, after that every click shows the login page...without the user login them........!

To code your login page manually,
>First you need to create your own controls on the login page
>code the login button to validate already registered users in your database
>it would be best you use session tracking so as to grant authenticated users access to the main page and also, when the uses logs out, it ends the current session and goes back to the defined login page

You can find the attachment useful on session tracking


as for the part of displaying the login page all the time, please make yourself clear.

Netcode 33 Veteran Poster

You do realize, Africa has a lot of wealth, north and south, and that starving children exist in continents other than Africa.

And? Are you insinuating she should have shared all she had?

Netcode 33 Veteran Poster

'superbass' by Nicki Minaj