|
codeadair wrote: By the way.what's your time now?
To you, it's comming up on Saturday. I'm still on Friday morning.
Dave Kreskowiak
Microsoft MVP - Visual Basic
-- modified at 9:51 Friday 30th June, 2006
|
|
|
|
|
Dave Kreskowiak wrote: Draw to a Bitmap object that same size as the panel. Set the BackgroundImage property of the panel to the Bitmap. now, when you draw on the Bitmap, just call Refresh on the Panel.
Yes.I just do as you day.
But i find a problem.when i use g.ScaleTransform(xscaletran, yscaletran) method.And then refresh the panel:me.panel1.refresh.
it will take no effect.why?Have i need to redraw all datas?
ICQ:258-235-734
MSN:msnadair@hotmail.com
|
|
|
|
|
Where did the Graphics object (g) come from??
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dave Kreskowiak wrote: Where did the Graphics object (g) come from??
Graphics object (g) is a form variant.look here:
dim bmp as bitmap=new bitmap(800,600)
dim g as graphics=graphics.fromimage(bmp)
Maybe you could read my another forum question named "graphics.scaletransform() method".it describes the question clearly.
Thank you for you reply heartly!
ICQ:258-235-734
MSN:msnadair@hotmail.com
-- modified at 23:47 Monday 3rd July, 2006
|
|
|
|
|
ScaleTransform doesn't do anything until you draw something. It sets up a transform for any drawing done to the surface after the call the ScaleTransform.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dave Kreskowiak wrote: ScaleTransform doesn't do anything until you draw something. It sets up a transform for any drawing done to the surface after the call the ScaleTransform.
Yes.I think so.
And i have to redraw bitmap if i want to transform the graphic.So bitmap doesn't look very useful this time.
ICQ:258-235-734
MSN:msnadair@hotmail.com
|
|
|
|
|
Hi
We have developed a .NET application and created a package with Visual Studio setup project(MSI file). When we try to install in a fresh XP machine then we are getting the following Error Signature,
Error Signature
EventType : clr20r3 P1 : application1.exe P2:1.0.2365.35072 P3:449bf3a9 P4:system.data P5:2.0.0.0
P6:4333aea2 P7:25c3 P8:29 P9:system.data.sqlclient.sql
The same is working in a machine where we have installed lot of other softwares.
Please share with us if you have any solution. Thanks in advance.
Regards
Arunag
|
|
|
|
|
Is .NET Framework 2.0 installed in this machine???
|
|
|
|
|
|
I think the error is in the SQLServer, try no execute the program in other machin without create a installer.
If it dosn't run, i dosn't the answer, sorry.
|
|
|
|
|
Arunag wrote: Visual Studio setup project
What is the version of your visual studio .net?
|
|
|
|
|
|
How do you create an installer for your application? I mean what is the resource that you follow to create an installer for your application.
|
|
|
|
|
It's screaming about a problem in the SqlClient. Make sure that the machine your running this on has the latest MDAC installed and you should be OK. MDAC Downloads[^]
Now, that's assuming that your code is written properly...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
the error which i face is as following
Run-time error'20536'
unable to connect: incorrect log on parameters
we are using vb6 as front end and oracle9i as back end
and created reports in crystal reports
if any one can help us then please do
thanks
akhil patel
|
|
|
|
|
|
hi,
i am akhil patel and currently working on the invventory control system and i am facing the problem to populate the data from the database
im using vb6 as front end
i had created reports in crystal report
and i want to featch data from the database thorugh the coading
how can i do this?
if any one have the answer then please replay me
thanks
akhil
akhil patel
|
|
|
|
|
Hi,
Im looking for the code to implement the IFilter interface in vb.net, I have been searching for the better part of a day and have only come across a C# version. Can anyone help me out?
|
|
|
|
|
The IFilter interface of what?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Sorry. The interface for the Windows Desktop Search engine
|
|
|
|
|
Well, first off, it's pretty each to convert C# to VB.NET. There's also a bunch of online conversion tools that'll do some of it for you.
You might also want to take a look at this[^] on MSDN for another example.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi ...
< >
I want to add a combobox that was loaded data in datagrid .
< >
gaumeo
|
|
|
|
|
|
Hi....
I need to know how to use Substr operation inside Visual Basic.Net language program, because I could not found it,could you mind to help me please ?
Thank you for your attention and your help in advance
Best regards
ICE
|
|
|
|
|
You can try like this.
dim xyz as string
xyz.substring(startindex) and other overloaded form of this function is
xyz.substring(startindex, length)
|
|
|
|