132,726 Archived Topics
Remove Filter ![]() | |
Hi, I have a script that pulls data off the web based on data in a text file. The text file and script are in the same directory. The values from the script are read into a list. The list is then used in some conditional statements. The text file … Software Development peer-to-peer python | |
I'm retrieving a list of names from MySql database in Java using JDBC with the help of CachedRowSet. After retrieving the list I'm appending a counter value to every name. Finally I'm updating the modified names in the database. I'm using: MySql: 5.1 Connector/J 5.1.7 JRE 1.6 Win Xp SP3 … Software Development java | |
![]() | When I'm attempting to load a program, there is a certain aspect that relies on a separate api to grab information to stick in a listbox (combobox whatever). I would like to be able to load the combobox on a separate thread because that part takes a good 2 minutes, … ![]() |
![]() | Hi Guys, I've got a small issue passing the string from command line parameter into the variable within the script. An issue is when the parameter contains an equal mark in the string that brakes the line and the everything after an equal mark is missing. See an example: script.bat … Software Development shell-scripting |
Hi!!! am a cse student How to create packages in java? i used da "package" keyword and created a class in dat file . It gets compiled , but while execution i get dis error: "Exception in thread "main" java.lang.NoClassDefFoundError:" if i try to execute it by givin "java packagename.classname" … Software Development java | |
our project is to make a lexical analyzer. I am using DevCpp and it is in C. I barely know the idea of the analyzer. Can someone please ive me a clue on where to start in this project. I think if I will know where to start, I can … Software Development c++ | |
can you pl help me out on this problem ..i have spent a lot of time on this question but iam unable to find the answer What if i want to write a class in such a way that only one instance of it can be created , and anyone … Software Development java | |
I've written a socket server in Matlab and also a client program in Python.Both can be run properly respectively.The purpose is to send signals from Matlab to Python.But the problem is that they can never be connected to each other even though I use the same the host and port … Software Development client-server file-stream python | |
[code=c] #include<stdio.h> #include<conio.h> int fun(int,int); typedef int(*pf)(int,int); int proc(pf,int,int); void main() { printf("%d",proc(fun,6,6)); return 0; } int fun(int a,int b) { return(a==b); } int proc(pf p,int a,int b) { return((*p)(a,b)); } [/code] ans= 1 Software Development c | |
Here there is a requirement in my project, like sending a automatic mail to a particular person,at particular time. for examples: If there is an expiry date for a customer's account, a week before the expiry date a mail should be send to the customer as a remainder. But, at … | |
Why can't I declare this near the top of the Form1.h file... int trackArray[4][999]; It strikes error C4368; something about mixed type. What is mixed about the types? Walt Software Development c++ | |
Hi I have a problem with a console app. It will not run methods in sequence but rather runs them all at the same time? I have put some example code below. The problem is it will run the methods below at the same time, without waiting for the frs … Software Development | |
Hi, I'm coding in C# and my project suddenly doesn't load the localized strings anymore. Details: [LIST] [*]the language in use is written in a ini file [*]the localized strings are contained in [I]projectname[/I].resources.dll in the it-IT/ (for italian) folder located where the executable is [*]the [I]projectname[/I].resources.dll is aligned with … | |
hi, i would like to design an intrusion detection system-type of software. is it best to use Java for it? Software Development java | |
hey frnds, I want to ask you want thing is it possible to resize the image of media player without changing the image height + width. Plz somebody help me out.. [code] Public Class Form2 Dim sFilename As String = "D:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Blue hills.jpg" Private Sub Form2_Load(ByVal … | |
I am trying to figure out what I'm doing wrong with this code to keep getting errors, its a simple trip planner for a class I am taking however it will not compile and is giving me these errors: C:\Documents and Settings\Justin\Desktop\trip.c In function `main': 24 C:\Documents and Settings\Justin\Desktop\trip.c syntax … Software Development c | |
The following is my code it says "Stored procedures are not supported on this version of MySQL " whenever i try to run the website.. below is my code [code] default.aspx.cs using System; using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using … Software Development dataset mysql open-source web-server | |
Hi, I'm quite new to C++ and I'm trying to write a function which would change uppercase letter in char[] to lowercase. Inside this function everything is fine but when I leave it, contents of char[] is not changed. Any ideas why? Also when I try to delete local pointers … | |
I'm trying to write my first validator for wxPython. I want to check the TextCtrl value and change its background color based on whether or not it's numeric. It kind of works, except the event triggers before the current character is actually put in, so the validation is always one … Software Development python | |
I have 2 binaries - a java binary that requests a microsoft word doc from a c++ binary. The C++ binary opens the word doc in binary mode, reads x no of chars and returns chars to java binary. Java binary eventually receives all data and writes data using filestream … | |
Hi, I need to send an email which has an attachment; the attachment is stored in sql server-2005, in a table as an image data type. Thanks Software Development email | |
[code] #include<stdio.h> #include<conio.h> #include<math.h> #include<stdlib.h> typedef struct { int M[40][40]; int br; int kl; }mtrks; void entri (mtrks *A, mtrks *B); //void entrinilai(mtrks *A, mtrks *B); void entrinilai(mtrks *A,mtrks *B); void tampil(mtrks A, mtrks B); //void tampil(Matriks M); void pilih(mtrks *A, mtrks *B, mtrks *C); int add(mtrks A, mtrks B, … Software Development c | |
Hi, I am so frustrated by this error and I don't know how to solve it. Hope someone helps! I have a dynamic lib (Call it D) which is loaded at runtime with the dlopen() function inside a static lib (Call it S). There is a header file that contains … Software Development c++ | |
Hi, I have a recursion in my application and very rearly it throws StackOverFlowException, but it happens and I have to solve it somehow. Here's my method: [code] private double GeneratePHybridValue(DataRow row) { double p_hybrid_value = 0.0; double min_value; double max_value; double old_M = (double)row["M"]; double old_G = (double)row["G"]; double … Software Development | |
Hi all, I am developing a windows application. I have 3 forms: I want to change the backcolor of all the 3 forms to the color selected by the user. I have used the following code I am able to change the backcolor but When I exit the application and … Software Development | |
i am doing a program to block ip address . First i import the list of ip address from 2 table of sql database. Then the third datagridview will show the ip address that difference in the 1st and second datagridview. Here is what I have so far... [CODE] using … Software Development microsoft-office | |
Hi, I am building a web application in c#using visual studio 2008. I want to embed a calendar in a combobox, so that when combobox is clicked a calendar will pop up and user will be able to select a date. Software Development visual-studio | |
Hi everybody, I have used one textbox to accept date say ([B]dt.text[/B]) in which during form load two forwardslash will appear to accept [B]DD/MM/YYYY [/B]type date. Now when I click a [COLOR="Red"]Save[/COLOR] command box and if the [B]dt.text [/B]box is [U]not[/U] filled up with date OR say it has only … Software Development visual-basic | |
I used the multimedia control, and it worked great. But when installing my project, it did not work on all computers. (When trying to run it on some computers, it said, there was a problem, and it shut down the program) What could be the reason for this? Do you … Software Development microsoft multimedia vb.net | |
Plssss someone help me in JAVA? I have the code here name the file as ifmdas.java: (the code is) [CODE=java] import java.io.*; public class ifmdas{ public static void main(String[] args) throws IOException{ BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in)); String option, firstnum, secondnum; int num1, num2, prod, quo, sum, diff, choice; System.out.print("Choose An … Software Development java | |
Hi, i have created a store procedure having 2 input parameters. i am using this procedure in crystal report. how can i send parametrs to crystal reports for input parametrs of store procedures using vb6 pl send some sample coding. its urgent. Thanks in advance, Vanathi.G Software Development visual-basic | |
there is some way that while the user install some application that the access datebase will install on the ODBC (DSN) automaticlly? Software Development | |
New to Java and need some help...I am getting several Errors and I am not sure why here is the code and the error messages: [Code] import java.io.*; import java.util.Scanner; import javax.swing.JOptionPane; import java.util.*; import java.text.*; import java.lang.*; import java.math.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.net.URL; public class … Software Development gui java java-swing | |
I am learning Object oriented programming using C++ , i wonder if there is any site or book that have open source programs to teach OOP in C++ ....... I want to learn how to use OOP in programming how to implement it ..... If any one can help i … Software Development c++ oop open-source ![]() | |
Hello everyone. I'm new here and I am still in the beginning stages of learning C#. I am trying to write a program for school that calculates exponents but I have to use a loop. Then I have to prompt the user if they want to enter some more numbers. … Software Development | |
My Spring.xml is something like this: [CODE] <beans> <bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl"> <property name="host" value="_local-mail-server_" /> </bean> <bean id="businessLogic" class="com.logic.BusinessLogicImpl"> <property name="mailSender" ref="mailSender"></property> </bean> </beans>[/CODE] And bean definition is as below: [CODE] import org.springframework.mail.MailException; import org.springframework.mail.MailSender; import org.springframework.mail.SimpleMailMessage; public class BusinessLogicImpl implements BusinessLogic { private MailSender mailSender; public void setMailSender(MailSender mailSender) … | |
i have an project in my TYBSc-IT to make calculator i dont understand how will my calculator will display its answers n also the expression on single text display as it is done in normal calculator which we people use daily plzzzzzzzz help....... Software Development visual-basic | |
VB Code About Closing 2 or more forms pls.. Ex: Unload me (close the current or 1 form) what about closing 2 or more forms..?? can anyone help me? pls.. thanks.. Software Development visual-basic | |
Dim s, op, op1, op2 As String Private Sub cmd0_Click() s = s & cmd0.Caption txtresult = s End Sub Private Sub cmd1_Click() s = s & cmd1.Caption txtresult = s End Sub Private Sub cmd2_Click() s = s & cmd2.Caption txtresult = s End Sub Private Sub cmd3_Click() s … Software Development visual-basic | |
Hello please help me I want to declare object of base class above function main or global variable( object) and use this object in derived class like this: class X { ... } class y : public X { void func(); } void y::func() { a[1][0] = &c; //compiler error: … Software Development c++ | |
i need to make a simple inventory system for wholesaler, for my college project. i am new to vb.net and dont know where to start. please help. Software Development vb.net | |
![]() | Hi! I'm trying to search a binary file for some hex values and then replace them, using C++ CLR. Reading and writing the file works, but I just haven't found a way to search and replace successfully. Here is the relevant code I've created: [CODE] array<Byte>^ fileContents = File::ReadAllBytes(item); textBox2->Text … Software Development c c# c++ file-system |
Please, has anyone how to connect to a folder that it's on the server using visual basic 6??? Thanks in advance Software Development visual-basic | |
Hi, I have written an application in VB6 to take in SMS messages from a SIM card and store them as Alarms in a MYSQL database. Each Alarm is stored in the database with the date and time of the alarm. I need to add a function to the application … Software Development visual-basic | |
Hello DaniWeb! My first post to you. I have a question about an undefined reference error I am getting. Currently I am studying from Dietel and Dietel C++ How to Program 4th ed, and on page 421 of chapter 6 I am working on the program they have in the … Software Development c++ | |
A bit vague I will try to be as descriptive as possible. Im making a program in Visual Basic my first one. And I want there to be 2 combo boxes and a Windows Media player Addon, Combo Box 1, I will select which TV Show I want to load … Software Development vb.net visual-basic | |
This belongs in both C and C++ forums, but it's more of C++ (I think) so I'll keep it in here for now. I'm working on a C++ program to extract files that I am constantly compressing and testing (releasing software for beta testers to take a look at). I … Software Development c++ | |
Hi everybody! I don't know if this is possible to do, but here goes: Hi have a program where I have several lists. Let's call them l1, l2, l3, l4. Often in the code, I need to delete a certain item from 2 of the lists I have. I thought … Software Development python | |
how could i make a program that does not need to be active but will record the screen, mouse movement, and key presses and will display it all when the user wants to and it is password protected and can have it all sent to another of its programs on … Software Development vb.net | |
After a little research I discovered some Calendar methods that were pretty nice. [CODE=Java]Date date = new Date(); int daysSinceSeen = - ( rand.nextInt() % 365 ); Calendar calendar = Calendar.getInstance(); calendar.setTime(date); calendar.add(Calendar.DATE, daysSinceSeen);[/CODE] How could this code be returning a date in 2010? Do I have a bug that … Software Development java |
The End.