199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for savitasagar

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 …

Member Avatar for savitasagar
0
60
Member Avatar for DragonL

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 …

Member Avatar for masijade
0
420
Member Avatar for privs

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 …

Member Avatar for jonsca
0
210
Member Avatar for freshmem

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 …

0
244
Member Avatar for efronefron

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 …

Member Avatar for efronefron
0
602
Member Avatar for simply_viks

please send me n example for string concatination using ACE ACE_CString.. thanks.

Member Avatar for hvalola
0
89
Member Avatar for Janu Sam

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 = …

Member Avatar for Janu Sam
0
386
Member Avatar for Agent Cosmic

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.

Member Avatar for Agent Cosmic
0
71
Member Avatar for game4tress

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 …

Member Avatar for AndreRet
0
377
Member Avatar for deanus

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

Member Avatar for Banfa
0
207
Member Avatar for srinivasan12345

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...

Member Avatar for AndreRet
0
126
Member Avatar for jamojo

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 …

Member Avatar for ~s.o.s~
0
151
Member Avatar for eiven_05

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???

Member Avatar for AndreRet
0
102
Member Avatar for coco24

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 …

Member Avatar for JKP()
0
122
Member Avatar for soft_coder

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" %> <%@ …

Member Avatar for soft_coder
0
1K
Member Avatar for anithajerome

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

Member Avatar for masijade
0
163
Member Avatar for anirudhruia

[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); …

Member Avatar for WaltP
0
165
Member Avatar for kieky
Member Avatar for kvprajapati
0
107
Member Avatar for vineeshvs

[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] == …

Member Avatar for vineeshvs
0
353
Member Avatar for dejanc

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, …

Member Avatar for dejanc
0
246
Member Avatar for geetajlo

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

Member Avatar for leokuz
0
2K
Member Avatar for mikecolistro

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 …

Member Avatar for ravenous
0
169
Member Avatar for codedude

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.

Member Avatar for ranacseruet
0
86
Member Avatar for moonknight33

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 …

Member Avatar for moonknight33
0
173
Member Avatar for ChiboSempai

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 …

Member Avatar for JamesCherrill
0
234
Member Avatar for Bhaumik Vyas

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.

Member Avatar for Bhaumik Vyas
0
113
Member Avatar for ypks_destiny

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 …

Member Avatar for ypks_destiny
0
2K
Member Avatar for rcmango

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, …

Member Avatar for rcmango
0
97
Member Avatar for Neversleepin
Member Avatar for peter_budo
0
467
Member Avatar for iwanttolearnc

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 …

Member Avatar for iwanttolearnc
0
234
Member Avatar for PoisonedHeart

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 …

Member Avatar for PoisonedHeart
0
216
Member Avatar for o0sample0o

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 …

Member Avatar for Eric Cute
0
1K
Member Avatar for zeke188

[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); …

Member Avatar for kvprajapati
0
116
Member Avatar for DJSAN10

Why is float called single precision floating point and double as double precision floating point?

Member Avatar for Ancient Dragon
0
137
Member Avatar for MrCapuchino

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 …

Member Avatar for kvprajapati
0
218
Member Avatar for MARKAND911

How to Maintain the location of form control acording to screen resolution How to develop resolution independent application. in C#.net

Member Avatar for kvprajapati
0
429
Member Avatar for Eblahmysuper

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) …

Member Avatar for Eblahmysuper
0
309
Member Avatar for tcollins412

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, …

Member Avatar for codewall
0
239
Member Avatar for pripa

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 …

Member Avatar for lisaroy1
0
158
Member Avatar for ovidiu_b13

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 - …

Member Avatar for JDCyrus
0
168
Member Avatar for deepak.marur

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 …

Member Avatar for JDCyrus
0
93
Member Avatar for katara
Member Avatar for JDCyrus
0
115
Member Avatar for jayvee0890

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){ …

Member Avatar for JDCyrus
0
86
Member Avatar for slpefanis

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 …

0
100
Member Avatar for NaturalSwtHeart

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 …

Member Avatar for NaturalSwtHeart
0
129
Member Avatar for SpecialForce

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); …

Member Avatar for mike_2000_17
0
1K
Member Avatar for hao90

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(";"); …

Member Avatar for hao90
0
181
Member Avatar for dennis.d.elston

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 …

Member Avatar for dennis.d.elston
0
193
Member Avatar for muzikhera

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 …

Member Avatar for kvprajapati
0
93
Member Avatar for dos_killer

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 ?

Member Avatar for jkon
0
583

The End.