- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 7
- Posts with Downvotes
- 5
- Downvoting Members
- 7
88 Posted Topics
I am new to C# and ASP.net. I have been asked to create a login screen which i have done. but i am sending messages as plain text. but the requirement is to not show the password that is sent across the network. How can i do this. Any tutorial … | |
Hello, I have Googled this for days, but couldn't find a suitable code/tutorial. I need to write a simple java webservice that would return a XML/JSON file as its output. For example say there's a button, and when i click on it, it should run a SQL [CODE]select * from … | |
I need to create a swing application, and draw a rectangle and paint it with RGB values. [CODE] Color c = new Color(10, 198, 19, 23); [/CODE] How should i do this ? any tutorial or example i could start with ? | |
Can someone give me a sample code to confine the cursor on to a Form. I found this ([URL="http://msdn.microsoft.com/en-us/library/ms648383(v=vs.85).aspx"]ClipCursor API[/URL] , that says it can be done using it). I am having a C# windows form application and using VS 2008. | |
Hello , I have a .exe file written in C++. i have used; Process.Start("E:\\cmdf.exe"); to execute the code from C#. Now i need to ; (1) hide the command prompt (2) Then to find a way to stop the command prompt (as in closing the application) How do i do … | |
I have a Visual C++ console application (I am using windows Vista, Visual studio 2008). When executing the program i don't want to see the Console popping up. How do i code this. I tried simply removing all cout and printf statements but yet this didn't help. Need help here. | |
I have C# windows form application, with all default settings. I am using VS 2008, OS - Windows VIsta. When my form loses focus, (as in when a user clicks on something behind the form), i need the same form that lost focus to regain it. I made use of … | |
I created a windows form application (using windows vista, MS visual studio 2008). This form only has a button and a textbox. I need this form not to lose focus. for example when the form is on the screen, the user can click something that is behind the form, then … | |
Hello, i have written a code in 'C' using visual C++, and i was able to create a DLL out of it. Now i need to access a method of this DLL, from my C# Main() method. How do i do this? The steps that i followed so far; 1.) … | |
I am new to C, hope someone could help me here. I need to implement a keystroke, for example, i need to programatically implement the 'return key'. As in if someone is pressing the 'return key' from the keyboard. but here, the user will not even touch the keyboard. the … | |
I have 2 applications. one is a console application and the other is a windows form application. I need both of these to run together in order for my application to work. for example: The console application - has controls over the cursor, so it'll navigate 5cm blocks from left … | |
I have a windows form application which has a text box and 3 buttons. Now i need to add focus to a button for 1 second, and then add focus to the other button for a second.. like wise to adding focus to all these 3 buttons for 1 second … | |
I am using Visual Studio 2008. I created a windows Console project and wrote my code. it compiled well and the program created a default .exe file. Now i created another project. this time its a C# project, and i am trying to access the functionality from the C++ project … | |
There is a Windows Form application for example say 'A'. and there is another class called 'example.cs' that will call 'A' as apart of its action. When 'example.cs' calls 'A' , 'A' will pop out, and continue to execute. what i want to do is, when 'example.cs' calls 'A' , … | |
I have a List [CODE]List<Food> item[/CODE] , which holds the following. 'Food foodID', 'Food foodName', 'Fruit fruit' Fruit is an Object. It is being saved into the 'List<Food> item' . Now i need to create an Object of 'Fruit' , and save all the 'Fruit' elements in the 'List<Food> item' … | |
I have a List <Food> , which contains values such as food_id, food_catergory, food_detail etc. There is a java file call 'Event.java' it contain the List <Food> as a variable. Now there's a JSF page called event.xhtml. I need to print all the items in the List<Food> in a table … | |
I need to create a array of type [ICODE]unsigned short[/ICODE] and the values that i am going to set in there is in Hexadecimal. for example: 0x733D , 0x995c etc. there are 2 things i wish to do here; 1.) create an [ICODE]unsigned short[/ICODE] array and initialise the above mentioned … | |
I am writing a code to do a google search. i am actually appending the string to the end of the google search string [CODE] <body> <form name="f" action="http://www.google.lk/search?" target="name3"> <input name="name1" type="hidden" value=""> </form> <center> <iframe name="name2" width="100" height="300" src="somePage.html" target="name3"></iframe> <iframe name="name3" width="100" height="300"></iframe> </center> </body> [/CODE] This … ![]() | |
Hello I have been trying to code this for the last few days, and i am unable to come across a solution for this. Would you please mind helping me out on this? There are some records in a notepad, which are as follows [CODE]1 Paul Mac 3 1 222 … | |
I need to know if you can add a javascript within [CODE]my_window.document.write( ); [/CODE] as [CODE]my_window.document.write( '<html><head><script type="text/javascript" src="http://somesite.com/xxy.js"></script></head></html>' ); [/CODE] When i add the code as shown above, it gets printed inthe parent window, how do i overcome this, if there's no way to overcome this, please suggest a … | |
I need to know how to work this out, say for example i have a method is C++ that is helloworld(), and i need to call it from a C program. [CODE] // in my C++ program void helloWorld(){ // some code; cout<<"hello world"; some code..... }[/CODE] [CODE]This is my … | |
I need a method to invoke the ENTER key in the keyboard. I tried this; yet its for return and not ENTER [CODE]keybd_event(VK_RETURN,0x9c,0 , 0);[/CODE] All i want to do is, to press the keyboard key from the code. How do i do this? | |
There is textbox, and 2 buttons in a web page. when the user clicks one of the button, the character 'A', should get printed on the textbox. and when the user clicks on the other button, 'B', should get printed on the textbox in the format 'AB'. I was looking … | |
I have a web page named A.html, and this web page contains a text box called 'text1', and a button. When a user clicks the button, a pop up window appears, the name of this pop up window is B.html. B.html has a text box, and its called 'text2', and … | |
I wrote a C++ program that could sendKey. the code is as Follows; [CODE]s.SendKeys(_T("{Enter}"));s.SendKeys(_T("{Enter}"));[/CODE] this piece if code is inside a function. Now, i need to access this method from a C code. When i added the includes, i get alot of errors. Some says, that you can't access C++ … | |
I am trying to create a web page, that could be navigated by using tabs. I have been googling for days trying to find a way to change colour of a menu bar when it is on focus (when used the tab control in the keyboard). But it doesn't change … | |
I need to identify, for example, when we hit a text box in a web page, we get a "| " key sign right (Which would blink, until we type) If you don't get what i am saying, go to google and click on the search text box, u would … | |
I am using VS2008, OS win Vista. I need to create a C++ windows form program to add a .swf flash animation to the form. How is this done. Any sample code, or a good tutorial is appreciated. | |
I need to code a C++ program to execute the tab control of the keyboard through the code. I am expecting when the tab control of the code gets executed, we should be able to navigate throught the web page through it. for example, take a web page, and we … | |
I am using VS2008, OS win vista. i am in the process of coding an application that would tab automatically (this is just an example, not the code i am intending to do). So basically, what i expect is to write a C++ code that could press the 'tab' button … | |
I successfully configured MYSQL with VS2008, i executed the following code, and no errors were thrown. [CODE] #include <mysql.h> #include "stdafx.h" void main() { }[/CODE] Now i need to write a C++ code to retrieve some values from a Database, therefore i used the following code; [CODE] #include <mysql.h> #include … | |
I need to add MYSQL to Visual studio 2008, and run a simple SQL may be an insert to verify everything is working. so this is what i did. i got this part from a forum>> [QUOTE]go to control panel>administrative tools>odbc datasource then on user dsn click add select Mysql … | |
I am new to conneting to MYSQL through a C++ code; so this is what i did i installed MySQL Server 5.1 (it was a EXE), and thats it. i opened the MYSql command line client and created a DB, and added a table and values to it. This is … | |
Re: you could use a transparent frame as i can remember. Strange that you are still using JMF :S | |
I need some help to write to a MySQL database using C++. any basic tutorial will be appreciated. I did google but couldn't find a beginner tutorial. I am sort of lost here. :( | |
There's a header class called example.h [CODE] #ifndef __Sample_H__ #define __Sample_H__ namespace example { namespace Samples { class AlgorithmSample { public: virtual void release(void) { delete this; } virtual boolean process(void); }; class AlgorithmDesc { public: virtual String getName(void) const { return "some example program"; } }; }; }; #endif … | |
I need to write a C++ code, where if theres a String called "hello" in the code each character should appear (character by character) on the mouse focus. That means where ever i click my mouse (Even on an external program), and when the on focus sign appears the characters … | |
I need to create a C++ program, that one could get a list of suggestions when he's typing. for example: when we type the letter 'A', a list of words that start with the letter A should display. then when we type another letter 'P', the words should filter and … | |
Re: First of all i'm not sure what you are expecting, i didn't run your code to see what is wrong, but from the look of it, i found these codes a bit unusual; [code] public String setID() { return ID; }[/code] and [code] public String getID() { return ID; }[/code] … | |
I have an opensouce project, that is been used c++ as its language. Now i need to use visual studio 2008, as the IDE in making some changes in the source. How do i import this project to my VS2008 environment? is there any converter i can use that could … | |
Re: I googled and found this link on [URL="http://www.docjar.com/docs/api/org/w3c/dom/Document.html#importNode(Node, boolean)"]importNode()[/URL] , let me know if it helps ! | |
Re: [code] try { BufferedWriter out = new BufferedWriter(new FileWriter("example.txt", true)); out.write("aString"); out.close(); } catch (IOException e) { } [/code] Just make sure "true" is the 2nd argument, it says to append or not. Hope this helps! | |
I need to know a way to read a XML file from java. for example if the XML file is >> [code] <PHONEBOOK> <PERSON> <NAME>Joe Wang</NAME> <EMAIL>joe@ffff.com</EMAIL> <TELEPHONE>202-999-9999</TELEPHONE> </PERSON> </PHONEBOOK> [/code] I need to get the persons name, as in when i specify "NAME" the name 'joe wang' should display. … | |
[CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>JavaScript Window Open Example</title> </head> <body> <SCRIPT language="JavaScript1.2"> function openwindow() { location('http://www.google.com','_self'); } </SCRIPT> <P> <input type="button" value="Replace Me!" onClick=" window.location = 'http://www.google.com/' ; "> <A href="javascript: openwindow()" >LINK 1</A> </P> <P>Back to the article:<br> <a href="http://google.lk" target="_self">LINK 2</a> </P> … | |
I got 2 machines both has the same operating system (Linux based), lets name these machines as PC 1 and PC 2. PC 1 has a hello world program that displays in a GUI, when we pass the command " java helloWorld smith " (smith is the parameter), and we … | |
Re: Or try this, [CODE] System.out.println(name[0] + " " + name[1]); [/CODE] ** and variable names should start with a simple letter | |
I need to append to Map to another Map... and this is what i did .. [code] import java.util.HashMap; import java.util.Iterator; import java.util.Map; public class sampl { public static void main(String[] args) { Map<String,String> FileMap =new HashMap<String, String>(); Map<String,String> stateMap =new HashMap<String, String>(); stateMap.put("1", "value0"); stateMap.put("12", "value1"); stateMap.put("13", "value2"); stateMap.put("14", … | |
I need to OCR a image and get the text of it .. i wanted to do this in java but , i found out that its hard to implement it that way. so i am trying to do this in C++ .. is there any possibility to do this … | |
i need to a Scroll bar or JScrollPane to My Jtree... I have googled and gone through several examples, but non seemed to have worked... Please can some one help me to solve this problem .. I simply need to have scrollers when the content of the JTree increases .. … | |
Re: This is a similar project try to learn it and then modify so it suits your requirements [URL="http://www.codersource.net/asp_net_datagrid_part1_azam.html"]http://www.codersource.net/asp_net_datagrid_part1_azam.html[/URL] |
The End.