|
hi...
can someone pls tell me if there is a way where i can read the text of a rich text field which is written each word ina different color...
the input text in the rtf is something like "this is the text"..where :
thi->red
s is->green
the t->blue
ext->yellow
is there anywasy i can read it and get all the colors and what letter are of what color???
tks a lot...
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
Hello! I just picked up the interest to programme in Visual basic. What developing tool or compiler, books can u advise?
Thanx.
|
|
|
|
|
use Microsoft Visual basic..its the best...
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
Mastering VB6 (published by Sybex) is a great one,,
howeever,it's a bit hard for a completer beginner
|
|
|
|
|
i agree...mastering VB is a greate book...even i use it...
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
Is it possible to create array of winsock ports in a VB DLL?
|
|
|
|
|
What do you mean by an "array of winsock ports"? What are they going to be used for? And which version of VB? And are you going to be using this DLL exclusively in another VB app or in a C/C++ app?
RageInTheMachine9532
|
|
|
|
|
Hi
I am pretty new to this, so I hope the question is not too dumb. I am trying to get a tab control to look halfway decent on a form with a color background. It seems I can set the backcolor on individual tabs, but I always end up with a grey border and tabs. Is there any way around this?
Thanks
Trevor Doble
|
|
|
|
|
I am writing a program using the tab control. For no reason it keeps re-arranging the order of the tabs, which has to be fixed by manually going into the collection and re-setting the order. Well now it decided to make my controls on a couple of the tabs dissappear? The controls still exist as far as vb is concerned because the defenitions and properties are still accessible, but they are not visible. I have tried bring to front/back, deleting things to see if they are behind, restarted vb, rebooted, moved things, and they are no where to be found????
any one had this problem, cuz it sucks.......
thanks
Ryan
hooleyrk@comcast.net
|
|
|
|
|
I'm trying to make a splash screen where the program opens with frmOpen, and the form stays up for 5 seconds, and then frmMain should open.
I know, it's probably silly, but I'm a total newbie in VB
Thanks,
kobi
|
|
|
|
|
go to project explorer window..right click on your project name->add->form->choose a splash form...
vb has a inbuilt splash form...
then set yourpoject properties startup object as frmSplash that u just added..
as for the five seconds
add a times set it to 5 seconds(which i think is a bit too long)
and on the routine of time unload the splash form and load your first form
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
I must be doing something very wrong, but I don't see any reference to splash screen in the new items I can add in the VB project.
There are lots of forms, source files, scripts, and other stuff, but no splash screen.
What I need is help withthe timer control.. how to code a " hold the form1 open for X seconds and then close form1 and open form2"
thanks,
Kobi.
|
|
|
|
|
Hold the current thread for a while..
Thread.CurrentThread.Sleep(5000)
This code waits for 5 seconds...
Free your mind...
|
|
|
|
|
does it allow for any action to be performed on the form during those 5 seconds? like clicking?
thx.
|
|
|
|
|
Do you wanna build splash screen ?, if so, why you wanna performs clicks on the form ?
Give it a try man, it won't take more than 5 minutes.
Free your mind...
|
|
|
|
|
I wish it was that simple..
I need to put an easter egg in the opening form.
I have a "about" button there, and I have a timer control set to 5000, with a ME.Close() code in the timer_elapsed(..) function, but I don't know how to open the next form I want to be opened.
|
|
|
|
|
i wouldn't suggest putting th emain thread to sleep....
cause when u show the splash screen the user must have the opetion to click the splash screen to make it go away..so i suggest using a timer and then on click put unload form
for splash screen...are u able to add it yet?
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
I go the main form to close, using a timer, but I don't know how to make a different form open after the "splash" screen closes.
|
|
|
|
|
OK. Your main form is NOT your splash screen. What you do in your main form is this: (From memory...so there may be some mistakes...)
Private Sub Form_Load()
Dim SplashScreen As New Form2
SplashScreen.Show()
End Sub
Now, Form2 is your splash screen. It has the timer on it and enables the 5 second countdown in it's Form_Activate or Form_Load event. When the timer expires, in it's event, just close the form:
Private Sub Form_Activate()
Timer1.Interval = 5000
Timer1.Enabled = True
End Sub
Private Sub Timer1_Timer()
Me.Close
End Sub
During the 5 second countdown, your Splash screen is able to respond to events just like any other form.
RageInTheMachine9532
|
|
|
|
|
Or for a quick VB.NET discussion on MSDN, try this[^]
RageInTheMachine9532
|
|
|
|
|
hi,
i havea rich edit box...i wanan save its contents to a random access file and then retieve it back...
i know how to save a normal edit box's contents...
but i cant save the contents of a rich edit box...
can someone help with codes or an example of HOW TO SAVE AND RETRIEVE back the contents of a rich edit box thru RANDOM ACCESS FILE??
tks a lot...
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
what i mean is when we save a piece of text we save it with the help of a record no. in a random access file....
put ... ... ... ...
somethig like that....
so when we retieve...
we can use that record number to retieve what was saved.,...
in case of rich edit box...were is the record number???
if rich edit box is just ONE OF THE THINGS that is saved inside a random access file..
then how do i make sure that i get the contents of the rich edit box when i retieve it and not anything else?????
tks...
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
Joseph R. Thomas wrote:
if rich edit box is just ONE OF THE THINGS that is saved inside a random access file..
then how do i make sure that i get the contents of the rich edit box when i retieve it and not anything else?????
You always put it a the exact same place in the file, so that you know where it will be, and then you put something at the end of the rich text section to tell you where it stops, or you tell at the beginning of the section how long the section is so you can tell where it stops.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
coul du gimm an example or something please???
i have been trying and have been unsuccessfull all the way... confused:
what if i have to write in a string then a type then a Rich edit bx content..???
i cant seem to make it work...
tks a lot..
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
Hi,
printing to the printer with vb.net
how do i print to the printer from right to left with vb.net
example in vb6:
Printer.RightToLeft = True
Printer.Print "abcd"
Printer.EndDoc
please send me small example
thanking you in advance
From:
yulyos@yahoo.com
|
|
|
|