- Strength to Increase Rep
- +9
- Strength to Decrease Rep
- -2
- Upvotes Received
- 83
- Posts with Upvotes
- 71
- Upvoting Members
- 35
- Downvotes Received
- 33
- Posts with Downvotes
- 17
- Downvoting Members
- 22
383 Posted Topics
Re: [code] #include <alloc.h> #include <conio.h> #include <graphics.h> #include <stdio.h> #include <stdlib.h> struct BMP { char Type[2]; //File type. Set to "BM". unsigned long Size; //Size in BYTES of the file. unsigned long Reserved; //Reserved. Set to zero. unsigned long OffSet; //Offset to the data. unsigned long headsize; //Size of rest … | |
I want to prevent my router from hard reset.... My friend often press the hard reset button to tease me.... Is there any way................... | |
Re: can you show me the code where you are saving data to database (local)? | |
Re: Follow this link [url]http://stackoverflow.com/questions/2596641/simulate-backspace-key-with-java-awt-robot[/url] [code] robot.keyPress(KeyEvent.VK_SHIFT); robot.keyPress(KeyEvent.VK_BACK_SPACE); robot.keyRelease(KeyEvent.VK_BACK_SPACE); robot.keyRelease(KeyEvent.VK_SHIFT); [/code] | |
Re: seems like a security issue, login from administrator account... Still you can access then scan from an antivirus because some times virus block your access. | |
Re: Your quesiton is not clear, please give an example with your question that what you want to achieve, Any how i just guessed that synchronization can be your issue , check this link http://docs.oracle.com/javase/tutorial/essential/concurrency/syncmeth.html it will help you to grab the basic knowledge of synchronization. | |
Re: When i started the J2ME i used this forum http://www.roseindia.net/j2me/. Hope this help you too. | |
Re: I compiled your code at first i got the errors you have described, so i took some parts and re compiled one by one .. Your code is o.k it works. | |
Re: Kindly paste the error or explain it. Reading a huge code is a bit difficult for every programmer. | |
Re: You havnt mentioned your code. But according to the error you mentioned this thread can help you. http://stackoverflow.com/questions/5180713/old-format-or-invalid-type-library-exception-from-hresult-0x80028018-type-e | |
Re: Why dont u try bluetooth...... | |
Re: Swing is the primary Java GUI widget toolkit. It is part of Oracle's Java Foundation Classes (JFC) — an API for providing a graphical user interface (GUI) for Java programs. Swing was developed to provide a more sophisticated set of GUI components than the earlier Abstract Window Toolkit (AWT). Swing … | |
Re: Your question is not clear, kindly please paste some code and some explanation to elborate your problem. | |
Re: You actually need to learn events through buttons in c#. http://www.homeandlearn.co.uk/csharp/csharp_s1p8.html Check out the link. | |
Re: You have to change your key listener from Released to Pressed. Reason is on release it check so your characters go out of range. Hope this help. public void keyPressed(KeyEvent key) | |
I am working on grid view in c#. I want to attach a key press listener with grid view to dectect up and down keys. I tried "Editcontrol" but it didnt worked. Also "Keypressed event" with grid view , it also didnt worked. Before that I used "Mouse Event" and … | |
I have created a project in c#.net. At the time of implemenation it require framework and updations which become a headace, i want to remove this .net nature from my application. I mean to say i want to embed the dll libraries with the application so they become independent of … | |
Re: It isnt difficult, all you have to learn graphics library of java. Its drawing of a rectangle and putting buttons over it. Also u can draw a jpanel and put buttons and increase it size gradually. http://www.imint.com/demos/islide/demo3500.htm this website will help you. | |
Are there any open source video hosting complete websites? | |
Re: You can search alot over internet , here is one http://vb.net-informations.com/crystal-report/vb.net_crystal_report_step_by_step.htm | |
Re: its because scanner class reach to end when counting the letter. It will return 0 for other two. 1) You can solve this by making a string. and pass that string to scanner 2) make a custom class which has three variable count, total count and length. and make function … | |
Re: yes there is, place that file with the jar, or in a folder with the jar. Like FILES in folder. then reference throught `FILES//file-name` Thats how you can make it dynamic, it will work on all platform. | |
Re: Caches is a intermediate memory which is required to hold data. This provide faster performance by hardware. In computer cpu has registers then caches. L1 Come first then L2 and then L3 and so one. In last it has access to Ram. The more near to cpu the more it … | |
Re: for checking strings use equal function. == sign doesnt work properly while checking strings. E.g String a = "hello"; a.equal("hello"); // ---- true ---------------- | |
Re: If you are using JDK 1.7.0 then you have to use generic type as stated in its documentation http://docs.oracle.com/javase/7/docs/api/javax/swing/JComboBox.html You wont find that problem in 1.6. | |
Re: You can follow two syntax for loading image //-------- Directly File Location ------------------ pictureBox1.Load(imageFileName); OR //-------------- Load an image from image object ----------------- this.pictureBox1.Image = image; | |
Re: First Problem Solution : Select All deptno and then select the user specific dept no. and make it selected Please post your code here, so i can check it out. | |
Re: there is no need for OR operator.... use this while(name.toUpper().equals("anything".toUpper())) { //-------- use to upper function to make it in one case and equal to compare them. // Above is java syntax i hope there will be same in c# } | |
Re: Is it shuting down during booting process or after boot? Can be battery problem. | |
Re: There is no error in the program, When u run the jar... U must run like this. java UDPClient message ipaddress //------------ message can be any message u want to transfer while ipaddress is needed of destination computer In your program args[0] point to message while arg[1] point to ip … | |
Re: The reason the program isnt ended is still the process is running. You have to terminate the process. Write exit and you will see the program ends. | |
Re: Are u trying to fetch the table names only? If Yes the query the database with "show table", after that get the records and add them as an item in jcombobox. and can u send me full code, i will help u. or just paste it here properly. | |
Re: Here is Syntax for Switch switch (expression) { case constant-expression: statement jump-statement [default: statement jump-statement] } In your case it will be like this swith(result){ case 100: showMessage("Some Message"); break; default : showMessage("No Match Found"); } //----------- Default case show when no matching case found in swith statement. | |
Re: Seems like cable problem. Check your cable... Also other p.c can have virus which is creating connection problem. | |
Re: TEXTBOX FORMATTING in a single statement. Textbox formating using a single line of code. I Hope this helps. Example : textBox1.DataBindings.Add("Text",myDataSet,"UnitCost",true,DataSourceUpdateMode.OnValidation,0,"C"); The last parameter "C" formats the UnitCost field to Currency Format. The table below is a list of string formatting parameters that you could use. Table of Formats -------------------------------------------------------------------------------------------------------------------------------- … | |
Re: Yes you can save data as much as you have space, after opening the connection. There is no need to re open the connection again and again. After sending the data closing the connection is best practice. | |
Re: When user buy a product then deduct it with present quantity. Check must be applied for quantity value. And update the new reading in the database. | |
Re: Answer of 2nd question is 1/2 is took at integer and there are answer is converted to int. Thats why we cast it to double. | |
Re: Its a easy task. U better learn some joins for database. I am writing a pesudo query for you , use the syntax and build one for you. select the required fileds from table t1, table t2 where t1.articlenb = t2.article and t1.cell = 'yes' and t2.instock > 0 | |
http://www.daniweb.com/software-development/csharp/threads/202843/take-backup-of-sql-server-database-using-c Error : Back failed for Server I am using smo code from this thread , but it cant backup... | |
I am working on a project, i am using threads over here.. I run a thread and waiting for its isAlive status to become false but my thread is not terminating... Here is the Code Sample. Thread t = new Thread(new ThreadStart(print)); t.start(); while(t.IsAlive) { } console.writeline("Thread is Dead Now"); … | |
Re: Oho A lot of code for such a small application. U better check online examples for Prime Number Finder. Your problem lies in 2nd Loop it doesnt end because u dont have a condition check. So it moves towards infinite loop. | |
I am using c# for my project, and i am working on a splash screen. Splash screen checking necessary files, problem is files are checked before showing splash screen. I want to do file checking after splashScreen interface become visible. I am using two methods //----------- Constructor --------------------------------------- splashScreen() { … | |
Re: I think you have to make your o.s capable to display the chinese text, not the editor. Goto Reginol and language settings and install asian font. That will do it. | |
I am working on a project which require to add panel over another panel and repaint it. I can easily do in java. I am getting some problems in c# I have a form name : Registeration.Form I have a panel name : mainPanel I want mainPanel to display Registeration.Form … | |
Re: echo your $name, also paste your url address here, seems like you are not passing correctly the name parameter. | |
Re: router are used to connect two different networks. If router A has IP 192.168.1 and then B must be different lets suppose 192.168.0, u just need the ip address of the computer/device u want to ping. Suppose ping 192.168.0.5 | |
Re: Sounds like home work. Try few lines and then ask for help. No body here is free to do your homework. | |
Re: 1) strrr object isnt intialized yet, u have initialze it first. strrr = new String[size]; 2) Now u can check your string, if its null dont split. |
The End.