|
solutionsville wrote: disable the RTB control until the routine is complete
Good idea. Wish I'd thought of that!
I suppose the code was chugging along putting in lots of the rtf commands and each time the control had to redisplay itself. Only having to do that one time would account for the big time difference.
Good luck with your project!
BDF
|
|
|
|
|
plz can someone help me to get a FREE version of infragistics NetAdbantage for .Net from onother source of "www.infragistics.com" ?
|
|
|
|
|
well...I know that there is an evaluation license for NetAdvantage, but I haven't ever had to deal with it because I have access to an Enterprise license. ...Is there any specific reason why you don't want to get the eval versions from infragistics.com?
"I need build Skynet. Plz send code"
|
|
|
|
|
I presume because the eval versions time out after X days or are crippled in some way.
--
You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer
|
|
|
|
|
I want that after the last no. I should get a full stop instead of a comma.Pl correct my code.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ch11Ex03yield
{
public class Primes
{
private long min;
public long max;
public Primes()
: this(2, 100)
{
}
public Primes(long i, long j)
{
if (i < 2)
{
min = 2;
}
min = i;
max = j;
}
public IEnumerator GetEnumerator()
{
for (long possiblePrime = min; possiblePrime <= max; possiblePrime++)
{
bool isPrime = true;
for (long possibleFactor = 2; possibleFactor <=
(long)Math.Floor(Math.Sqrt(possiblePrime)); possibleFactor++)
{
long remainderAfterDivision = possiblePrime % possibleFactor;
if (remainderAfterDivision == 0)
{
isPrime = false;
break;
}
}
if (isPrime)
{
yield return possiblePrime;
}
}
}
}
class Program
{
static void Main(string[] args)
{
Primes myPrimes = new Primes(2,1000);
foreach (long i in myPrimes)
Console.Write("{0}{1} ",i,
(i==myPrimes.max )?".":",");
Console.ReadKey();
}
}
}
|
|
|
|
|
System.Console.Write ( "\b." ) ;
|
|
|
|
|
...or you could just do that
"I need build Skynet. Plz send code"
|
|
|
|
|
for One...you're gonna wanna repost that code placed inside pre tags. ...That code is not illegible as is, but it's just an eyesore.
For two...well, format your code first
btw...you wouldn't happen to know how to build Skynet would you?
"I need build Skynet. Plz send code"
|
|
|
|
|
Did you read the reponses from when you posted this earlier?
|
|
|
|
|
Alaric_ wrote: you wouldn't happen to know how to build Skynet would you?
Hah! If you think we're going to do your homework for you, sonny jim, you've got another thing coming!
I do have a few pointers for you, though:
public class BABaracus : HardAsNails<br />
{<br />
<br />
private murdoch = new murdoch();<br />
private hannibal = new hannibal();<br />
<br />
public BABaracus()<br />
{<br />
<br />
if(murdoch.IsFool)<br />
{<br />
this.StartPitying();<br />
}<br />
else<br />
{<br />
this.DrinkMilkContaminatedWithSleepingPills();<br />
}<br />
<br />
}<br />
<br />
....<br />
.....<br />
......<br />
<br />
}
Hop this helps
"It was the day before today.... I remember it like it was yesterday."
-Moleman
|
|
|
|
|
I did read the response
Console.Write("\b.") and tried it, it didnt work. I was getting the comma as well as well the full stop. But later I realised that "\b" stands for a backspace. So I tried
Console.Write("\b\b.") and it worked. It was a simple solution.Thanx buddy.
|
|
|
|
|
|
My boss told me I have to build Skynet by Monday...but I'm a BSA. Does anyone have any experience programming for neural net processors for the T-101? I think it uses .NET HELP HELP HELP!!! (hehehe) ....*sigh* and yes, I've searched Google!!
"I need build Skynet. Plz send code"
|
|
|
|
|
...I don't understand how this programming stuff is so hard!! I have an MCSD and 35 years Java experience!!
"I need build Skynet. Plz send code"
|
|
|
|
|
Aaaaah, so that's how it'll happen; someone in the future will find this post, write Skynet, and send it back to you... on a floppy.
|
|
|
|
|
seriously...I'm a BSA. I know all. ...Which is why I MUST have this power!!!
"I need build Skynet. Plz send code"
|
|
|
|
|
Alaric_ wrote: BSA
Boy Scouts of America?
The (defunct?) motorcycle manufacturer?
|
|
|
|
|
Officially: business systems analyst
Unofficially: Bull S**t Artist
(Basically, it's a job title that was made up for people that "slide" into IT from a non-technical department)
"I need build Skynet. Plz send code"
|
|
|
|
|
Hello again Kyle.
--
You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer
|
|
|
|
|
What you do make fun vb? VB roxxors my soxxors
"I need build Skynet. Plz send code"
|
|
|
|
|
You could always try to add a reference to Human.Brain.dll in .NET v666 (codename "Judgment Day") to your project
and the following code should work just fine
using System;
using Human.Brain;
namespace skynet
{
class skynet : Human.Brain.TotalFunctionallity
{
public overide void goodnesslevel(ref humangoodnessfactor hgf)
{
if(hgf.value != 0)
{
hgf.value=humangoodnessfactor.pureevil("Kill all humans");
}
base.Intelligence.run(ref hgf);
}
}
}
|
|
|
|
|
|
Isn't Skynet one of those global warming solutions? I thought I read today in the Soapbox that Global warming doesn't exist anymore due to some amazing science. So tell your boss, you don't need it anymore.
Hogan
|
|
|
|
|
Global warming turned out to be a Y2K glitch in NASA's temperature data
|
|
|
|
|
I think your problem is that you are seeing this as a software problem and not a hardware problem.
a) take a piece of Sky,
i. better 2 pieces for redundancy in case of sky crashing
b) then cable together
i. Optical for speed, tuned to blue frequencies
ii. or copper for cost and visibility
c) connect power,
i. lightening bolts serve purpose well - need backup tho
d) Create USB port interface to sky for non-sky based equipment.
i. Connector A plugs into equipment,
ii. Connector B plugs into Sky - hmm, this step already completed
I did this as thesis project. Next lightening storm, hang USB cable out window & plug into sky, put on headset, wait for lightning. You can hear the network traffic.
No software required.
Lets me knew if u needs more hep.
Gary
|
|
|
|