199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Surendrasinh

Hello Developers, I Want to disable all computer Monitoring programs like TeamViewer when my winform application runs and enable it when my application runs.I want to prevent my application tracking so i need this. e.g. Suppose i already connected with other user with Remote Desktop program for some work.so he/she …

Member Avatar for Surendrasinh
0
231
Member Avatar for seotech012

Hey Guys I m trying to open a php page (that retrieve data from database according to the form fields) on button click in a modern type popup window like fancybox, lightbox iframes etc...you can check the link (www.goodmoves.in/)..currently it is opening a normal old fashion popup window. . . …

Member Avatar for diafol
0
930
Member Avatar for ahmadweb

Could any one plz tell me what's wrong with my code My sql select while loop is not checking date range that's been inserted into the form. <?php if(isset($_POST['start'])&& ($_POST['end'])){ $user_id = $_SESSION['user_id']; $leave_type= $_POST['leave_type']; $comments= $_POST['comments']; $start=date('Y-m-d',strtotime($_POST['start'])); $end=date('Y-m-d',strtotime($_POST['end'])); echo $start,'',$end; **$checkdate = "SELECT * FROM emp_status WHERE user_id='$_SESSION[user_id]' AND …

Member Avatar for ahmadweb
0
366
Member Avatar for cussel

hy all, how to get previous value and check different between recently value and previous values in loop < 0.5? if different value < 0.5 get it's array please help me define('DIV', 0.5); function iteration($data, $data2) { $m1=$m2=$data; $m3=multiply($m1,$m2); echo "iteration 1:\n"; print_r($m3); $temp_m3 = $m3; for ($i=0;$i<count($temp_m3);$i++) { for …

Member Avatar for cussel
0
909
Member Avatar for NardCake

Right off the bat I will say this has absolutely nothing to do with Microsoft Visual Basic. Recently I've been practicing language design and development and I've written a few basic interpreters for calculator languages and such and I've decided for some more practice I want to write a basic …

Member Avatar for NardCake
0
185
Member Avatar for ncis_sg1

I need help with an assignment. I have been working of this the better part of a week and still do not really understand what I am meant to do. This is my first week using PHP and I am really confused. Here are the instructions: Write a PHP script …

Member Avatar for ncis_sg1
0
1K
Member Avatar for goo_1

What i'm trying to do is writing Program that print the number of newlines,words and characters in counted file by python I'm lost and i do not how should i do it? that what i got so far infilename = input("Enter the name of the file:") infile = open ( …

Member Avatar for vegaseat
0
328
Member Avatar for sabarinadh.ch

Here i am uploading data through a form which contains some input fields and one image. But i want to upload multiple images here instead of one image. I am attaching my php code here to upload the data and single image. Can anyone edit this code to add mutliple …

Member Avatar for diafol
0
794
Member Avatar for dannybarh

Hi, i have successfully stored a link to docx and pdf files into mysql db. I'm trying to retrieve it from db and display it similar to pictures. Now when the user click on it, it should open the file and display it. If any one have a code sinppet …

Member Avatar for diafol
0
192
Member Avatar for Benjamin_4

i want to calculate the depreciation of an asset and i want my accumulated value to automatically add the previous monthly depreciation value with the current one any time the user calculates for the monthly depreciation, the accumulated value should pick the results from monthly depreciation and add it to …

Member Avatar for cereal
0
2K
Member Avatar for Tcll

so I'm quite the noob when it comes to texture based things... how would I apply a material that contains more than 1 texture to an object?? my current code: if SDType=="_Mesh": __GL.glLineWidth(1.0) MaterialName,AddOn,MatColors,Textures,R1,R2 = Libs[4][SDData1] if type(SDData1)==int else [ "UMC_Def_Mat", '', [[1.0,1.0,1.0,1.0],[1.0,1.0,1.0,1.0],[0.5,0.5,0.5,1.0],[0.0,0.0,0.0,0.0],25.0], [], [], [] ] MAR,MAG,MAB,MAA = MatColors[0] …

Member Avatar for Tcll
0
156
Member Avatar for kiail

Hello, I have an issue I've been beating my head on a little. I have a list that I've made from an xml document and I'm trying to call that list and print it to console and run queries on it. So far nothing I've tried or searched and implemented …

Member Avatar for JOSheaIV
0
177
Member Avatar for dospy

i've recently engaged in an argument with my dad about CDs and DVDs vs memory sticks and i basically stated that since nowadays it is common for almost everyone to have at least a 16GB stick, CDs and DVDs are basically becoming useless/non-convenient. he countered me stating that CDs have …

Member Avatar for deceptikon
0
229
Member Avatar for iFrolox

Hello, I'm trying to read a .xml or create the .xml if it doesn't exist or it cant find a node/child. This is what I have so far: bool XmlErr = false; if (File.Exists(XMLPath)) { try { XDocument xDoc = XDocument.Load(XMLPath); } catch { XmlErr = true; } if (XmlErr …

Member Avatar for iFrolox
0
122
Member Avatar for developer707

Hello, Recently I am trying to make a php file than when it is opened it should backup a database and promt the user to save the .sql file... This is a feaure that has phpmyadmin but I want something very simple, just clicking http://mywebsite.com/backup.php and the file should be …

Member Avatar for broj1
0
205
Member Avatar for nitish.mohiputlall

Here is the question: Write a program containing a function that takes has 2 integer parameters x and y and returns the value of x^2 + y^2. My codes: #include<stdio.h> #include<stdlib.h> int Myfun(int x,int y); int main() { int n,p,k,sum=0; printf("Enter 1st integer: "); scanf("%d", &n); printf("Enter 2nd integer: "); …

Member Avatar for robsonminag
0
151
Member Avatar for zuki88

hello everyone i want to input ip like a char,then split into "127 0 0 1" so that i can scan ips for start ip to end ip. I tried with strtok spliting but program crashes when i do sprintf (buffer, "%s",pch[1]);

Member Avatar for L7Sqr
0
324
Member Avatar for maheshmkkd

Create Student class as an abstract class in C++. Inherit GraduateStudent and PostGraduateStudent and ResearchStudent classes from Student class. Define proper constructors, destructors and functions related to attendance and examination result. Make necessary assumptions wherever required.

Member Avatar for deceptikon
0
238
Member Avatar for techxaidz

Hi! I'm a newbie in PHP. I'm currently looking for a debugging tool for PHP, does DreamWeaver CS6 provides this? Or is there any debugging tool, easy to install? BTW, I tried downloading xDebug but i can't figure out how to install it into eclipse Juno. I downloaded a DLL …

Member Avatar for veedeoo
0
151
Member Avatar for uttkarshsing
Member Avatar for deceptikon
0
201
Member Avatar for rithish
Member Avatar for ericbpower
0
118
Member Avatar for Smalls

What im doing is creating a dll that parses xml documents located on the interwebs. The issue that im having is that the application that will use it freezes while the documents are retreived and parsed. So, im under the impression that i will need to utilize threading of some …

Member Avatar for JOSheaIV
0
4K
Member Avatar for codemonster

I'm trying to overload the assignment operator. The objective is to copy two linked lists. I copy the first element fine, but for some reason the second loop around I encounter a null pointer and my loop ends on me. My brain is fried from over-studying and I can't think …

Member Avatar for irum.nageen.3
0
14K
Member Avatar for alina.nazchowdhury

I need to finish a program, i found it in a book but the for statement is now finised. I don't know to finish it, anybody can help me, please? Private Sub Form_Load() For i = 1 To Screen.FontCount - 1 Combo1.AddItem Screen.Fonts(i) Next For i = 5 To 300 …

Member Avatar for rishif2
0
217
Member Avatar for mhieyo

i just want to display datagrid value to label but i am getting problem after passing ten line. Label1.Text = Me.DataGridView1.CurrentRow.Cells(0).Value.ToString.Trim Private Sub DataGridView1_MouseClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles DataGridView1.MouseClick Label2.Text = DataGridView1.CurrentRow.Cells(1).Value.ToString Label3.Text = DataGridView1.CurrentRow.Cells(2).Value.ToString Label4.Text = DataGridView1.CurrentRow.Cells(3).Value.ToString Label5.Text = DataGridView1.CurrentRow.Cells(4).Value.ToString Label6.Text = DataGridView1.CurrentRow.Cells(5).Value.ToString Label7.Text = …

Member Avatar for oussama_1
0
296
Member Avatar for travis.holt.921_2

I am working on a form that will redirect users based on a form. The form asks for a zipcode. If the zipcode is correct (one of the zipcodes in the service area) then I want to redirect to an order page. If the zip code is incorrect, not in …

Member Avatar for EvolutionFallen
0
218
Member Avatar for VUEKID

I need help to store my data i read from a cvs file, how do i input it into my arrays and use it to manipulate in other #include <iostream> #include <iomanip> #include <string> #include <cmath> #include <stdio.h> #include <fstream> using namespace std; const int MAX_ARRAY_SIZE = 120; void getData …

Member Avatar for VUEKID
0
130
Member Avatar for vishal anand.s

hi my name is vishal. i have been trying long to figure out to export data from vb6 using join queries in sql to ms word. here is my sample code i have tried: Option Explicit Dim dIsVisible As Boolean Dim inst As String Private Declare Function ShellExecute Lib "shell32.dll" …

Member Avatar for rishif2
0
1K
Member Avatar for fugio

Hi all, I'm trying to create a control and command control them from the property, there are too many similar statements. I want to cage them in a group of properties, so I have created a class that contains the property and call them from the main property of a …

Member Avatar for fugio
0
174
Member Avatar for Alessandrorenzi

Hello I'm trying to connect my PC to remote PC with socket but I have error 40006. I'm sure that there is not connection. Here is code: SERVER .............. Option Explicit Dim iSockets As Integer Dim sServerMsg As String Dim sRequestID As String Dim Income() As String Private Sub Form_Load() …

Member Avatar for Alessandrorenzi
0
719
Member Avatar for my3h

0 down vote favorite I have a table in database like this: ID, features, Values : ID will be 1, 2, 3.... features will be color, size, material.... values will be red, 13inch, silicon... I stored it like this: ID 1 1 1 Features color size material values red 13in …

Member Avatar for my3h
0
138
Member Avatar for elie.karkafy
Member Avatar for laklaker

Hello! I would like to ask if its possible to change the size of the array? For example, the user will input a characters then that characters will be counted and the size of the array will be change. For example of the output: Enter your name: Laklaker The size …

Member Avatar for deceptikon
0
187
Member Avatar for coolioschmoolio

Hello everyone I am in need of some help.. I thought that I did my assignment the way that my professor wanted but I just found out that he wants me to solve it differently. Problem: Given any amount of money expressed in dollars, and cents, this program computes the …

Member Avatar for deceptikon
0
515
Member Avatar for techxaidz

Hi! I am beginner in Java Programming and I am currently working with a program that randomly populate 14 buttons with a letter based on a given set of words and if the size of the word is less than the size of the button, it'll just populate it with …

Member Avatar for techxaidz
0
326
Member Avatar for mcoliver88

Hi I am creating a quiz of 10 questions, using a string array. When the user clicks on the next button the next question follows. How do i set it up that when the user comes towards the end of the array the previous button changes to finish. I know …

Member Avatar for mcoliver88
0
256
Member Avatar for kalo150

this code have to print all the prime numbers from 1 to 100 but when i run it cmd crash #include <stdio.h> int main(){ int a,b,c,d; for(a = 0;a <= 100;a++){ d = 0; for(b = 0;b <= 100;b++){ c = a % b; if (c == 0) d++; if …

Member Avatar for Schol-R-LEA
0
102
Member Avatar for ahmed.talha.16

Hello! Im new to the java. During creating a program Im getting a warning "@suppresswarnings( deprecation )". I wants to know why is that warning occur and how to avoid it.

Member Avatar for jwenting
0
318
Member Avatar for kirtee2209

Hi. I have an application in C#. When installing the msi, the user is requested to input some values and these are entered in registry under HKEY_LOCAL_MACHINE\SOFTWARE\MyFolder. When running the application, the value is read from the registry location and the application uses these values for processing. This works fine …

Member Avatar for Ketsuekiame
0
389
Member Avatar for drieran

Hi, I'm developing with a BeagleBoard Black (BBB) under Ubuntu using C. When the BBB is powered on I'm doing many time controlled tasks. My problem happens when NTP changes the clock and all my counters are not valid. Normally BBB starts with no date/time set, some seconds later (if …

Member Avatar for drieran
0
246
Member Avatar for elie.karkafy

i have a txt file that is exported from an attendance software as follow : Date Time s1 s2 EmpiD IN\OUT 07-24-13 12:23:52 001 07 0000020009 0300000000 07-24-13 12:24:02 001 07 0000020010 0300000000 between the columns of this txt file different spaces for example between date and time 1 space …

Member Avatar for oussama_1
0
352
Member Avatar for Smith6969

Im trying to take an amount of change, less than $1.00, but more than zero and display the number of quarters, dimes, nickels, and pennies that will be required to make that change. The output must be presented in a descriptive manner that resembles the English language with the following …

Member Avatar for JamesCherrill
0
190
Member Avatar for Burhan_1

I am creating a flight/hotel reservation system like farecompare.com Farecompare parse values to other sites and create sessions other sites too. Anyone tell me how they create sesssions in it. I can parse url but i am not able to create sessions. public function flight($depart, $return, $from, $to, $type, $class, …

Member Avatar for broj1
0
193
Member Avatar for dancingdophie

So I'm writing an event-driven program. The program is supposed to calculate checks and deposits, but the calculation comes out completely wrong. For instance, if i type 500 for initial balance, click 'entering a transaction', type 1 for checks, and type the amount 50 for transaction amount, the remaining balance …

Member Avatar for javanoobcoder
0
272
Member Avatar for jordaninc

A program is needed that will prepare a tuition bill for the college. The input will consist of the student’s name, student ID number, the student’s state of residency (i.e., KY, IL, TN, etc.), and total number of credit hours for which the student has enrolled this semester. The printed …

Member Avatar for Reverend Jim
0
165
Member Avatar for Kewne

Hi. I'm confuse on how I will create my temporary table. Need some clarification here. I want to create a temporary table that will hold some column and values. And later on I would alter/update the table to add another column and data with respect to the existing columns. ammm... …

Member Avatar for Reverend Jim
0
295
Member Avatar for Suzie999

Trying to put inline functions in external file within project, and getting below errors. If I remove "__forceinline", then all is well. If I have the inline function in main cpp file and not in header, it is fine also. Is there a procedure to deal with this? file.h __forceinline …

Member Avatar for Suzie999
0
1K
Member Avatar for H_beginner

I am trying to create a program which adds substracts two matrices. Using switch statements. I am not sure that I am making the correct function calls. I ve been struck on this for two days looking for some guidance. Please see below my code. I am trying to create …

Member Avatar for rubberman
0
156
Member Avatar for H_beginner

I wanted to know if I can make the matrix size entered by the user dynamic. Currently I have fixed it as a 2*2 matrix. If I try making it a dynamic array it says the integer should be constant. #include<iostream> #include<iomanip> using namespace std; int input (); void output(int …

0
84
Member Avatar for joester007

As I was testing the game I noticed that when you try to guess another number for the second time and you guessed it right the "Game over, the correct guess is __" messagebox.show appears. Can someone explain what is wrong with this? Public Class SuperAwesomeGuessingGame Dim ranNum As Integer …

Member Avatar for Begginnerdev
0
171

The End.