64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for lianpiau

I want use Inner Join link 2 table and display in a datagridview. For example, PDC_FG Table contain PONO,Customer Customer Table contain Customer, Zone 2 table has same field is Customer. [CODE]ConnectionStringSettings conSettings = ConfigurationManager.ConnectionStrings["MyDBConnectionString"]; string name = conSettings.ProviderName; string providerName = conSettings.ProviderName; string ConnectionString = conSettings.ConnectionString; string sql = …

Member Avatar for Sarfraz409
0
7K
Member Avatar for entropicII

Recently, I've been trying to find out how to make my computer think that a button on the keyboard has been pressed using python. I want the whole system to think the key has been pressed. I need this to be possible in windows 7 and 8, on the latest …

Member Avatar for Gribouillis
0
2K
Member Avatar for mutaharpk

Dear Sir i would like to change the website Banner,I have 4 Banner in my Website(www.reliableindus.com) First Banner is Cuticle Nipper Second Banner Beauty Instruments Third Banner Nail Nipper ( Nail Nipper Spelling is missing in the web) Forth Banner Tweezer 2nd and third Banner i want to change. Kindly …

Member Avatar for diafol
0
107
Member Avatar for docfnt

I'm creating a custom control panel to replace the top border control panel/box. I start with a panel that docks at top of form, and add 3 pictureboxes, with light and dark colors, for when mouse enters. (optional 4th for docking options) My problem is the red_pb ("Form Closing" picturebox) …

Member Avatar for docfnt
0
203
Member Avatar for abaddon2031

I have just figured out how to search for the element that im looking for in a xml file but now when I run it the code loops through i know 3 times maybe even more. I want to know what im missing that would cause it to loop like …

Member Avatar for chriswelborn
0
259
Member Avatar for spawn2004

Hi , can you please help me with an advice. I have a problem with treeview. I want to show in a treeview folders but just some of them. I have several layers of folders. For example Root | =subfolder 1 | = subsubfolder1 | =subsubsubFolder1 | =subsubsubFolder2 | = …

0
319
Member Avatar for rjusman90

this is my SESSION code i want to make function of it is this posible? i am new in php i want your help please guide me <?php include "connection.php"; $result = mysql_query("SELECT * FROM new WHERE Email='" . $_POST['email'] . "' and Password = '". $_POST['pass']."'"); $row = mysql_fetch_array($result); …

Member Avatar for diafol
0
176
Member Avatar for sundog1

Hi Guys, I hope you can help me out... I have a slight issue in where the 'Search Box' Code I currently have seems to sift through the Populated Data Grid View fine. However, when selecting an Account that has been filtered by the use off the 'Search Box' it …

Member Avatar for sundog1
0
375
Member Avatar for ThatBitchYeah

Ok so now i have been able to write the code for adding and subtracting two complex numbers in rectangular form but now need to do the same for multiplication and division in polar form. #include<stdio.h> #include<stdlib.h> struct complex { int real,imag; }; int main() { struct complex x, y, …

Member Avatar for Amir Muhammad
0
770
Member Avatar for Entalist

/*Write a program which will print all the pairs of prime numbers whose sum equals the number entered by the user. */ #include <iostream> #include <vector> using namespace std; int main() { int maxNum; bool prime = true; cin >> maxNum; vector <int> primeSequence; for(int i = 1; i <= …

Member Avatar for Entalist
0
2K
Member Avatar for blueguy777

i've two files one is send-data.php which contains html form and another one is receive-data.php, i am converting the form value as session value into second file and printing using echo. but it's not printing the output. //send-data.php <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Member Avatar for blueguy777
0
741
Member Avatar for blueguy777

I'm trying to pass the ac_no contained in my database table to a form that's displayed within a Bootstrap Modal upon clicking a button. My code is as follows. <?php $mydata = mysql_query("SELECT * FROM slabpay WHERE ac_no='$ac_no'"); while($record = mysql_fetch_array($mydata)) { $id=$record['id']; ?> <tr class='fired' id='<?php echo $record['id']; ?>'> …

Member Avatar for blueguy777
0
3K
Member Avatar for Tycellent

Hey Guys, Was wondering if anyone could help me with this sort function for a vector of struct type. What i'm aiming to do is to make a score board being based on a player's score and print out the scores (along with the name) in descending order. I've looked …

Member Avatar for Tycellent
1
452
Member Avatar for prospectus.monarchy

How to write a pseudocode program of perfect number Item One- the amount of numbers to be tested, so that the program knows how many times to loop. the amount of values must be between 1 to 20 inclusive. Item Two - the numbers that will be tested to ascertain …

Member Avatar for prospectus.monarchy
-1
2K
Member Avatar for Samyx

Hello Everyone, I am trying to export data directly from the database to a downloadable Excel spreadsheet, the formatting is showing. However, the data is not displaying. Can anyone help me? Also, when opening the spreadsheet it gives me the message "We found a problem with some content in 'FileName'. …

Member Avatar for Samyx
0
372
Member Avatar for R0bb0b

Hi, I am a PHP developer that has been put on a Java project and am trying to apply the same principles with new ones that Java provides and am stuck. I have successfully instantiated a class with a variable class name, which contains a constructer that has one parameter. …

Member Avatar for R0bb0b
0
174
Member Avatar for Ehsan_4

How to merge or join or map two arrays fetched from mysql db array full_name and array email to create one recipient list to be bcc for php mailer and then be able to use something like: $email= array(); $full_name= array(); while loop starts array_push($email, $row['email']); array_push($full_name, $row['full_name']); loop ends …

Member Avatar for Ehsan_4
0
175
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to filter through an email to get all the details. Such as from, to, subject, body and a few other details but you get the idea. At the moment I just have a bunch of text but I want to …

Member Avatar for joshl_1995
0
739
Member Avatar for nhrnjic6

how to write definition head for a template function that returns enum. I got a template funciton List<List_entry>::print_List(){code..} but I dont get how to return an enum. My current head is : template<class List_entry> List<List_entry>::Error_code List<List_entry>::put(const List_entry &x){code..} but it errors me that I need 'typename' before 'List<List_entry>::Error_code' because 'List<List_entry>' …

Member Avatar for nhrnjic6
0
303
Member Avatar for hxinen

Hi, I need some help with my college work, with the database I am designing. # Assuming I want this to happen: # **Main Category:** Level1 Level1 >Level1.1 >Level1.2 >>Level1.2.a >>Level1.2.b >>>Level1.2.b.a >>Level1.2.b.a.a >>>Level1.2.b.b How do I design this? Thank you!

Member Avatar for scarcella
0
3K
Member Avatar for theashman88

Hi I'm creating a code for my class and what I'm trying to do is to create a triangle class that is derived from abstract class TwoDimShape. However; when I create the triangle class and use base as a variable I get an error. My teacher wants us to use …

Member Avatar for deceptikon
0
317
Member Avatar for Emmanuel_2

Below is a Python program I wrote to draw lines as many al there are mouse clicks. However, I wanted all the line segments to have the same attributes (eg: color, width etc), but that's not happening - only the last segment has my desired attributes. I am a beginner …

Member Avatar for vegaseat
0
289
Member Avatar for Acurapassion

Hey guys, so I'm considering moving my mysql scripts to be compliant with PHP 5.5 and above (mysqli). Is it a pretty staightforward transition? Can functions basically just be replaced with the new verions, or are there other things that have to be done as well? Also, I'm interested to …

Member Avatar for Taywin
0
175
Member Avatar for dlaniger

Hello, I have PHP 5 and Apache 24 installed. PHP doesn't appear in my Control Panel as an installed program. I have tried to Use **PHPIniDir c:/php** in my httpd.exe file and also **LoadModule php5_module "c:/php/ext/php5apache2_4.dll"** both of which crash the Apache server. I have searched Google for an answer …

Member Avatar for dlaniger
0
202
Member Avatar for Aya_3

can you please help me, how can i read a wav file byte by byte and then play this file without using PlaySound Function. any help ?

Member Avatar for mike_2000_17
0
289
Member Avatar for gilgil2

Hi, I am having trouble with this page, it is completely blank. I have turned on error reporting but nothing happens, does anyone know what has happened to it? It has worked previously so maybe I have changed something but not sure what. <?php session_start(); ob_start(); if(!isset($_SESSION['authenticated'])) { header ("Location: …

Member Avatar for gilgil2
0
262
Member Avatar for Steve_19

I was studing the ant task dirname. I am in over my head understanding this animal. It suggests to me that I could use build.properties and or build.xml properties . The same possibility arises in java code and I benefited greatly by loading xml properties. In the ant enviornment is …

Member Avatar for Steve_19
0
169
Member Avatar for settu ameer

string to = txtTo.Text; string from = txtEmail.Text; string subject = txtSubject.Text; string body = txtBody.Text; using (MailMessage mm = new MailMessage(txtEmail.Text, txtTo.Text)) { mm.Subject = txtSubject.Text; mm.Body = txtBody.Text; if (fuAttachment.HasFile) { string FileName = Path.GetFileName(fuAttachment.PostedFile.FileName); mm.Attachments.Add(new Attachment(fuAttachment.PostedFile.InputStream, FileName)); } mm.IsBodyHtml = false; SmtpClient smtp = new SmtpClient(); smtp.Host …

Member Avatar for ExpertMind
0
228
Member Avatar for chaitu11

I have a (2gb)txt file which has thousands of queries, i need to read those file queries and split those queries into n no. of txt files..and save them in a folder... can any one post an example or guide

Member Avatar for chaitu11
0
243
Member Avatar for centenond

In local host i could create $username and $_SESSION['username'] and were two different variables, now it seems to interfere?

Member Avatar for centenond
0
222
Member Avatar for myk45

Hello All, I want to convert a markdown file to its equivalent HTML programatically and Iam looking for a way to do this properly. I would need a script that converts the markdown file into proper html.I'am aware of Doxygen which generates these .md files to hmtl just with a …

Member Avatar for pritaeas
0
212
Member Avatar for davy_yg

Hello, I am trying to find a way to push the admin footer down. How? admin/access.php <button type="button" onClick="parent.location='edit_teacher_access.php'">Add Teacher</button><br><br> <h3>Teacher Access:</h3><br> <table id="admintable" border="1" cellpadding="2" cellspacing="0" width="700px"> <tr> <th>Name</th><th>Username</th><th>Password</th><th>Access Level</th> </tr> <?php $i=0; while ($data = mysql_fetch_array($result)){ $result2=($i%2)?'#DFA09D':'white'; //echo "<tr bgcolor='$result2'>"; //echo '<td>'.$data['page'].'</td>'; //echo "<td><a href='post.php?post_id=".$data['post_ID']."'><img src='../images/post.jpg'></a></td>"; //echo '</tr>'; …

Member Avatar for veedeoo
0
190
Member Avatar for nadiam

for example: function Show(modal) { $(".box).show(); } so maybe use `<body onload="Show()">` is there any other way?

Member Avatar for niranga
0
179
Member Avatar for Dani

Strictly from a performance standpoint, what are the differences between remove(), hide() and detach()? If I want to permanently make an element go away on the page, is remove() or hide() even marginally faster than the other?

Member Avatar for Dani
0
218
Member Avatar for Jjajangmyeon

OK - I'm stumped I'm filling a 2D arraywith inputs, then when it hits the first function - for some reason the very first value in the array is being changed to -5 If I comment the function out, it's fine - it gets passes and passed back with no …

Member Avatar for Jjajangmyeon
0
247
Member Avatar for henryz_box

I have a button with action listener. When action is performed I call a method to show a label with my message using: Actionperformed(){ ShowMessage(); PerformAction(); } NOTE: This code is just an example. The problem is the message never shows even though the action is performed. Any help will …

Member Avatar for henryz_box
0
343
Member Avatar for PinoyDev

Good day! I just want a little help on how to add the textbox data onto the datagrid when a button is click? I have 3 textboxes(txtname,txtaddr,txtcontactno) and a datagrid with 3 columns(Name, Address, Contact #). When a button is clicked, the data of the 3 textbox shouls be transferred …

Member Avatar for Hamza Saleem
0
320
Member Avatar for jthomas

I am trying to send data from a UITableView into any type of database. I have 2 questions. 1: What type of database should I use (ex. MySQL, access)? 2: How will I transfer the database from a table view to the type of database I should use? PS: Please …

Member Avatar for bpp_distributor
0
481
Member Avatar for secretply

I need help in resolving a memory leak found using JavaScript. What the program does is auto scroll the videos and when it reaches the center (supposed to be a grid but for the purposes of this problem, it is not visibily shown but can be noticed immediately) or scrolls …

Member Avatar for secretply
0
426
Member Avatar for Ghost0s

please i intend to learn and study CS by my-self my goal is to be able to do reverse-engeneering,bug analysis and pentesting but i think that coding only doesnt gonna lead me anywhere so i wanna know whats the knowledges should i learn beside programming languages ?? thnx in advance

Member Avatar for Ghost0s
0
234
Member Avatar for La

def askopenfilename(self): filename= tkFileDialog.askopenfilename(initialdir='C:/..',title='Select File' , filetypes=[('Bitmap Images', '*.bmp'),('Png Images', '*.png'),('Gif Images', '*.gif'),("Jpeg","*.jpg"),("All files", "*")]) self.image = Image.open(filename) self.photo = ImageTk.PhotoImage(self.image) self.label = Label(self.photo) def encode_files(self,image,data): #get the image file image = Image.open(self.photo) #get message from entry box data= self.data_entry self.encoded = LSBSteg.encode(image, data)

Member Avatar for sneekula
-1
233
Member Avatar for abaddon2031

SO i have a python code that collects xml data in a file then seraches the file for the scancode and once it finds that the scan code is there it starts scanning for the order number this is where im running into trouble at. What i want it to …

Member Avatar for sneekula
0
478
Member Avatar for surferbloggy

Hi ,i have a contact form made with xib file it works but i can't change the background color of the view programmatically i tryed with this but nothing, i know how to put an image background but i need to change the color on the fly how can i …

Member Avatar for surferbloggy
0
1K
Member Avatar for Joemeister

I have troubles trying to display a list of items/objects in a array. What I'm doing is I'm adding students with a name, surname, age, and marks for subjects (Properties) to an array. If I added 4 students in this manner to the list I want to display all the …

Member Avatar for Joemeister
0
294
Member Avatar for terryds

This is my query : CREATE TABLE userrole ( userid BIGINT NOT NULL, roleid INT NOT NULL, PRIMARY KEY(userid,roleid), CONSTRAINT fk_userid FOREIGN KEY (userid) REFERENCES user(user_id) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT fk_roleid FOREIGN KEY (roleid) REFERENCES role(role_id) ON DELETE CASCADE ON UPDATE CASCADE ) So, what i want …

Member Avatar for cereal
0
269
Member Avatar for centenond

hi, im just moving all my website that i created from localhost with xampp, i created links like http://website.com/folder/ and when i was working in localhost it worked, it get the index from that folder, but now i pas it to my website and wont work like that, is only …

Member Avatar for centenond
0
248
Member Avatar for annain

Hi, I want to develop RFID access system. I create a user database using Microsoft Access.When system and connection are ready, user will swap the card on the RFID reader and the card id will show on retrieve data column. The card id will use to compare with the data …

Member Avatar for Qing _1
0
2K
Member Avatar for lewashby

I'm reading a book on C and it's telling me how to use gcc and about the -c option/flag. It reads "-c Compiles to an object (.o) file instead of an executable. This is important for creating library files." What is an object file and how is this good for …

Member Avatar for rubberman
0
144
Member Avatar for Acurapassion

Hey guys, so, I'm creating a control panel for my site where I can edit user's priveledges etc. What I'm trying to do is populate a drop down list of usernames in the database to select from. This is what I've got so far (it's one continuous chunk so I …

Member Avatar for Acurapassion
0
255
Member Avatar for radostin.angelov.370

I have a table with highschools in different cities. I want to give the user the option to choose a certain city and view the schools there, or view all schools. This is my original query: SELECT * FROM highschools WHERE city = '$givenCity' I need to compare 'city' to …

Member Avatar for hericles
0
200

The End.