|
hi aaraaayen
You should be Posting this in a ASP Forum. OK lets look at your Problem
aaraaayen: Wrote
However, if the user is typing the same wrong invalid password consecutively for 5 times, the user id is not getting locked in the database
Ok, try to Debug your Application, place a Break point from the moment you submit the user input and try to Enter incorrect credentials 5 times as you said and see where it goes wrong because we cannot tell whats wrong until we see your code. but as i said, try to debug and see where it fails and ask a Question based on the failing line and then it will be simple to help you
thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Can i load an RTF File(Text + images) to Crystal Reports.
I am looking for it from long time
Plz provide some help...
Jats
|
|
|
|
|
I don't use CR, but the last I heard (2 years ago,) images in Rich Text was not supported.
|
|
|
|
|
hi my friends ..
I user vb.net 2008
the project was working as good .. thene this problem happened ,, without any changes
then the project return to works by it self ,,, i didn't do any thing for it
then after one month from working on the solution .. suddenly the problem return again ..
any one know how to solve it ..
The type initializer for 'Solution.Module1' threw an exception
jooooo
|
|
|
|
|
This means that your code is broken. If you give us the rest of the stack trace we may have a better idea, but ultimately, it has to do with a constructor, I would say.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks my friend ..
I found an error on some of variables and solve it ..
really thanks
jooooo
|
|
|
|
|
Hi I need some help,
I am reflecting all the properties in a class, that's fine, it works but I need the values of that actual class or instance.
Here's what i have so far.
Dim pi As PropertyInfo()
Dim m As MemberInfo
Dim reflectedTypes As Type = Nothing
Dim myInstance as New MyClass()
reflectedTypes = GetType(MyClass)
pi = reflectedTypes.GetProperties(
(BindingFlags.Instance Or BindingFlags.NonPublic Or BindingFlags.Public))
For Each m In pi
Debug.Print(String.Format("{0} : {1}", m.Name, "i want the value here"))
Next m
Reason why i need the values is the class might change by other developers & im making a backup feature, that "saves" this class's properties to a txt file.
Any help would be appreciated. thanks
eni9ma
|
|
|
|
|
Dear Friends,
I have created web services in VS2003 using VB.NET as language. Problem is that now I want to publish the web services. Please tell me the way.
Looking for your reply's. Thanks in advance.
Regards,
Zeeshan Ahmed Memon.
|
|
|
|
|
You just host it on a web server, using IIS
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
--> How to delete an uncommited row from a datagridview..?
J A Nasir K
|
|
|
|
|
Hi Nasir,
We can remove an uncommitted row using VB.Net in the following way.
BEGIN CODE
Private Sub button1_Click(ByVal sender As Object, ByVal e As EventArgs)
If dataGridView1.Rows(dataGridView1.CurrentRow.Index).IsNewRow <> True Then
dataGridView1.Rows.Remove(dataGridView1.CurrentRow)
End If
End Sub
END CODE
This will check to see if the row you are trying to delete is a new row or not. If not then it will remove the code.
Hope this helps
Regards,
John Adams
ComponentOne LLC
|
|
|
|
|
--> Your code does'nt work. I did the same functionality (which you suggested to me) in one line....
J A Nasir K
|
|
|
|
|
Hi, everybody.
I've been just started learning VBA programming.
And what I want to know is how to get a character width and the entire width of the text in a cell of Excel Worksheet.
I mean charaters of all languages such as English, Japanese and so on.
Please help me to resolve it.
Thanks!
|
|
|
|
|
Erhm, I don't think this is possible using VBA, however you can create a dll which contains that functionality using .net and then call a function within that dll which contains the functionality.
To get the length of a string, use the MeasureString function of the Graphics object. Pass a string and a font, and the size of the string will be returned.
Good luck
|
|
|
|
|
Dear Keilholz.
Thank you for your attention.
I hope you know I'm a beginner in programming in VBA, but only have a knowledge about c++ programming.
Can you show me a little code block about using MeasureString?
Is it possible to get a character width by using it?
Thanks.
|
|
|
|
|
Yup...
<br />
Font fArial = new Font("Arial", 10.0f, FontStyle.Bold, GraphicsUnit.Pixel);<br />
SizeF stringSize = Graphics.MeasureString("W", fArial);<br />
Console.WriteLine("String width is : {0}", stringSize.Width.ToString());<br />
Note : The code above is .NET (C#) code, not VBA
|
|
|
|
|
That's really helpful.
Thanks a lot.
|
|
|
|
|
hi, i'm new in this. i've been doing a prgm using vb.net with asp.net and it's working when i run it in my local pc. but, when i deploy it to my server the database r pointing to my local pc. i've check my web config and my coding. but all are written to point to the server dbase. help me pls..
|
|
|
|
|
Well, first of all, we have an ASP.NET forum.
zaimah wrote: but, when i deploy it to my server the database r pointing to my local pc.
Then your code is pointing to your local PC. There's no two ways around it. How do you know it's pointing to the wrong place ? What makes you think you've set it to point elsewhere ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
sorry, wrong forum. i know it's pointing to the wrong place bcoz, in my web.config i put server name n dbase. i delete my dbase at my local pc. when i run the prgm tell me my table name is invalid. but when i create th dbase in my local pc and delete the dbase in the server, it shows whatever inside the dbase in the local pc. eventhough in my web.config and my coding r written the server name n database. it's very confusing.
|
|
|
|
|
Might your website be using a cached web.config ? Why can it see the DB on your local machine at all ? Can you add some data to the server DB to confirm it's not being read ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
what is a cached web.config? rite now i'm at my local pc. i connect the server from my local pc. i can add data but it goes to my local DB. this is weird. maybe i did a mistake, but i dont know where to find the mistake bcoz i already check the web.config n my coding in other files. this is my first time doing a prgm.
|
|
|
|
|
zaimah wrote: this is my first time doing a prgm.
Well, what a disaster. Why on earth would your first ever program be a web app, with config files to set up, and a database ? Walk before you run.
Having said that, perhaps if you posted what's in your web config, I could point out what's wrong with it ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
If you happened to use the Database Wizard to configure any part of your application, then Visual Studio may haved added code throughout your project making reference to the local copy of the database.
An easy way to locate local pointers to your database is to open up Visual Studio and then open the find dialog and search for the filename of the database in the entire solution.
Regards,
Thomas Stockwell
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.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
Hello!
I am able to control any buttons on gamepad within my vb.net code. But I also want to vibrate the gamepad. I am not using XNA but just directinput in my code. There are several properties and events that associated with the directinput. I realized that there is a SendHardwareCommand function. It is requiring two patameters as shown below. I couldn't figure out the 2nd parameter. I wonder what does it do? Is it the function that I should use for vibration?
GamePadDevice.SendHardwareCommand (Command as Int32, Data() as Byte)
If you acknowledge me, I appreciate.
Thanks.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|