199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for muhammadse03503

How do i make a validating of only number and make characters invalid if entered. Using this method #include<stdio.h> #include<string.h> #include<conio.h> #include<math.h> #include<stdlib.h> #include<ctype.h> int main() { int arr [100],el,number ; // for(int i=0;i<100;++i) //scanf("%d",arr[i]); while( el == 0 ) { printf("Enter a number between 1 to 100"); scanf("%d", &number …

Member Avatar for L7Sqr
0
124
Member Avatar for ClaudeRhay

Say I have this definition: #define SIZE 2000 typedef enum { TRUE, FALSE }Boolean; typedef struct{ char jobTitle[30]; char jobDesc[255]; char jobLoc[255]; float salaryMin; float salaryMax; Boolean isAvailable; }jobInfo; typedef struct cursorNode{ jobInfo jobRec; int next; }HeapSpace[SIZE]; typedef struct hnode{ HeapSpace heap; int Avail; }*VHeap; typedef int List; typedef struct{ …

0
194
Member Avatar for lalit01

i am doinf online test so i have stode qus and and in mysql . and now i am showing all qusetion at a time . but i want one quse at a time and i want to use next and privius button . help me how can i use …

Member Avatar for diafol
0
106
Member Avatar for dimitris.dimitri.73

Hello everyone,my question is the following: I have a database with two tables.What i want to ask is ow can i bind one column of the database to a txt file eg: when i press a button in my form it saves the contents of my richtextbox to a file …

Member Avatar for dimitris.dimitri.73
0
143
Member Avatar for dennis.acquah1

Hi guys, Im very new to vb.net. I have this project that I'm working on Just to get more insight and appreciate programming. Now the problem I'm getting now is how to save the picture already selected to my picture box into the database (sql-server) this is my datase: memberID …

Member Avatar for Reverend Jim
0
216
Member Avatar for brittney_2

I want to know if I would be able to replace different words all in one regex expression. For example if I wanted to replace the name John with Joe and Smith with Doe. Would I be able to do that with one expression? Here is a code that I …

Member Avatar for ~s.o.s~
0
753
Member Avatar for new_programmer

Hi, I m new to android mobile appn devlp. Pls suggest me study materials for that. I hav 2 years of xprns in core java appl devlp. I want full detail of 1. how to learn ? that means where to start ? 2. simulators or emulators available 3. Text …

Member Avatar for peter_budo
0
674
Member Avatar for Mike Askew

Quite rare to see me post in the Java forum but have been picking it up as part of a long-distance university course I am doing. I am currently trying to read in an ASCII coded .txt file and output it but am seeing some funny characters showing up. The …

Member Avatar for JamesCherrill
0
177
Member Avatar for RonKevinT.Manuela

Hey guys i need help, I dont know how to remove that irritaing notice....here's the code <fieldset> <legend>Categories</legend> <?php $stmt2 = $db->query('SELECT catID, catTitle FROM blog_cats ORDER BY catTitle'); while($row2 = $stmt2->fetch()){ if(isset($_POST['catID'])){ if(in_array($row2['catID'], $_POST['catID'])){ $checked="checked='checked'";} else{ $checked = null; } } //this is where it says undefined variable echo …

Member Avatar for RonKevinT.Manuela
0
239
Member Avatar for 161696e57f

Hi Everyone. Background :- Winform App creates database in MSSQL LocalDB & creates tables. Data is imported & analysed then report is created. At any point in the process the user can start a new project & tables are removed to be re-created later as the user progresses through the …

Member Avatar for arunkumars
0
163
Member Avatar for wikit

what I'm on the hunt for is a php script using mysql or mysqli that searches for results. This part is the easy part the hard part is this. I'd like it to search 1 database to to yeild 2 sets of results with 1 search. It would use a …

Member Avatar for wikit
0
312
Member Avatar for MartinIT2type

Hello, I'm pretty new to Python, and I've been making simple projects to practice in. The issue I've run into though is I'm creating a GUI (Using Tkinter with Python 2.6) to take a text input and bring out "Name". What I want to do though is keep that "Name" …

Member Avatar for jules1234567
0
8K
Member Avatar for ricciola

I have a problem. I have a function that search a string in a text file. This function return an int: 0 if the string I must be search isn't in the file, 1 otherwise. The problem is: if the searching string is "input1" and in the file there is …

Member Avatar for shentong
0
3K
Member Avatar for Priti_P

Hello, How to force **window.onbeforeunload** to act only on pertular action or url? I have a form which has data. if it navigates to another page then `window.onbeforeunload= function() { return "please save data"; };` is working. But after submission of that page, it navigates to another page on that …

Member Avatar for Priti_P
0
131
Member Avatar for s.zangeneh

I'm having a problem with making .js files for my javascript project using visual studio2013. Where should i save made file to make it work with my project?

Member Avatar for iConqueror
0
123
Member Avatar for spyros.lois

i have a prinscreen of the problem http://i.imgur.com/GMJho9r.jpg i use mySQL to create the query and i have a database called tap that contains the events table I try SELECT sensor_id,event_type,value from tap.events where events.time = (SELECT MAX(events.time) from tap.events) group by sensor_id,event_type ORDER BY sensor_id,event_type; I get only the …

Member Avatar for urtrivedi
0
446
Member Avatar for iConqueror

I have run into a basic problem. I have a very simple form that asks the user their name and then they click the submit button and an alert is shown with their name in it. When the button is clicked nothing happens. I have called the function in the …

Member Avatar for iConqueror
0
346
Member Avatar for bgengine

Hi - I've done a bit of VB.net programming but am still learning .. I want to create a .net DLL which I will call from another application (NS Teststand). When I call the Dll - 1. I will need to pass a string to it, 2. It must show …

Member Avatar for tinstaafl
0
4K
Member Avatar for IndieDeV2002

I have been developing a simple java game, however I would like to add some Music to my game because it seems quite boring whenever you play it.

Member Avatar for bCubed
0
938
Member Avatar for Slavi

Me as one of the users in Dani web and a person who has interest in Java, I've tried to solve if not all, most of the begginers problems. I've even tried to solve some myself afterwards however, now I ran out of ideas. I would also like to move …

Member Avatar for JamesCherrill
0
503
Member Avatar for b6huss

Hi, I am extremely new to python, and I am completely stuck regarding filtering the contents of a list. I have a list of the first thirty elements, and i have been told to identify any beginning with the letter 's' and any that are four letters long. I have …

Member Avatar for snippsat
0
403
Member Avatar for Clanstrom

I am tring to make a search script, but I have no idea how and would appreaciate if anyone could give me samples or websites. thanks

Member Avatar for timetraveller1992
0
418
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to call a [pNotify](http://sciactive.com/pnotify) notification using php. So after I submit a form I can use PHP to create the popup.

Member Avatar for DJBirdi
0
2K
Member Avatar for MrJo

I am learning objective-c my basic purpose if to development a msging client, please suggest me good site for lessons and help. Thanks.

Member Avatar for timetraveller1992
0
296
Member Avatar for sonu_1

hi to all user i am new in file handling , i know file handling but not much , my instructor taught me that use binary search tree in a file to search key value ,key value(like any thing such that record can be easily make out and comparision can …

Member Avatar for Rizwanrana786
0
407
Member Avatar for userasad

I have a text file and i want to replace a word from a specific location. For example want to replace 5th word from 12th line of file. How i can do that?

Member Avatar for Rizwanrana786
0
260
Member Avatar for 2384443

well guys, i wanted to try somethng fun in java, so i made a simple form type navigation program.. i can compile this file, bt i cant run it..NOTE: i have no issues in my java software.. import javax.swing.*; import java.awt.event.*; import java.awt.*; import java.util.regex.*; public class Nav2 extends JFrame …

Member Avatar for 2384443
0
247
Member Avatar for joshl_1995

Hello Community, I have spent almost an hour looking for a solution to combine several pictures side-by-side but can't seem to find anything. I want to be able to get a dozen pictures (.png) and place them to the right of the previous picture then combine them as one (.png) …

Member Avatar for cereal
0
3K
Member Avatar for chaitu11

length should be [2-10], should accept [a-zA-z0-9],accept one space in between characters. eg: timesheet 2 shanti chakra shantichakra shantichakra2

Member Avatar for diafol
0
123
Member Avatar for Suzie999

I've been working on a project using selenium 2 webdriver. Took me a while but finally got it working inside iframes of a web page. Thing is, I searched a lot and seen many examples but none that looked like what I ended up with, looks a bit weird and …

0
129
Member Avatar for khurram123

Hi, I have develop a quote form in php and after submission it will e-mail me all the inforamtion correctly but i have problem not getting the information from drop down list and also have browse field so user can upload this file if he wants. PHP Code: <?php if(!$_POST) …

Member Avatar for cereal
0
228
Member Avatar for mikeybware

I am trying to insert some values into a database and I have the following SQL: insertString = "INSERT INTO SocialHistory (ExamID, Occupation, SafetyYN, ComputerYN, ComputerHrs) Values('" & CurrentExamID.ToString & "', (SELECT Occupation, SafetyYN, ComputerYN, ComputerHrs FROM SocialHistory WHERE ExamID = '" & LastExamID & "'))" When I execute the …

Member Avatar for mikeybware
0
231
Member Avatar for Akash_Soni

Hello, I have to develop android application that is used for screen sharing of android device through wifip2p(NFC) technology so i am thinking of doing it by capturing screenshot from source device and send it to the destination device but in screen sharing **frames per second** plays an important role …

Member Avatar for Akash_Soni
0
103
Member Avatar for Pravesh_1

I am using a php thumbnail script; its working on server but not on my local server. How I can run this script into my local server too ?

Member Avatar for Pravesh_1
0
756
Member Avatar for RAJboss

function generateHashLink($service_domain, $file_path, $url_signing_key ,$expiry_timestamp = NULL){ // + and / are some of represented chars of based64 encoding (8 bits) // + is 62 and / is 63 and these char should be replaced by other predefined chars $search_chars = array('+','/'); $replace_chars = array('-', '_'); if($file_path[0] != '/'){ $file_path …

Member Avatar for peter_budo
0
301
Member Avatar for Priti_P

Hi, I want to take php string in javascript variable. How to take it? php string includes \n so while taking it in variable it shows me error of "SyntaxError: unterminated string literal" I got one solution form stackoverflow that use json_encode but after use of json_encode is giving me …

Member Avatar for Priti_P
0
306
Member Avatar for Doogledude123

My girlfriend, as confused as she is when I talk about programming, wants me to program her something. She's away on vacation to Australia right now. Of course, I told her I would program something for her in time for when she gets back. But the part that I'm stuck …

Member Avatar for kb.net
0
196
Member Avatar for elouch

Hi everyone. I got a situation here. Usually making a T-SQL(using sqlclient) on a server is very simple in vb.net if you have access to a sever. But I got this problem, where in a computer does not have access to that server but need to make a T-SQL on …

Member Avatar for kb.net
0
522
Member Avatar for kdejan87

0 down vote favorite I have a problem, what i want is when the user enters data in the textbox, it needs to compare the entered textbox value like ,,name, with value ,,name,, in dataset. If name exists, It should enter the value in textbox. If not, it should pop …

Member Avatar for kb.net
0
129
Member Avatar for kshahnazari

I have a c++ program that is writing in a txt file every second and I want to get that data that is being written by c#. so the c++ is only writing and the c# is reading. with my knowledge txt files can't be accessed from 2 diffrent programs …

Member Avatar for Ketsuekiame
0
305
Member Avatar for Nima_1

Write a code snippet to declare and accept an integer and calculate the cube value of the integer. The integer should be passed by reference to a function cube(). The function would calculate the result of cubing the integer. The function prototype to be used is: void cube (int *p); …

Member Avatar for Daisy_1
0
248
Member Avatar for kategirdlelock
Member Avatar for iConqueror

I know that with Array Lists you can hold different types. Can you acomplish the same thing with arrays for example an array containing both ints and strings?

Member Avatar for ddanbe
0
111
Member Avatar for jess.lovejoy.7

A while back I got help on this issue I was having. This was the output that I was looking for: ![567fbeaa2b193e40e6440f3826e3592c](/attachments/small/4/567fbeaa2b193e40e6440f3826e3592c.png "align-left") **What it shows:** - Shows length of all chromosomes - Shows position of a qgrs on a chromosome [multiple qgrs on a chromosome] However, when I needed …

Member Avatar for TrustyTony
0
225
Member Avatar for awahqn

Hi, I have a code in perl that does some mail things and I would like to translate it to perl can someone help me please? I dont know perl so i want it in python so i can edit it. here is the code: #!/usr/bin/perl -w # USAGE : …

Member Avatar for TrustyTony
0
215
Member Avatar for sofien_1

Kindly note that I have the below table, I am trying to spool the count of the sum of the amtpd by grouping the duedt where it is less than or equal to 31-dec-2013, but the amtpd that has the duedt of 31-dec-2013 and that has trndt between 01-dec-2013 and …

Member Avatar for urtrivedi
0
200
Member Avatar for Kev756

Type rounds_key 'Storage Container raundnyh keys key (255) As Byte End Type Global data_ () As Byte 'Declare global byte array Global key_ () As Byte 'Declare global byte array Global data_size_block As Long 'Declare global variable 4 bytes Global su_box () As Byte 'Declare global byte array Global …

Member Avatar for Stuugie
0
245
Member Avatar for Djmann1013

I am trying to make a timer that refreshes every 5 seconds. Here is my code: using System; using System.Collections.Generic; using System.Windows.Forms; using System.Diagnostics; using System.Timers; namespace rpanel_server { public partial class MainForm : Form { public MainForm() { InitializeComponent(); Timer MyTimer = new Timer(); MyTimer.Interval = (4000); MyTimer.Tick += …

Member Avatar for ddanbe
0
3K
Member Avatar for surfingturtle

Dear members please help me in understanding the control flow in the following code, thanks #include <iostream> class constructs #include <iostream> class constructs { char inp; public: void acceptCharacter() { cout<<"Enter a character: "; cin>>inp; if(inp>='A') //ASCII value of A = 65 if(intp<='Z') //ASCII value of Z = 90 cout<<endl<<"Uppercase"; …

Member Avatar for surfingturtle
0
332
Member Avatar for mero_1

Dear friends , i've got a problem with ecommerce integration to my payment based website , i want to integrate the paypal or any other payment service provider to make payment. i'v tried using some php code but it didn't worked out , so what do i need to do …

Member Avatar for DJBirdi
0
304

The End.