First of all the link that JX gave was perfect. Harry you should put on some effort to understand how the code works.. Good explanation Jugortha..
Try this link too
First of all the link that JX gave was perfect. Harry you should put on some effort to understand how the code works.. Good explanation Jugortha..
Try this link too
someone has revived an old thread. Actually it does help for the newcomers
^
the dude who paid daniweb and became a sponsor just to change his avatar :D.. He's cool.. i like him. :)
*HIGH FIVE*
change your text into what? into encrypted format or numbers?.. Or you want to change the font of the text?
place the
conn.Open() under the Try - Catch.. it will work
If your father is a poor man, it is your fate but, if your father-in-law is a poor man, it's your stupidity.
You can learn through these links
http://msdn.microsoft.com/vstudio/express/beginner/default.aspx
http://www.homeandlearn.co.uk/NET/vbNet.html
If you want samples
Try this link
Atlast you solved it. I was just changing the code when you posted you comment!. Mark it as solved now!
This should work.
Dim sw as StreamWriter
Try
sw = File.AppendText(txtFileName.Text)
sw.Write(txtFilename.Text)
sw.Flush()
Catch exc As Exception
Msgbox(exc.Message)
Finally
If Not sw Is Nothing Then
sw.Close()
EndIf
EndTry
Do you want it in Asp.net or Windows application?
Check the link that i posted and check the last post. I have attached a sample application. All you have to do is change the connection string to the Sql Server and it should work.
Hello boss, did you check the link?
hello boss, i wasn't copying and pasting the code.(:D). I am just guiding you to the thread which already existed. looks like you haven't even taken a bit of an effort to search it in this forum.
your code seems to be missing the Fill command for the datagrid
DataGrid1.Fill(ds,"add1")
Let us know which part of the code is the error thrown up.
Try using the image field.
<asp:Image ID="Image1" runat="server" Height="300" Style="border: 1px solid black;width:auto" ImageUrl="~/SlideShow/images/Blue hills.jpg" AlternateText="Blue Hills image" />
Here's mine.
I would like to visit UK and US. My bro likes Canada, my sis likes Australia, my mom likes Sweden and dad likes Dubai. I think we're gonna be separated anytime in the future..
lol!
I want to visit spain. I heard that place is really beautiful. :)
^
My team colleague. He's gentle and has high potential of becoming a entrepreneur. :)
Congrats seruson!!.. :) im still at 800 :(
^
He's a good kid.. Tries to help others and gets beaten up by his own friend ;). He's cool! :)
Mine is Shaleesa.. Weird!
That link should suffice. You have to show some effort from your side by using those example's. Just don't blindly ask for the code.
Show us how far you have implemented with your code.
what drivers are you talking about? the motherboard drivers?
one other question... once i finally do get the keylogger onto him... how do i look at his logs and not mine? :\
i was just thinking the same :D. There is no possiblility of getting his log unless you get into his system either through hacking or going to his place and collecting the logs. But both are illegal and this forum won't help you out i guess.
Do post in if you manage to get the log :)
lol!! i understand josh my boy!! From now on start contributing :p
i wonder how christina is taking it? i couldn't see her comments anywhere about the rep system
As i said before you have to write a code which handles the registry. You can switch of the control panel on or off if you can get into the registry
after doing this it shows messages
"address1 is not the member of system.data.dataset "
sorry that wouldn't have worked
Well i can only give you suggestions
Try retrieveing the data in a Sqldatareader
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'conn.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = C:\AddressBook.mdb"
connstr1 = "server=kishorjagtap;uid=sa;pwd=kishor;database=addressbook"
Dim conn As New SqlConnection(connstr1)
Dim sql As String
sql = "Select * from address1"
conn.Open()
Dim cmd As New SqlCommand(sql, conn)
dim drSql as SqlDataReader
drsql = cmd.ExecuteReader
If drSql.Read() then
TextBox1.Text = drSql.Item("rollno").ToString()
TextBox2.Text = drSql.Item("name").ToString()
End IF
Dim ds As New DataSet()
da = New SqlDataAdapter(sql, conn)
da.Fill(ds, "Address1")
maxrows = ds.Tables("Address1").Rows.Count
inc = -1
conn.Close()
End Sub
Don't know whether it will work.. Just try it out.
Try using the databindings in the textbox
Textbox1.DataBindings.Add("Text", ds.Address1, "rollno")
Yes it is possible. But all i know is to disable and enable a control panel in a particular remote system. You actually have to use a code which goes around the regedit and disable the control panel.
what did you declare inc as? Did you try my suggestion as which line your getting the error?.
Show us which part of the line your getting error?
Why don't you insert some break points and cycle through your code using F10 or F11 and tell us which part your getting the error.
You can press the solve button if it helped you out my friend :)
Arrgh!! im back to one green dot :( . Damn you peter_budo ;). Well i guess i have to start all over again :). Im left with 68 points.
>>thats why Autopostback is needed for combobox.
I thought it was drop down list.
Yes your correct!. Baskar just mailed me about it.
Oh ok.. In my case its when im about to give a rep before the page loads. That error message pops up and when i click on ok button it redirects to page cannot be displayed. I know its annoying but i got used to it i guess.
How did you solve it. Never heard of that kind of exception?
i have been having that problem for quite some time now. The problem occurs when you try click on the Add to "xx" Reputation before the page loads up. I thought it was a problem with my IE7.
>>Now bennet is bad repping me!
lol.. why don't you have look at it now. You are atleast trying to help. Some people in the Geek's lounge don't even bother to step inside the Tech forums. The astonishing part is one of them also has two green dots as peter budo said.
This mite sound a little cheesy!
Dirty Little Matt is sitting in the back of math class, obviously not paying any attention, when the teacher calls his name.
"Yeah teach?" he replies.
"If there are three ducks on a fence and you shoot one of them with a shotgun, how many are left?" asks the teacher.
Matt answers "Well, teach, if I shoot one of them with a shotgun, the loud noise is gonna make them all fly off."
"No, Matt, there will be two left if you shoot one with a shotgun, but I like the way you're thinking." the teacher responds.
"Well, teach, I've got a question for you... There are 3 women that come out of an ice-cream parlor, one is biting her ice-cream cone, one is licking it, and one is sucking on it. Which one is married?"
The teacher, a little taken back by the question answers, "Well, uh, gee Matt, I guess the one that's sucking on the ice cream."
Matt replies "No teach, the one that has the wedding ring on her finger, but I like the way you're thinking!"
When your trying to alter or make changes in your registry don't forget to take a backup of your registry before working on it.
Try installing VLC player. That should solve your problem.
Im really glad regarding the rep points. Just realised that ive been contributing more in the VB.net forum than the coffee house. I have two green dots. Im superior to peter budo ;)
Thanks sanjay.. was waiting for a mod to say tht :-)
Hi
can you tell me that how you done all these please tell me i need it too much.thanks.
Check this link
Download the necessary TTS Engine as per your language requirements along with the MSAgent and install it.
Next download the Speech control panel (Spchapi.exe) and install it.
Go to your Control Panel -> Speech
You can see a third Tab Panel (Other) Click on the SAPI 4 Control Panel.. Input some text and check whether it speaks (with the selected language whether its french or german).
If you get it working then post in again and il tell you what to do next.
17 inch LCD at work :)
15 inch CRT at home :(
Ah, well i love my home PC. :)