43,549 Solved Topics
Remove Filter ![]() | |
Hi Dw. I have a MySql server database, and I'm polling data from the database. The problem I'm getting is that when I'm retrieving users activities I only get the first record only which is on `Row(0)` or the first record with that username. Suppose I have a database like … Software Development mysql socket-programming vb.net | |
Hello to all! I know well how to access database and its tables from sql server in Netbeans, But know I need to access a report from sql server in Netbeans. For example if I have a table named "MyTable" in sql server 2008 and then I ran a query … Software Development ide java java-netbeans sql | |
I'm having trouble calling unmanaged dll function from the windows win32 apis. I've tried many ways, but the following was my first and what I think should work. using System.Diagnostics; using System.Runtime.InteropServices; namespace Win32DllImports { class Program { [DllImport("Urlmon", EntryPoint = "ObtainUserAgentString", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Ansi)] private static … Software Development | |
Chaps, I wonder if you can give me a hand with this. Here's the brief: "Create a program that draws 10 random filled shapes in random colors, position and sizes. Method paintcomponent should contain a loop that iterates 10 times. In each iteration, the loop should determine whether to draw … Software Development java java-swing | |
Okay, I am trying to learn Windows programming and there are all sorts of new data types that I am running into and need to learn. I'm trying to understand the point of it all and failing. If there is no point and it's just Microsoft making things difficult for … | |
OK, I programmed a few DLLs using Linux years back. My memory (and my memory could be faulty), was that I had the program decide which dll to load based on user input. So I had two dlls, each with a `string encrypt(string, string)`function. The user was asked to specify … Software Development c++ encryption visual-studio | |
Hello, it is me once more. I am using Python 2.3, and I must use Zelle's graphics class (and I must agree with many of you. Tkinter is much better). We have been tasked with creating a Graphical Scientific Calculator. In addition to the normal operators, it must contain the … | |
Hi! I'm a beginner in Java can you share an answer for this assignment since I already been doing this for a week and I don't know how to answer. Create a Student class with those attributes: 1. firstName 2. lastName 3. grades (it contains grades between 0 and 10) … Software Development java | |
Hi, I have one function (in a library I can't change the code) which takes a key and returns a Object. This code is written in java. I am calling this function from cpp code. I am accepting the result as jobject. 1. Added key as "key1" & value as … | |
Hi every one . Recently i complete my project on libraray managment system which work perpectly on my system. Now the problem is that when i Execute my project on other system it show error at con.open i.e it mean that connection string not set in this system . Now … Software Development vb.net | |
Hi, I am trying to make small game , but I am confronting with a problem. I have a function that should add a new button to my form when it's called. The problem is that I don't know how to create a new object (a button, a shape or … | |
string query = "DECLARE l_cursor SYS_REFCURSOR;ServiceName la_service_provider_detail.service_name%TYPE;Surname people.surname%TYPE;Forename people.forename%Type;"+ "Action Varchar(50);Rate ey_pupil_premium_log.rate%Type;"+ "Funding_Code single_funding_formulas.funding_code%Type;"+ "BEGIN EYPupilPremiumPackage.GetEyPupilPremiumLog(pLogId=> 6613, pPreview => 'T',EyPupilPremiumLog=> l_cursor);"+ "LOOP"+ "FETCH :l_cursor "+ "INTO ServiceName, Surname, Forename,Action,Rate,Funding_Code;"+ /*IF l_cursor%NOTFOUND"+ Then DBMS_OUTPUT.PUT_lINE('NO DATA FOUND'); EXIT WHEN l_cursor%NOTFOUND; END IF; "END LOOP;"+ "DBMS_OUTPUT.PUT_LINE(ServiceName || ' | ' || Surname || … Software Development c# | |
Hey new to JDBC SQL DERBY and Java so I don't know why but my Jtable only shows the columns. Here are my codes for my LeaderboardDAO class. public class LeaderboardDAO extends Dao { private static final Logger LOG = LogManager.getLogger(PlayerDAO.class); public static final String TABLE_NAME = "leaderboard"; private static … Software Development java java-swing sql | |
Hi, I have two text files. The first one has a list of words , like the following : File 1.txt Laura Samuel Gerry Peter Maggie The second one has paragraphs on it. For e.g. : File2.txt Laura is about to meet Gerry and is planning to take Peter along … Software Development perl | |
Hello, My vb.Net code interacts with a design software and extracts a list of strings into an array. I want to use that array to populate a list box on a form. Every search I try always retursn "How to send array from one form to another" I only have … Software Development vb.net | |
![]() | Hi everyone. I am trying to develop a class for a RISK boardgame, and I used UNIT_COLOR and UNIT_TYPE enums to represent the different types of pieces. These enumerations are defined as public in my class but are causing complete havoc in my code because with the C++11 "class enum," … Software Development c++ |
| |
I tried to install pyHook, but all I seem to get when I try to run my program in the python shell to test it is this. ImportError: No module named pyHook I keep trying, and I have PyWin32, so I tried to install it like that by typing into … Software Development python | |
| |
A farmer with his wolf, duck and bag of corn come to the east side of a river they wish to cross. There is a boat at the river’s edge, but of course only the farmer can row. The boat can only hold two things (including the rower) at any … | |
Hey everyone, I'm looking for some help with coming up with a system to communicate data between client and server sockets. I was thinking of a command system, but that would only work when the client is sending a request to the server, not when the server is returning data … Software Development client-server java socket-programming | |
Hi Group, I've imported an existing form into a new project that I'm creating (using Visual Studio 2015 Express/VB.net). When displaying the "Design" version (the user interface), it looks like a plain form and doesn't resemble the actual form in the original program. As per the directions, I added the … Software Development user-interface vb.net visual-basic visual-studio | |
Hi, I am developing a WPF application in which I need to call `MouseLeftButtonDown` event in a single `DataGridTextColumn`. For that I wrote some xaml code as :- <DataGridTextColumn x:Name="myAge" Header="Age" Binding="{Binding Age, Mode=TwoWay}" IsReadOnly="True" Width="*"> <DataGridTextColumn.CellStyle> <Style TargetType="DataGridCell"> <EventSetter Event="MouseLeftButtonDown" Handler="{Binding MyAgeCommand}" /> </Style> </DataGridTextColumn.CellStyle> </DataGridTextColumn> But I am … Software Development asp.net | |
![]() | Hi all, I would like to replace new lines with "<BR>" in a text file. I'm executing the following line in Powershell: `[regex]::Replace((Get-Content "testfile.txt"), "\.``n", ".<BR>", "Singleline")` The contents of testfile.txt: Some text here for paragraph one. More text for paragraph two. Software Development regex shell-scripting ![]() |
Hello Everyone, I am new to c# and am trying to use Open XML to pull data from a SQL server into a spreadsheet. I followed some examples I found online but had to alter them to fit the test scenario I have set up and have run into an … | |
Hi Dw. I'm deeply in need of your help, I'm having a problem that is giving me a very serious problem with my code. My program is a multithreaded program and its a TCP/IP based application. Client has no problem, only a server that is being so weid to me … Software Development client-server microsoft-access multithreading mysql vb.net | |
My program draws numerous rectangles in a JPanel; the location, dimensions and colors are determined by a random number generator. I want to save the panel contents as a jpg. I believe this requires converting the panel contents to a buffered image using something like this: BufferedImage awtImage = new … Software Development java | |
/*CODING A PROGRAM FOR LOGIC GATES*// #include<stdio.h> #include<conio.h> [CODE] int x,y,z; //printf("Enter value of x"); scanf("x:",&x); //printf("Enter value of y"); scanf("y:",&y); And(int,int) if(x==1&&y==1) printf("z=1"); else printf("z=0"); Or if(x=0&&y==0) printf("z=0") else printf("z=1"); Not if(x==0) printf(z=1) else printf(z=0) [/CODE] Software Development c | |
Hi Dw. I'm developing a Client Server application. At the moment I can connect the two and send data. The main aim is to make a server as a core control. The server only perform actions according to each client request, so the client can request to connect to let … Software Development client-server lan-wan vb.net | |
A 24 hex byte message entries: xx xx xx xx xx xx xx xx xx xx xx xx I have a 24 hex byte message entry into a textbox with different byte segment entry requirements, how to code dynamically the range of hex value I require for each segment e.g. … Software Development | |
Hello, This is my first time posting on this site and I am a beginner VB programmer. I have been able to solve many of my previous questions through existing threads but have not found what I need to solve this problem. My problem is that I have a listbox … Software Development visual-basic | |
Hi, I have a hooked function, NtTerminateProcess. I am trying to get the full path to the process handle passed to TerminateProcess. The injected app is taskmgr and GetProcessImageFileName is returning ERROR_ACCESS_DENIED. I even tried opening another handle to the process to ensure I have the required access rights, like … Software Development c++ | |
hello to all! I am developing a data warhouse as my final year project. I have made my star schema succesfully. Now i want to make a query interface for end users so that they run their desired queries. But i am unable to understand that what type of interface … Software Development client-server java sql | |
Can anyone please tell me how do I get the total row in my ms access table and put in my label.text at vb.net? Software Development microsoft-access vb.net | |
Recently I attempted to install Pygame for Python 2.5 on my new computer. The computer runs Windows 10 32-bit, and I have installed a 32 bit copy of Pygame, so there shouldn't be problems there. Whenever I enter my Python shell to attempt to import, this error happens: >>> import … Software Development python windows-10 | |
I tried here in this code to insert struct information then assign to vector and get the smallest age .. i want to do that with vector to learn more about it .. can anyone help me to fix it .. and explain to me what's wrong in my thought … Software Development c++ | |
I am new to c++ and puzzle about parameters and argument definitions,Please help me i will great thankful to Dani web members. | |
Hello, I am having two problems with three C sursor screens I coded, using the curses library. The first problem is that a field will not highlight when I move the cursor to that field, even though I use the wattron command to highlight it. I can get the highlight … Software Development c | |
Good Morning group! I've made some minor changes to my coding (to open a log file, write to it and then close it) and now I'm getting an error that I've not seen before. The error code is CA2213. I've read what it says and I've tried to look it … Software Development vb.net | |
I want to save the capture fingerprint into database. the below code is given with SDK which fired on fingerprint capture. Please help which value i can store into my database for identification. private void OnCaptured(CaptureResult captureResult) { try { // Check capture quality and throw an error if bad. … Software Development | |
Hi Dw. I'm a bit stuck with a lot of confusion here. I'm developing a client/server applications which communicates to each other, my project is a multi-thread based and I'm currently using MS Access and database but I have hit a very challenging problem as this was the wrong database … Software Development client-server gui mysql socket-programming vb.net | |
I have a char array which need to check each and every character untill there is no more character to check, so in C usually we write as: for(i=0;my_num_Array[i]!='\0';i++) { // some code here } But when i tried the same for java it isn't working! Any idea what should … Software Development java | |
Hi All , In below code i am getting error while assigning one object with other and result is clear as both objects are different types. it is expected that RHS object should belong to same class. How to resolve this issue. error: no match for operator= in obj1 = … Software Development c++ | |
hello there i am trying to make an application that can generat words automatically, i have used four text boxes, i want the first three boxes to get a word automatically from a file or from an array and show it in forth textbox, how can i do that? , i tried this with usual methods but there is no change.. This is the complete java code public static void main(String[] args)throws Exception { String filename = "output.fcl"; FIS … Software Development java | |
Hello, I am having a problem with the fgets statement not reading data correctly. It reads most of the data I need without a problem, but three lines of data are not read correctly. The code in question follows: strcpy(passw,"P7"); fscanf(fip, "%3s", ckod); /* card # 164 */ fprintf(ff16,"\n\n%12s%12s\n", "card# … | |
Good morning all, i have a somewhat complicated question; which i am trying to learn to answer myself. I have a couple of questions about what it is that i am trying to accomplish, ie is that a RESTful or WCF action that im trying to accomplish. So for the … Software Development api display first-post google-api json | |
Hello, I am developng a screen for a state to enter special rates to augment its unemployment trust fund. I have the screen coded, and it compiles cleanly, but when I try to run it, the screen does not come up. There is no error message and no file I … Software Development c | |
Hi Dw. I am developing a client server multi-thread application. This application uses signals(certain messages as signals), in order to perform a task for a client. For instance if a client wants to login, the client send a message as: `Login:<username>:<password>` and on a server I first check if the … Software Development multithreading socket-programming vb.net | |
Hi Dw. I have a timer that in every 600 interval access the database and the database I'm using is MS Access database. The problem I have is that with this being said, the MS Access database has a limitation of 64 connections on each thread so this 600 interval … Software Development microsoft microsoft-access sql vb.net |
The End.