|
Hi all,
Iam working on windows applicaiton in VS2003 and when iam putting anchor on a datagrid for example iam experiencing an unstability in width and heigh size of thew datagrid control.
Iam using a datagrid and when i put anchor on right, top and bottom i notice this issue. When i enter the design of the form again i need to adjust the width and height of the datagrid again. I find the width and height i fthe grid is bigger than the size of the form. I keep fixing it manullay and save. but when i enter the form design aagin i find it bigger. Iam faing this issue with button control also. I have a button with anchor top and right, the same issue happens when i enter the design later i cant see the button cause it takes a position out side the form.
Any help please it is really annoying.
|
|
|
|
|
If you haven't already, you may want to install Visual Studio .NET 2003 Service Pack 1[^] first.
|
|
|
|
|
Hello Friends ,
How can we create mail Function (send mail) in window based
application.
Manu
|
|
|
|
|
this is a very simple way to do it (don't know if it will meet you expectations)
imports system.web.mail
...
Dim obj As SmtpMail ' Variable which will send the mail
Dim Mailmsg As New MailMessage()
obj.SmtpServer = "server:relay.skynet.be"
Mailmsg.To = "test@test.be" 'the email adress to send to
Mailmsg.From = "\" & (sender) & "\ <" & (sendermail) & ">" '(sender) = the name to be displayed || (sendermail) = a valid email adress from wich to send
Mailmsg.BodyFormat = MailFormat.Text
Mailmsg.Subject = "example"
Mailmsg.Body = "example body"
obj.Send(Mailmsg)
hope this helps
If my help was helpfull let me know, if not let me know why.
The only way we learn is by making mistaks.
|
|
|
|
|
Firstly thanks .
Friend my problem is that whenever we are trying to imports
system.web.mail in window form it give error namespace can not find .
Manu
|
|
|
|
|
You have to add a reference System.Web and then add Imports System.Web.mail
HTH
|
|
|
|
|
like 'samerh' said
add a reference to system.web
you can find it on the '.net' tab or at 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Web.dll'
If my help was helpfull let me know, if not let me know why.
The only way we learn is by making mistaks.
|
|
|
|
|
Thanks For help
Now Mail is working in my application .
manu
|
|
|
|
|
you'll have to specify more
do you encouter a problem?
how do you retrieve you'r data now?
is there a specific methode that is taking long?
is it only when you retrieve several thousend records or always?
...
If my help was helpfull let me know, if not let me know why.
The only way we learn is by making mistaks.
|
|
|
|
|
Hi Guys.
I need ur help Converting HTML to JPG Images format using
VB.Net with WEB Services
Can anyone know about XML Services and how will your write it
My Email Id nhsubash@gmail.com
Regrds
Subash
Subash
|
|
|
|
|
i have a problem casting from a byte to a bitmap
am actually reading mp3 tag information from ascii encoded mp3 files and then reading the album art which is a bitmap from
a buffer which is a byte array to a bitmap
ctype(dabuffer,system.drawing.bitmap) doesnt work
maybe
any solution
.Thanks in advance
phatkin
|
|
|
|
|
You can't create a bitmap that way. You have to create a bitmap object passing in the byte array.
|
|
|
|
|
|
Hi,
I need to Convert String Type to Uri Type.
I tried Cast("c:ss.txt", System.Uri), But it fails
Any suggessions please......
Regards,
Bala
|
|
|
|
|
HI all,
I got the solution.
|
|
|
|
|
if you got the solution, please post it that everyone will know about it too.
Shay Noy
|
|
|
|
|
Hi,
This is the Solution ive got.
Dim obj As Object<br />
Dim wObj As New System.UriTypeConverter<br />
obj = "http://10.130.18.40/order445.pdf"<br />
'wBrowseObj its a Webbrowser in VB.net<br />
wBrowseObj.Navigate(wObj.ConvertFromString(obj))
Sorry for the delayed reply..............
Regards,
Bala
|
|
|
|
|
|
i have a problem in load sub report's data, the field become not consecutive
i am using this code "ReportFile.Subreports(strSubRepName).SetDataSource(dtDataSubRep)"
is there anything wrong with that??
i have try it in usual report ( not sub report ), and that is ok, but if in sub report,
it become problem, please help, thanks
|
|
|
|
|
Sorry for double posting please
my directx video object doesnt display in its owner
the owner is a picturebox
please how do i go about it?
thanks
phatkin
|
|
|
|
|
I guess posting some code would be a good start.
I also have an article on all the reasons that that namespace sucks, you should read it
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
give the owner of a video object
vdio=new video.fromFile("location")
vdio.owner=sampicturebox
vdio.play()
this is my little code
actually the video has shown before but dont know why its not
showing now
phatkin
phatkin
|
|
|
|
|
OK, that's how it works. Have you considered using the Windows Media Player control instead ? That is just plain better.
Odds are you've just made a silly mistake ( like the control is not visible ), but I'd really suggest WMP is better, overall.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
thanks MVP, but i wld like to knopw if under nomral circumstance,
the video should display in its owner
does theh screen resolution matter or any other setting>
Please
phatkin
|
|
|
|
|
Hi
I am kinda new to vb.net and I am having problems with code that works when it suits it. The code is meant to check if data has been entered into the text boxes. For some unknown reason it works on one form but the same code copied and pasted does not work on a different form.
this the code.
'This checks the textboxes to see if the data entered is correct
Dim ctrlx As Control
For Each ctrlx In Controls
If TypeOf ctrlx Is TextBox Then
If ctrlx.Text = "" Then
ctrlx.Focus()
MessageBox.Show("Please enter the required data", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
Exit Sub
End If
End If
Next
I hope u will be able to help me,
twsted f8
|
|
|
|