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
calebcohoon
Posts
-
VB.Net Sockets [modified] -
how to create .pdf file.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++ Simple Class WindowHello! 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
-
Toolbar and Combo Box problemHello, 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
-
Edit boxesThanks for your replies!
-
Edit boxesHello, 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
-
Browse Button in an Dialog BoxHello! 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
-
It just stopped working...Hello, Have you tried just re-registering the control on your machine? Later, Caleb
-
C++ Class Help!!!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>
-
Javascript and ActiveXThanks
-
Javascript and ActiveXHello 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
-
Want to run an exe file of client pc.Actually they use vbscript. The vbscript invokes the MSN activex object and executes it in the webpage.:)
-
Combo box sizeHere's an example:
Drums
Guitar
Computers
Basketball
DancingLater, Caleb
-
How to full screen the window of the internet explorerTry out this link: http://www.javascript-page.com/open2full.html Hope it helps :) Later, Caleb
-
Dialog BoxI 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
-
Resolving functions from character strings...any ideas?Check out this link: http://www.flipcode.com/cgi-bin/msg.cgi?showThread=COTD-CallFunc&forum=cotd&id=-1 That should help :) Later, Caleb
-
Simple Registry QuestionThanks Alot :)
-
Simple VB ScriptHello, 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
-
How to access the IP Address of the client machine using Java Script or VBScriptSorry, For the IE version you must have SSI installed. :) Later, Caleb
-
How to access the IP Address of the client machine using Java Script or VBScriptHere'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