Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

summo

@summo
About
Posts
59
Topics
53
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • database problem
    S summo

    :((I am using the ADODC control to manipultate data. now I want to add new(record) data to my table for this purpose what I have tried is this code "adodc.recordset.addnew" but the error that comes on clicking the add button is data bound error this is because I think that I have not specified the field in which I want to insert new data. I have tried it unable to know how can i update,dalete, add new data. Please if you can help me by giving certain example for practicing data base or refer any site that can help me. I am using access on my back end. Reply me soon

    Visual Basic help database tutorial question announcement

  • new to vb
    S summo

    I am new to vb I have just made simple calculator in this language now I want to have (ACCESS)database connectivity with vb Please let me know the website or any halping material that can serve for thsi purpose. Reply me soon

    Visual Basic database

  • IP's and MAC's in Hashtable
    S summo

    :((I have used the hashtable in java but I want to use the same functionality in vc++. What exactly i want is that I want to use "192.168.2.61"IP's as my keys and Macs "00:50:8D:39:61:E1" as my items. So that I may be able to insert(put) the item(Mac) w.r.t ip(key) in the table and get it back when is needed, so I may be able to manage my routing table. Please help me. Reply me soon

    C / C++ / MFC c++ java help

  • tab control help!!!!
    S summo

    i have made tabs in SDI, now i want to make tabs inside the tab which is displayed on my SDI. refer me the code or website, where i can get appropriate help. thanx Reply me soon

    C / C++ / MFC help

  • Printing a graph
    S summo

    :cool:I am showing bar Graph on a dilaog using progress bars. The graph is dynamically updating and this is shown by vayring values of progress bar. I simply want the dialog to printed on a paper when the user clicks on a certain button on the dialog. Plz guide me how to do so. Reply me soon

    C / C++ / MFC tutorial data-structures

  • Problem regerding LineTo(..)
    S summo

    I want to draw lines on a dialog in MFC(SDI) application. Currently I am doing the same thing in OnDraw function of my CAppView by using the code. pDC->MoveTo(x1,y1); pDC->MoveTo(x1,y2); Now I want to draw these lines on a dialog. Is it possible. Can I use the same functions. If yes, Then what would I use in place of pDC to call these functions. If not refer me other ways of doing so. Reply me soon

    C / C++ / MFC c++ help

  • How to make setup in visual c++ 6.0 !!!plz reply soon
    S summo

    how to make setup of project in a visual c++ 6.0. i am using application wizard of visual c++ 6.0 but not succeding in making a setup. give me the step by step guideline. thanx Reply me soon

    C / C++ / MFC c++ tutorial workspace

  • winpcap has killed me
    S summo

    I am using winpcap for sending packets.The problem I am getting is that the packet goes out in the network line but does not reach its destinaion. I am 100% sure that the source and destination ip and mac addresses are alright. I am using cross cable between systems having platforms win2000 server(source) and winxp professional(destination). Ips are 192.168.2.64(Source) and 192.168.2.63(desination) with subnet mask of both (255.255.0.0). I have tried all the possibilites but it has not happened . I am realy desperate.:confused: Why? Reply me soon

    C / C++ / MFC sysadmin help question

  • Immediate help required !!!!!!
    S summo

    I am using tabcontrols in a SDI application. on my toolbar i have buttons name "Play" and "Veiw Log" and down to toolbar i have tab controls, two buttons name "IP Statistics ", "Send Email". when i click the "Play" button the dialog opens which exist as property sheet under the tab button "IP Statistics". Now what i want is, the dialog which has been opened must be sized according to the parent window. something i know is, i have to do with onsize method of my view class. plz tell me the complete solution. thanx Alot! Reply me soon

    C / C++ / MFC help

  • winpcap giving the problem in sending packet
    S summo

    I am using two network cards on a system. I am using winpcap to send the packet that I receive from one interface and sending it to the other interface the packet does reach the intended destination but the reply(ping request is reached at the destination but reply does not generate) does not appear. Please If you can help me in the solution of the problem. Reply me soon

    C / C++ / MFC help sysadmin

  • To Open logfile in a notepad !!!!!!!!!!!!!
    S summo

    I am using WinExec("C:\\logfile.txt",SW_SHOW) to open my file in a notepad on pressing a certain button but the file is not opened in the notepad. Infact nothing is happening when I press the button. I am using the same code of line WinExec("Notepad.exe,SW_SHOW") to open the notepad and it is working properly there. Plz give me its solution, by just giving the path of our file, it could open in a notepad. thanx Reply me soon

    C / C++ / MFC

  • Pie chart control problem
    S summo

    :cool:I am trying to include some graphical reptesentations in my MFC(SDI) application. I have successfully drawn bar graphs by using progress bars. But haven't been able to draw pie charts. I have found some controls on the following link but have never used controls other than drag and drop(built-in VC++ ). Plz help me how to use these controls in my program. http://www.codeguru.com/controls/pie\_chart\_ctrl.shtml If there is some other way of doing so plz suggest as I want to adopt the easiest way or ant other type of graphs which are easy to develop. Reply me soon

    C / C++ / MFC c++ help com tutorial

  • Problem in Downloading file
    S summo

    I want my JSP page to download a file, just as on hotmail attachment is downloaded when a certain file name is clicked. Plz provide me with relevent APIs /code/sites e.t.c The problem with me right now is when I click on the hyperlink of the file name, the file is opend in the explorer but here I want to download it on my local machine. Reply me soon

    Web Development java help

  • Problem in adding text to a progress bar
    S summo

    :cool:I want to add some text in my progress bar on it's initilization. How to do so. Reply me soon

    C / C++ / MFC help tutorial

  • winpcap handle problem
    S summo

    :suss:In the code below packet_handler function is not the member of the class I want to display the data generating from this function to be displayed on the list box. But handle to the list box is not there as is not the member of the class. Is there any way I can get handle of listbox into the function p_h below. It is important the funtion declaration of "paket_handler" is defined in the library file so the return type or parameter cannot change. //defined in winpcap library void sniff::OnButton1() { pcap_loop(adhandle, 0, packet_handler, NULL);//call to the call back //packet_handler function } void packet_handler(u_char *param, const struct pcap_pkthdr *header, const u_char *pkt_data) { ih = (ip_header *) (pkt_data + 14); //length of ethernet header ip_len = (ih->ver_ihl & 0xf) * 4; ......//more code ...... /* print ip addresses and udp ports */ printf("%d.%d.%d.%d -> %d.%d.%d.%d\n", ih->saddr.byte1,ih->saddr.byte2,ih->saddr.byte3,ih->saddr.byte4, ih->daddr.byte1,ih->daddr.byte2,ih->daddr.byte3,ih->daddr.byte4); } Reply me soon

    C / C++ / MFC help

  • Problem in changing the progress abr color
    S summo

    :cool:Problem in changing the progress abr color I want to incrementing in a progress bar in loop for(int i = 0; i < 3800; i++){ m_pb1.SetPos(i); } I just want to change the color of progress bar(i.e from blue to something else) and want to show the percentage of progress inside the progress bar. (i.e if 80% of the bar is colored then "Usage = 80%" should appear inside the progress bar). The following code is taken from a working project but it is not working in my program. m_pb1.SetTextFormat("Usage : %d%%", PBS_SHOW_PERCENT); m_pb1.SetGradientColors(RGB(206,255,157),RGB(0,130,0)); m_pb1.Invalidate(); Plz suggest me the way of doing so. Reply me soon

    C / C++ / MFC help

  • non static member
    S summo

    :(Is there any way I can call the member function of a user defined "sniff" class when calling it from the function which is not the member of the "sniff" class. The error that occurs when call is made error C2352: 'sniff::show' : illegal call of non-static member function :( Reply me soon

    C / C++ / MFC help

  • send winpcap packet
    S summo

    :laugh:I am interested in caturing the packet using winpcap and then send it to the other destination after changing some attributes of packet. I have captured the packet but unable to send it to the specific destination please if you can help me with sample code or website reference. Reply me soon

    C / C++ / MFC help

  • Progress Bar
    S summo

    I have dragged and dropped the progress bar control on a dialog and have also declared it's variable. Now I want to show increments in the progress bar in a loop. What would be the method of doing so. Reply me soon

    C / C++ / MFC

  • Exchange of values among different classes of same project
    S summo

    :~ I have been unable to pass values from one class to another in a VC++ SDI application. Actually In one class (say class1) I am constantly getting CString values. I want to pass some of these values to another class (say class3). In class2 , user is setting some rules on the base of which it is decided that whether string shold be passed from class1(list control) to class3(list control). I have adopted a lot of methods but failed to do so even with a single one. I would prefer array[] to act as a buffer for these values. Plz help me out. But if there is some other easier method, plz suggest. Reply me soon

    C / C++ / MFC c++ data-structures help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups