Search Results

Showing results 1 to 40 of 53
Search took 0.02 seconds.
Search: Posts Made By: Comatose
Forum: Geeks' Lounge Apr 5th, 2009
Replies: 16
Views: 1,371
Posted By Comatose
Heavens Yes! Watch this thread get deleted... just like my tutorials.
Forum: DaniWeb Community Feedback Mar 17th, 2009
Replies: 14
Views: 1,649
Posted By Comatose
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
Posted By Comatose
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
Solved: CodeBlocks
Views: 1,285
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
*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
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
*mumbles something about find_last_of*
Forum: C++ Feb 18th, 2009
Replies: 11
Views: 939
Posted By Comatose
*Mumbles something about std::reverse()*
Forum: C++ Feb 16th, 2009
Replies: 7
Views: 553
Posted By Comatose
Forum: VB.NET Feb 16th, 2009
Replies: 19
Views: 46,526
Posted By Comatose
Start a new thread.
Forum: C++ Feb 12th, 2009
Replies: 7
Views: 549
Posted By Comatose
Forum: C++ Feb 10th, 2009
Replies: 4
Views: 470
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
Forum: VB.NET Feb 4th, 2009
Replies: 1
Views: 363
Posted By Comatose
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
Posted By Comatose
What The Hell? Please don't post crappy advice.
Forum: C++ Feb 1st, 2009
Replies: 3
Views: 326
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
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
Solved: handle buttons
Views: 1,107
Posted By Comatose
I couldn't agree more.

To answer your question, however: AddHandler :)
Forum: C++ Jan 14th, 2009
Replies: 1
Views: 318
Posted By Comatose
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
Posted By Comatose
/* ************************************* */
/* 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
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
#!/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
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
E-mail what? What Code Exactly?
Forum: Visual Basic 4 / 5 / 6 Sep 8th, 2006
Replies: 5
Solved: A Box in PicBox
Views: 1,897
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
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,...
Showing results 1 to 40 of 53

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC