199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Martin_3

So, I am having an application which is intended to operate with another application autonomously. Example: 1.Open application A, which start application B 2.Click on a button 1 and click on the input text The problem is that Application B is not mine and I want to automate a button …

Member Avatar for Hiroshe
0
365
Member Avatar for Erllarhrie

IAm Creating a pRoject that uses visualbasic and m having difficulty storing data into the database m I created ......thqnks

Member Avatar for Reverend Jim
0
707
Member Avatar for BrickZ28

Ok so this has me a little stumped. I have a WHERE clause that produces results in phpmyadmin but not on the web page. Here is what I have $sqlCur = mysql_query("SELECT * FROM currency WHERE airframe = '$acft'"); This produces a blank result on the webpage. $acft has been …

Member Avatar for diafol
0
152
Member Avatar for Praveen_10

using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace book { public partial class login : Form { SqlConnection conn; SqlCommand cmd; SqlDataReader reader; public login() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e)//MY login button { string constr = @"Data Source=PRAVEEN\SQLEXPRESS;Initial Catalog=travelbooking;Integrated Security=True"; conn = new SqlConnection(constr); conn.Open(); cmd = …

Member Avatar for castajiz_2
0
299
Member Avatar for uselessninja
Member Avatar for diafol
0
312
Member Avatar for damn_1

I have this xml <?xml version="1.0" encoding="ISO-8859-1"?> <output> <orders> <order> <id>1</id> <number>10002</number> <type>Loading</type> <date>2013-01-01T02:30:00</date> </order> <order> <id>2</id> <number>10003</number> <type>Loading</type> <date>2013-01-01T010:30:00</date> </order> <order> <id>3</id> <number>10004</number> <type>Loaded</type> <date>2013-01-01T12:30:00</date> </order> </orders> <quantities> <quantity> <id_order>1</id_order> <unit>KG</unit> <value>1000</value> </quantity> <quantity> <id_order>1</id_order> <unit>PAL</unit> <value>3</value> </quantity> <quantity> <id_order>1</id_order> <unit>M3</unit> <value>1.5</value> </quantity> <quantity> <id_order>2</id_order> <unit>KG</unit> <value>2000</value> </quantity> <quantity> …

Member Avatar for xml_looser
0
153
Member Avatar for davnlou

Hi there, I am struggling with a bit of code and need a bit of help please.. I have information in a database that I want to display in a table, then allow users to choose a number of items and click 'add to cart'. It works fine if I …

Member Avatar for DJBirdi
0
346
Member Avatar for jaspertan
Member Avatar for jaspertan
0
587
Member Avatar for kshahnazari

this might be a simple question so accept my appolegises , I am creating a 2 dimetional pointers to int and I want to release the memory at the end but I think I'm doing It all wrong and all of the memory isn't being relaesed. int **a; a = …

Member Avatar for rubberman
0
170
Member Avatar for Stefan_2

I've just finished my programming course in college and I need some projects or ideas for 'practicing' and making sure I don't forget some part of C programming. I would love for you to either give me some ideas or point me to sites with mini project from easy to …

Member Avatar for rubberman
0
157
Member Avatar for kxjakkk

I need to make an object called Accounts that can be used as a banking system. It requires 3 inputs, first name, last name, and initial deposit and 4 member functions: withdraw, deposit, fee and interest. The fee is $20 a month if the amount in the account is less …

Member Avatar for Hiroshe
0
616
Member Avatar for lewashby

I know that all you really need to execute a python program is the python interpriter, what what if your program uses config files that might be in /etc, ~/.program, or C:\users\Name\Appdata ? How would you go about creating an installer for you python program and all of it's files …

Member Avatar for snippsat
0
438
Member Avatar for david.roun.7

Ok, so this is cool. On my site, I learned how to create a simplified "wall" like facebook has... sort of. It's great for me to have done that because I am self taught with all of this. There is a problem, however. My <option> is not displaying the names …

Member Avatar for david.roun.7
0
126
Member Avatar for DeanMSands3

I'm trying to remember the name of a site - *pretty sure it was a wiki* - where you post different ways of writing the same program in different languages. I. E. writing "Hello World" or heap sorts in C, C++, Java, Haskell, etc. My google-fu is failing me, so …

Member Avatar for Hiroshe
0
273
Member Avatar for prash21m

I have a table with two columns "storename" and "discription". id---- Storename ---- Description 1 ---- Myntra ---- 20% of on all product 2 ---- Flipkart ---- 40% of on all product for search i am using 'like' query like this : select * from table_name where description like %search_terms%; …

Member Avatar for Borzoi
0
169
Member Avatar for nufftalon

The uploaded file exceeds the upload_max_filesize directive in php.ini. I get that error. I have a hosting account with cpanel access, how can I avoid this problem from happening?

Member Avatar for nufftalon
0
117
Member Avatar for m1m6jbr

hello i have an attribute in 'users' table called RegNo which refer ro region number ... so i have to select users and display them according to their region number . here is my code <body> <ul id="nav"> <li class="heb"> <a href="parentUrl" >hebron</a> <li class="bet"> <a href="parentUrl" >ramallah</a> <?php include …

Member Avatar for m1m6jbr
0
285
Member Avatar for samalahyd
Member Avatar for mesh457
0
286
Member Avatar for davy_yg

Hello, I wonder what is mysql table name requirements? I have tried creating mysql table with these names: group_mgt --> squprime.group_mgt table does not exist file_uploads_log --> squprime.file_uploads_log table does not exist In order to make the table creation works I have turn group_mgt to group AND turn file_uploads_log to …

Member Avatar for kgariando
0
299
Member Avatar for iConqueror

I have been doing some exercises out of the Head First C# book and have just done this exercise where you write a complete sentence using a while loop. The book dosent explain how the while loop puts together the string. I am looking if someone could please explain the …

Member Avatar for iConqueror
0
293
Member Avatar for vikrant.cornelio

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cookie_test.aspx.cs" Inherits="cookie_test" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <link href="css/bootstrap.min.css" rel="stylesheet" /> <link href="css/bootstrap-theme.min.css" rel="stylesheet" /> <link href="css/layout.css" rel="stylesheet" /> <link href="css/responsive.css" rel="stylesheet" /> <link href="css/user_change.css" rel="stylesheet" /> <link href="css/carousel.css" rel="stylesheet" /> <link href="css/accordion.css" rel="stylesheet" /> <link href="css/datepick.css" rel="stylesheet" /> <link href="css/modalpopup.css" rel="stylesheet" /> …

Member Avatar for hericles
0
478
Member Avatar for stokie-rich

Hi guys. I wanted to create a quiz for my website. I have found some code from a website called (getcode.org) (prev world of webcraft). The quiz now works as it should and I'm very happy it does. There is one problem I have adapited it to the needs of …

Member Avatar for hericles
0
176
Member Avatar for Dani

Using microdata markup such as this on Dani's profile page with URL http://www.example.com/dani.html <body itemscope itemtype="http://schema.org/ProfilePage"> <h1 itemprop="name">About Dani</h1> <div itemscope itemprop="about" itemtype="http://schema.org/Person"> <link itemprop="url" href="http://www.example.com/dani.html" /> </div> </body> Is it appropriate to set the URL element to the ProfilePage item or the URL element for the Person item to …

Member Avatar for Dani
0
251
Member Avatar for Rabastan

I need my program To detect the resolution of multiple monitors on a system. I have figured out to get the resolution of one monitor. Public Function ScreenResolution() As String Dim resX As Integer = Screen.PrimaryScreen.Bounds.Width Dim rexY As Integer = Screen.PrimaryScreen.Bounds.Height Return resX & " X " & resY …

Member Avatar for Rabastan
0
153
Member Avatar for asaidi

Hi i m new in java trying to do a small form for creating rows.. i have a next button to scroll all my database everytimes i run it i have the first record then it says null please find my code for this issue private void AfficherStagiaire(){ try { …

Member Avatar for JamesCherrill
0
140
Member Avatar for shinoske

you can compile java codes in dos environment right? is it possible that errors in the codes found by the compiler be forwarded in a .txt fie?

Member Avatar for Swap_1
0
138
Member Avatar for Auroch

Hello everybody. I'm trying to write program with vectors and iterators. Coordinates X and Y are entered from keyboard (as structure) and placed in vector of points. It's necessary to display coordinates with maximal X and Y. This code was compiled but not display maximal X. What should I change? …

Member Avatar for Lucaci Andrew
0
278
Member Avatar for EarhawkPH

I've been dealing with this problem for about 2 days now. Write a program that accepts the price of an item and displays the discounted price. Accept also the amount given by the customer (assume the amount is greater than or equal to the discounted price) and display the change. …

Member Avatar for Lucaci Andrew
0
166
Member Avatar for bvowens

Hi I've been working on a joomla site on my local windoes vista computer using WAMPSERVER vrs2 and with apache. Something went wrong with apache and windows warned me and turned it off. Since then I can't use [url]http://localhost[/url] (or the shortcut on the wampserver menu 'localhost' to connect. However …

Member Avatar for samy.youssef.12
0
879
Member Avatar for yaldoo

Okay guys, I am having a problem with this code. I really need help with this one because I am stuck. The problem with this question is that the name, ss, id, and pass have to be ONE STRING. It's stupid because I wish I could make the strings split …

Member Avatar for NathanOliver
0
4K
Member Avatar for Ealiom

Hi to all, Im going through JDBC currently, I got struck with Java.lang.ArrayIndexOutofBounds Exception:0. I'm not getting the solution to this exception. Please help me to solve this exception, thanks in advance. import java.sql.*; class Select { public static void main(String args[]) { try { Class.forName("jdbc.oracle.driver.OracleDriver"); Connection con = DriverManager.getConnection …

Member Avatar for JamesCherrill
0
635
Member Avatar for Violet_82

HI guys, I wonder if you can help me understanding this please. Take the following code: // Fig. 14.23: ListFrame.java // JList that displays a list of colors. import java.awt.FlowLayout; import java.awt.Color; import javax.swing.JFrame; import javax.swing.JList; import javax.swing.JScrollPane; import javax.swing.event.ListSelectionListener; import javax.swing.event.ListSelectionEvent; import javax.swing.ListSelectionModel; public class ListFrame extends JFrame { …

Member Avatar for Violet_82
0
198
Member Avatar for JiThU89

Currently i'm doing a project in C# where i've to support multiple languages. What i decided to do is this: Create language xml files and put them in a folder ("langs"). Language file structure: [CODE] <Lang name="en" /> <!-- All forms --> <form id="mainform"> <item id="mnuFile" text="File" /> <item id="mnuFileNew" …

Member Avatar for doxa.paradoxa
0
569
Member Avatar for mangel.murti

Hi All PHP , Below is funtion which store product in session. $resource is database link and product just getting product from database for a given $_GET['product_id'].when i am clicking on a single product and adding that in cart it is working. if i add another product so session array …

Member Avatar for mangel.murti
0
142
Member Avatar for showman13

Good Evening, I'm trying to modify a function that I wrote a few months ago to work on a 2 dimensional array instead of the single dimension I have been using. My question is, before I start rewriting it only to find out that I can't do it... Can you …

Member Avatar for cereal
0
281
Member Avatar for behemothdave

My assignment is as follows: Create a higher/lower guessing game using a graphical user interface. allow users to keep guessing until they guess the number. Choose two colors for the game: one should be used to indicate that the value the users guessed is higher than the target; the other …

Member Avatar for TalhaMoazSarwar
0
2K
Member Avatar for krnaveen14

I've been trying to compare a string which is stored in two diffrent variables(but the content is same). I get the two same inputs from user.. package switchcasepgm; import java.util.Scanner; public class stringcomp { public static void main(String[] args) { Scanner getinp=new Scanner(System.in); System.out.println(); String sdr = getinp.nextLine(); System.out.println(); String …

Member Avatar for krnaveen14
0
149
Member Avatar for hanvyj

I need to bind a property to a ToolStripMenuItem. I've searched around and found it imposible, the best workaround seems to be creating a BindableToolStripMenuItem class and implement it yourself. So I've taken some reasonabyl well established code from the internet: public partial class BindableToolStripMenuItem : ToolStripMenuItem,IBindableComponent { private BindingContext …

Member Avatar for hanvyj
0
393
Member Avatar for Ado0NiS

i am making a software through visual studio in c# and i am facing a problem that when i enter wrong password according to my code it shows a message box of invalid password or username but after this it opens the next form .....plz give me help

Member Avatar for ChrisHunter
0
87
Member Avatar for yaldoo

Okay, I have another problem. It has nothing to do with the file I/O streams. But I want to make modifications with this code. It works but I would like to make changes though. PLEASE NOTHING TOO FANCY, I'm still a beginner. Thank you for the help! Write a function, …

Member Avatar for tinstaafl
0
1K
Member Avatar for kamilacbe

Hi, this might be kidish to people over here , am trying to migrate code from c++ to C# where am new to CPP , so guys please help me out what this below code exactly mean . int myFunc (int a, int b)=0; Thanks for your time .

Member Avatar for sepp2k
0
132
Member Avatar for Daemon_CC

I am using My SQL Database. I have two databases of My SQL which are used in a appplication simultaneaously as backend and log databases. So i need to stop services of log database only to view some results relating to my application. Is there any way to stop the …

Member Avatar for kgariando
0
211
Member Avatar for rjbrjb777

helo friends. i need to deal with more than 10 excel sheets.. so i want to make an desktop application in Visual Studio(c#), which performs as followings..: 1) first user can choose on which file he wants to work on. 2) then retrieving column wise data, and performing many mathematical …

Member Avatar for balasukumar
0
267
Member Avatar for kiail

I have an aspx page that I'm trying to make an httprequest and then setup a TCP socket(I think this is what I'm doing lol)... I'm needing to send a byte array through this. I have this code so far, any advice/tips? Huge errors you see? I removed some items …

Member Avatar for kiail
0
306
Member Avatar for xuexue

Hi! I already established an iDB2Connection, now what I want to know, is how could I execute SQL Queries for INSERT, DELETE and UPDATE. I had tested the code already and it works. The code for count works; I get the total number of records. My question is that for …

Member Avatar for xuexue
0
943
Member Avatar for munchlaxxx

I'm having some trouble adding more than 1 marker to my map. If I want to display one marker, it works fine. Here is what I have: <script src="https://maps.googleapis.com/maps/api/js"></script> <script> function initialize() { var map_canvas = document.getElementById('map_canvas'); var map_options = { center: new google.maps.LatLng(42.3581, -71.0636), zoom: 13, mapTypeId: google.maps.MapTypeId.ROADMAP } …

Member Avatar for iConqueror
0
267
Member Avatar for xuexue

Hi! My database is in AS/400 DB2 hence, I am using SQL. Here's my line of code for opening a connection. Dim str As String = "User ID=EDITH;Password=EDITH;Data Source=10.0.1.11;Initial Catalog=ictms;Integrated Security=True" Dim conn As SqlConnection = New SqlConnection(str) conn.Open() Now, I wanted to execute a delete query, however, I already …

Member Avatar for xuexue
0
2K
Member Avatar for Stefce

Hello i need to save score on application close and when will start up to show the last score is entered... i have not idea how do i start i have searched on google but nothing found which can help me, please show me some ways/codes of doing it. Thanks …

Member Avatar for Stefce
0
213
Member Avatar for eos.paks

Good Day, I would like to ask, i have already finished my project on VB.net and im now planning to deploy to. How can i deploy this with .exe and DLL files only? Your help is much appreciated. Thank you, EOS

Member Avatar for deceptikon
0
150
Member Avatar for nathan.pavlovsky

Hello programmers! I am having a function that has the user enter a name for an object, check if its valid, and return it if it is. I am getting the input via getline, but it seems that you have to press enter twice to make the input work. Here's …

Member Avatar for nathan.pavlovsky
0
2K

The End.