Forum: Geeks' Lounge Apr 5th, 2009 |
| Replies: 16 Views: 1,371 Heavens Yes! Watch this thread get deleted... just like my tutorials. |
Forum: DaniWeb Community Feedback Mar 17th, 2009 |
| Replies: 14 Views: 1,649 Well, the moderators who are supposed to strip those posts out would need to keep saging off..... posting new questions in old threads isn't supposed to happen (or receive any kind of answer other... |
Forum: Perl Mar 4th, 2009 |
| Replies: 3 Views: 659 I would make the .pl file, look for a temp file. Something like clpdata.dat or something, and have perl write the entry to the temp file. Then, I would have it scan the process list for other... |
Forum: C++ Mar 3rd, 2009 |
| Replies: 2 Views: 1,285 You have gcc (The C compiler) installed, but not g++ (The C++ compiler). cc1plus is the binary you need, but it comes bundled with g++ (not gcc). Look for build-essential, or at a prompt apt-get... |
Forum: Visual Basic 4 / 5 / 6 Mar 3rd, 2009 |
| Replies: 6 Views: 523 dim x as string
x = "hello world"
if instr(1, x, " ") <> 0 then
msgbox "yeah, space."
else
msgbox "no sir!"
end if |
Forum: C++ Mar 2nd, 2009 |
| Replies: 6 Views: 1,093 *waves his hand like a Jedi*
You want to code an open source active directory clone..... |
Forum: C++ Mar 1st, 2009 |
| Replies: 12 Views: 637 I wonder if somehow the C++ program is introducing an EOF character prematurely. I strongly doubt it's a crlf \n issue (that is linux uses a different mechanism for new lines than does DOS/Windows).... |
Forum: Perl Mar 1st, 2009 |
| Replies: 2 Views: 1,226 The problem is, the method you use to read from the file handle, slurps the file, and then iterates over each line by replacing $line with $_. If you really want to prove this, you can throw the... |
Forum: Shell Scripting Mar 1st, 2009 |
| Replies: 4 Views: 809 Alright, let me give you the break down. Typically when people refer to shell scripting they refer to *nix only. You don't shell script in windows. In windows you can write a batch file... in... |
Forum: C++ Feb 22nd, 2009 |
| Replies: 3 Views: 921 *mumbles something about find_last_of* |
Forum: C++ Feb 18th, 2009 |
| Replies: 11 Views: 939 *Mumbles something about std::reverse()* |
Forum: C++ Feb 16th, 2009 |
| Replies: 7 Views: 553 Antibiotics anyone..... antibiotics? |
Forum: VB.NET Feb 16th, 2009 |
| Replies: 19 Views: 46,526 |
Forum: C++ Feb 12th, 2009 |
| Replies: 7 Views: 549 |
Forum: C++ Feb 10th, 2009 |
| Replies: 4 Views: 470 First, you don't want your instructor to know that you simply copied the code from this web page (http://www.macs.hw.ac.uk/~pjbk/pathways/cpp1/node42.html). Getting assistance by using the page is... |
Forum: Visual Basic 4 / 5 / 6 Feb 10th, 2009 |
| Replies: 3 Views: 328 Even though I strongly empathize with your situation, the code that you are requesting is highly illegal, and has major moral implications as well. As the site rules (sometimes unfortunately)... |
Forum: Visual Basic 4 / 5 / 6 Feb 7th, 2009 |
| Replies: 3 Views: 1,348 |
Forum: VB.NET Feb 4th, 2009 |
| Replies: 1 Views: 363 dim somedate as string
somedate = "2/3/2009"
parts = split(somedate, "/")
if ubound(parts()) < 2 then
msgbox "Error Parsing Date String"
exit sub
else
mymonth = somedate(0)
... |
Forum: C++ Feb 2nd, 2009 |
| Replies: 7 Views: 467 What The Hell? Please don't post crappy advice. |
Forum: C++ Feb 1st, 2009 |
| Replies: 3 Views: 326 While I fully agree with you here, his question was about getting access to the individual characters in the string... not about how to proceed with the rest of his project. ;) |
Forum: C++ Jan 30th, 2009 |
| Replies: 3 Views: 190 One problem, is that you didn't create your own thread.... using someone else's thread to post your question is a sure way to get flamed and not get the answer you desire. It also helps to use code... |
Forum: VB.NET Jan 30th, 2009 |
| Replies: 3 Views: 747 Call "c:\windows\system32\dfrg.msc" with shell or system processes or wsh.run or shellexecute. |
Forum: VB.NET Jan 25th, 2009 |
| Replies: 3 Views: 895 http://msdn.microsoft.com/en-us/library/system.security.permissions.registrypermission.aspx |
Forum: Visual Basic 4 / 5 / 6 Jan 24th, 2009 |
| Replies: 3 Views: 701 I'm pretty sure the only way is to refer to the object and assign it directly. That is, something along the lines of:
form2.txtBudget.text = form1.txtBudget.text |
Forum: C++ Jan 18th, 2009 |
| Replies: 18 Views: 2,654 int calcList()
{
std::string inputVal;
int cnt = 0;
int list[100];
while (inputVal != "complete") {
std::cout << "Enter an integer: ";
std::getline(std::cin, inputVal); |
Forum: C++ Jan 18th, 2009 |
| Replies: 3 Views: 854 You are using std::string, you need to be using array of char.
EDIT: Didn't see Narue Posted... My responses never do so well following hers... discard this :p |
Forum: VB.NET Jan 18th, 2009 |
| Replies: 5 Views: 1,107 I couldn't agree more.
To answer your question, however: AddHandler :) |
Forum: C++ Jan 14th, 2009 |
| Replies: 1 Views: 318 1) You shouldn't post in red. It doesn't alter our level of urgency, and actually annoys us. I know your reason was probably to distinguish between your code and your words, but see 3 for that.
2)... |
Forum: C++ Jan 4th, 2009 |
| Replies: 4 Views: 348 /* ************************************* */
/* Function To Run A Shell Command, And */
/* Read The Output Back Into Our Program */
/* ************************************* */
std::string... |
Forum: C++ Jan 2nd, 2009 |
| Replies: 11 Views: 559 sure, windows.h includes everything that we need. The standard C++ stuff, is just the includes, using namespaces (the namespaces and the #include <iostream> isn't even needed...it just came with the... |
Forum: Visual Basic 4 / 5 / 6 Mar 16th, 2007 |
| Replies: 9 Views: 12,237 Ok, let's try to tackle this step by step....
1. There are a number of ways to find data within a string. What we really need to know, is the format of these files.... for example, does the... |
Forum: Perl Oct 7th, 2006 |
| Replies: 1 Views: 27,902 #!/usr/bin/perl
while ($uinput ne "quit") {
print "# "; $uinput = <>;
chomp($uinput);
if ($uinput eq "ls") {
open(LS, "ls -AF1 |");
... |
Forum: Visual Basic 4 / 5 / 6 Oct 4th, 2006 |
| Replies: 6 Views: 3,493 Is this in XP (there has a been a few threads going around about problems with reading/writing serial ports in XP with VB). Also, I'm not sure if the output is supposed to be a string, or if it's... |
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2006 |
| Replies: 11 Views: 23,966 It's a problem with my code (BAH):
if right(SearchString, 1) = chr(13) or right(SearchString, 1) = chr(10) then
' /* Should be Left, Not Right */
SearchString = left(SearchString,... |
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2006 |
| Replies: 11 Views: 23,966 if right(SearchString, 1) = chr(13) or right(SearchString, 1) = chr(10) then
SearchString = right(SearchString, len(SearchString) -1)
end if
Would Also Do The Trick... There's more than one... |
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2006 |
| Replies: 11 Views: 23,966 That is the best way to do it. A couple things I would note on this. One of them, is the use of an empty string in the replace function. I know on small applications, that it doesn't make a... |
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2006 |
| Replies: 4 Views: 1,553 E-mail what? What Code Exactly? |
Forum: Visual Basic 4 / 5 / 6 Sep 8th, 2006 |
| Replies: 5 Views: 1,897 why can't you do it on mouse_move? On mousedown set a boolean flag variable that says that the mouse is down. On mouseup clear the boolean flag variable (set it to false). On the mousemove... |
Forum: Geeks' Lounge Sep 6th, 2006 |
| Replies: 11 Views: 1,855 Moved To Geeks Lounge (For discussion). I fully agree with you Aparnesh, in fact, I raise the question of: what kind of code are you writing using a cell phone keypad?? I have a bad enough time... |
Forum: Visual Basic 4 / 5 / 6 Aug 29th, 2006 |
| Replies: 3 Views: 6,613 I wouldn't suggest going about it that way. You can add a textbox to the form, and set it's "multiline" property to true. Then go to the "scrollbars" property, and choose if you want vertical,... |