132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mee123

import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import javax.swing.ImageIcon; import javax.swing.JOptionPane; public class Main { public static void main (String[] args) throws Exception { Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/convocation","root",""); //ImageIcon icon = new ImageIcon("C:\\Users\\a\\workspace\\MysqlName\\img\\U.png"); //JOptionPane.showMessageDialog(null, "Custom", "Custom Image", JOptionPane.INFORMATION_MESSAGE, icon ); int id_convo= Integer.parseInt(JOptionPane.showInputDialog(null,"Please Insert Student Convo ID\n(eg:01,02,03)", "U …

Software Development java java-swing
Member Avatar for stultuske
0
147
Member Avatar for Xiao_1

when Register in this also will record the time in to access also is this code corrct this my code Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick lbltime.Text = "Time:" + TimeString If String.IsNullOrWhiteSpace(txtadmno.Text) Or String.IsNullOrWhiteSpace(txtcard.Text) Then 'MessageBox.Show("Please complete the on the box.", "Authentication Error", …

Software Development microsoft-access open-source vb.net
Member Avatar for SteveDotNet
0
341
Member Avatar for mark103

Hi guys, I'm creating the width size for the buttons when I'm getting a list of arrays so I can store the buttons size in a database. The types of arrays that I stored for the buttons and the buttons width size is a list. I have stored a list …

Software Development python
Member Avatar for TrustyTony
0
248
Member Avatar for akam aziz

1. N-queen problem The n queens puzzle is the problem of placing n chess queens on an n×n chessboard so that no two queens threaten each other. Thus, a solution requires that no two queens share the same row, column, or diagonal. Solutions exist for all natural numbers n with …

Software Development algorithm java puzzle
Member Avatar for JamesCherrill
0
328
Member Avatar for bc230201818

PLease write a better code which is rather advance form using #include<queue> && #include<list> #include<iostream> #include<conio.h> #include <iomanip.h> using namespace std; const int size=20; // Patient Class class Patient { int age; char name[30],phy; public: Patient() { age=0; strcpy(name,""); phy=NULL; } void SetName(char* P_name) { strcpy(name,P_name); } void SetAge(int P_age) …

Software Development c++ queue
Member Avatar for bc230201818
0
183
Member Avatar for ASHKAN_2

Hi i have this program that is about library management system in C++ language and i want to convert it to C but i dont know what to do. if someone could help me i would be thankful. #include<stdio.h> #include<conio.h> #include<iostream.h> #include<stdlib.h> #include<string.h> #define MAX 100 struct book{ char bookname[80]; …

Software Development c++
Member Avatar for Frederick2
0
344
Member Avatar for nuller

i need to make a c++ console based program for a banking system using files. i implemented some code but having difficulty with withdrawing money from the account, checking balance, transferring funds and viewing transaction. For withdrawing funds i implemented the following code but it doesn't seem to work properly. …

Software Development c c# c++
Member Avatar for tinstaafl
0
278
Member Avatar for Donal99

Dim Names As String = txtfrom.Text Dim Email As String = "E@mail.com" Dim Phone As String = "8979876785" Dim Address As String = "Location" Dim postData = "&Names=" & Names & "&Email=" & Email & "&Phone=" & Phone & "&Address=" & Address Dim request As WebRequest = WebRequest.Create("http://localhost/testserver/sendmail.php") request.Method = …

Software Development file-stream php vb.net
Member Avatar for Donal99
0
444
Member Avatar for maria.gretta

create a c++ program that has 3 functions with return type void first function is called Sum the second function is called Information and the third is called Calculation. a) in the definition of Sum function, you should creat 5 random numbers and print their sum value. b) in the …

Software Development c++
Member Avatar for bc230201818
0
211
Member Avatar for Jeon_1

i want to restrict daily usage of my program. for example, i want to restrict usage to 100 count daily. and also want to check whether windows clocks roll back. so code will be such like. for i=0 to 100 if i > 100 then msgbox('daily usage exceed') else end …

Software Development vb.net
Member Avatar for Santanu.Das
0
191
Member Avatar for OMER AHMED

hi all again i want to save my 3 columns of listview with data in vb.net built in settings saver how i can do that and how i can load it back when form load. i write something like this My.Settings.advance_settings.Add(TextBox2.Text) My.Settings.advance_settings1.Add(TextBox1.Text) My.Settings.advance_settings2.Add(Date.Today) my.settings.save() it will save the data but …

Software Development listview vb.net
Member Avatar for Santanu.Das
0
1K
Member Avatar for kkk122

Hello, I am trying to pass file path as command line argument. If the path without spaces it works fine. with spaces it is not. Please find my code below. string scriptFilePath = "@" + Directory.GetCurrentDirectory() + "\\" + scriptFile; // exact path string scriptPath= " \"" + scriptFilePath + …

Software Development c#
Member Avatar for tinstaafl
0
7K
Member Avatar for coolsasuke

Hey Pals, I was trying very hard to compare 2 numbers when one is not in any sequence. EG: First number: 1233 Second Number: 3321 In this case above, i want it to match because they both contains same numbers, just that it is not in sequence. I have tried …

Software Development vb.net
Member Avatar for Santanu.Das
0
239
Member Avatar for Benny_1

Hi guys. I'm working on a christmas present for my dad, it's a program that installs 8 Black Keys songs on his computer. I'm having some trouble with it though. I can't figure out how to get the files out of the jar file. I used to access them with …

Software Development file-stream file-system java java-swing
Member Avatar for Benny_1
0
449
Member Avatar for 111100/11000

//compiled with cmd command:gcc main.c -std=c11 -o main.exe //this is only file #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <string.h> //user changeable variables int boardSize = 9;//board hight and width are of equal size #define NUMBER_OF_GRID_CHOICES 7//this has to be an odd number(increase it by two if you add another …

Software Development c gaming
0
209
Member Avatar for Chem_1

Tell me the best IDE for Python 3.4 version(Windows7 64bit)

Software Development ide python
Member Avatar for sneekula
0
679
Member Avatar for pritaeas

For a report I had to show a list of items (ID's). Instead of showing them all, they wanted to show consecutive items separated by a dash. Just like the way you would use print pages in Word for example. In the print dialog you can say 1-5, 8 to …

Software Development
Member Avatar for pritaeas
0
1K
Member Avatar for kau14

I have filled the datagridview on the buttonclick Now, The reuirement is, If the excel having null, or 0 or stringvalue datagridview should eleminate that row. Please suggest. Thanks & Regards Kaustubh

Software Development
Member Avatar for SteveDotNet
0
225
Member Avatar for PCSAWICK829

I was working on my raspberry pi creating a game called raspberrysnake from code out of a book. I entered the code exactly as shown... I had a few errors which turned out to be missing characters or mistyped characters. Finally, after catching these, I ran it through the command …

Software Development python raspberry-pi
Member Avatar for sneekula
0
2K
Member Avatar for nitin1

I am using namespaces from a long time now. But, I don't know why we need them at the end? Why do I need to write using namespace std; OR std::string Why do we have to do this? Why have they made it this way? Can you elabroate this thing? …

Software Development c++
Member Avatar for Itecg
0
275
Member Avatar for Suzie999

I am just wondering if I target the lowest .net framework, does it follow that all subsequent/later versions are able to run it?

Software Development
Member Avatar for Bhuvan_1
0
119
Member Avatar for kks21199

Hello, I am using turbo c++ 4.0. I know its outdated but i have to use turbo c++ for this project. Here is my current code, #include<iostream.h> #include <stdlib.h> #include <fstream.h> class item { private: char name[]; int code[]; float price[]; int z; fstream datfile; public: void add(void); void delete_(void); …

Software Development c++ file-system ios session
Member Avatar for kks21199
0
2K
Member Avatar for sydoggs

Hi, I am trying to create a sort of day planner with task a start_time and an end_time both entered as string using concatination of comboboxes(hour:minute:second AM/PM) and saved in a database as Datetime I try diferent conversion i found online but it doesn't work. Does anybody have an idea …

Software Development
Member Avatar for kvprajapati
0
326
Member Avatar for Amr_Mohammad_R

Greetings, I'm looking for an SDK for an fingerprint device called HST-PRO its a Korean made. If any one worked with this device and could help [Click Here](http://www.gobizkorea.com/catalog/product_view.jsp?blogId=biokey&objId=954822)

Software Development
Member Avatar for Bhuvan_1
0
127
Member Avatar for Search_not

I am making my own component similar to the JOptionPane, but with some added GUI components specialised for my current project. I have finished with the GUI of the component, but I do not know how to make wait for the user to enter input before continuing, as the JOptionPane …

Software Development gui java java-swing user-interface
Member Avatar for Search_not
0
420
Member Avatar for col-lino

Good day all, I am a newbiew in C# application. I am designing a Laundry application, and I want to insert data from textbox, datetime picker and the gridview control into a database table.. I am using SQL Server 2008. This is the window form and controls on it:Form with …

Software Development open-source
Member Avatar for SteveDotNet
0
733
Member Avatar for Stacy_1

I have a move function which moves the files from one folder to another folder.. I am wondering how can i show the total numbers of files moved and moved filenames in a dialog box. or any idea..!!!! Here the problem is Once i press Move all the files moving, …

Software Development file-system
Member Avatar for SteveDotNet
0
233
Member Avatar for mark103

Hi guys, I'm trying to write the code to allowed me to store each data in a database from the arrays, but it give me the error. [b]Error: InterfaceError: Error binding parameter 0 - probably unsupported type.[/b] Code: #generating the program button ids for generate_ids in range(3002, 3485): program_id.append(generate_ids) #create …

Software Development python
Member Avatar for Gribouillis
0
427
Member Avatar for Erma_2

How to solve this problem? I'm getting tired thinking abou this. Help me. Write a C++ program to help the master reporter of a traffic centre to analyse the amount of traffic coming from all the different entry points to a city. The amount of traffic for each entry point …

Software Development c c# c++
Member Avatar for gusano79
0
190
Member Avatar for Krefie

Hi boys and Girls, Quick question I cannot seem to find the answer to: Why use CodeDOM to generate a class over say saving the structure of your code as text to a notepad and renaiming it to .cs? or just save it as a .cs file outright? Why go …

Software Development
Member Avatar for gusano79
0
227
Member Avatar for MARKAND911

I have created an MS Access Query named **GetContactCategory** select GetCategoryNames(contactId) as CategoryNames from Contacts The Function **GetCategoryNames** is the function written in a module of same database. Now when i call this query in my c# application using ADO.net it throws error. Following is my c# code ` using …

Software Development microsoft-access
Member Avatar for lithium112
0
388
Member Avatar for kungle

If I (have to) use C/C++, I'm mostly working on time-critical or real-time applications. Examples are OpenGL texture Streaming (Example: Streaming Satalite Data on planet surface in realtime: https://www.youtube.com/watch?v=ws2ra5MvDi4) or real-time PSM audio maonpulation (Example: Automatic tuning a guitar to a C64= SID tremolo: http://www.yousry.de/audio-example-real-time-tune-detection-tuning-auto-tuning/). During development I'm using "**-O0 …

Software Development audio c++ opengl
Member Avatar for Maritimo
0
605
Member Avatar for hwoarang69

I have created a height score class by keep track of time. In this class top 5 score are saved in file using Preferences and than they are display on screen. First I am setting up top5Time array by filling in all zero's. Than I am getting top 5 time …

Software Development java
Member Avatar for Traevel
0
251
Member Avatar for tony75

Hi How to merge two binary files into one in python and make them both execute. For example 1.exe+2.exe = OutPut3.exe when you run 3.exe both 1 and 2 execute def Main(): File_1 = raw_input("Location path of 1.exe:") File_2 = raw_input(" Location path of 2.exe:")

Software Development python
Member Avatar for tony75
0
2K
Member Avatar for sergio_pb

I creating an application in visual studio where I have a client to request specific information to multiple servers. Someone Knows i can make this communication? For one server i know to create that, for many servers i dont have idea. Code example!!! One client for many servers! For one …

Software Development client-server vb.net visual-studio
Member Avatar for Minimalist
0
351
Member Avatar for hwoarang69

I have a 2d array and I want to check if its in increasing order. here is a example of 2d array increasing order: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, here …

Software Development java
Member Avatar for JamesCherrill
0
247
Member Avatar for André_2

Hello to all I have a problem When i create an excel file with some dropdownlists in my vb.net page the dropdownlist in the excel file doesnt ignore balnks even with the ignore blank property set to true best regards

Software Development vb.net
Member Avatar for krishnap2w2
0
611
Member Avatar for navachaitanya

hi everyone i am new this site i am creating new sms application for desktop using way2sms account please anyone help me to write the code

Software Development vb.net
Member Avatar for John-Ghana
0
665
Member Avatar for harinath_2007

I would like to play a video using c/c++ program.. what libraries should i include?? can anyone tell the code....

Software Development c++ video
Member Avatar for 良红
0
9K
Member Avatar for Riteman

I need my application to start with administrator privilege. When I do it in app.manifest: '<requestedExecutionLevel level="asInvoker" uiAccess="false" />' to '<requestedExecutionLevel level="RequireAdministrator" uiAccess="false" />' I can start my application with administrator privilege. But it starts every time the application starts. I need to start the application with administrator privilege only …

Software Development microsoft-windows
Member Avatar for Riteman
0
154
Member Avatar for hwoarang69

How can I create a TextureRegion into button in libgdx-android(java)? I found a simailar solution here: http://stackoverflow.com/questions/21488311/libgdx-how-to-create-a-button problem is that it is using BitmapFont and I am not. I upload a image using TextureRegion and now I want to turn this image into button. any ideas?

Software Development android java
Member Avatar for hwoarang69
0
184
Member Avatar for itsthewendigo1111

I want this to keep track of each players turn including the AI. Not the numer of rolls but for each turn till the game ends. For example your turn ends when a 1 is rolled on either dice or both. import sys from random import randint def game(): playercount …

Software Development python
Member Avatar for davidnelson4911
0
326
Member Avatar for jeffersonalomia

I’m creating an e-learning system on vb.net/2010.This system gives quizzes on students. I know how to save/retrieve data on mysql server using xampp but i need to display the score of all the students on the website and this website needs to be live. Now my problems are 1)How to …

Software Development asp.net vb.net
Member Avatar for kks21199
0
338
Member Avatar for smurfy

Hello Geeks; In the eve of new year i have some fresh topics for you. I heard that web is full of real life oop design samples and comprehensive object oriented design guides. Which sites would you offer or which tutorial sequence should i follow ??? PS. Of course other …

Software Development java oop oracle web-design
Member Avatar for JamesCherrill
0
234
Member Avatar for bonzo2008

Hi I have manage to install vb5 and trheed32.ocx Trying to install vb6 okej. when I go to components and mark sheridan then it comes up that threed32.ocx is not a valid ocx. Confused how can vb5 run with threed32 and vb6 **NOT** Any help it will help me lot. …

Software Development visual-basic
Member Avatar for bonzo2008
0
152
Member Avatar for lithium112

var query = (from dt1 in dta.AsEnumerable() join dt2 in dtb.AsEnumerable() on dt1.Field<string>("column1") equals dt2.Field<string>("column1") into outer from Dt2 in outer.DefaultIfEmpty() group new { Dt2 } by new { SearchKey = dt1.Field<string>("SearchKey") } into g select new { Status = g.Select(r => r.Dt2) == null ? string.Empty : g.Select(r => …

Software Development
Member Avatar for lithium112
0
2K
Member Avatar for mark103

Hi guys I need a bit of your help. I've created the variables that I want to store a list of arrays outside the for loop. I have got a problem with the code that I currently using. When I try this: import xbmc import xbmcgui import xbmcaddon class ProgramControls(object): …

Software Development python
Member Avatar for mark103
0
658
Member Avatar for Stacy_1

I am trying to remove all the columns after the column name "LAYER" My input text files have a more than 10 columns which are tab delimited Designator MAX PN Footprint Center-X(mm) Center-Y(mm) Layer Fitted Orentation Design level So i want to delete all the columns and the contents after …

Software Development
Member Avatar for Traevel
0
228
Member Avatar for exoruel

Good day everyone! I have the codes for such a problem where, to create a program that counts how many times the second string appears on the first string. Here it is: #include <iostream> #include <conio.h> using namespace std; int main () { char first [100], second; int count; cout …

Software Development c++
Member Avatar for exoruel
0
370
Member Avatar for chavsh

Hi, My issue with xml is, I have an xml like <a> <b> <c> <d1 att2="t1">test 1</d1> <d1>test 2</d1> <d1>test 3</d1> <d1 att2="t1">test 4</d1> </c> </b> </a> I need to conver this xml to, <a> <b> <c> <d1 att2="t1">test 1</d1> <d1 att2="t1">test 4</d1> </c> </b> </a> <a> <b> <c> <d1>test …

Software Development xml
Member Avatar for xml_looser
0
150

The End.