68 Solved Topics

Remove Filter
Member Avatar for Majestics

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 …

Member Avatar for TnTinMN
0
173
Member Avatar for Majestics
Member Avatar for Majestics

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...

0
78
Member Avatar for Majestics

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"); …

Member Avatar for Mike Askew
0
319
Member Avatar for Majestics

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() { …

Member Avatar for Mike Askew
0
92
Member Avatar for Majestics

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 …

0
93
Member Avatar for Majestics

I am new to php, i am creating a website which fetch data from mysql, if the data is more then 10 columns then i want to give a link page 1 , 2 , 3 , 4 (Like google) so user cant navigate through them.... How can i do …

Member Avatar for pritaeas
0
91
Member Avatar for Majestics

Can some one provide me an example to call dll from java? I learning some thing about JNI , also linkage with c++ but doesnt found any cool stuff on c# and java... I want a free solution. Thanx in advance.

Member Avatar for Majestics
0
229
Member Avatar for Majestics

I am facing some problems in a project regarding to byte fetching from a file and storing. Problem in java bytes is they are number, instead of char. In file i have seen a byte is like a char... Also how to make bytes unsigned , because signed bytes creates …

Member Avatar for Majestics
0
198
Member Avatar for Majestics

How to provide auto size re-ajustment in java design i.e when vb.net form are expanded then it automatically expand the button and textfield appropiatly like nothing changed... while in java every thing messes up... Any Suggestions.

Member Avatar for Majestics
0
165
Member Avatar for Majestics

How can i ready physical layer of osi through c language? Is there any other language to perfom this task?

Member Avatar for DeanMSands3
0
322
Member Avatar for Majestics

I want to assigne value to string array but i dont know the size of the array from start... Is there any way to do it Programatically for(int i=0 ; i < unkownSize; i++) string[i] = some value I hope my question is clear.

Member Avatar for NormR1
0
144
Member Avatar for Majestics

Its not a new question, i already searched many forums and found many answers but the builders i found arent able to compete with builder of vb.net and c#.net, so i thought to take some decision from some experience people , please give me some of your suggestions. I already …

Member Avatar for CrazyDieter
0
347
Member Avatar for Majestics

Any About this error run: Exception in thread "AWT-EventQueue-0" java.lang.VerifyError: (class: stockinventoryforecast/productEntries, method: <init> signature: (Ljava/sql/Connection;)V) Constructor must call super() or this() at stockinventoryforecast.mainPage.actionPerformed(mainPage.java:226) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6504) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6269) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4860) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4686) …

Member Avatar for Majestics
0
137
Member Avatar for Majestics

at javax.swing.table.DefaultTableModel.setValueAt(Unknown Source) at javax.swing.JTable.setValueAt(Unknown Source) I am setting a table row manually.... its just for checking purpose , i have 10 rows and 10 columns but still i am getting this error, please help me to resolve it....

Member Avatar for Majestics
0
283
Member Avatar for Majestics

I am using jasper report (ireport for designing). I want help regarding to set [B]relative path[/B] of the [B]images and jar[/B] files for report... As the jasper report pick up the [B]absolute path[/B] so it create problem when the drive is changed or even pc is changed... Kindly please help …

0
84
Member Avatar for Majestics

I have a laptop, i have pluged it with a wire which is near to the router it worked but when i connected it a wire which is 60m away from router it says "UN-identified network", please help me to resolve it.

Member Avatar for Majestics
0
133
Member Avatar for Majestics

ORA-01000: maximum open cursors exceeded tips I am getting following error. I made a combo box with select query behind it, i used itemlistener to fetch data. Today during testing i found that if user move too quickly in combo box so select query will be fired for each number …

Member Avatar for shapam
0
176
Member Avatar for Majestics

I m trying to pass a 10.10 value to double and it takes 10.1 instead of this? Any solution.

Member Avatar for mKorbel
0
312
Member Avatar for Majestics

Its a simple problem... I placed the socket code under a button, if server is present it respond very quickly if not it takes time to respond.... I want to shorter that time , is there any way?

Member Avatar for ~s.o.s~
0
826
Member Avatar for Majestics
Member Avatar for Majestics

I have using following code over jdk 6.0 but after first round it doesnt work .... [code] if(table.getRowCount() -1 == table.getSelectedRow()) table.editCellValues(0,columnno); else table.editCellValues(table.getSelectedRow(),columnno); [/code] These lines are in mouse clicked method... Problem is when it reaches to end, and when fw button is pressed it jumps to another column.... …

Member Avatar for Majestics
0
229
Member Avatar for Majestics

I tried today many times but nothing work... So whats the procedure to give exam for this certification????

0
34
Member Avatar for Majestics

I am using jcalendar... I want to bind it with a textfield, i am using button to display this calendar , but i want to display it below the date text field, any suggestions???

Member Avatar for Majestics
0
98
Member Avatar for Majestics

Which two code fragments correctly create and initialize a static array of int elements? (Choose two.) A. static final int[] a = { 100,200 }; B. static final int[] a; static { a=new int[2]; a[0]=100; a[1]=200; } C. static final int[] a = new int[2]{ 100,200 }; D. static final …

Member Avatar for Majestics
0
251
Member Avatar for Majestics

Please help me solving few thought questions 1) 255.0.0.0 is class A subnet mask which mean 255 network portion but in ip address we can only use upto 126.255.255.255, after 127 class b range starts? 2) If we buy an IP , after doing subnetting of that ip, how will …

Member Avatar for Majestics
0
110
Member Avatar for Majestics

[code] mysql_query("UPDATE hostip SET time = '".date("d/m/y h:m:s")."' WHERE ipaddress = '".$ip."'"); [/code] Whats the problem in this query.... Its giving me syntax error...

Member Avatar for Majestics
0
59
Member Avatar for Majestics
Member Avatar for nalawar
0
159
Member Avatar for Majestics

Its providing me error................................ [code] insert into products_information values(1,to_timestamp(current_timestamp,'DD-MON-YYYY HH24:MI:SS'),1200,10,1000,12,1100,10) / ERROR: date format picture end before converting entire input string.... [/code] This is making me nuts... Please Help a bit....

Member Avatar for debasisdas
0
152
Member Avatar for Majestics

i have two products , product one has 5 entries of date and product 2 has 4 entries. I want to select max date entries of both... [code] select max(entrydate) from products,products_information where products_information.pno = products.pno [/code] It return a single max date of one product.... Please Help ..............

Member Avatar for Majestics
0
90
Member Avatar for Majestics
Member Avatar for Majestics
0
147
Member Avatar for Majestics

As the title stated i want to show tooltip when the user press up and down keys in combo box, Please any hint ..... Regarding to problem

Member Avatar for mKorbel
0
129
Member Avatar for Majestics

I have googled alot exampled to create auto complete jcombo box, found many libraries also codes but they are pretty much complex, has any one idea to create this as easy as possible????

Member Avatar for Majestics
0
1K
Member Avatar for Majestics

I want to create a tool tip which has fix rectangular size and show custom font's... Any tips or link or any material to start with?

Member Avatar for mKorbel
0
158
Member Avatar for Majestics

Is there any method in java to know size of decimal?? I mean 14 has 2 digits , 100 has 3 etc....... I m going to implement auto generated number like A0001 , now i want to change it on each new entry , so Does any one has any …

Member Avatar for Majestics
0
119
Member Avatar for Majestics
Member Avatar for Majestics
0
161
Member Avatar for Majestics
Member Avatar for Ezzaral
0
96
Member Avatar for Majestics

I have encountered ORA 00604 Error, while i was accessing database from my app over Vista system over network, it runs ok on database system... Can any one help me please finding out the solution.

Member Avatar for Majestics
0
94
Member Avatar for Majestics

How to keep look and feel of java program as classic windows style , even the style of the windows change to windows xp look, or aero look? I mean permenantly keeping classic look? Has any one has any idea? Thank you............... for any advice , help... :)

Member Avatar for Majestics
0
167
Member Avatar for Majestics
Member Avatar for Majestics
0
214
Member Avatar for Majestics

I HAVE TRYING SPLASH SCREEN IN MY APP, BUT CANT GET THE BASICS YET.. SPLSAH SCREEN ISNT WORKING, CAN ANYONE GIVE ME A SIMPLE EXAMPLE hERE is my code. [CODE] import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import javax.swing.JWindow; public class introduction extends JWindow { private Image img; introduction() { setSize(128,128); …

Member Avatar for Majestics
0
184
Member Avatar for Majestics

How to add flash objects in java without Java Flash Player Api? Any idea. Just hint required.

Member Avatar for Majestics
0
100
Member Avatar for Majestics

I want to change my email address from [email]greatmajestics@hotmail.com[/email] to [email]greatmajestics@yahoo.com[/email] , i want to recieve alerts on yahoo ID.. But when i tried to change it give me already present warning... It is requested to admin or mod to please correct this problem.

Member Avatar for Majestics
0
246
Member Avatar for Majestics

I have placed thread is alive in a loop , so when the thread finish its work so i will start another work.... but this makes program heavier. is there any other method [code] while(thread1 is alive) wait getvalue from thread1 and start thread2 [/code]

Member Avatar for Majestics
0
115
Member Avatar for Majestics

Is there any class for information providing box when i bring mouse over the object in java. I mean when i bring mouse over the combo box it display information about that combo box I cant load picture, seems some error in picture loading area.....

Member Avatar for mKorbel
0
101
Member Avatar for Majestics

I have connected java with oracle over lan, in connection string i have provided the IP address, now the startup is very slow, how can i make it fast, i have already asked the same question in java forum but no responce, so i thought oracle expertise can answer this …

Member Avatar for Majestics
0
239
Member Avatar for Majestics

I have connected java with oracle and providing the facility of accessing data on the lan... I have also open a port, but still my java app over lan start very slowly after that it speed up, but at startup its very slow Y? Thank you for any suggestion

Member Avatar for Majestics
-1
75
Member Avatar for Majestics

I am writing a prg which take a value from user and check weather its present in table or not.... [code] table.getValueAt(i,j).toString().toLowerCase() == searchfield.getText().toLowerCase(); [/code] Well if yes then make that cell red... What to write to make cell red?

Member Avatar for mKorbel
0
109
Member Avatar for Majestics

select companyname,sum(sale) as TotalSale,sum(purchase) as TotalPurchase from invoice group by companyname Having companyname IN (select companyname from invoice) It returns sum only for those column whose all sum are not blank, how can i show blank sum values I mean there are 7 companies but only 4 records are shown. …

Member Avatar for drmrkrch
0
167
Member Avatar for Majestics

How to take a user table backup from that user account? I mean i want to give him grants to take backup... also query to take backup.

Member Avatar for Majestics
0
112

The End.