Click here to Skip to main content
15,913,027 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCrystal Report Query Engine Error..... [modified] Pin
santhoshmohan4-Sep-07 19:58
santhoshmohan4-Sep-07 19:58 
QuestionTablestyles for Datagrid Pin
Sachin Gokhale4-Sep-07 18:53
Sachin Gokhale4-Sep-07 18:53 
AnswerRe: Tablestyles for Datagrid Pin
Sathesh Sakthivel4-Sep-07 20:44
Sathesh Sakthivel4-Sep-07 20:44 
AnswerRe: Tablestyles for Datagrid Pin
Dave Kreskowiak5-Sep-07 2:25
mveDave Kreskowiak5-Sep-07 2:25 
GeneralRe: Tablestyles for Datagrid Pin
Sachin Gokhale5-Sep-07 7:02
Sachin Gokhale5-Sep-07 7:02 
GeneralRe: Tablestyles for Datagrid Pin
Dave Kreskowiak5-Sep-07 8:09
mveDave Kreskowiak5-Sep-07 8:09 
AnswerRe: Replace Contents Pin
Dave Kreskowiak5-Sep-07 2:24
mveDave Kreskowiak5-Sep-07 2:24 
QuestionFRACTAL FORMULA HELP REQUESTED Pin
cyndy_northrup4-Sep-07 17:41
cyndy_northrup4-Sep-07 17:41 
FRACTAL FORMULA HELP REQUESTED


Hey folks!

I am hoping to experiment with some simple fractal formulas in VB. I have some running ok, but some
I seem to be having trouble with. I am using VB 4.0, and am hoping someone out there in cybertopia
might be able to share insights or code snippets? I don't need anything fancy like complex graphic
rendering of the fractals, although if you are excited about this stuff and feel ambitious I'm happy to
check out any graphic stuff you might want to share.

Simply, all I'm looking for is simple number in and number out routines, i.e. you stick a number(s)
into the formula, set the iteration ceiling and then watch what ever numbers get pumped out, thats it really.

So we might have say two text boxes for inputs,

textbox1 = any number value, i.e. 129
textbox2 = any number value, i.e. 234

Then we feed those values into the fractals formula loop and for every interation the newly generated
values get dumped to some other textbox.


=================

Barry Martin - Hopalong

This one is probably one of the most interesting ones, it seems Barry Martin released a really old dos version called hopalong
and there are various exe takes on this floating about, but most of them don't work anymore because they are so old.

I had trouble with this one because I don't really understand the "sign" function, and the VB 4 sign function doesn't seem
to work in a way thats compatible with the formula, but then I'm just as likely ignorant of how to properly apply it.


2 plots resemble organic structures like cells

xnew=y-sqrt (abs(b*x-c))sign(x)
ynew = a-x

different values for constants a,b,c give different patterns and periodicities
========

For the Lorentz function, I'd like to get a really simple rudimentary one working, but I'm also curious about what would happen
if we had two parallel Lorentz functions working together, one accepting outputs from the other and then feeding back into the first one,
i.e.

Lorentz function (1) outputs cycle iteration values to Lorentz (2)

And then Lorentz(2) inputs to Lorent(1) and so on.....

By the way, does anyone know if a single Lorentz function can operate on more than the default # of inputs

Lorentz Function


xnew = x+d*a*(y-x)
ynew = y+d*(x*(c-2)-y)
znew = z+d*(x*y-b*z)

where a,b,c,d are contants, i.e. values of 10,8/3,28,0.003
========

I tried coding this one also, but instead of getting a rich set of chaotic values all I got were two values
that repeated exactly the same over and over again????

Mandlebrot

z ; iterate via ; z^2 + c

==========

For this one I tried implementing this but for some reason, when I coded this to VB, it only generated
the same values over and over again.... no chaotically generated values......
(folds and remaps oval onto itself
)

Michael Henons;
Germaine to stellar orbits

xnew = y + 1 - 1.4 * x^2

ynew = 0.3 * x



AnswerRe: FRACTAL FORMULA HELP REQUESTED Pin
The ANZAC4-Sep-07 19:53
The ANZAC4-Sep-07 19:53 
Question[Message Deleted] Pin
Cedrickdeorange4-Sep-07 10:37
Cedrickdeorange4-Sep-07 10:37 
AnswerRe: recent files menu items Pin
Dave Kreskowiak4-Sep-07 16:39
mveDave Kreskowiak4-Sep-07 16:39 
GeneralRe: recent files menu items Pin
Dave Kreskowiak5-Sep-07 2:22
mveDave Kreskowiak5-Sep-07 2:22 
GeneralRe: recent files menu items Pin
Cedrickdeorange5-Sep-07 4:59
Cedrickdeorange5-Sep-07 4:59 
GeneralRe: recent files menu items Pin
Dave Kreskowiak5-Sep-07 5:18
mveDave Kreskowiak5-Sep-07 5:18 
GeneralRe: recent files menu items Pin
Cedrickdeorange5-Sep-07 6:14
Cedrickdeorange5-Sep-07 6:14 
GeneralRe: recent files menu items Pin
Dave Kreskowiak5-Sep-07 8:36
mveDave Kreskowiak5-Sep-07 8:36 
AnswerRe: recent files menu items Pin
Thomas Stockwell5-Sep-07 7:57
professionalThomas Stockwell5-Sep-07 7:57 
QuestionText file as code Pin
cstrader2324-Sep-07 9:10
cstrader2324-Sep-07 9:10 
AnswerRe: Text file as code Pin
Christian Graus4-Sep-07 9:24
protectorChristian Graus4-Sep-07 9:24 
AnswerRe: Text file as code Pin
Guffa4-Sep-07 10:02
Guffa4-Sep-07 10:02 
GeneralRe: Text file as code Pin
cstrader2324-Sep-07 10:15
cstrader2324-Sep-07 10:15 
Questionlink label problem Pin
bapu28894-Sep-07 9:02
bapu28894-Sep-07 9:02 
AnswerRe: link label problem Pin
Rizwan Bashir5-Sep-07 0:27
Rizwan Bashir5-Sep-07 0:27 
QuestionRe: link label problem Pin
bapu28895-Sep-07 8:15
bapu28895-Sep-07 8:15 
QuestionEdit A Subcontrol within a control Pin
Polymorpher4-Sep-07 9:02
Polymorpher4-Sep-07 9:02 

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.