Click here to Skip to main content
15,902,777 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to skip a few lines while reading from a text file? Pin
ESJY30-Dec-03 4:26
ESJY30-Dec-03 4:26 
AnswerRe: How to skip a few lines while reading from a text file? Pin
Anonymous30-Dec-03 8:16
Anonymous30-Dec-03 8:16 
GeneralRe: How to skip a few lines while reading from a text file? Pin
ESJY1-Jan-04 1:05
ESJY1-Jan-04 1:05 
QuestionHow Can be redistributed with my setup the .net framework (Dotnetfx.exe). Pin
jlizardo30-Dec-03 3:34
jlizardo30-Dec-03 3:34 
AnswerRe: How Can be redistributed with my setup the .net framework (Dotnetfx.exe). Pin
Juergen Posny30-Dec-03 3:39
Juergen Posny30-Dec-03 3:39 
GeneralRe: How Can be redistributed with my setup the .net framework (Dotnetfx.exe). Pin
jlizardo30-Dec-03 4:36
jlizardo30-Dec-03 4:36 
GeneralDrawing regression line graph from points Pin
sunny027930-Dec-03 1:08
sunny027930-Dec-03 1:08 
GeneralCircle geometry Pin
cnurse30-Dec-03 0:47
cnurse30-Dec-03 0:47 
Boy! I wish I paid attention in maths class instead of reading Visual Basic Programmer's Journal! (yeh right!)

Can any kind soul give me a function which returns a Point object, where the point is a set number of degrees around a circle which fits inside a given rectangle. I know that's an odd way to describe it!

Dim lRect As Rectangle = new Rectangle(0,0,100,100)

Dim lPoint1 As Point = PointOnCircle(lRect,45)
Dim lPoint2 As Point = PointOnCircle(lRect,135)

The above two calls will acquire Points where the X,Y coordinates are at 45 degrees around the circle (which fits in a rectangle of 100,100) and 135 degrees respectively.

The bit that gets me is the X= some sin/cos nonsense and Y= the other bit (and those bl**dy radians are involved aren't they). Maybe I did keep one eye on the blackboard.

I would be prepared to have your babies if you can pull this one off for me (which I am just sure you are dying to know how I will manage that!).

Thanks!

Ps: Sorry for all the !!! in here, well it is New Year and all that!! oops! damn! can't stop it!

Nursey
GeneralSolved it Pin
cnurse30-Dec-03 2:58
cnurse30-Dec-03 2:58 
GeneralHelp me How Exacrly i can use the pathGradiant brush Pin
EmanAli29-Dec-03 19:14
EmanAli29-Dec-03 19:14 
GeneralRe: Help me How Exacrly i can use the pathGradiant brush Pin
cnurse30-Dec-03 4:40
cnurse30-Dec-03 4:40 
GeneralRe: Thanks for the help Pin
Anonymous30-Dec-03 17:33
Anonymous30-Dec-03 17:33 
GeneralRe: Thanks for the help Pin
cnurse31-Dec-03 19:23
cnurse31-Dec-03 19:23 
GeneralOptionButton and recordset Pin
javad_p29-Dec-03 19:06
javad_p29-Dec-03 19:06 
GeneralRe: OptionButton and recordset Pin
Niels Penneman9-Jan-04 7:11
Niels Penneman9-Jan-04 7:11 
QuestionHow can I add different application in to a single deployment package? Pin
Member 76608429-Dec-03 18:49
Member 76608429-Dec-03 18:49 
GeneralOppinions of serialization Pin
cnurse29-Dec-03 13:51
cnurse29-Dec-03 13:51 
GeneralAPI Calls or VB.NET Code Pin
Don Hamilton29-Dec-03 11:50
Don Hamilton29-Dec-03 11:50 
GeneralRe: API Calls or VB.NET Code Pin
Niels Penneman9-Jan-04 7:14
Niels Penneman9-Jan-04 7:14 
GeneralRe: API Calls or VB.NET Code Pin
Niels Penneman9-Jan-04 7:15
Niels Penneman9-Jan-04 7:15 
GeneralDataGrid Text Wrap Pin
betterc29-Dec-03 5:57
betterc29-Dec-03 5:57 
GeneralRe: DataGrid Text Wrap Pin
Bernhard Hofmann13-Feb-04 1:01
Bernhard Hofmann13-Feb-04 1:01 
GeneralRe: DataGrid Text Wrap Pin
Bernhard Hofmann13-Feb-04 1:24
Bernhard Hofmann13-Feb-04 1:24 
GeneralRe: DataGrid Text Wrap Pin
Bernhard Hofmann25-Feb-04 0:46
Bernhard Hofmann25-Feb-04 0:46 
Generalerror of define a instance Pin
Frank Fan28-Dec-03 21:54
Frank Fan28-Dec-03 21:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.