199,112 Archived Topics
Remove Filter ![]() | |
i m using wizard control of .net and in that control there are 4 steps on 1 step i added the ajax editor control but when i click on 2 to 3 time on another step and again click on first step then page is not able to dispay editor … | |
I have a problem whit load of xml file into Oracle using StringBuffer. I get a java.sql.SQLException error “setString can only process strings of less than 32766 characters”. My problem a cure when I try to bind the CLOB with the prepared Statement in the StringBuffer. There are no problem … | |
Hi I am new to C++ and am using borland studio 2006 C++. I recently have been forced to take over the support for the C++ and have been given a number of complax C++ programs and these programs read and write to the registry. Now the problem comes in … | |
hi everyone. i`ve been digging with jquery UI modal form. here is the link [url]http://jqueryui.com/demos/dialog/#modal-form[/url] i want to connect the jquery to my localhost,i mean when user create an account, it will be saved in my database.i`m facing some problems in it.. here`s my code.. [CODE] <div id="tabs-1"> <style> body … | |
I have been racking my brains to find what's wrong with my code... been playing with it for an hour or so but it seems to still be wrong.. Please anyone can point out the mistake? Im so frustated right now.:yawn: the answer to the question is 21124, but this … | |
please send me n example for string concatination using ACE ACE_CString.. thanks. | |
Hi, In my application, I am creating a string array in a method. Each time I call that method this array will get created and also a null pointer exception is showing when I use the Arrays.sort() method. My method is like this... [code] int count = getTotalXMLCount(); envArray = … | |
What would be the guideline for using a component or module? Is the component where I use to bloat my model with? BTW, I'm using Yii Framework. Thanks. | |
Hi I need to migrate an application from MS Access to SQL Server (2005), and i'm using the code bellow, but i'm getting an error when the compiler reaches the AddNew instruction. It gives me "Run-time error '3027': Can't update. Database or object is read-only". [code] Dim DBTesteSQL As Database … | |
Hi all, Is it possible to define a preprocessor constant using another constant and a string in the declaration, like this: [CODE] #define MAIN_PATH = "C:\\My Documents\\" #define SUB_DIR = MAIN_PATH + "MyFolder\\" [/CODE] I'm using VC++ 2010 Express... Thanks, Dean | |
hi, i want to receive a ascii value from rs232 port and then it should be displayed in terms of decimal.. i am using VB for programing... the ascii value comes from a micro controller.. can anyone help me... | |
Hello Everyone, I created a java code that runs batch files. Then, I deployed the java classes in apache-tomcat-5.5.26. The code worked when I ran the tomcat manually but when I ran the tomcat as a windows service, it did not work. I checked the tomcat log files but apparently … | |
when you type a last name on the textbox then on the datagrid,for example i ype letter "S" then the datagrid will show all the las names that starts with letter "S" how it is??? | |
Hello I am new to Java and I have no idea where to start with this program. Can somebody please start me off or display how you would execute the code. Thank you. This is what I have so far, but it is just the basics: [code] /* * For … | |
Hi! I have created a listview in which data is binded from a sharepoint list. There is an asp image button inside the listview on clicking which a an image should be displayed. The code is as follows: ASPX file: [CODE]<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ … | |
Hi I am running an jsp application thru which the values are saved in mysql. all values are saved twice.Pls help me how to avoid that | |
[CODE]#include<stdio.h> void string_copy(char str1[],char str2[]); int main() { int i; char str1[10],str2[10]; printf("please enter a name(string 1):"); gets(str1); printf("please enter a name(string 2):"); gets(str2); string_copy(str1,str2); printf("string 2 copied to string 1"); for(i=0;i<10;i++) { printf("%c",str1[i]); } return 0; } void string_copy(char *p1,char *p2) { int i; while((*p2)!='\0') { for(i=0;i<10;i++) { *(p1)=*(p2); … | |
i want to convert .xls file to .txt file using C#, plzz can any one help me? | |
[CODE] #include<stdio.h> #include<stdlib.h> int **transpose(int **x,int m,int n); main() { int nrows=2,ncolumns=2,i,j,k=0; //memory allocation for array x int **array; array = malloc(nrows * sizeof(int *)); if(array == NULL) { printf("out of memory\n"); return 0; } for(i = 0; i < nrows; i++) { array[i] = malloc(ncolumns * sizeof(int)); if(array[i] == … | |
Hello members of CodeProject, I have a project, a database with employee information (name, town, birthday, HireDate, etc). I have add custom TextBox (on fly), and on that TextBox a code: [CODE]TexBox1.text = DateDiff("d", HireDateDateTimePicker.value, Now) [/CODE] which is calculating how many days worker is working in company from HireDate, … | |
hi friends... i want to link a buuton to an html page. i knx there is its control in the toolbox bt i don't know how to use it.. need help plzz | |
Hi i'm in a university class, and i'm working on a little assignment that is supposed to have an int array and have assorted functions to do things to the array currently i have two of the four functions working and i'm having trouble with the function that is supposed … | |
Hi friends, I have a application where i want to show updates from my friends in facebook.For that i am trying to use Activity feeds plug-in.But when i run the application(from local host),even after authentication,the plug-in doesn't show my friends activity in it.Any help regarding this will be appreciated..thank you. | |
Please help me, my check/uncheck all boxes javascript example work not normally in IE8, but Firefox and Chrome, when I click to box with id "chkAll" to control other box with id "chkId", nothing happen in IE8 but a dotted border outline the checkbox, when I click to outside the … | |
I wanted to make a program that deals with the editing of hex files, but I'm not sure how I would go about doing this. Normally I can just input a file into a Java program, read it into a String, then do what I please with it. If any … | |
I have created one application which have one mdi parent foem and after that i have designed 3 more forms. now from solution wxplorer whenever i click in mdi parent form i doesont show its design pane.. how can i see the design view of mdi parent form. | |
I am working on Myql database and netbeans. i want to edit the table in a Jsp page and i want to place new values in it. I mean the previous data in the table must be dispalyed after that i want to edit it and replace new values ...after … | |
Okay, so i was trying to make this work. Two queues need to be created using input from the user for 2 file names. For some reason I get 1 queue, the first one filled. Then the second queue never has anything in it. Please help me with better code, … | |
Hello, Could someone advice me for the best ide for GUI building in java? Thank you | |
im trying my hand at calling c functions from python. im reading up the tutorial [URL="http://csl.sublevel3.org/C-functions-from-Python/"]http://csl.sublevel3.org/C-functions-from-Python/[/URL]. however part of the tutorial says that i should [QUOTE]Compiling dynamic libraries on Mac OS X is different from the usual gcc -shared you might be used to: gcc -dynamiclib -I/usr/include/python2.3/ -lpython2.3 -o myModule.dylib … | |
Hello everyone, I don't where should I post this thread, but since my project (document tracking system) will be using PHP, maybe I just post it here. Would someone tell what should be the features or modules of my project, here are my listing as of now: -a module for … | |
Hello, i'm a new member here in this forum.. and i think lot of programmers may help me here.. i'm a newbie also in java programming.. my teacher wants us to make a program that accepts 5 integers and then arrange it from highest to lowest.. i have an idea … | |
[code]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Imaging; using System.Drawing.Printing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace Dnd { public partial class Form4 : Form { private PrintDocument printDocument1 = new PrintDocument(); public Form4() { InitializeComponent(); btnPrint.Text = "Print Form"; btnPrint.Click += new EventHandler(btnPrint_Click); … | |
Why is float called single precision floating point and double as double precision floating point? | |
Hello, I have a question, I have a program where I use a stream writer and I write from a list object into a textfile, the only code I put in a while cycle is: streamwriter1.WriteLine(string); The application works. Then I have another program, I have the same situation and … | |
How to Maintain the location of form control acording to screen resolution How to develop resolution independent application. in C#.net | |
What I'm trying to do is take an array that I created and look for key abbreviations in that array, if it finds something it will append a variable until all item in the array have been found, then returns the appended variable. Having trouble with it though... [CODE=php]function check_programs($input) … | |
i am making a javascript slide show. i am using this code for js: [CODE] <script language="JavaScript" type="text/javascript"> //<!-- //<![CDATA[ first = 1; last = 2; current = 1; function nextPicture() { // Hide current picture object = document.getElementById('slide' + current); object.style.display = 'none'; // Show next picture, if last, … | |
I am doing a project in jsp of creating question paper from question bank. Here we have to generate a paper based on the language like c,c++. we want to know how to generate the paper by considering two question from each area like inheritence,exception handling.the question has to be … | |
![]() | Can someone please help me make a simple java program for my class. I am a beginner, and don't know how to make one. I know a fiew stuff, but not enough. The teachers requests are: Write a program in netbeans that contains 4 of the following: 1. Classes - … |
Hi, friends. I am wondering if it is possible to post messages to facebook through SMS. I have to write an application that connects to the facebook to post messages sent through a Short Code from a mobile subscriber. I am confused about the various APIs from facebook if they … | |
please single link list to made song list.. i dont know anything about that..please | |
what wrong with this? [code] import java.util.Scanner; public class mid2 { public static void main(String[] args) { int a; int m; boolean jv=true; Scanner sc=new Scanner (System.in); System.out.println("Programmed by: Jesus Vinson J. Dominguez:"); System.out.println("Pls type number:"); a=sc.nextInt(); System.out.println("Pls type another number:"); m=sc.nextInt(); int gcf=1; int k=2; while (k=<a && k<=m){ … | |
Hi All First time I've posted but have done lots of reading on here as it's an amazing resource. I am busy writing a program that is going to read data from 2 serial devices. One being a scale and the other being a "load testing" machine. Currently im working … | |
I was just wondering what would be the best sort algorithm for sorting both a small array and a large one. Or if you can point me to a few efficient ones that can still do both that would be nice. small <=30 Also is there a cap that java … | |
Hello, I am trying to ofstream a file using the following code: [CODE]#include <curl.h> #include <stdio.h> #include <fstream.h> struct callback_data { FILE *output; }; static long file_is_comming(struct curl_fileinfo *finfo, struct callback_data *data, int remains); static long file_is_downloaded(struct callback_data *data); static size_t write_it(char *buff, size_t size, size_t nmemb, struct callback_data *data); … | |
I suppose to write the records to a text file. However every time i re-log in and add a record.The previous record will be rewrite. >.<'' [CODE]public void addRecords(){ getInfo(); FileWriter fWriter = null; BufferedWriter writer = null; try { fWriter = new FileWriter("PassengerInfo.txt"); writer = new BufferedWriter(fWriter); writer.write(name); writer.write(";"); … | |
I am trying to modify a tax program so that I only have one line that start with the variable "tax = ...". The original statements are commented out so that you may see what the original program looked like. What I don't know how to do is to put … | |
I have Database name LoginUser with corresponding fields name such as User, Login and Logout. Im done in inserting data once the user Log to the system. Heres the sample layout once the user tried to log. User................Login............................Logout Abigail.........12/29/2010 3:08:42 PM James..........12/29/2010 3:09:45 PM Abigail.........12/29/2010 3:30:45 PM PROBLEM: 1) I … | |
i need to convert an image to ascii text so that the image is still visible somethigng like [URL="http://asciiconvert.com/"]http://asciiconvert.com/[/URL] any ideas as to how i can go about it ? |
The End.