Search:
Type: Posts; User: minitech
Search:
Search took 0.37 seconds.
-
Looking back on this: don’t use it. It shouldn’t work. I hope it doesn’t work; if it does, it does by magic. Try an RTF parser or something.
-
I lost my copy of the book. =(
-
Sorry about that. FWIW: it should work anyways until you try to actually put something bigger than an Integer in, and Alias has never really been necessary.
This is what I use now:
...
-
Well, I think we were actually just saying the article is wrong, Lisp or no Lisp.
Anyways, which arguments are like that? It’s a bit to be expected that everything is going to be “VB is great” in...
-
Yes, I’d say that’s too much, but it really depends on what it does. What does it do? :)
I’ve never had a typo in JavaScript that didn’t throw an error, but that’s just kind of luck. The potential...
-
Doubtful that it’s going to be replaced, seeing as everything is built in it. It can be, is being, and has been extended – see ECMAScript 3–6 – but I actually think many of the proposed changes for...
-
Despite the fun new features that JavaScript-targeting compilers like CoffeeScript, TypeScript, Elm and whatnot are adding, I’m still firmly of the opinion that anyone doing that is writing too much...
-
Actually, that layout makes a lot more sense if you assume it was built in Lisp.
http://i.imgur.com/8p7ZZij.png
-
I found that section horribly inaccurate. First, he talks about “the most powerful language”, which is a concept that isn’t very well defined. What does that even mean? When I read that, I jump to...
-
Yep! As formlesstree4 said, $ mono whatever.exe works 90% of the time. Anything else is usually due to Windows API calls.
-
-
Am I too late?
Two things that were mentioned at some points in time:
VB.NET isn’t fast enough for code competitions – not usually true. Or really ever true. Sometimes you can skate by with...
-
Well, you haven’t told it to display anything. Want to put it in a message box?
MessageBox.Show(Sum.ToString())
It’s also probably a really good idea for you to turn Option Strict On; Sum and...
-
I think the modern way is
Dim path = "\ProgramData\Backup\Backup" & ListBox1.Items.Count & ".txt"
IO.File.WriteAllLines(path, ListBox1.Items)
Er, does that work? If not:
-
(Does that look like a flickering lightbulb?) Anyways, please ask this on the main VB.NET forum. I might have time to continue this tutorial now and include animation in a bit, but you’re not going...
-
-
-
Please ask about that on the main Visual Basic .NET forum.
-
I’m not spamming your thread. You can make your own OrdinalSuffix extension. I was just saying that custom date formats are built into .NET; you don’t have to format it one way, split it, shuffle it,...
-
What he said. Except
Return String.Format("{0:d}{1} {0:MMMM yyyy}", d.Day.OrdinalSuffix(), d)
if that works. I don’t know.
-
Re: toFullDateString: Wouldn’t something like this work?
Return Me.Day.OrdinalSuffix() & Me.ToString(" MMMM yyyy")
-
So where did you insert it?
-
Well… why? Also, it’s even more fragile.
-
It’s not the split function. Give Regex.Match a try.
-
Try a regular expression.
Secure Paste ID ([^<]+)
-
Shouldn’t that be something more along the lines of
Dim root As String = Directory.GetDirectoryRoot(Directory.GetCurrentDirectory())
Using w As New StreamWriter(Root &...
-
Passphrases are the answer to everything. Failing that, KeePass. Failing that, sticky notes. Or just keep using this, since it’s pretty standard.
-
You’re redistributing the DLL if you include it in your project, yes.
-
That’s not what the C# code does, and the equivalents would be Is and IsNot, respectively.
-
Assigning to src still isn’t meaningful. What are you trying to accomplish? Setting the <iframe>’s src?
JavaScript and HTML are separate things. You need to select the <iframe> somehow (give it an...
-
src= "http://maps.google.com/maps?q=" + position.coords.latitude + "%2C" + position.coords.longitude + "&output=embed";
Where does src come from?
-
That’s text, not a link. What part of your code generates a link?
-
-
-
Are you talking about a custom control? All you have to do is build your project, and the control will show up in your toolbox.
-
Override it as a method and don’t do anything if you don’t want to do anything; InitializeNewComponent is virtual
You could translate it to VB.NET, which is the better language anyways; there are...
-
Aha! Thanks for pointing out STD_OUTPUT_HANDLE. I think the definition is
Public Const STD_OUTPUT_HANDLE As Short = -11
-
Probably not the main issue, but I don’t think you can use a String like that. Try a StringBuffer with an appropriate initial size, or a Char(). Also, try modifying GetStdHandle to return an IntPtr.
-
You should keep an internal state. It’ll be shorter than all this, more efficient, and probably more reliable, especially if you ever decide to add some kind of feature that interacts with a part of...
-
18,446,744,073,709,552,000 is 18 quintillion. :)
|
Click Here to Expand Forum to Full Width
|