199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dev90

Answer is NING. how....? i am not getting. can any one explain please....? ‪#‎inclde‬<stdio.h> void main() { printf(2+"GOOD EVENING"+6); getch(); }

Member Avatar for dev90
0
128
Member Avatar for oredigger

I'm curious about write locks with MySQL and how they are prioritized with eachother. Specifically, I'm wondering if "low priority write" locks have lower priority than "normal" write locks, or if they are equal. The only documentation I can find states that the low priority locks have lower priority than …

Member Avatar for cereal
0
318
Member Avatar for AndyFang1998_1

Hello, I would like to make a script that will go to a website like "http://www.facebook.com" and login to the website, automatically. Perhaps it would be even better if the user could see the script log the user in, with an iFrame. I also need the script to load the …

Member Avatar for Banderson
0
184
Member Avatar for Fangling

Hi, i have these codes: Dim dt3 As New DataTable dt3.Columns.Add("AdminNo", GetType(String)) '/*Add column AdminNo dt3.Columns.Add("PaperNo", GetType(Integer)) Dim curmodule As String = String.Empty For Each dr1 As DataRow In dt1.Rows curmodule = dr1("ModuleCode").ToString For Each dr2 As DataRow In dt2.Rows Dim found As Boolean found = False For i As …

Member Avatar for Fangling
0
1K
Member Avatar for SenseiWuzi

Hi, Basically, what I'm trying to do is that once the user has entered player names into two seperate text boxes, the user will then click the "Play" Button, this button will then change it's text to say "Quit". How would I go about doing so that once the button …

Member Avatar for SenseiWuzi
0
223
Member Avatar for alan.davidson.566

hey hey folks. I am making a tetris clone for my class project in college. langauge is XNA and I have run into a minor issue. When my bricks get to the bottom, rather than stack, they simply reset back up to the top. I have tried everything I can …

Member Avatar for alan.davidson.566
0
442
Member Avatar for Sevyt

Is there any way to show the highest value from a access db column in a textbox which you put in the load of a form? Found something by searching around, but did not get it to work at all. Maybe because i cannot open a connection in the load …

Member Avatar for Sevyt
0
615
Member Avatar for DeadH34d

Hey guys, I'm working on a tip calculator as an excercise from the book I'm using to learn Java, and I've run in to a bit of a problem. When I run this code: import java.util.Scanner; public class TipCalculator { public static void main(String[] args) { Scanner input = new …

Member Avatar for DeadH34d
0
258
Member Avatar for brandon66

Hey everyone having some troubles here with an update statement. I want to update a value(scanISN) if it exists and show information updated and if it doesn't exist show an error right now it show information updated even if it doesn't exist. How would I do that? <?php if(!isset($_POST['addMe'])){ //show …

Member Avatar for brandon66
0
207
Member Avatar for ammukarthi

I am trying to create a simple login form on giving correct username and password the form is not tranferring to the next page it just remains in the same page.And my code is <script runat="server"> sub Page_Load If txtuname.Text="xxx" AND txtpass.Text="xxx" Then Response.write("Welcome user") Server.Transfer("login2.aspx") Else Response.write("Invalid Username and …

Member Avatar for JorgeM
0
108
Member Avatar for fuhanspujisaputra

Hi guys, i created Windows Application form my project and there is a problem that i am facing right now. I already had an array of textboxes, and wanted to connect those database textboxes, however, i cannot get the data because the data that i want to connect is int …

Member Avatar for fuhanspujisaputra
0
992
Member Avatar for SirMahlon

<html> <body> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("mydb", $con); $sql="INSERT INTO users(firstname, lastname) VALUES ('$_POST[firstname]','$_POST[lastname]')"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 record added"; mysql_close($con) ?> </body> </html>

Member Avatar for broj1
0
237
Member Avatar for JiminSA

Hi there! I have just joined DaniWeb and would like to pose a question... I need to direct my UK visitors to a Special Homepage, does anyone know of some simple PHP or even Javascript code that will point me in the right direction?

Member Avatar for varunr
0
498
Member Avatar for floatingshed

I'm trying to create a custom dialog using pythoncard. My main program looks like this (I'm only testing!): [CODE]import wx from PythonCard import dialog, model import MyDialog class MyApp(model.Background): def on_initialize(self, event): self.MyDialog()[/CODE] The simple Pythoncard dialog looks like this: [CODE]from PythonCard import model class MyDialog(model.CustomDialog): def __init__(self, parent, txt=''): …

Member Avatar for John_43
0
150
Member Avatar for jain4

Hello There, I have a website where i have a small block to show new arrivals in products. The Products are marked in Database as they are New: Yes / No. I am fetching these products in a datalist on my client side page. The display area is for two …

Member Avatar for JorgeM
0
152
Member Avatar for EXTRA_RICE

greetings here in saudi arabia.i come in peace.i have a problem in search hope you guys have time answering this. i have a datagrid table a textbox and adodc controller.if i input the characters in textbox i want to see only the characters that i have entered and the other …

Member Avatar for Klahr_R
0
203
Member Avatar for michaellooks

i installed a codeblocks IDE in my flash drive while i was using windows 7. After downgrading to windows XP, the IDE won't open and an error message pops up "codeblocks.dll is not a windows dll." Pease assist in help me solving this. Thank you.

Member Avatar for michaellooks
0
91
Member Avatar for albanclesh

Hi! am new in php, and i want my web application to be able to print the data displayed on my web page by pressing on the print button. HELP ME PLEASE,VERY URGENT!

Member Avatar for albanclesh
0
457
Member Avatar for maydhyam

Is there a setting in the MySQL Administrator to set the file upload size?

Member Avatar for sergeik.rndwork
0
161
Member Avatar for Tyyppi_77

So, I'm coding a IDE in Python and I'm using Tkinter for the GUI. What I'm looking for is a way to add a "recent files" menu to the menu that opens when you right click the program's icon in Windows's task bar. I have a picture to show what …

Member Avatar for Tyyppi_77
0
959
Member Avatar for satheeshakira

Hi, Some one pls help me to read datas from mysql table and update only single field in my table. I have mysql table and already inserted datas. But now i want to update only date field , since i need to place the all other data as it is. …

Member Avatar for satheeshakira
0
2K
Member Avatar for Fatima_110

I have no idea how to do this: Create a class called Date that contains three pieces of information as instance variables – a month, day and year e.g. 4, 14, 2007. All three of type int. Your class should have a constructor that initializes the three instance variables. Provide …

Member Avatar for JamesCherrill
0
227
Member Avatar for ej.p.lopez

good day can anyone help me with my sort by? nothing happens when clicking the sort no errors tried the codes 4 years ago don't know if it's still usable the sql.= i think don't work or my other query just disables it. here's my sql command thanks :D. help …

Member Avatar for broj1
0
241
Member Avatar for shenn.to

Problem with group box. I had created a groups box. With objects inside it with small spaces between each. But when I run the program. The spaces of the objects inside the group box became large. Picture one shows the design phase. Pcture two shows the running phase.

Member Avatar for shann_
0
186
Member Avatar for cleve23

Hi I keep having problem on trying to call the method 'in3050'.Please someone guide me on this???? Thanks public class NumberCheck { private static void main(String[] args) { int num1 = 31; int num2 = 40; boolean check = in3050(num1,num2); } public boolean in3050(int a, int b) { if (a …

Member Avatar for cleve23
0
300
Member Avatar for sujan.dasmahapa

I am trying to extract text from PDF file in PDFNetSDK by PDFTron. But when the execution comes to dumpAlltext() there is no element type e_text. When I am debuggin the code i can see element type is e_path..I think e_path is having the all the text in it. How …

0
105
Member Avatar for davy_yg

Hello, I wonder which is more efficient to create a complex software CRM system like salesforce.com: To use frameworks(CI) or to program using OOP PHP ?

Member Avatar for Banderson
0
187
Member Avatar for Sebastian_1

I am trying to write an app that can be used by different users with different access levels. I have some buttons that I am using a Inputbox to ask for and verify the password. I would like the change them to a password char txtbox However, I dont know …

Member Avatar for Sebastian_1
0
166
Member Avatar for nnayram

#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #include <time.h> #include <errno.h> #if defined ( __GNUC__ ) || ( _MSC_VER ) # if defined ( _MSC_VER ) && ( _MSC_VER >= 1020 ) # pragma warning ( disable : 4996 ) # pragma warning ( disable : 4172 ) # …

Member Avatar for LesF
0
477
Member Avatar for layman114

Hi there, here is the code... <script type="text/javascript"> function ajax_json(){ var hr = new XMLHttpRequest(); var url = "news.json"; hr.open("POST", url, true); // Set content type header information for sending url encoded variables in the request hr.setRequestHeader("Content-type", "application/json", true); // Access the onreadystatechange event for the XMLHttpRequest object hr.onreadystatechange = …

Member Avatar for TomH.PG
0
151
Member Avatar for charles.dupree.37

Hi, I was wondering if someone could look at this person class I am working on. The first part is the class header with the constructors for the class. In the second part I am trying to write the code but when I declare the get_age and get_name objects I …

Member Avatar for charles.dupree.37
0
7K
Member Avatar for Mike_H

I have a table with over a thousand records that I need to update a field I have called "id". I need each record's ID to be unique. I am using the uniqid() function which works just fine. When I use the code below (and several other variations of it), …

Member Avatar for Mike_H
0
123
Member Avatar for SaRa Ahmad

i used this code to send email from vb6 form that connect with out look email account 'Dim olapp As New Outlook.Application 'Dim olMail As Outlook.MailItem 'Create a new mail object form the 'Outlook98 Application object 'Set olMail = olapp.CreateItem(olMailItem) 'Set the mail fields of the olMail object 'olMail.Subject = …

Member Avatar for SaRa Ahmad
0
2K
Member Avatar for singularity~

I am trying to combine the data from two repositories in MVC4. I am using a join statement in my Action function to gather information from two tables. I am passing this this data onto my view. I am a little confused to how to correctly combine the data from …

Member Avatar for tinstaafl
0
207
Member Avatar for mesbahuk

I am working on a Java to C# conversion project. In this project, my custom java library uses `java.net` packages [`DatagramPacket`](http://docs.oracle.com/javase/1.4.2/docs/api/java/net/DatagramPacket.html) and [`DatagramSocket`](http://docs.oracle.com/javase/1.4.2/docs/api/java/net/DatagramSocket.html) classes. Are there similar classes in .NET C# with similar functionalities?

Member Avatar for ddanbe
0
347
Member Avatar for Shels

I am writing a program that has two windows. One window draws the shapes you choose in window2 and saves them in a list. When clicking on the second window once the first shape is supposed to move to the spot clicked. If double clicking the second shape and so …

Member Avatar for tinstaafl
0
208
Member Avatar for fagbenro.michael.1

Good day, I have been given a project to handle by my boss. The project is to design a new website for my company. The website is now ready and what is left is to put it out live on the internet. however, there is an existing domain name that …

Member Avatar for JorgeM
0
385
Member Avatar for nigelhow

Hi, When i leave my text boxes empty , there will be errors that will be displayed beside my text boxes.Example: type is required. I have a file name trade form result.php which defines all my validations and price.php which inserts in to database.It is going into the first if …

Member Avatar for nigelhow
0
259
Member Avatar for mesbahuk

I have java code that uses Java's `java.util.Timer.schedule()` method. **Method Description:** *The `schedule(TimerTask task,long delay,long period)` method is used to schedule the specified task for repeated fixed-delay execution, beginning after the specified delay.* public void schedule(TimerTask task,long delay,long period)java.util.Timer.schedule() Is there an equivalent method in C#? If NOT, how can …

Member Avatar for Momerath
0
500
Member Avatar for ram619

In this code at line number 7, 'p' is a 1D pointer then how come at the print statement it is being considered as 2D pointer ? and when we do 'a+1' then it would cross whole array. I am not able to understand this code. Please explain. Expected output …

Member Avatar for ram619
0
231
Member Avatar for Sanjay_6

Rightnow i am facing a problem of print Long Text. In my database i have data in long text format and that field has around 2000 line of text so how can i print that. I am giving here full code of my file please go through it and try …

Member Avatar for broj1
0
1K
Member Avatar for shermags

Hi, Can anyone help me on how to serialize an inherited datagridviewtextboxcell? I had created a custom cell in which I had incorporated several customized properties and save it to binary file. <Serializable()> _ public class CustomTextboxCell Inherits Windows.Forms.DataGridViewTextBoxCell 'code goes here End Class SaveFile: Private Sub save() For Each …

Member Avatar for shermags
0
135
Member Avatar for EXTRA_RICE

why is command2 in dataenvironment cannot be added on datareport.only the command1 is allowed in datareport.guys pls help me..

Member Avatar for EXTRA_RICE
0
102
Member Avatar for pc20912

Sir, My DataBase field name "PerID" and "Imagepath" In DataGridview, I want to show "PerID" and Image (Not file path)

Member Avatar for pc20912
0
1K
Member Avatar for riahc3

Hello Im looking for a jQuery Easy Slider type of plugin but instead of images, allows me to present HTML/JS/etc content to the user for when he, for example, click on the next button (something that Easy Slider provides) Anything like this out there?

Member Avatar for pritaeas
0
267
Member Avatar for devianleong

Hi,Currently I'm using this tutorial : [Click Here](http://docs.cksource.com/CKFinder_2.x/SelectFunction) but the output is /home/xxx.com/public_html/images/image/1234.jpg How can I change the path to /images/image/1234.jpg ? Please help me ><

Member Avatar for devianleong
0
183
Member Avatar for ss125

Good day!!! I have implemented the captcha verification to my application. But I am having a problem in it. I cannot able to find methods that can only reload the captcha image.Instead I have to reload the entire page. Is there any wa y to do it. This is my …

Member Avatar for ss125
0
209
Member Avatar for ncauchi

I am new to C and am trying to read the characters in a string serially but I keep getting the error > makes pointer from integer without a cast This is my code void UART1PutChar(char Ch) { //char data; //transmit only if Tx buffer is empty while(U1STAbits.UTXBF ==1); U1TXREG …

Member Avatar for ncauchi
0
216
Member Avatar for Zezo_1

// teachers I have problems with this code, when I sent !q the bot sent all questions and all choices, Please I want someone edit this bot when I sent !q sends only the first question, and when I sent !q again sends the second question . notice * I …

Member Avatar for saad749
0
140
Member Avatar for mayback230

I have this array in a page and i want to call it into a listview or textview in another page...how do i do that? [CODE]public class Screen2 extends Activity { public static EditText txt1; public static String player; public static ArrayList<String> playerList = new ArrayList<String>(); /** Called when the …

Member Avatar for jwenting
0
343

The End.