|
hi all
i have a datagridview in which i have manually bounded columns(in runtime)
i want to talk the print out of this datagridview and also need to transfer it into excel
plz tell me how to do this.
I am using vs 2008 window application.
thanks in advance
Er. Jagwinder Singh
|
|
|
|
|
|
is this the answer??
Er. Jagwinder Singh
|
|
|
|
|
What are you expecting? Source code?
You have ended up in wrong place then.
Time is the best teacher; unfortunately it kills all of its students.
जय हिंद
|
|
|
|
|
Did you click on the links to see what they came up with?? Did you go and read some of the articles in those lists??
Come on. You're apparently expecting to be spoon fed the answer, when he's actually telling you how to do the research yourself. Which is the more important skill to have??
|
|
|
|
|
sorry bro's
i m very sorry bro
the link send by use are useful for me.
sorry again..i will not repeat this
thanks for ur help
Er. Jagwinder Singh
|
|
|
|
|
Dunno, that seems to be a good answer to me.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
Hi there.
Currently i have the following relationship between tables http://img230.imageshack.us/my.php?image=datarelations.jpg[^] . What i want to do is very simple but somehow i'm not getting there... when i'm inserting or searching for an element in the table "Produtos" ,instead of showing the Code from table "Produtos_Sectores" i want to show the name which is in the table "Sectores"..
Anyone knows how?
Thanks in advance.
|
|
|
|
|
i bought smart card with ominikey reader.the reader came along with drivers,some c++ header files and sample codes written in v.b 6.0.i have tired running the sample it keeps giving me error 53.scandll file can not be found.i will like to write and read from the card using c# or v.b .net.can i convert the codes to dot net and what can i do to write and read from the card.
|
|
|
|
|
Is the scan.dll file in the same folder as the .EXE you launched to run the demo?? Is it in C:\Windows\System32?? If not, you can get this error.
fresh2g6 wrote: can i convert the codes to dot net
That depends on your skill reading VB6 code and knowing how to translate it into VB.NET. If your skill level is pretty low, then I'd say you have to learn how VB6 and VB.NET work so you can convert the code.
fresh2g6 wrote: what can i do to write and read from the card.
That's covered by the documentation that comes with the SDK you got with the device. Noone here, or anywhere else for that matter (except the manufacturer) is going to know this off the top of their head. What you have to do, and possibly step-by-step examples, is going to be covered in the documentation for the libraries you got.
|
|
|
|
|
i am new when it comes to working with smart cards.Any way thanks for the reply.the reader API can now detect the card but the documentation do not cover the with the classes that writes and read from the card.i just want to know how to interface my program to the reader.from the ominikey documentation
|
|
|
|
|
The .NET Framework doesn't have any classes that deal with SmartCards.
You'll have to examine the source code for the VB6 app you have and start converting it to VB.NET.
|
|
|
|
|
You would have to rewrite the VB6 code from scratch to convert it to VB.NET. I would be inclined to email the manufacturers of the Omnikey reader to see if VB.NET code samples already exist.
Better yet try this[^]
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
Can one help me...
I have read alot of topics but now one works
I use visual basic 2008
I want send a mail to a other mail in my own program..
this must inside
* textbox = from
* textbox = to
* textbox = subject
* textbox = body
* button = send
Can one help me
|
|
|
|
|
|
I have read it but is that all in visual basic 2008
and how
i have a form withh the buton and the textboxs
no of the codes will work:S
|
|
|
|
|
Add the following code in your send button click event handler.
MailMessage mail = new MailMessage();
mail.To = txtTo.Text;
mail.Bcc =txtBcc.Text;
mail.From = txtFrom.Text
mail.Subject = txtSubject.Text;
mail.Body = txtBody.Text;
SmtpMail.SmtpServer = txtSmpt.Text;
SmtpMail.Send(mail);
|
|
|
|
|
This is what i have maybe see you whats wrong?
Imports System.Net.Mail
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
Dim SmtpServer As New SmtpClient()
Dim mail As New MailMessage()
SmtpServer.Credentials = New _
Net.NetworkCredential("My mail", "password")
SmtpServer.Port = 587
SmtpServer.Host = "smtp.gmail.com"
mail = New MailMessage()
mail.From = New MailAddress("my mail")
mail.To.Add("textbox1.text")
mail.Subject = "Test Mail"
mail.Body = ("textbox2.text")
SmtpServer.Send(mail)
MsgBox("mail send")
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
End Class
|
|
|
|
|
Johrans wrote: mail.To.Add("textbox1.text")
mail.To.Add(textbox1.text)
Johrans wrote: mail.Body = ("textbox2.text")
mail.Body = (textbox2.text)
|
|
|
|
|
And
smtp.server send(mail)
This is yellow whats wrong?
thanks for your support
|
|
|
|
|
Johrans wrote: This is yellow whats wrong?
I am sorry but what do you mean by yellow?
Johrans wrote: smtp.server send(mail
SmtpServer.Send(mail)
Books are as useful to a stupid person as a mirror is useful to a blind person. - Chanakya
|
|
|
|
|
Hi everyone.
I am busy with a app that prints a html file. Currently I'm using the WebBrowser control with a call to print in the DocumentCompleted method.
It works fine on my box but nothing happens on the clients server. If anyone can explain this to me I would be utterly greatfull.
Stephen
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
I figured out that it is the webbrowser control that doesn't do anything when its print method is called. Maby someone can help me figure out why it works fine on Win XP but fails on Win Server 2003 Enterprize
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
IE on Server 2003 is, by default, so heavily restricted, that you can't even go to Yahoo use you either add it to the Trusted sites list or remove all the restrictions.
But, after saying that, I don't have a 2003 box to test on. What's the error you get on that box?
|
|
|
|
|
I wanna send Email using Vb.net
code is.........
Dim message As New MailMessage(txtTo.Text, txtFrom.Text, txtSubject.Text, txtBody.Text)
Dim emailClient As New SmtpClient(txtSMTPServer.Text)
emailClient.Send(message)
litStatus.Text = "Message Sent"
Catch ex As Exception
litStatus.Text = ex.ToString()
Can anyone plz help me out what is the input of txtSMTPServer textbox as i am a Beiggner
|
|
|
|