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
C

calebcohoon

@calebcohoon
About
Posts
25
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • VB.Net Sockets [modified]
    C calebcohoon

    Hello, Maybe my last post was too confusing. Here's my problem, I have a vb.net app running on my computer that is listening for incoming connections on IP address 127.0.0.1 port 87 and whenever I attempt to connect to my vb.net app via a php page using php's built in socket support, it is never able to connect and send any data like a simple "hello". I hope this understandable. I'm just trying to send data from an internet webpage to a program. If there are any other ways to do this please let me know. Thank you, Caleb

    Visual Basic csharp php help

  • how to create .pdf file.
    C calebcohoon

    Hello! Check this website: http://partners.adobe.com/asn/acrobat/docs.jsp. You can find all sorts of documentations and the PDF SDK there. Hope that helps. Later, Caleb

    C / C++ / MFC adobe tutorial

  • C++ Simple Class Window
    C calebcohoon

    Hello! Go ahead and check this website out: http://www.relisoft.com/win32/. It has a tutorial on writing win32 base code in c++ framework. Hope this can at least get you started on your project. :) Oh, and about wanting to be able to draw certain shapes look at this website: http://www.gametutorials.com/Tutorials/Win32/Win32\_Pg1.htm. Download the example code under "Drawing Shapes Using GDI" on the website. Hope that helps! Later, Caleb

    C / C++ / MFC c++ help

  • Toolbar and Combo Box problem
    C calebcohoon

    Hello, Over the last few weeks I have been writing a win32 application not using MFC and I have come up against a problem. I'm trying to figure out how to add a toolbar with icon buttons and a combo box below it. To get an idea of what I want here's a picture: http://k1studios.com/images/trav.gif.As you can see I want to have that exact layout but I have no idea how to develope that since I don't have the help of MFC. So if anybody has any idea I would REALLY appreciate it. :-D Thank you, Caleb

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

  • Edit boxes
    C calebcohoon

    Thanks for your replies!

    C / C++ / MFC question

  • Edit boxes
    C calebcohoon

    Hello, I'm currently writing a win32 application and I was wondering how I could make an address bar, like Internet Explorer, for the top of my program? Thanks, Caleb

    C / C++ / MFC question

  • Browse Button in an Dialog Box
    C calebcohoon

    Hello! In your dialog box, have a button where the user clicks and have that button execute this code: void your_class_name_here::OnButtonClick() { CFileDialog m_file(TRUE); CString m_value; if(m_file.DoModal() == IDOK) { // get file selected m_value = m_file.GetFileName(); UpdateData(FALSE); } // add whatever else you need } Hope that helps! :) Caleb

    C / C++ / MFC question

  • It just stopped working...
    C calebcohoon

    Hello, Have you tried just re-registering the control on your machine? Later, Caleb

    C / C++ / MFC html help question

  • C++ Class Help!!!
    C calebcohoon

    Hello! I'm writing an activex control and I wondered how I could return a pointer to a class object back to a JavaScript Variable. I know that sounds really weird but I'll give you an example: Here's the java script: -------------------------------------------------------------------------------- 1: var testbox; 2: var variable = document.testcontrol; // this points to the active control <object idclass="blahblahblah" id="testcontrol"> 4: testbox = variable.CreateMsgBox(); 5: testbox.SetText("Hello Universe"); // im sick of "Hello World" lol <img src="images/smilies/smile.gif" border="0" alt=""> -------------------------------------------------------------------------------- Let me explain the above code. When the variable named "variable" calls the IDispatch method CreateMsgBox(), on line 4, I want it to return a pointer from the newly created class back to the variable "testbox". Then on line 5 I can access the class methods through the "testbox". Heres the pusedo code of the c++ code when one calls the CreateBox() function above. -------------------------------------------------------------------------------- CCreateBox CreateBox() { 1: CCreateBox newBox; // CCreateBox is the MsgBox class 2: return newBox; } -------------------------------------------------------------------------------- I hope anyone can understand this, and if anyone can help I’d greatly appreciate it!!!!!!!!!!!!! Thank You, Caleb </x-turndown>

    C / C++ / MFC c++ java javascript com tools

  • Javascript and ActiveX
    C calebcohoon

    Thanks

    C / C++ / MFC javascript tutorial com graphics game-dev

  • Javascript and ActiveX
    C calebcohoon

    Hello everybody, Right now I'm creating an opengl activex control that allows JavaScript to communicate with the control. For example: ********************************************* function begin() { var object = document.SGLworld; object.StartRender(); } function stop() { var object = document.SGLworld; object.StopRender(); } ********************************************* I plan on having the ability to pass class or struct objects back to a JavaScript variable like this: ********************************************* function returnclass() { var box; var object = document.SGLworld; box = object.CreateBox(1.0, 1.0, 1.0); // return the createbox structure to the javascript variable(box) box.SetColor(1.0, 0.0, 0.0); // now the varible(box) should have access to the structers members functions } ********************************************* But the problem is I have no clue how to pass struct(or class) objects back to a js variable! So if anybody has an idea or can redirect to some information I’d be very grateful!!! :) Thanks, Caleb

    C / C++ / MFC javascript tutorial com graphics game-dev

  • Want to run an exe file of client pc.
    C calebcohoon

    Actually they use vbscript. The vbscript invokes the MSN activex object and executes it in the webpage.:)

    Web Development question

  • Combo box size
    C calebcohoon

    Here's an example:

    Drums
    Guitar
    Computers
    Basketball
    Dancing

    Later, Caleb

    Web Development html design help question

  • How to full screen the window of the internet explorer
    C calebcohoon

    Try out this link: http://www.javascript-page.com/open2full.html Hope it helps :) Later, Caleb

    Web Development tutorial

  • Dialog Box
    C calebcohoon

    I have a program that runs in the system tray, and when i send a message to the program i want to a popbox showup like MSN Messenger. Or if nobody knows how to do that, could anybody tell how to have my dialog box show in the bottom right corner. No matter what resolution the user running. Sorry for such a big question :) Thanks, Caleb

    C / C++ / MFC tutorial question

  • Resolving functions from character strings...any ideas?
    C calebcohoon

    Check out this link: http://www.flipcode.com/cgi-bin/msg.cgi?showThread=COTD-CallFunc&forum=cotd&id=-1 That should help :) Later, Caleb

    C / C++ / MFC com question

  • Simple Registry Question
    C calebcohoon

    Thanks Alot :)

    C / C++ / MFC question c++ windows-admin

  • Simple VB Script
    C calebcohoon

    Hello, Here's some links that should help you out: 1.)http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/sgProgrammingFileSystemObject.asp 2.) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/sgProgrammingFileSystemObject.asp That should do it :) Later, Caleb

    Web Development tools

  • How to access the IP Address of the client machine using Java Script or VBScript
    C calebcohoon

    Sorry, For the IE version you must have SSI installed. :) Later, Caleb

    Web Development java javascript tools help tutorial

  • How to access the IP Address of the client machine using Java Script or VBScript
    C calebcohoon

    Here's some script that should work :) ////////////////////////////////// //// Note ////////////////////////////////// <!-- For the NS version below, the end user must --> <!-- have java enabled in there browser --> ////////////////////////////////// <!-- Netscape Version --> if (navigator.appName=='Netscape' && navigator.javaEnabled()) { hn = java.net.InetAddress.getLocalHost().getHostName(); ha = java.net.InetAddress.getLocalHost().getHostAddress(); document.write('HostName: '+ hn + '<br>' + 'HostAddress: '+ ha ); } ////////////////////////////////// //// Note ////////////////////////////////// <!-- For the IE version below, it must be run on --> <!-- on a web server spporting ISS --> ////////////////////////////////// <!-- IE Version --> if (navigator.appName=='Microsoft Internet Explorer') { var ip = "<!--#echo var=\"REMOTE_ADDR\"-->"; document.write(ip) } Hope that helps. I tryed documenting it a little bit for ya, so beer with me :-D Later, Caleb

    Web Development java javascript tools help tutorial
  • Login

  • Don't have an account? Register

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