toxifier's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Members
Active Posts:
25 (0.04 per day)
Joined:
27-September 11
Profile Views:
160
Last Active:
User is offline Oct 19 2012 05:36 AM
Currently:
Offline

Previous Fields

Country:
IN
OS Preference:
Who Cares
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   toxifier has not set their status

Posts I've Made

  1. In Topic: Connectivity Issue between Database & Drop Down List

    Posted 13 Jul 2012

    View Postzeeshanef, on 12 July 2012 - 09:43 AM, said:

    you said:
    "select Afghanistan from StateList";  //if i use this instead it works!
    


    If above works then, there is just one difference which is single quotations across Field Name remove these symbols from "dynamic" query and check again:

    string statestr = "select " + Cntrylst.SelectedValue.ToString() + " from StateList";
    

    Honestly, I was trying to solve this in the morning today and got it right(I hadn't read your reply till then). I just came here to tell that I did this and got it right and then saw that I have got the same reply from you already. It works completely fine now and yes your reply is correct. Thanks a lot for your time! Good Day friend! ^_^
  2. In Topic: Connectivity Issue between Database & Drop Down List

    Posted 12 Jul 2012

    View Postzeeshanef, on 11 July 2012 - 10:16 AM, said:

    Did you check the value of [statestr] variable, before it is executed, and do you see the exact query which you expect to run!

    yes! it has the expected value!
  3. In Topic: Release Mode in Turbo C++?

    Posted 16 Jun 2012

    View Postjimblumberg, on 16 June 2012 - 06:15 AM, said:

    I agree with you need to learn modern C++. If your "friends" are using the most recent version of Windows they will not be able to run your program without a lot of work. Windows is no longer supporting 16 bit programs, which is what your compiler will produce so you will probably not be able to just copy your program and give it to them to run. They will need to modify their operating system to run this fossil. So I recommend you move into the present and find a compiler from this century, along with a recent graphics library.

    If you are going to insist on trying to get your program working on different computers then I suggest that you copy the BGI directory and install it in the correct location of your friends computers. Be aware however that since this will be a 16 bit DOS application and therefore you must install the BGI directory in a location that doesn't follow the DOS 8.3 file, directory naming convention. Therefore you will need to place this directory in a location that the modern Windows operating system may not like. If your "friends" try to place this directory in their home directories they will have problems.

    So as I said, use a newer compiler and find another graphics library to use for your games. There are several good modern graphics packages worth learning that can produce quality games that are actually fun to play.

    Jim


    I use Visual Studio 2010, except for this Graphics.h Library which ain't supported by any compiler else than Turbo C. In context of the modern Library thing, I'm trying to get hold on Allegro for games in C++. I would be thankful if you can suggest me something better! :) And thanks a lot for the other suggestion! I'll try that BGI inclusion straightaway!

    P.S. - Thanks for your time everyone. I would just like to say once again, I don't use Turbo C for anything apart from graphics.h that is sometimes fun to use! I use Visual Studio 2010 for programming. Thank you! :)
  4. In Topic: Release Mode in Turbo C++?

    Posted 16 Jun 2012

    View PostSalem_c, on 16 June 2012 - 03:57 AM, said:

    It doesn't matter how much you wish/pray/beg the universe to make your life easier, I just don't think you're going to get 1980's 16-bit fossilware to run on Win7 WITHOUT some additional effort on your part.

    WinNT
    Win2K
    WinXP
    WinVista
    Have all been eroding support for backward compatibility for 16-bit DOS, I guess M$ have had enough. It's time to wake up and smell the roses which are now growing nicely on top of the long-dead corpses of DOS and TurboC.

    While the likes of CBSE are in charge of your education, and mandate the use of such crap as TurboC (despite many vastly superior products available for the same $0 price), generations of students are being cheated before they even get a start.

    The "certificate" you get at the end has only ONE purpose - to get you through the door of your FIRST job. That is all it is good for. Now, when you come to sit down at your desk on the first day on your first job, you'd better have something else to offer. Knowing something about say Win32 programming will distinguish you from the crowd.

    How marketable are your "TurbidCrap" skills in the modern world? There are only so many positions for "museum curator".


    Oh well! I understand that Turbo C is so old that it has no value other than learning basics of programming. And talking about the education system, it's futile since the government would never listen. I appreciate what you said and totally agree with all that. I don't use Turbo C ever except for that Graphics Class at College or sometimes to make programs in that old graphics library. I know it's totally out-dated, but to be honest, I was doing it for fun! I wanted to ask this Release Mode thing because it struck me always that why can't I port my programs to other computers without installing the compiler. For my all sorts of programming apart from the one I just mentioned, I use Visual Studio 2010, and for games in C++ I'm trying to get hold on Allegro Library. If you have any better suggestions, I would be grateful! Don't Worry! I'm not letting the norms laid by the education system ruin my chance to learn things, I just thought that what they are teaching, let's try to learn it completely too. Even at my life's first class of programming, I didn't use Turbo C, but since they teach us graphics.h for Graphics, I had no choice else than that for that one subject. Thanks a lot for your time and the suggestions! :)
  5. In Topic: Release Mode in Turbo C++?

    Posted 16 Jun 2012

    View PostSalem_c, on 08 June 2012 - 07:50 AM, said:

    You should probably install DOSBOX on any machine newer than XP just to run TurbidC

    - Install DOSBOX
    - Install Borland TC runtime in DOSBOX
    - Install your program in DOSBOX
    - ?
    - Kapla


    I know that! But that's what I don't want to do. Consider I made a game in that old graphics and now I want to give that game to my friends to play. Then I shouldn't be giving them the compiler to install first and then compile my game and then play! I would like them to be able to play it straightaway!

    View Postjimblumberg, on 08 June 2012 - 08:00 AM, said:

    It is possible to force TC to build a standalone exe when using the BGI libs, by using BGIOBJ to convert the drivers to an .obj file then using registerbgidriver before you call initgraph. Then you must add these obj files to your project. However the other option is to include the "BGI" directory with your program.

    Jim


    Can you give me a small example? I mean if this is my program:

    #include<graphics.h>
    #include<iostream.h>
    #include<dos.h>
    void main()
    {
     int g = DETECT, m, x = 100, y = 100;
     initgraph(&g, &m, "C:\\TC\\BGI");
     for(int i=0; i<100; i++)
     {
       putpixel(x,y,1);
       x++;
       y++;
     }
     delay(20);
     closegraph();
    }
    
    


    how should I accomplish the thing you told, sir? I would be grateful if you could tell me!
    Sincere apologies for a late reply and thank you for any help! :)

My Information

Member Title:
New D.I.C Head
Age:
20 years old
Birthday:
August 9, 1992
Gender:
Programming Languages:
C, C++

Contact Information

E-mail:
Private
Website URL:
Website URL  http://toxifier.blogspot.com/

Comments

toxifier has no profile comments yet. Why not say hello?