|
how use the datagrid for the database?
i dont have it
|
|
|
|
|
use gridview for asp.net 2.0
datagrid is for 1.0
how to use it
search google for 'gridview example asp.net'
|
|
|
|
|
Hai,
How can I merge the Splitted Tiff Files using .Net?
Regards,
G.Manivannan M.Sc.,[IT],
Software Programmer (VBA),
AKUVA Infotech, Bangalore.
|
|
|
|
|
Hi i create one project...,
now i want to submit the project to my client...,
i dont like to give my back end code to my client...,
just i like to give my screen design...,
With that the project want to run...,
How to do that?,
I am beginner in this,so plz explain me some what briefly..,
Magi
|
|
|
|
|
dear magi..
just create the exe of the project in the File\Make exe option. u will get ur job done in a few seconds...send that exe to ur client...
|
|
|
|
|
Magh_M wrote: I am beginner in this
Magh_M wrote: submit the project to my client
You have clients and you don't know what you're doing??? What are they paying you???
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Dave Kreskowiak wrote: You have clients and you don't know what you're doing??? What are they paying you???
Exactly my thoughts :->
|
|
|
|
|
|
yea if txtCarId is a textbox, which i think it is, you have to add the '.text'
|
|
|
|
|
I have some problems while doing my school project so I very need your help.
I have a big image, the picturebox can display a part of it so I have 2 scrollbars. I place some buttons on the picturebox. Here's the problem : When I scroll the scrollbar, I want these buttons to float with the image.
How to do that ? Help me!!!
|
|
|
|
|
I hope this link helps you out. http://www.w3.org/Style/Examples/007/menus.html
|
|
|
|
|
I am using Visual Studio .Net. When I try to import system.web.mail it
does not recognize mail as a valid namespace of system.web. Does anyone know how to fix this issue?
jmflanders
|
|
|
|
|
Use System.Net.Mail instead.
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
System.Net.Mail does not work either.
jmflanders
|
|
|
|
|
Ok, try these steps:
1. Import both System.Net and System.Net.Mail .
2. Go to your project's properties and click the "References" tab. Then make sure that the System.Net and System.Net.Mail name spaces are checked.
If you are using .Net 1.1, this might not work.
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
The code below is I copy from a book , and try to change using the memorystream. However, it didn't work.
What thing I lost?
Can someone help me? Thanks very much.
Dim stream As New MemoryStream
Dim m As Metafile
Dim g As Graphics = Me.CreateGraphics
Dim _hdc As IntPtr
_hdc = g.GetHdc
m = New Metafile(stream, _hdc)
g.ReleaseHdc()
Dim gr As Graphics = Graphics.FromImage(m)
gr.PageUnit = GraphicsUnit.Pixel
gr.Clear(Color.White)
gr.DrawEllipse(Pens.Red, Bounds)
gr.DrawLine(Pens.Blue, 0, 0, 100, 100)
gr.DrawLine(Pens.Blue, 100, 0, 0, 100)
gr.Dispose()
m.Dispose()
m = New Metafile(stream) 'break in here.
Dim bm As New Bitmap(100, 100)
gr = Graphics.FromImage(bm)
Dim dest_bounds As New RectangleF(0, 0, 100, 100)
Dim source_bounds As New RectangleF(0, 0, 100, 100)
gr.DrawImage(m, Bounds, source_bounds, GraphicsUnit.Pixel)
pic.SizeMode = PictureBoxSizeMode.AutoSize
pic.Image = bm
gr.Dispose()
m.Dispose()
|
|
|
|
|
There are so many problems with your code, I think I'll just rewrite it...
' Something to hold onto our memory stream
Private metaMemoryStream As New MemoryStream
Private Sub Button1_Click(blah, blah) Handles Button1.Click
Using g As Graphics = Me.CreateGraphics()
Dim hdc As IntPtr = g.GetHdc
Using meta As New MetaFile(metaMemoryStream, hdc)
Using metaGraphics As Graphics = Graphics.FromImage(meta)
'
' Draw your stuff here...
'
metaGraphics.Draw...
'
'
'
End Using
g.ReleaseHdc(hdc)
End Using
End Using
End Sub
Private Sub ShowMetaFile()
' VERY IMPORTANT!
' Make sure that we start at the beginning of the Memory Stream!!
metaMemoryStream.Seek(0, SeekOrigin.Begin)
PictureBox1.Image = Image.FromStream(metaMemoryStream)
End Sub
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Yeah!!!
Thank you! Thank you! very much...
I have been confused many days about this problem until you taught me the correct way.
Really thank you again!
I don't know how to describe my happyiness.
|
|
|
|
|
I was wondering if anyone knows how to Read or communicate to/from a java applet. I'm an avid pogo player for some reason once i started i cant stop hehe. But i want to extract my token score, or even display the java game window in a win app. I am totally lost as to where to start, I can't find any tutorials on communication to java applets, or even how to display them in a certain language,
Is there any help someone can give me, and point me in the right direction.
It would be greatly appreciated,
Thank you.
|
|
|
|
|
Java applets run in their own runtime. There is no way to communicate directly with the applet unless it's written to expose a server, either through COM or TCP/IP. Getting the results out of the Java window, like your score, would involve OCRing the Java window! Java renders its windows without using any Win32 controls, so trying to use stuff like WM_GETTEXT on a window handle is useless.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
That is interesting and a good read on ocr
Is there an easy way to load the applet on a vb form?
|
|
|
|
|
Don't know - never tried. Never had a reason to.
I don't think there's a COM component you can put on your form to show a Java window.
You might want to checkout a Java-dedicated board for an answer to this one, like Sun's Support Forums[^].
The only thing I can think of would be to put a WebBrowser control on your form and have it navigate to the source of your Java code, be it a website or a file path.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Dear Sir,
I am aware of vb, I have just started my vb.net session. In vb.net how can i write a code for saving data in to a database like sql 2000 server, and how to show the saved data into a grid( eg. Like an employee details)
vinay
|
|
|
|
|
Are you familar with SQL? If not, you should learn about that.
+look at the insert statement of sql to get the data in the database
+look at the select statement of sql to get the date out of the database
|
|
|
|
|
Dear nlarson11,
Thank you for your reply.
I know sql, i am using sql2000 server with vb. I want to know how to use store procedures in vb.net, and the connection syntax to connect database ,passing parameters into storeprocedures. Also i want to know how to display the data into a grid using vb.net. I am grateful to you if you give me some sample codes
thanks & regards
vinay
|
|
|
|