|
sathyan_8294 wrote: i want in windows application not web application.
That's irrelevant. You need to write code to parse the number and turn it into a string, and that code doesn't care where the string will be rendered.
No-one is going to write this for you. Think about what it does, and try to write it yourself. Ask again if you get stuck.
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 )
|
|
|
|
|
See this article[^] which shows you exactly how to work out how to do that.
sathyan_8294 wrote: there are 2 textbox named as num1textbox,num2textbox and one button named as convertbutton
That is pointless information. The code to do the conversion should NEVER be in the presentation layer. It should be in its own class.
|
|
|
|
|
i have cretaed an application using odbcConnection, when i m running this exe from the network it is showing odbcpermission error. plz can any body help me to solve this thru coding in vb .net?
i do not want to use manual setting thru .NET Framework wizard.
thanks and regards
kishore
|
|
|
|
|
Any managed code running from a non-local source (read: any network source, trusted or not) is NOT trusted by default. In order to run code from a network source, you MUST understand Code Access Security[^]. It's a must read for any applicaiton actually, but becomes so much more important when running from an untrusted source.
|
|
|
|
|
I thought this question sounds familiar. Asking it again and again and again, won't change the answer[^].
|
|
|
|
|
I am trying to take a image and zoom/pan to fit a template (something overlaying the image(and preferably and image itself with transparency)) and then crop what is inside the template area. I have tried using the picturebox control and system.drawing to gain the effect but cannot get it to work for me.
any ideas?
|
|
|
|
|
You are doing-
1) Zoom/Pan an image
2) Making an image transparent
3) Crop the image area.
Now could you please clarify in which operation you need help or what is that you are not able to achieve.
This will help us in providing correct suggestion.
-Dave.
Dave Traister,
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
zooming and panning is what i need help with. making it transparent i know how now ( a little more playing around did the trick). even a link to something on msdn would be helpful.
|
|
|
|
|
Check this article-
Pan and Zoom [^]
I hope this helps.
-Dave.
Dave Traister,
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
Forget the picture box. Draw the image on your form yourself, in your paint event handler. The rest should be easy, if not, ask more specific questions.
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 )
|
|
|
|
|
Hi, I'm not sure whether this question should be post in asp.net forum or windows vista forum or this this forum. Current I have an old laptop which is running windows xp professional with IIS installation. I used Vs 2005 to develop an asp.net website in my laptop.
Now i plan to purchase a new laptop but it is not windows xp professional. The new laptop that i plan to purchase is windows vista home premium edition. What i want to know is whether windows vista premium edition has an IIS which is support for asp.net development or not? If vista home premium has IIS like winxp pro, then it won't have any problem for me to continue my web application development.
Thank in advance!!!
|
|
|
|
|
I'm not sure, but I don't think so. Visual Studio 2005 has a built in web server, so you don't need IIS to develop.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
Ok, thank you
|
|
|
|
|
Why would you post this question in the VB forum when it is in no way related to VB?
Anyway, the answer to your question is yes. You can install IIS 7 by changing the Windows components in Control Panel.
Paul Marfleet
|
|
|
|
|
pmarfleet wrote: Anyway, the answer to your question is yes. You can install IIS 7 by changing the Windows components in Control
Because I used to write asp.net in vb.
pmarfleet wrote: Why would you post this question in the VB forum when it is in no way related to VB?
ok, thank you
|
|
|
|
|
Roath Kanel wrote: Because I used to write asp.net in vb.
You didn't state this in your original post. Anyway, the VB forum is for questions that specifically relate to VB(.NET). Your question was of a more general nature; it would have been more appropriate to have asked it in the ASP.NET or General Discussion forums. Posting your question in the right forum will greatly increase its chance of being answered.
Paul Marfleet
|
|
|
|
|
Guffa, right. VS2005 comes with a mini web server already, so you really don't need IIS. The only thing you would need it for is if your using IIS specific features.
But, the other poster is also correct. It doesn't matter what language you write your ASP.NET app in, it's STILL an ASP.NET app and should have been posted in that forum. The actualy language has very little to do with just about any ASP.NET question.
|
|
|
|
|
Hi
How can I set the font size of a control dynamically e.g. label. The problem is that the font size property is readonly.
Thanks
reman
|
|
|
|
|
you have to assign a new font to the font (not entirly shure) property:
dim f as new font ("Arial",12,...)
label.font = f
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 mistakes.
|
|
|
|
|
You can easily change the Font Size,Style,Family by using any of the following code:
Dim fdlg As New FontDialog()
If fdlg.ShowDialog = DialogResult.OK Then
Me.Label1.Font = fdlg.Font
End If
Alternatively you can change the font by using this code:
Dim _font As New Font("verdana", 24, FontStyle.Italic)
Me.Label1.Font = _font
Hope it helps.
AliAmjad (MCP)
|
|
|
|
|
please try following code for increase font size (Label)
Me.Label1.Font = New System.Drawing.Font("arial", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label1.Size = New System.Drawing.Size(208, 24)
Me.Label1.Text = "Label Font Size Change"
mitesh
|
|
|
|
|
In VB.NET programming how to pass one value(Alphanumeric) to other VB running application's Textbox on the on focus?
By
Arum
|
|
|
|
|
You can do this by Remoting.
AliAmjad (MCP)
|
|
|
|
|
First, are you in control of the source code for the VB app that's receiving this value?? Is it VB6 or VB.NET??
|
|
|
|
|
I have written program for certain applicatio with database in access.i want to create reports and want to ambed in vb.net windowsapplication file. how do i go for that>>?
jjj72
|
|
|
|