Search Results

Showing results 1 to 40 of 43
Search took 0.01 seconds.
Search: Posts Made By: BlackDice
Forum: JavaScript / DHTML / AJAX Mar 11th, 2005
Replies: 4
Views: 5,313
Posted By BlackDice
Yes, that was exactly the problem
Forum: JavaScript / DHTML / AJAX Mar 11th, 2005
Replies: 4
Views: 5,313
Posted By BlackDice
I got it - after I changed the name and id of the image, it works now
Forum: JavaScript / DHTML / AJAX Mar 11th, 2005
Replies: 4
Views: 5,313
Posted By BlackDice
I have a row of images on the left side of a web page that act as buttons with javascript for the changing of the image if it's rolled over. That works fine on most of the pages because besides that...
Forum: Upcoming News Stories Oct 5th, 2004
Replies: 0
Views: 1,169
Posted By BlackDice
I don't know if anybody else out there has ever worked in Visual Foxpro, but I've been recruited into it, maintaing an existing project and to add a new module to it. I HATE, HATE, HATE FoxPro!! It...
Forum: ASP Oct 2nd, 2004
Replies: 3
Views: 3,077
Posted By BlackDice
I can't help you because I have no idea what you're doing
Forum: C Oct 2nd, 2004
Replies: 1
Views: 3,440
Posted By BlackDice
add a webbrowser control to your program and associate a variable with it, then in OnInitDialog() put this:

m_ctlBrowser.Navigate("YOURURL",NULL,NULL,NULL,NULL);


or if you just want it to...
Forum: Upcoming News Stories Oct 1st, 2004
Replies: 1
Views: 729
Posted By BlackDice
I thank you all for the encouragement, and yes everyone here is very friendly,unlike other sites I've been to. Keep up the good work everyone! Also, I feel special just having cscgal even respond...
Forum: Upcoming News Stories Sep 30th, 2004
Replies: 2
Views: 1,219
Posted By BlackDice
I think this is a great site, and it loads up a lot quicker than most any other site I go to, which is a plus. I don't feel quite as comfortable here because I think most of the people that come to...
Forum: C++ Sep 30th, 2004
Replies: 5
Code Snippet: FileExists
Views: 3,677
Posted By BlackDice
returns TRUE or FALSE depending on whether or not a file exists
Forum: C++ Sep 30th, 2004
Replies: 1
Code Snippet: AnimateDialog
Views: 3,137
Posted By BlackDice
this is a wrapper around the AnimateWindow API. this allows random animations in a dialog. I just call it in the dialog's OnInitDialog() handler. The 'fade' effect has not been implemented because...
Forum: C++ Sep 30th, 2004
Replies: 0
Code Snippet: GetFolder
Views: 3,072
Posted By BlackDice
Returns the name of a folder in a CString after allowing user to browse for it. This is just a wrapper around the SHBrowseForFolder API, but it's great for only allowing a user to browse for folders!
Forum: C++ Sep 21st, 2004
Replies: 11
Views: 4,843
Posted By BlackDice
try going to your dos window first, navigating to the appropriate directory and then running your .exe. Or open a dos window and type in full name and path of your .exe
Forum: C++ Sep 20th, 2004
Replies: 0
Views: 39
Posted By BlackDice
I don't know if this function may be helpful to anyone, but I just converted from a VB function recently to C++. I'm converting a text file string that is nine characters to a decimal value that has...
Forum: C++ Sep 20th, 2004
Replies: 0
Views: 3,538
Posted By BlackDice
I don't know if this function may be helpful to anyone, but I just converted from a VB function recently to C++. I'm converting a text file string that is nine characters to a decimal value that has...
Forum: C Sep 16th, 2004
Replies: 8
Views: 14,463
Posted By BlackDice
here's a sample of a function that I have. It's kinda old so there's stuff in there that probably shouldn't be (like inMessage). Most of the ODBC functions you do return an SQLRETURN , so if the call...
Forum: C Sep 15th, 2004
Replies: 8
Views: 14,463
Posted By BlackDice
how are you connecting? if you're just using straight odbc, you'll have to use the odbc functions to return the error messages. Using CRecordset you can probably get them through your...
Forum: C Sep 13th, 2004
Replies: 2
Views: 15,991
Posted By BlackDice
Use the shellExecute function. There's plenty of documentation on it in the MSDN. I copied this from a piece of one of my functions which wouldn't actually open notepad, it opens from a filename,...
Forum: C++ Sep 6th, 2004
Replies: 9
Views: 11,958
Posted By BlackDice
As far as I know, C++ can use all kinds of db connectivity. I prefer to use ADO myself. ADO (ActiveX Data Objects) allow you to connect to just about any data source, but with an easier interface...
Forum: C++ Aug 31st, 2004
Replies: 9
Views: 11,958
Posted By BlackDice
I can't really help until you have a better grasp on what you want to do
Forum: C Aug 31st, 2004
Replies: 5
Views: 3,495
Posted By BlackDice
try GetAsyncKeyState() to get the key you want. As for the arrow key problem, you shouldn't rely on windows to handle your movements. Again, use GetAsyncKeyState(). If you're just using a basic...
Forum: C++ Aug 31st, 2004
Replies: 9
Views: 11,958
Posted By BlackDice
Depends on which technology you want to use. ODBC, ADO, DAO, OLE DB? You have to be more specific. If you want to use ADO, let me know and I'll try to post some stuff. :lol:
Forum: C++ Aug 17th, 2004
Replies: 1
Views: 3,979
Posted By BlackDice
if you're using vc6, right click on the dialog, go to ClassWizard. It should prompt you to add a class. once you do that and name the class (something like CMyDialog) it will create the class and...
Forum: C May 6th, 2004
Replies: 5
Views: 3,668
Posted By BlackDice
well try sending a pointer back of whatever type the array is then reference that pointer by a subscript
Forum: C May 5th, 2004
Replies: 5
Views: 3,668
Posted By BlackDice
if there's an array for it in the base class, you should be able to access that array the same way CPlayingCard::array[1] (or whichever element you're looking for). Or you could have it return an...
Forum: C May 4th, 2004
Replies: 5
Views: 3,668
Posted By BlackDice
You should be able to just type in CPlayingCard::deal_hands() (if CPlayingCard is the name of your base class), and that should be all there is to it!!
Forum: Visual Basic 4 / 5 / 6 May 4th, 2004
Replies: 11
Views: 25,025
Posted By BlackDice
here's a module I used to play sounds. I don't remember how I did it with just the .wav fiile, but I THINK you can just put the name of the file in place of loadresdata. But in this example I have...
Forum: Web Browsers Apr 29th, 2004
Replies: 2
Views: 5,186
Posted By BlackDice
thanks!! - bdiamond
Forum: Web Browsers Apr 29th, 2004
Replies: 2
Views: 5,186
Posted By BlackDice
I'm trying to change my default browser for IE to Google. Following the instructions in the Help, it says to click the Search button on the toolbar, then 'Customize' and choose from the options...
Forum: Visual Basic 4 / 5 / 6 Apr 29th, 2004
Replies: 0
Views: 5,311
Posted By BlackDice
Is there a way in VB to use a '#define' macro something like in c++? In C++ I can do this:

#define CHECKPTR if(!ptr) AfxMessageBox("Pointer is null");

then everywhere I wanted to do that...
Forum: IT Professionals' Lounge Apr 29th, 2004
Replies: 12
Views: 7,192
Posted By BlackDice
yes, you were helpful. But the projects I've worked on so far are VERY large scale applications for well-known national companies that I'm sure you probably see one of them every day (I'm not at...
Forum: C++ Apr 28th, 2004
Replies: 5
Views: 9,708
Posted By BlackDice
According to this book I have, 'C++ for Game Programmers' published by Charles River Media, it says that it's a lot faster when dealing with CString operations, I will go back to it and make sure,...
Forum: C Apr 28th, 2004
Replies: 2
Views: 7,779
Posted By BlackDice
Polymorphism is what makes using inheritance so powerful ( in my opinion). Here's a quick example of it using objects. This example uses 3 classes: CCar, and CSportsCar and CLuxuryCar which are...
Forum: C++ Apr 28th, 2004
Replies: 1
Views: 6,421
Posted By BlackDice
from my understanding typeid should be used like this:

int i;
const type_info& info = typeid(i);
cout << "Class name: " << info.name();

hope this helps!
Forum: C++ Apr 28th, 2004
Replies: 5
Views: 9,708
Posted By BlackDice
just wanted to let you know that you've re-discovered the 'bubble sort' algorithm. The code looks fine except that you should use 'x += 1' instead of 'x = x + 1' -- it's faster. you may not see...
Forum: IT Professionals' Lounge Apr 28th, 2004
Replies: 12
Views: 7,192
Posted By BlackDice
I've never been to school for programming (other than some very preliminary VB5 classes in a Data Processing course). The company I now work for taught me what I needed to know about VB6 and...
Forum: Windows tips 'n' tweaks Apr 28th, 2004
Replies: 13
Views: 100,979
Posted By BlackDice
there is of course a way to put settings in your registry that will allow you to right-click on a dll or ocx file and then click Register or Unregister fromt the context menu. However, for those of...
Forum: Visual Basic 4 / 5 / 6 Apr 28th, 2004
Replies: 2
Views: 4,856
Posted By BlackDice
I think that's probably a problem with your references. Go to Project->References and look at your references, it should tell you if something is missing. and if you're using ado, make sure you're...
Forum: Visual Basic 4 / 5 / 6 Apr 28th, 2004
Replies: 11
Views: 25,025
Posted By BlackDice
Forum: Visual Basic 4 / 5 / 6 Apr 28th, 2004
Replies: 2
Views: 2,941
Posted By BlackDice
how about posting your 'add' code and I'm sure I can help.:?:
Forum: Visual Basic 4 / 5 / 6 Apr 28th, 2004
Replies: 1
Views: 5,214
Posted By BlackDice
I have no idea what you're talking about, but if you elaborate more, I may be able to help
Showing results 1 to 40 of 43

 


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

©2003 - 2009 DaniWeb® LLC