Thanks Friends .. thanks a lot for you support I implemented a textbox but since that textbox need not be Editable Can i change its style to that of a LABEL
Proud To Be an Indian
Thanks Friends .. thanks a lot for you support I implemented a textbox but since that textbox need not be Editable Can i change its style to that of a LABEL
Proud To Be an Indian
I have a label in my aspx page & iam changing its text via document.getElementById("LabelID"). innerHTML = "SOmeText"; from JAVASCRIPT. Now by default an ASP.NET label should retain its contents. But its not. IS there any way to make it so I can change a label on the client-side and the contents persists back to the server? If iam using a textbox it does works fine.
Proud To Be an Indian
I have a point say (x,y) i just want to draw it in my window.. just to see where that point is. .
Proud To Be an Indian
When I try to include "iphlpapi.h" it shows some error inside visual C++, not in my program.It says some stucture inside iphlpapi.h is undefined.
Proud To Be an Indian
I think SetPixel wil change the color of the specified pixel.
Proud To Be an Indian
I have a CPoint & would like to draw that point on my screen. How can i convert my points to system coordinates.
Proud To Be an Indian
I had seen many codes that is used to draw Lines, circles etc, but i like to plot a x,y point in my screen. Can any one please tell me the function to draw a point in screen. Is it needed to convert the point to System coordinates???
Proud To Be an Indian
Sorry Guys, This post was done by my bro & he is now out of station. He did searched in CP but was not successful in getting the desired result. He will be back within 2 days. Thanks for the replies
Proud To Be an Indian
I need to change the static IP address of a machine programatically.I tried to change the IP at Registry location , HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces. But this change is taking effect only after restart of the computer. Is there any method to change IP without restart of the computer ? I tried AddIpAddress() function it shows some problem in version compatibility. I am using Visual C++ 6.0.
Proud To Be an Indian
Sorry If i had hurted U. . . :((
Proud To Be an Indian
Christian Graus wrote:
The memory is allocated, and the memory for the wrapper generic class that int? is a shortcut to, is also allocated
SO you mean to say when we write int?num; // allocates 4 bytes of memory but requires an initial assignment. But "int?" is a "SHORTCUT to WHAT ???" is it System.Nullable<int> variable
Proud To Be an Indian
modified on Tuesday, April 8, 2008 4:32 AM
Thanks a lot. . .
Proud To Be an Indian
When i was going thro the null types in C# i came across a statement which i had never met in my life ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_csref/html/e473cb01-28ca-42be-9cea-f717055d72c6.htm THe line is static void Main() { int? num = null; } What does the int? mean..
Proud To Be an Indian
Iam new to C#. . . Here is my my requirement . . I want to save some images into a Hashtable & retrieve it later. . . How can it be done.. . Plz help
Proud To Be an Indian
"Book is a structure" struct book { int accno; char title[30]; char author[30]; float price; int issued; int nCopies; int memno; }; IM Using this structure in My CLASS class library { book book1; member member1; public: book newbook(); void list(fstream &); void issuebook(fstream &, fstream &); void returnbook(fstream &, fstream &); member newmember(); void listofmembers(fstream &); } ;
Proud To Be an Indian
I Use the following code 2 write to file -> b=l.newbook(); if(fiobook.eof()) fiobook.clear(); fiobook.seekp(0,ios::end); fiobook.write((char*)&b,sizeof(b)); gotoxy (10,24); cout<<"Do you want to continue Y/N?"; cin>>cx; cin.get(); ************************* where .. . .newbook is book library::newbook() { clrscr(); book b; gotoxy(10,10); cout<<"Acc No"; cin>>b.accno; cin.get(); gotoxy(10,12); cout<<"Title"; cin.getline(b.title,30); gotoxy(10,14); cout<<"Author"; cin.getline(b.author,30); gotoxy(10,16); cout<<"price"; cin>>b.price; gotoxy(10,18); cout<<"No of Copies"; cin>>b.nCopies; b.issued=0; b.memno=0; return b; } EVERYTHING WORKS FINE ... ******************************************** Then I use a function to display the contents . .. void library::list(fstream & fiobook) { clrscr(); book b; fiobook.clear(); fiobook.seekg(0); for(;;) { fiobook.read((char*)&b,sizeof(struct book)); if(fiobook.eof()) break; cout<<"Acc no "<Proud To Be an Indian
Im doing a simple file programming in C++(im using turbo C version 3.0 editor) Iam using the Fstream class.. I can create & write datas into file successfully .. . But after some set of operations when I list the contents of the file. I get some ascii characters (like @ etc) or some irrelevant numbers. . . Can any one plz tell me what is happening. . . The same piece of code gives the correct output when I try it using VS 6.0 . . Plz help me. . ( VS6.0 is not recognizing clrscr() & gotoxy() – I had used conio.h) I want the program to work correctly from my Turbo C compiler .. .(its being used in my College) Thanks in Advance . .
Proud To Be an Indian
The dialog bar is being displayed but the above said functionality is not working... (passing a value to the dialog bar)
Proud To Be an Indian
its a user defined function ....
Proud To Be an Indian
THe stack says - NTDLL! 7c901230() here the error comes When i put breakpoint it comes to a function call and then a error msg pops out User Exception at xxxxxxx.
Proud To Be an Indian