yes it is available.
RockyJames
Posts
-
How can I get byte pointers to give CString values ? -
How can I get byte pointers to give CString values ?Enable dispaly unicode strings settings in the IDE.
-
CMenu DeleteMenu()Hi, what is the difference between MF_BYPOSITION and MF_BYCOMMAND in DeleteMenu() function of CMenu class.I have problem with MF_BYCOMMAND is not working properly.
-
Words not allowed in webserverHi, i have placed few image files in webserver.When i am try to download them,they are unable download.Because the file name consist of word not allowed by the server.For example "Happybabe",here babe is not allowed,"stripout" here strip is not allowed.Do we have any tool that list ,what sort of words are allowed by webserver,or they are abusing word. thanks in before james
-
Set password to mdb filehow to set password to mdb file,programatically..?? thanks in before
-
Print to fileHi, I wrote an SDI application,drew a rectangle in the view.When i click print,a dialog is appeared,in that there is an option print to flile,i have entered sample.pdf ,then clicked apply button,next clicked print button.sample.pdf file is generated.But i want this be done automatically,i mean the dialog should appear.Is there any way to do it..??Please free ask me,if the question is not clear. Thanks in before James
-
Formating structureHi, i have declared a structre S, which consist of int,float,double,long,char,WORD,DWORD varibles in it.Like structure S there are few other structures.I fill the data into structures by reading binary file m_file.Read((char*)m_s,sizeof(S));where m_s is an object of strucutre S.To validate the data,that is read into the structure object,i want to write the data in the structure object into text file in a formatted way,for that i need to format each and every element of that strucutre and write into the text file,instead is there any tool,that would dump whole data in the structure in a formatted way into a text file.please help me,if there is any ... Thanks in before. James.
-
Unit test caseHi, I wrote a dll ,currently i was assigned to write a UNIT TEST CASE DOCUMENT,i don`t have a prior experince of writing unit test case document.what does unit test case document means..?i have around 20 functions in the dll. Does any one has the format of the unit test case document, sample document or related URL,kindly help me..i don`t know whether this is the correct forum to post... Thanks in before James
-
SEND MESSAGEThanks for the reply,Can you be more clear ,please. Like how to send the event to document,from there to respective view
-
SEND MESSAGEHi, i have two view CMyViewOne,CMyViewTwo both derived from CBaseView and CBaseView is derived from CView.I have a function named "OnComplete" in CMyViewOne,in this function i want to send a Message to CMyViewTwo,by using SendMessage function.How to do it..? Like i want to establish a communication between both the views.. Thanks in before. James
-
Resume and suspend threadHi, Thanks for the reply,as u have asked for the code,i have downloaded a project from codeproject http://www.codeproject.com/com/CompCateg2.asp[^] In this i am using only serialport communication module,to existing code i have added my three functions CMDONE,CMDTWO,CMDTHREE,and if(blnTwo==TRUE) in serial callback function.please ask me any more information is required,bec i have to fix this problem. Thanks in before James
-
Resume and suspend threadHi, I wrote a DLL,for serial port communication.When i open the port i have created a thread in suspended mode,even created Events in same function later on i have resumed the thread,i wrote callback function.This callback function is called ,when ever the recevie event is set,when ever i get data from the instrument.Then i read the data send it to client application through Firefunction,i.e by connection points.I have three commands CMDONE,CMDTWO and CMTHREE.I have set a BOOL variable blntwo=FALSE;if( blntwo==TRUE),i will read the data using callbackfuntion,if not i will return from the function ,even if the control comes into it. First i send CMDONE i get "OK" reply back from instrument.For this i wrote the data onto the port and read "OK" directly instead of using serailback function. Then i will send CMDTWO,here i just write the data on the port and set blntwo=TRUE;.I will be getting data constantly from instrument,i will read this data using callback function ,then send this data to client application through Fire function. Then i will send CMDTHREE,i am setting blntow=FALSE,here i want to suspend the thread,so that reading is not done by Serialcall function,Instead i want to read the data directly here when i send CMDTHREE.But this is not happening..May be bec of synchronization problem..how to solve it..?If i don`t suspend the thread application is crashing.. Thanks in before James
-
Returning CArrayHi, I have declared int m_intValue; and wrote int GetValue(){ return m_intValue;} function.I have declared a structure struct Table { int intData; CString strName; }; CArraym_Tables; Now i want to write a function same as GetValue() function which will return m_Tables.How to declare it ? thanks in before James
-
HANDLE of a windowHi, I have placed a ComboBox in a formview.In OnInitialUpdate i am setting the ComboBox Current selection to Zero.When i run the application i am getting an ASSERTION.When i debug the application,i find the problem at SetCurSel funtion.I am getting the Handle of ComboBox as NULL.How to over come this problem. Thanks in before James
-
Building a Web Crawler in C++ -
Time taken by a funtionhi, i want to know the total amount of time taken ,when control enters a funtion and leave.Is there any tool to know it.I am using visual studio 2005 professional edition.Is there any third party tool to know it. Thanks in before James
-
File extensionthank q..very much
-
File extensionplease can you be more clear ,i did not understand it..
-
File extensionHi, i wrote a MDI application..i have given an extension .sam..i have serialized the data..saved the document on the disk..When i double click on the file..by default..i want it to be opened by my application..how to do it..? thanks in before James
-
Blob in ADOhi, I want to write large amount of binary data to the database.I wanted to write the same data,which i serialize in serialization into the database.Instead of saving it as disk file ,i want to write the file into database.One of my friend has said we can do it using BLOB.What is BLOB ? i don`t know anything about it.There is any good article about it using ADO.?I am using ADO. thank`s in before James.