Comatose 290 Taboo Programmer Team Colleague
Comatose 290 Taboo Programmer Team Colleague
Comatose 290 Taboo Programmer Team Colleague
Comatose 290 Taboo Programmer Team Colleague
Read Genesis 9:6
Content-Type: Inappropriate
"Woman who dance wearing jock strap, have make believe ballroom"
-=Confucius=-
I had it happen to me twice.... but it was only 2 of the same notification.
I don't think Revenge and Punishment have the same root meaning.
what's the URL?
Also in Murder and Killing
Jt: I'm not arguing that Saddam shouldn't have been brought to Justice.... certainly he should have.... but how I, and many other people in the U.S. feel, is that W. Used the attacks on 911 and the hunt for bin laden to go after Saddam. This "war on terror", which came about mainstream due to the attacks of 911, and this "OIF (Operation Iraqi Freedom)" have nothing to do with one another..... but many Americans were lead to believe, by our President, that somehow they were/are connected.
At the start of OIF, the majority of the population supported the war, and little by little, people started to speak out against it.... I just want to ask you, how much support for going into Iraq, do you think the President would have had, had 911 not happened?
It's definately a problem with the server-side app.
Good Job pG.
The package and deployment wizard is the way to go. It's simple, free, and works well. If you want to do it yourself, you'll have to use a language that doesn't require runtimes, and can build stand alones. Batch files work alright for this, since all you are doing is copying over the runtime files and registering the .dll's. Qbasic was also pretty handy for creating the mini-installer, which did the above mentioned, and then spawned the VB app. I stand next to pG's suggestion however, and recommend the package and deployment wizard.
You can reference one form from another by simply using it's name. If you want to make form2 visible for example form2.visible = true
will make form2 visible.
I use both *nix (in Various forms [Red Hat, Fedora, BSD, System V, debian, knoppix, and DSL [damnsmall]) and windows XP.
Truth is, I only use XP because I moderate the VB forum, so I have to have a windows box in order to test programs.
*Nods*
Nice.
Just out of curiosity, if document.write is depreciated, what method has taken it's place?
193
Nah, if nothing else it's kinda fun.
Welcome To Daniweb Steph.
well, you can check this way:
if (top.location != location) {
alert("In A Frame");
}
But I'm not sure if you can do it like a conditional compiler directive. I know you could write to the page with something fun like:
document.write("<Script Language='javascript' SRC='http://page.com/somefile.jsp'>");
but I know that you will need to open and close the document, and I don't know how well that will mingle with the rest of your HTML page....
I don't see the problem personally with having the header file referenced in each page, does it cause some kind of conflict error having it loaded for each page?
Let me know how it turns out for you.
<!-- I dunno -->
<HTML>
<HEAD>
<TITLE>Testing App</TITLE>
<SCRIPT LANGUAGE="Javascript">
if (top.location != location) {
/* In A Frame, Don't Load The Header File */
} else {
/* Not In A Frame, Load The Header File */
document.open;
document.write("<SCRIPT LANGUAGE='Javascript' SRC='http://www.yourpage.com/file.js'>");
document.close;
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#000000" TEXT="#FFFFFF">
Test
</BODY>
</HTML>
:cheesy: Thanx Beautiful Lovely Gracious Dani.
I'm sifting through your HTML and one area that firefox spots as a problem is here (near the bottom):
<img src='http://www.galacticwebdesigns.com/topsites/button.php?u=eltommyo' alt='Galacticwebdesigns's TopSites List' border='0' />
The Problem there, is that after the alt you use ' instead of ", so when you use Galacticwebdesign's (problem with ' in design's) it throws the html out of whack, so try this:
<img src='http://www.galacticwebdesigns.com/topsites/button.php?u=eltommyo' alt="Galacticwebdesigns's TopSites List" border='0' />
That's not going to fix your problem, but it's something I spotted. The same thing goes on (which is probably why firefox doesn't play it) in your javascript for the play button:
<input TYPE='BUTTON' NAME='darkplay' VALUE='Play!' OnClick='play(document.forms['form'].playlist);'>
The key to understanding this, is that in programming everything you open, you must also close. Here, you close what is opened, but before it's due time. Look at the onclick portion of the code here. You open the javascript statement with '. Then you get to the document.forms[ and you close the first ' with another '. Try this:
<input TYPE='BUTTON' NAME='darkplay' VALUE='Play!' OnClick="play(document.forms['form'].playlist);">
Now onto your play function.
function play(list)
{
if (playstate == 2) {
document.darkplayer.Play();
} else {
var snum = list.options[list.selectedIndex].value
document.darkplayer.FileName = songs[snum];
document.darkplayer.scr = songs[snum];
}
playstate = 1;
}
Ok, so if playstate is not equal to 2, then it sets snum to the song selected, set's the players filename and src properties, but uh, where does it tell the player to play again?
He's not asking how to get a zip password.... he's asking how to apply a password to a .zip file.
The "go to any page within the thread"
hmn, if you are quick enough, you could hit the print screen key on the keyboard (next to the f12 key). Then you click start, run... type in: mspaint, then click edit paste...... but that's kinda tedius. I'll keep looking around for a better solution (I know that you could install and use a kernel or driver debugger, like SoftIce, but I don't remember if you can still paruse the screen or not with it, and plus it's a lot of hassle) If I find a better solution, I'll post.
When I search all the forums (to get kind of an over-view of what's happening on the site) when a thread has more than 1 page of posts, I USED to be able to click onto the other page from that listing directly...... that doesn't seem to be there any more. Now I have to open the thread and manually go through the first page, and mess with all the other stuff (either the tree view box of posts, or the page listings at the bottom of page 1) to get there....... what gives?
The last IS the solution.... but I'm looking
Worse News yet, is that it doesn't even load in firefox :eek:
k... that didn't answer my questions though :)
What kind of internet connection speed are we talking about? What are the buffer sizes set to on windows media player? If you send me the URL, I can tell you how it runs on my box.
It's not that it's too crazy for me.... Daniweb simply isn't used to this kind of material.
I think on XP (I don't have a password, I just turn it on and get my desktop), but if you are set up to log on, with a user and password, after you zip the file, I think you can go to properties, advanced, and then click "encrypt contents to secure data", but I'm not sure if that's actually password protecting the zip file.
I'm not 100% sure what is happening in the PHP Script. It looks to me like it defines some variables, and has a constructor function (called Astro), which does nothing but assign the value 0 to the members of the astro class. 1 scalar and 5 arrays. Then, there is a function (method) called copyFrom, which takes a source value (I'm guessing it's another instance of the same class), and sets the current instances values to the same thing. While this is nifty, it's not plausible in Vb6. The reason, is because arrays are not allowed as public members of a class. So, even when passed, the values stay encapsulated, and can not be referenced from another class (there may be a workaround using addressof, but I haven't been able to pull one off yet).
The problem I have was how it was intermingled with the attacks on 911. I've not seen any conclusive evidence that supports Saddam as having ties to Bin Laden (in case you forgot, the culprit of the 911 Attack). If there were/are ties, I'd like to see those.... but I suppose taking someone's word for it is good enough?
Nothing as simple. Beep is merely a command that plays a sound through the PC speaker. It varies from system to system (though, it seems to have been synchronized by the os), and is usually used strictly for "oops" sounds. You could use the Play Sound Api Call, which gives you a little control over your sound, but is not quite as powerful as some might like. You could always use DirectX's DirectSound, which is much more powerful (but much more difficult).
He didn't say YOU did, he said SOMEONE did, but for your knowledge, you shouldn't do that kind of stuff.... Moderators are leaders. They have an intimate knowledge of the information that they moderate (for example, I'm a moderator, but not of the Viruses and Spyware section, I'm a Moderator in the Visual Basic Programming Forum). So, my point is that Moderation (at least here) isn't about if you are qualified to edit posts (to add code tags), mark things as solved, move mis-placed threads, and delete spam. It's the fact that you can answer most of the questions posted..... and if not, you can point them in the direction of the information.
It's not easy. You have to be able to spend a bit of time doing research, to figure out what's going on..... asking questions to get the information YOU need to help them..... Pick an area, become extremely knowledgable in that area, and answer posts. Period.
I just threw this code together, and it works in FireFox 1.5.0.3. and I just tested it with IE 6.0.2800.1106..... eah, it's long. Anyway, you should be able to extract the function from the HTML page, and use it as you will. I've attached the HTML so you can see how to call it:
<HTML>
<HEAD>
<TITLE>Image Swapper</TITLE>
<SCRIPT LANGUAGE="Javascript">
function swap(pic1, pic2)
{
var pic1 = document.getElementById("pic1");
var pic2 = document.getElementById("pic2");
var pic1src = pic1.src;
var pic2src = pic2.src;
pic2.src = pic1src;
pic1.src = pic2src;
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#000000" TEXT="#FFFFFF">
<FORM NAME="testfrm">
<IMG SRC="http://www.aftermath.net/~coma/tools/pingres.gif" ID="pic1" onMouseOver="swap('pic1', 'pic2');" />
<HR /><BR />
<IMG SRC="http://www.aftermath.net/~coma/tools/calc.gif" ID="pic2" onMouseOver="swap('pic2', 'pic1');" />
</FORM>
</BODY>
</HTML>
Let me know how that works for you.
Extract a PS file from a record set?
Right, I just did that for the readablity issue. I probably would have done the first suggestion, and just assigned scalars to the initial split.
I'll vote for you, if you can convince Narue to re-establish her position as a moderator..... otherwise <voice type="soup nazi">No Vote For You!</voice>
You want to split the data.... I'm guessing you are unsure how to extract the values from the split data... so add this to the above:
$firstpart = $line[0];
$secondpart = $line[1];
Someone correct me if I'm wrong, but that will assign the first and second field to variables. Now you can test if ($firstpart eq "Y") {
and then do your replace on the file......right?
While I push for pulling out of Iraq, you have to ask yourself.... what happens if we leave? Do you think it would be right to show up, take over, and bail? Do you believe that we have trained enough Iraqi Police and Military to be able to stand up on it's own?
Nice.
Yup, you are absolutely right. So, you got it figured out?
Technically, you could have "gone the other way", but when doing a for loop, it's default behavior is to count up. So, behind the scenes there is a test condition being applied to the for loop.... for example: for I = 0 to 9
is going to say "ok, is I less than 9" if the answer is yes, then do the stuff between for and next. Then, it's going to Add 1 to I, and say "ok, I is 1 [then 2 and 3, etc, etc], is it less than 9?" It will continue this process until I becomes 9. When you say: for I = 10 to 1
, the programming language isn't going to change it's behavior, just because you decided to change the numbers.... so, dutifully, it says: "ok, I is 10 right off the bat, is I (10) less than 1 (or -1 or whatever)". Naturally, 10 is not less than 1 or negative 1.... or even 9, so the for loop never actually even runs once. It just compares, sees that 10 is not less than -1, and says screw it, and moves on.
You can change the behavior of the for loop, however, to decrement instead of increment (to count down instead of up) but be advised, that this is not the standard way of doing things. Meaning, if you ever share your code with someone, or you end up working in a team setting, someone might have a more difficult time …
You can change the dtpicker's display value by:
DTPicker1.Format = dtpLongDate
However, if you actually have a textbox, AND a DtPicker, and you want them to display the same date in different formats, then you'll need to do some string manipulation.
It's not. There are things happening in that code that VB can't replicate the same way pascal does it's thing. If you give me a stronger idea of what the program is doing (the entire program) then I might be able to get a feel for how to restructure it for VB, but with the code provided above, requires a stronger understanding of pascal than I know.... you might consider looking into user defined types, and arrays..... maybe it's creating an array of user defined types, and then deleting them.... I dunno.
Try changing your for loop from a reverse count to a normal count:
Private Sub Form_Load()
File1.Path = "C:\Images"
File1.Refresh
If File1.ListCount > 0 Then
For i = 0 To File1.ListCount - 1
Combo1.AddItem File1.List(i)
Next
End If
End Sub