64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for mykurasa

need help in removing the first characters in a number then adding 1 to the number then returning the 2 first characters that were removed. example i want to remove CR FROM CR499 THEN i add 1 to 499 then add back the CR. any help will be appreciated

Member Avatar for Hamrick
0
135
Member Avatar for Mitchelle

If you have any idea on where I can learn how to implement OOP in C++ specifically when it comes to list please send me your feedback

Member Avatar for Ancient Dragon
0
70
Member Avatar for blaykm

Hi I have a web Application which uses servlets. As soon as any user Logs i create a folder for the user and the files uploaded by the user are stored in that folder. Now when the users Logs out of the Application I am supposed to delete the folder …

0
63
Member Avatar for orion_nsk

Hello Everyone, I'm doing a Project for Touch Screen. I have Designed an ON SCREEN KEYBOARD. My Problem is that "How can i Enter Text through my On-Screen K/B????" For Example : Suppose User Click the Button "A" on "On-Screen K/B" Form then I want "A" to be typed in …

Member Avatar for orion_nsk
0
205
Member Avatar for McQueen

[code=c++]void wait ( int seconds ) { clock_t endwait; endwait = clock () + seconds * CLOCKS_PER_SEC ; while (clock() < endwait) {} }[/code]

Member Avatar for McQueen
0
111
Member Avatar for asilter

i'm sending a NULL pointer of type unsigned char to a function. i allocate space for this pointer in the function and return nothing. [code] unsigned char ucBufr = NULL; Allocation(ucBufr); [/code] [code] void Allocation(unsigned char * ucBufr) { /* nDataSize and ucData is got from a file here. */ …

Member Avatar for Hamrick
0
127
Member Avatar for rajye

I need program in c to print keywords and their frequency of occurence in a given c program

Member Avatar for iamthwee
0
105
Member Avatar for jeffro25

Hey guys. Got a quick question. I am having a problem with a message board that I am creating. I have created the log in and registration page and the sessions needed to use the site nad it all works fine, but when the user posts a message I can't …

Member Avatar for jeffro25
0
143
Member Avatar for shear

hey, i have project in my visual basic laboratory, but i'm just a newbie, so can anybody help me.. they say that its just a simple syntax, but it is not simple for me.. so please help me.. it goes like this, a quiz that has a radio button choices, …

Member Avatar for Prozeen
0
148
Member Avatar for amithasija

can anybody help me in uploading mpeg files.i did image uploading using rmagik and it works quite well but now i want to upload video files,so can i get some clue or may be full code if possible.... thanx guys.

Member Avatar for VINEET KUMAR
0
106
Member Avatar for shyamalaa

file_list='find /home/attrib/ -name *.csv' for fn in $file_list do echo "Inside the loop" echo $fn done I need the list files available in the specified directory find /home/attrib/ -name *.csv - This works on the command line and gives the desired output . But the above script Gives me output …

Member Avatar for shyamalaa
0
126
Member Avatar for hoceandress

hey guyz!!! i'm just trying to check my code u all if it's correct. thankz! the problem is " ask a number (N). calculate and display the value of x, where x = (1*N)+(2*N)+(3*N)...(N*N); ex. if i input a number 5 the formula of x where: x = (1*N)+(2*N)+(3*N)+(4*N)+(5*N); this …

Member Avatar for vijayan121
0
134
Member Avatar for psyman_86

Hi, i'm trying to implement a node class to be used with a linked list. When try to complile i get the following errors in the .cpp file: Node.cpp:26: error: syntax error before `::' token Node.cpp:31: error: syntax error before `*' token Node.cpp:36: error: syntax error before `*' token Everything …

Member Avatar for psyman_86
0
447
Member Avatar for tgifgemini

Hello members I reading - Looping through a recordset (MS Access Query) that has 49 records. Note: the query is generate on the fly(dynamically). The processing is supposed to exit the loop at EOF but it keeps processing indefinitely (sort of an infinite loop). Does anybody know why this is …

Member Avatar for tgifgemini
0
248
Member Avatar for plusplus

How do I check if two dates(within same month) occur within the same week, week starting sunday. Already found the answer I used Datediff("ww",,)

0
60
Member Avatar for pmhayden

Hi I'm in the process of getting JConnector in MySQL to connect to JBuilder 3. I've noticed in the MySQL manual that to accomplish this successfully I need to switch off the class verifier (-Xverify:none) as JBuilder 3 is too old to support some features on the JConnector. (1) How …

Member Avatar for jwenting
0
105
Member Avatar for apontutul

I want to make: when i click a button after I've given some input it checks & if successful it opens a new window/page i.e I want to create a link....till now I've done [CODE] import javax.swing.JOptionPane; public class inputwindow { /** * @param args */ public static void main(String[] …

Member Avatar for Ezzaral
0
245
Member Avatar for tgifgemini

People, this is a wired one for me. I am executing my module and I am getting a compile error - "Loop without a Do" even though I do have a "Do". Below is my module: [code] ii = 5 ii = ii + 1 Do Until M.qBW.EOF xlWksht.Cells(ii, 1).Value …

Member Avatar for tgifgemini
0
508
Member Avatar for Prozeen

Hi there. I've got two forms (form1.frm and frmoptions.frm.) The first form contains a variable (multip = 2.) When I click on the first form let's say I want to see that variable in the second form's command button's caption. This doesn't work. All I get is a blank command …

Member Avatar for Prozeen
0
64
Member Avatar for Kshiteesh

Dear Friends, I have been working on a VB.net project on VB8 with ms access as backend. While finding certain data by entering primary key in the form i.e. id i experienced a problem. While displaying the values which are null in the database like wise tel1 is null then …

Member Avatar for Kshiteesh
0
582
Member Avatar for plusplus

I have a main form and every once in a while another form is popped up, waiting for input from the user. I have a toolbar on my mainform. When that [B]other[/B] form is shown [B]while[/B] the user is in the sub of menubutton_click, then the program gets stuck, it …

Member Avatar for plusplus
0
236
Member Avatar for anto_nee

please anyone giv me the sol MsgBox Mid$(txtFirst.Text, 0, 2) whts the prob with this line it displays "invalid procedure call or argument"" please help me

Member Avatar for anto_nee
0
72
Member Avatar for Trevora

Hello I have a need to output a large array for a CNC machine I have built. The attached code includes comments which explains my problem. Thank you for your consideration.

Member Avatar for Trevora
0
221
Member Avatar for Lardmeister

Right now I have a mixed list of different types of elements: [code=python]mixed_list = [1, 0.5, 0, 3, 'a', 'z'] print max(mixed_list) # shows z, but would like it to be 3 [/code]How can I find the maximum numeric element of the list?

Member Avatar for Lardmeister
0
94
Member Avatar for fonzali

hi guys , I am interested in writing a code to do the soduko ( or sudoku ) , I found this code on the internet which is supposed to be the shortest soduko solver but it is so short that I can not undrestand it . can any one …

Member Avatar for fonzali
0
1K
Member Avatar for amishosh

Consider the following code: [code] [COLOR=green]#include[/COLOR][COLOR=green]<stdio.h>[/COLOR] [COLOR=green]#define[/COLOR][COLOR=green] SET_BIT(buf,n,val)buf[n]=val[/COLOR] [COLOR=green]int[/COLOR][COLOR=green] main()[/COLOR] { [COLOR=green]char[/COLOR] ch=[COLOR=green]'D'[/COLOR]; [COLOR=green]char[/COLOR] *name=[COLOR=green]"Yankee Duddle"[/COLOR]; [COLOR=green]int[/COLOR] i=5; SET_BIT(name,i,ch); printf([COLOR=green]"%s"[/COLOR],name); } [/code] When compiling with Borland C it worked fine. However when I tried cimpiling it with VS 2005 I got the following error: "Unhandled exception at 0x00413529 in Learning …

Member Avatar for Salem
0
190
Member Avatar for venomocity

First of all let me say I love this forum, everyone has been very nice and extremely helpful! Now to my question. I got help with a question like this before and the answer I got worked perfectly. However I have a new angle. I'm wanting to take and subtract …

Member Avatar for QVeen72
0
105
Member Avatar for lollerskates

Hi there I have an application that I've made in Delphi - it runs fine in Delphi and when I save it and run the .exe file, it works fine as well. My problem arises when I zip everything and email it to another computer and then try to run …

Member Avatar for lollerskates
0
878
Member Avatar for plusplus

One of my forms (lets call it frmnew) is opened with vbmodal, since I want the user to finish with that form before continuing. When he presses cmdsave(a command button on frmnew) then while the program is executing that statement I want to show another form (frmsplash). It doesn't let …

Member Avatar for plusplus
0
98
Member Avatar for venomocity

Alright, I dont know if this can be done or not, but can you say, take either a caption or the text in a text box and add or subtract from what's in it, with a click of a button? Allow me to explain, lets say I have a text …

Member Avatar for kb.net
0
132
Member Avatar for blondie.simon

Hello I want to cause a time dealy or 100ms in the middle of my code. Can anyone help me on how I can achive this. Thanks Simon

Member Avatar for blondie.simon
0
98
Member Avatar for K1ngp1n

alright... So I want to learn assembly, and i got a few tutorials. I noticed that there were different interrupts. I went online and searched for a list of them, and i found Ralph Brown's interrupt list....My question(s) is/are, Is it true there is over 120,000 different interrupt commands? How …

Member Avatar for K1ngp1n
0
139
Member Avatar for amishosh

Hi! I cannot access my "Debug Windows" in VS 6. All the windows are grayed out and I cannot select them. What do I need to define to be able to access them? Thanks

Member Avatar for iamthwee
0
74
Member Avatar for php111

Hello gang, I was actually really my old topic on this forum. I heard that Python and Ruby would be for me to start with. Does that sound right instead of jumping right in to C and C++? What is required in Python? Is there free tutorials on that language? …

Member Avatar for vegaseat
0
182
Member Avatar for xiyann

i have these objects: [ ['John', 27.52], ['Mary', 43.32], ['Paul', 64.85], ['Lulu', 98.23], ['Peter', 23.64] ['Mimi', 53.42], ['Nancy', 23.63] ] and i need to assign them to: var1 = ['John', 27.52] var2 = ['Mary', 43.32] var3 = ['Paul', 64.85] var4 = ['Lulu', 98.23] var5 = ['Peter', 23.64] var6 = ['Mimi', …

Member Avatar for xiyann
0
99
Member Avatar for mimsc

So my user has successfully logged into their page...I have a "home" button link that I want to simply go back to this same page....when they press it...it takes them to the login screen....any suggestions?? here's my code snippet [code=java] <li class="first"><a href="cp-newmenu.jsp" target="_new" class="on">Home</a></li> [/code] thanx in advance

0
77
Member Avatar for venomocity

I'm trying to write a game for fun. I've been able to get some lines of code from other friends who have been able to help. But they couldn't help me with this. I'm trying to write the code to where, when you click on the button it should change …

Member Avatar for jireh
0
102
Member Avatar for tgifgemini

Good morning, I modified the code accordingly and got another "Run-Time error 1004 - Unable to set the RowHeight property of the range class" on the code below. Also, please look at the spreadsheet attachment. Is there any way I can get rid of the spacing(gap) that separates the line …

Member Avatar for kb.net
0
2K
Member Avatar for gretschduojet1

Hey everyone, I'm new to C++ programming and have just started the semester and having a bit of trouble with my second homework assignment. Here's the assignment: Write a program that accepts a 7-9 digit integer andechoes the number with commas between every three digits from the right. Here's what …

Member Avatar for gretschduojet1
0
1K
Member Avatar for krnekhelesh
Member Avatar for mimsc

Im getting invalid coulmn index...any suggestions?...thanx in advance [code=java] public static int[] getListSummary(UserDataVO userData) throws Exception { Connection connection = null; PreparedStatement pstmt = null; ResultSet resultSet = null; int[] listSummary = {0,0}; int leadCount = 0; try { connection = DataBaseConnectionManager.getConnection(); if (connection != null) { if (userData.isAgentType()) { …

Member Avatar for mimsc
-1
305
Member Avatar for apontutul

hi guys..........this is the code I'm trying to run [CODE] package dbpack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; import org.jfree.chart.*; import org.jfree.data.jdbc.*; import org.jfree.data.general.*; public class chartdb { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub //private void readData() //} private PieDataset …

Member Avatar for apontutul
0
6K
Member Avatar for pmhayden

Hi doing a project which consists of moving between individual frames and in general interrogating a database from these frames. My first frame is a Logon frame. In this Logon Frame/class i have also instantiated another class called Member where I've saved the username from the logon process. Can I, …

Member Avatar for orko
0
295
Member Avatar for mimsc

Im getting this on just about every line....anybody see what Im doing wrong? [code=java] public static int[] getLeadsSummary(UserDataVO userData) throws Exception { Connection connection = null; PreparedStatement pstmt = null; ResultSet resultSet = null; int[] leadsSummary = {0,0}; int leadCount = 0; try { connection = DataBaseConnectionManager.getConnection(); if (connection != …

Member Avatar for mimsc
0
154
Member Avatar for t_yalthis

Hi everyone, I'm using ADODB to connect to an access database and it is working perfectly. but I don't really know that it is going to work when more than one person tries to reach the database at the same time...is it possible? moreover, does everyone has to set up …

Member Avatar for t_yalthis
0
93
Member Avatar for t_yalthis

hi everyone I need to change the system clock and date's language to English. My program is going to show the date automatically in english in every computer that is installed in.. I tried to change the names of the months in to english but it did not work.. do …

Member Avatar for t_yalthis
0
95
Member Avatar for bilalb1

hi I have the following problem... I have a program (c++ code) which updates some logs ...(i am using linux as the operating system) I was wondering that is there a way by which i can execute this code/program after every two (or what ever time period expires )by creatiing …

Member Avatar for bilalb1
0
115
Member Avatar for plusplus

I'd like to add a color palette to my form, so that the user can choose a color. How can I add such a palette to my form(with all the colors vb offers)?

Member Avatar for plusplus
0
463
Member Avatar for dmotah

hi, tkx bt i again need ur help guyz! im using a form with post method! bt i want wen the username and password r correct it opens another page, else it comes back to the login! plz watinf thkx

Member Avatar for Pro2000
0
104
Member Avatar for venomocity

Alright, I have an MCSE and A+ education, but nothing is as confusing as script for VB. Well, I take that back it can be pretty simple but sometimes I just can't see the forrest for the trees. I'm trying to copy the data from a text box named creditbox …

Member Avatar for plusplus
0
140

The End.