43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for jrosh

Please any one can guide me how to write a [B] mysql database search[/B][I] in java....[/I] I want to search mysql database for some data in keywords. please help... thnakx

Software Development java mysql
Member Avatar for Sardar_1
0
2K
Member Avatar for aravind326

Hi, I have a java class that is being used by multiple people (from a UI). In the class i have a static HashMap with the userKey as the map key and an arraylist with data pertaining to the user as the value. I am using this kind of like …

Software Development caching java
Member Avatar for aravind326
0
391
Member Avatar for anand01

I have problem with jinitiator. I am using Oracle ERP forms which runs on Jinitiator.When I access some other java applet application at the same time it runs in the JRE in and works fine. When I pass the same java applet application in ERP through a link , I …

Software Development java oracle
Member Avatar for jwenting
0
196
Member Avatar for xidike

I'm having a great trouble in compiling a custom header file in my project, with Visual C++ 6.0, when I open my source files and click builds, every thing goes fine, but when I try to compile header file, I receive following error, " Cannot compile 'D:\Programs\SalesP.h'; no compile tool …

Software Development c++ open-source
Member Avatar for xidike
0
195
Member Avatar for GagaCode

I'm newbie to C# so please bear with me for that issue and just to make the issue clear i'm gonna start from the very beginning of the My code What i wanted to do @ the beginning that i wanted to populate my comboBox from MS ACCESS database but …

Software Development microsoft-access open-source
Member Avatar for GagaCode
0
417
Member Avatar for Amanpreet_1

i'll be gratified if anyone can help me thru this ..... my problm if that i have to retrieve data from my sql database ... bt itz stored thr from an app created in php .. so stored using preg_match function in php ....**&nbsp;hlo<div><br></div>** this is format i have it …

Software Development c# php
Member Avatar for Amanpreet_1
0
387
Member Avatar for CoilFyzx

Hello good day. I am trying to figure out if it is at all possible for me to do but I want to access the area that is outside the JScrollPane's view when my JFrame is resized. Let me explain; I have a LayeredPanewith two layers within a JscrollPane. The …

Software Development java mathematics
Member Avatar for CoilFyzx
0
235
Member Avatar for Spyderbane

I am trying to start a process a a different user but it keeps telling me that the "The directory name is invalid". Dim info As New ProcessStartInfo("notepad") info.UseShellExecute = False Dim password As String = "Password" Dim securePassword As New SecureString() For i As Integer = 0 To password.Length …

Software Development vb.net
Member Avatar for Spyderbane
0
583
Member Avatar for tricket_7

I am to create a program which creates multiple threads, has them do work in parallel, and terminates when the last thread is finished, sounds simple right? Here is the curve... I am supposed to create thread objects using scanner input, and I am at a loss When I run …

Software Development java multithreading
Member Avatar for tricket_7
0
729
Member Avatar for Amanpreet_1

i retrieved my values in a default array from sql query ,, bt evn if i have one element in my array m getting a list of items ,, y ? can anyone help me

Software Development
Member Avatar for Amanpreet_1
0
580
Member Avatar for matmunn14

I'm trying to write a small program to loop through a list of words and find the numeric order of the letters in the string, e.g. HELLO will return 21345 (I don't want to double up numbers) and PROSPER will be 3527416. I'm having trouble thinking of a way I …

Software Development python
Member Avatar for matmunn14
0
312
Member Avatar for Doogledude123

Cannot get FXMLLoader to load this fxml. Error: Feb 19, 2014 11:25:01 PM com.github.geodox.goldminer.GoldMiner start SEVERE: null java.lang.NullPointerException: Location is required. at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2825) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2809) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2795) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2782) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2771) at com.github.geodox.goldminer.GoldMiner.start(GoldMiner.java:24) at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319) at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:219) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:182) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:179) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76) at com.sun.glass.ui.win.WinApplication._runLoop(Native …

Software Development github java xml
Member Avatar for Doogledude123
0
5K
Member Avatar for kent.johnstone_1

in the code const char* buf what is the constant? The pointer or buf?

Software Development c
Member Avatar for rubberman
0
278
Member Avatar for king13

A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $.50 per hour for each hour [I]or part thereof[/I] in excess of three hours. The maximum charge for any given 24-hour period is $10. Assume that no car parks for …

Software Development c++
Member Avatar for radhakrishnan.akshai.3
0
24K
Member Avatar for DavidB

I am trying to use Visual Studio's debugging features more effectively; I certainly do not know all its ins and outs. At the moment, I would like to quickly see the values of an array. See the attached screenshot of the Watch Window. The variable **k** is a global array …

Software Development c++ ide visual-studio
Member Avatar for DavidB
0
1K
Member Avatar for Fatima_110

I'm just starting my 2nd semester in Java. The project for the semester is: I have to create a EDUCATIONAL GAME or any SYSTEM using java. I am clueless what to decide to make. Please I need help ... I dont have enough Java knowledge and need the idea of …

Software Development java
Member Avatar for Fatima_110
0
217
Member Avatar for Vish0203

I'm using a TableLayoutPanel which will contain a few dynamically generated LinkLabel's I get everything except the extra spaces in 1st and 2nd row. I've attached a snapshot through screecast. Can anyone tell me how to remove this extra thing? Heres the snap shot link : http://screencast.com/t/dZqRzSZU

Software Development
Member Avatar for Vish0203
0
143
Member Avatar for crebz

Am trying to get a function call but i cant get it to print. Please help here. This is the code: def foo(): name = input ('>>').lower().split() for item in name: if name == foo: print ('foo here!') else: bar() def bar(): name = input ('>>').lower().split() for item in name: …

Software Development perl python
Member Avatar for crebz
0
246
Member Avatar for Doogledude123

`final PerspectiveCamera camera = new PerspectiveCamera(true);` The constructor PerspectiveCamera(boolean) is undefined. http://download.java.net/jdk8/jfxdocs/javafx/scene/PerspectiveCamera.html Clearly says that it can accept a boolean for "verticalFieldOfView" Why is Java giving me this error?

Software Development java
Member Avatar for Doogledude123
0
357
Member Avatar for Pyler

I'm trying to implement a hangman game using linked lists but not getting anywhere. I want guessed characters to be inserted in a Linked list of chars at a position that corresponds to the character's position in the word they are trying to guess.(See example at bottom.) For some reason …

Software Development java linked-list
Member Avatar for JamesCherrill
0
2K
Member Avatar for Learner010

evenafter learning functions , i see a lot new things everyday in functions. its great because it gives the opportunity to learn new things. today , i see a function which have const keyword with function , like this : void fun_name() const{ } i couldn't understand it . would …

Software Development c++
Member Avatar for Learner010
0
186
Member Avatar for CoilFyzx

Howdy-ho. I am trying to right click on my table and change the cell border color and highlight color of that cell. I have figure out how to give that particular cell focus when I right click it by using int row = fixed.rowAtPoint(evt.getPoint()); int col = fixed.columnAtPoint(evt.getPoint()); fixed.changeSelection(row, col, …

Software Development java
Member Avatar for mKorbel
0
689
Member Avatar for joshl_1995

Hello Community, I would like to know if there is a way to get the corresponding list index of another list like below: Dim panelTitle As New List(Of String) panelTitle.Add("First Panel") panelTitle.Add("Second Panel") panelTitle.Add("Third Panel") Dim panelName As New List(Of Panel) panelName.Add(Panel1) panelName.Add(Panel2) panelName.Add(Panel3) So when I choose "Second Panel" …

Software Development vb.net
Member Avatar for joshl_1995
0
259
Member Avatar for Amanpreet_1

i declared a variable string to store my query video_id value in it `Inline Code Example Here` string videoid; private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { loaddata(); string myconnection = "connection string"; MySqlConnection myConn = new MySqlConnection(myconnection); MySqlCommand SelectCommand = new MySqlCommand("select * from livestream.video where title ='" + channeltitle.Text …

Software Development sql
0
148
Member Avatar for Labdabeta

Hello, I wrote a library for arbitrary precision arithmetic recently and spent a long time implementing efficient multiplication algorithms. Now I am looking to see if it is possible for me to optimize anywhere else. One place that I thought should be more optimizeable is my division algorithm. Right now …

Software Development algorithm c++
Member Avatar for mike_2000_17
0
1K
Member Avatar for CoilFyzx

Hello good day. I have an idea for my program. I have a Table in my display. I want to add a Component to - let's say - the right of my screen. When I click this component it should display to me buttons and other components that I have …

Software Development gui java
Member Avatar for JamesCherrill
0
532
Member Avatar for swilcox1110

I am very new to visual basic 2010 and am really struggling with it. My assignment is a fat gram calculator and the example is there are 200 calories in the food and there are 8 grams of fat in the food. The calculator gives the percentage of calories that …

Software Development visual-basic
Member Avatar for swilcox1110
0
633
Member Avatar for Suzie999

I am wrapping the Windows API CreateProcess. Here is my code. int __stdcall _Execute(LPTSTR program, LPTSTR workingdir, WORD show){ // Check if program has content if (!program || !*program){ MessageBox(NULL, L"You must provide path to executable", L"Error", MB_OK); return 0; } // Create buffers and copy program param to szCmd …

Software Development api c++ google-api windows-api
Member Avatar for Suzie999
0
324
Member Avatar for GrantB

I have a Rad gridview that databinds and popluates date according to a seacrh. There is a linkbutton that i want to be able to change on column from saying false to true or vice-versa. Please help protected void rgUsers_ItemCreated(object sender, GridItemEventArgs e) { if (e.Item is GridDataItem) { GridDataItem …

Software Development asp.net
Member Avatar for GrantB
0
315
Member Avatar for PulsarScript

Hi to all,i have to make project with the classes.Can anyone suggest the topic for the project?Or show the idea.Thank you.

Software Development c++
Member Avatar for rubberman
0
111
Member Avatar for pekemp23

Assignment is as follows: **Create a GUI-based program to accept name of donor, name of charity, and amount of pledge from the user. Display a list of entries in a JTextArea or JTable. Submit the .java source file or files for this program. Do not use any package statements in …

Software Development gui java java-swing window-manager
0
108
Member Avatar for angel06

Hello guys would someone please help me fix my program. I have two classes the one is named GetValues and the other one is SampleReturn. The GetValues class has an error illegal start of expression in the line `public static String kuhaName()` . The code is below. GetValues class codes: …

Software Development java
Member Avatar for ncmathsadist
0
583
Member Avatar for G_S

I have this: dic = {'ál':1, 'él':2} string = "ÉL" number=dic[string.lower()] and it's giving me a KeyError. I realize then that 'ÉL'.lower() is giving me 'Él', i.e. it is not affecting the É at all because some weird Python 2.x encoding issue. Can somebody help me please? I can't tell …

Software Development python
Member Avatar for G_S
0
1K
Member Avatar for bnn678

a1 = 1 a2 = 2 a3 = 3 ....... a10000 = 10000 So, I want to create a function that will autoassign names to numbers. In the the code above, for x in range (desired range): a(quantity of x) = x how do i get my code to call …

Software Development python
Member Avatar for Gribouillis
0
213
Member Avatar for Elixir42

Dear Kind DaniWebbers, I am trying to overload the fstream operators (ofstream/ifstream), so that I can save a class to a 'Binary' file and also display it with cout. But the ways in which each need to be implemented is different. Please can you show me how to define different …

Software Development c++
Member Avatar for vijayan121
0
4K
Member Avatar for Amanpreet_1

I am having an app in visual c# ,, i need to retrieve the table values of coloumn name title corresponding to a certain user id in combobox on the same form . can anyone help me doing this ?

Software Development c#
Member Avatar for Amanpreet_1
0
413
Member Avatar for eldiablo1121

Hello, I have to write a program that will solve polynomials by user input, my program compiles, but gets an exception error. Here is my code: import java.io.*; import java.util.Scanner; import java.util.LinkedList; public class PolynomialList { private Node first = new Node(0, 0); private Node last = first; private static …

Software Development java linked-list mathematics
Member Avatar for JamesCherrill
0
1K
Member Avatar for malik.epperson

I need help with a homework assignment. I am to create a doubly linked list that reads the numbers from file and then compare the time it takes to sort the numbers using three different sorting algorithms. Here is the code that I have. The algorithms are not working(insertion sort …

Software Development c++ linked-list
Member Avatar for malik.epperson
0
1K
Member Avatar for seethu214

An n x n matrix is a positive Markov matrix if all of its elements are positive and the values in each column sum to one. Write a program to check whether a 3 x 3 matrix is positive Markov. Your program should prompt the user to enter a 3 …

Software Development java
Member Avatar for JamesCherrill
0
183
Member Avatar for GrantB

My select new statement get values from two different tables but it does not data bind in the grid view please help. var search = (from u in db.Users ` join s in db.Sites on u.SiteID equals s.SiteID` where u.FirstName.Contains(tbSearch.Text.Trim()) select new { u.FirstName, u.LastName, u.Username, u.Password, s.SiteName, u.Active }); …

Software Development
Member Avatar for GrantB
0
189
Member Avatar for novice20

hi all... how to find the localhost ip address in python [B]import socket socket.gethostbyname(socket.gethostname())[/B] gives me 127.0.0.1 instead of my ip address any help...........

Software Development python
Member Avatar for Suraj_2
0
928
Member Avatar for alina.nazchowdhury

Every single time I try to use a control from components on vb6, I put the code, I run the program, then when I try to open the same program in another day, its not working, its giving me the error : Line 13: Class MSAdodcLib.Adodc of control Adodc1 was …

Software Development visual-basic
Member Avatar for alina.nazchowdhury
0
2K
Member Avatar for wildplace

i need to create a project that able to run both under linux and windows(visual studio)... i pretty much finish all coding and able to run both windows and linux in separate files the problem i deal with is the header file which visual studio required #include "StdAfx.h" and not …

Software Development c++ visual-studio
Member Avatar for deceptikon
0
2K
Member Avatar for RikTelner

How to create DOS system? Yes, the ye oldie **Disk Operation System** which I could fill with a lot of tools, bombs, viruses, ---- pics and what not. That will back me up when computer explodes. When I tried to Google: https://www.google.nl/search?q=How+to+make+DOS It shows me how to boot DOS from …

Software Development
Member Avatar for RikTelner
0
719
Member Avatar for mavtcr

Friends again problem with date function In my form there is a text field -txtDod- of Date type formated like "dd-MMM-yyyy" My input is also formated like "dd-MMM-yyyy" Now see my code Private Sub TxtDod_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case vbKeyReturn If Not IsDate(TxtDod) Then LblMsg = "Enter Date …

Software Development visual-basic
Member Avatar for Minimalist
0
281
Member Avatar for TheFearful

So, I was given this specification for a quicksort algorithm and I have no idea where to start. Create a template version of the QuickSort algorithm that will work with any data type. Demonstrate the template with a drive function. If it was to do a quicksort, I could easily …

Software Development algorithm c++
Member Avatar for TheFearful
0
214
Member Avatar for champmanking

Hi, all. Before I begin I am new to C++. Ok. I'm trying to create a simple 2D game in C++ using SDL, however I have hit upon a small problem. When I try to close the game window nothing happens. I think it's because when I create a new …

Software Development c++
Member Avatar for champmanking
0
735
Member Avatar for krystosan

getting errror related to pkg_resources while running PIP PIP install cython Traceback (most recent call last): File "/usr/local/bin/PIP", line 6, in <module> from pkg_resources import load_entry_point File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module> working_set.require(__requires__) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve raise DistributionNotFound(req) …

Software Development python
Member Avatar for Gribouillis
0
515
Member Avatar for Curious Gorge

Just out of curiosity I was wondering how library developers created their own string classes. I am sort of a novice with programming but I tried creating my own string class to prove that I could do it. What I wasn't able to solve was how to create an array …

Software Development assembly c++ operating-system
Member Avatar for Curious Gorge
0
222
Member Avatar for mixelplik

I'm tryin to search an array of structures for name. I'm comparing a char[] to a struct member with is a char[] my struct struct NBA_Team { char* name; char conference[8]; char division[10]; unsigned short wins = 0; unsigned short losses = 0; float pct; }; My search code void …

Software Development c++
Member Avatar for rubberman
0
180

The End.