Of course I know what a torrent is. As far as scripting goes, I wouldnt even dream of trying to accomplish something like this with javascript.
Im thinking php or asp - i can do either (heck even perl!). I dont want to build from scratch either though. Can you mention some of these download...
Couldnt think of a good place to post this, please move as appropriate :)
I have 2 servers in separate locations - One is an ISP shared server, and the other sits in my house. I'm wondering if there is a way to host an identical file on both boxes and when a user wants to download the file I...
Another Windows gripe here.
Whenever I go to map a drive (start->right click 'my computer'->Map Network Drive...-> use different user name) it always has the wrong username in the combobox.
How can I either remove this or reset it to the username I want to use?
I'm thinking this is somehow...
Thanks for the replies and the link. Sirius, I should've tested the code before I put it up, this demonstrates it a little better-
Dim wha As String = "123+"
Dim huh As String = "12+3"
MsgBox(IsNumeric(wha) & " " & IsNumeric(huh))
"wha" comes back true, and I'm thinking it...
IsNumeric(123+) returns true, while
IsNumeric(1+23) returns false
Seems like a bug to me, can anyone provide insight why this is? Is there a better way determine that a string contains all numbers without looping through each character? TIA-
I have 4 datagridviews on a form, each sits within its own tab (tab control). I'm changing properties at run-time. All 4 have the same properties, so rather than writing the same code 4 times, is there some way to set up a loop that can handle this? TIA-
jr
OK wasn't so bad afterall:
Private Sub frmDataGrid_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim iCount As Integer
Dim x, y As Integer
Dim c As Control
Dim sCodes() As String = {"FIRST", "SECOND", "THIRD", "FOURTH"...
Thanks again. I understand what your code is doing, but I don't think it's quite what I need. I won't actually know how many entries there will be in the field. Could be one, or could be 10.
How can I create controls and their handlers at runtime?? I've seen dozens of examples of how to add one...
Qik-
Not sure what I'm doing wrong here, but the code you posted gives me the error-
Error 1 'TextBox2' is not a member of 'Repair.Form1'.
Seems like it's trying to modify an existing control. I think that if I can get the code to add controls and their event handlers at run time based off an...
Thanks for the quick response, yeah, I got that far. Guess I should have been more specific. I've gotten it down to where I have populated an array based on the cell value.
But I have no idea how to populate controls at run time based off this array other than it will involve some sort of 'for'...
I'm adding data into a dgv's cells via code. The data in the cell looks like "A/CV/D" (fields separated by forward slash. I would like for the user to be able to right-click on this cell and be presented with a small form that displays each individual field (i.e. A - CV - D) as well as a...
I've only been programming in .net for a few months now. I've managed to successfully create a few apps, mainly just UI's for a database. These have all been pretty straight forward procedure based apps: Retrieve data - display the dataset - update the db.
For some time now I've been hearing...
It would be helpful if you posted what specific error you are getting.
The code as posted works so I'm guessing your path-to-perl line is wrong-->#!/usr/local/bin/perl
Sorry, I'm not sure what it is for windows, but a quick google should help-
Thanks hoinz - sound advice.
Do you know if there's anyway to import my environment for this particular script? I'm guessing that it is setup this way for security reasons? I have tracked the error I was getting from above to a system command issued by the perl script. I gave the full path to...
I have a perl script running as a cronjob that is giving a strange error - 'xxxx: command not found', in the system email I get. I think this is odd since the script runs fine from the command line. I'm not the admin on this box, so the script is a crontab entry this also means I can't access...
Thanks Kevin, sound advice as per usual. I think I was unclear about #3. What I meant is: the script above has run, it displays ~
1) c111: english
2) e333: german
now I'm staring at blinking cursor. I want to be able to hit '1' and display the description ('desc') for the event hash that has...
Thanks Kevin MLDBM did the trick, got my hashes working reasonably well. Still learning though. Couple questions. The actual data is in a db, but here's a sample to give an idea of the setup-
#!/usr/bin/perl -w
my %events;
$events{ c111 } = {
tags => "english" ,
desc =>...
Still learning the ins/outs of hashes...this code seems to work, but not when reading from the db (uncommenting db lines). I understand the database stores data as a hash so perhaps I am missing something?
#!/usr/bin/perl -w
#dbmopen(%events,"events",0666)||die;
%events = (
q123 =>...
Thanks for all the great responses, learned just as much by reading them. I guess a regex's power is directly proportional to it's complexity!
Here's what I'm going with
$ln =~ s/(?<!Dr)(?<!Mr)(?<!Mrs)\b(\.|\!|\?) \b/$1 /g;
. I realize it's expensive, imperfect (and ugly?), but given the size...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.