|
hello
U can use the tryparse function to check if it is not a number.
Signature has been encrypted
|
|
|
|
|
Hi Wachilll..
And how do i use a tryparse? A kinda new to vb.net
I would really appreciate a little more detail....
|
|
|
|
|
x-Taka-x wrote: And how do i use a tryparse? A kinda new to vb.net
Have you read the documentation for it? Have you even attempted to look up the documentation?
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
My website
|
|
|
|
|
hi all
i have an image, i have a string and i m trying to merge both of them together to make one image and save it in a folder.
does some one has any kind of idea about the job
thnx.
help everyone
|
|
|
|
|
Create a Graphics object for the image (using Graphics.FromImage), and use that to draw the text on the image.
---
single minded; short sighted; long gone;
|
|
|
|
|
thanx for help
i have that by making a new image using image, string (text) , and other things
and save them as one image at specified path.
help everyone
|
|
|
|
|
He just told you how to do it. Do you always ignore the answers you're given??
|
|
|
|
|
i've made a quick example for you, i think people forget they come on these boards to help people out when they start giving out sharp answers instead of just helping with a code snippet that only takes a moment to make.
Code:
<br />
<font face="Courier New" size="2"><font color="#008000"> '/// load original image from file as a Drawing.Image...</font><br />
<font color="#0000FF"> Dim</font> img <font color="#0000FF">As</font> Image = Image.FromFile("<a href="file:///C:/Image1.png">C:\Image1.png</a>")<br />
<font color="#008000"> ' <font color="#0000FF">Dim</font> g <font color="#0000FF">As</font> Graphics = Graphics.FromImage(img)<br />
<font color="#008000"> '/// draw the String on the image...</font><br />
g.DrawString("some text on an image!", <font color="#0000FF">New</font> Font(<font color="#0000FF">Me</font>.Font.Name, 16, FontStyle.Bold), <font color="#0000FF">New</font> SolidBrush(Color.Red), 10, 10, <font color="#0000FF">New</font> StringFormat(StringFormatFlags.DirectionVertical))<br />
<font color="#008000"> ' img.Save("C:\testing.jpg", Imaging.ImageFormat.Jpeg)<br />
<font color="#008000"> '/// clean up...</font><br />
g.Dispose()<br />
img.Dispose()<br />
<font color="#008000"> ' PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage<br />
PictureBox1.Image = Image.FromFile("C:\testing.jpg")</font><br><br />
hope it helps .
<font color="blue">Csharp</font> me = (<font color="blue">Csharp</font>)Dynamic_Sysop; <font color="#008000">// My Signature.</font><br><font color="#008000">$twins</font> = <font color="#008000">me.twins</font>(<font color="#800080">"Taylor"</font> , <font color="#800080">"Delta"</font>); <font color="#C0C0C0">// My twin daughters.</font><br>echo <font color="#008000">$twins</font>;
|
|
|
|
|
And what do I want with a code sample? I'm not the one looking to mark an image.
You missed the point of my post. He asked a question, got the description of how to do it, and then repeated his question, without saying anything about what he was having a problem with.
All to often, there are people who come here and just want the code written for them without having to lift a finger themselves to write it. That's why he didn't get code sample. He has to show that he at least attempted to solve the problem on his own. Then we'll go through and show him where he went wrong.
|
|
|
|
|
|
Maybe you didn't know this, but the only person who gets an email that you responded to a message is the person you are replying to. Everyone else in the chain does not get a notification that you posted anything. So, I'm the only who got a notification that you responded to my post.
|
|
|
|
|
i m sorry
if anything i said is supposed to be worng. i m not trying hurt anyones imotions.
please don't take my statement the other way round
again sorry
help everyone
|
|
|
|
|
thank u very much
it really works
help everyone
|
|
|
|
|
After deployment of the project I want to take server name dynamically fro SQL Connection.
How to do that???
|
|
|
|
|
its very simple , yaar!
in connection string u palce a string Variable for server name and pass values to the string variable from a Form with single text box before the Login from or spalsh screen(be sure that this form should popped out only when server name is not provided, once server name is provided this Form should not be popped out) i done this
Reply, How it helped
prabumj
prabumj@gmail.com
|
|
|
|
|
do u know how to create splash screen n vb.net..plse hlp
cheers..
|
|
|
|
|
In .Net 2005 splash screen is there, u just go and see in Add New Item. u will see that Login Form Too.
|
|
|
|
|
How to get datetime type of window system ? (ex:dd/MM/yyyy)
|
|
|
|
|
if you want to change the format you display on the screen then use
folloeong function
e.g you want to display te date in the textbox then
textbox.text=format(now.date,"DD/MM/yyyy")
In the same fashion you can use any format of the date.
|
|
|
|
|
No that mean.
I want to get window system datetime type, not format.
(e.g: dd/MM/yyyy or d/M/yy or, ...)
|
|
|
|
|
Van Thao wrote: I want to get window system datetime type, not format.
(e.g: dd/MM/yyyy or d/M/yy or, ...)
Those are date formats. Don't you want that?
There is only one DateTime type, it's System.DateTime and it's specified in the mscorlib.dll. It's the same for all systems, so there is no special DateTime type for any specific system.
If you want information about the current date format for the user, use CultureInfo.CurrentCulture.DateTimeFormat to get the DateTimeFormatInfo object that describes the date format.
---
single minded; short sighted; long gone;
|
|
|
|
|
How to use "CultureInfo.CurrentCulture.DateTimeFormat"
Thanks Guffa.
|
|
|
|
|
You can read the properties from it.
What is it that you want to do?
---
single minded; short sighted; long gone;
|
|
|
|
|
How to Create Month Calender as look like Outlook 2003[style].
Please Help me
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
how can i put tabcontrol on the top. is tht posible? please help. thanks
|
|
|
|