199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for evilguyme

hi guys im having an error with my code but cant seem to figure it out. its a windows form and im just trying to make it function but the compiler gives me these errors: [code] 1>c:\\\desktop\\c++\twisttut\twisttut\Form1.h(89) : error C2059: syntax error : '{' 1>c:\\\desktop\\c++\twisttut\twisttut\Form1.h(89) : error C2334: unexpected token(s) …

Member Avatar for mike_2000_17
0
288
Member Avatar for utpal23

I am confused........... I have made a project . No problem in localhost but whenever I try to execute in my domain server it shows : Warning: include_once(body/login/logIn.php) [function.include-once]: failed to open stream: No such file or directory in /mounted-storage/home36c/sub003/sc29343-BHKZ/progekt.com.utpal/helora/body.php on line 68 You can check : [url]http://utpal.progekt.com/helora[/url] I have …

Member Avatar for ko ko
0
301
Member Avatar for vaironl

Hello, I'm a student in a summer workshop and i'm trying to make a python table from which people can choose the type , and within a mile radius. It's suppose to be compatible with an Arcgis map. If anyone knows how to make something similar please tell me how …

Member Avatar for vaironl
0
328
Member Avatar for Cyberoxy

Hey! I have been trying several times to fix it but couldnt find correct codes in C#. You can copy all these below codes of markup and C# so that you will see what is problem. Im fine with markup but only problem with C#. There is some explanations (bold …

0
100
Member Avatar for bharatk

I am trying to find the index position of the minimum element in a list and print the element at the corresponding index position in another list. For example: [CODE] ?- min2(X,Y,[a,b,c],[5,3,7]). X= b y= 3[/CODE] Code: [CODE] min2(A,B,[A|_],[B|_]). min2(A,B,[X|T1],[Y|T2]) :- smallest(W,[Y|T2]), % using a predicate to find the min …

Member Avatar for bharatk
0
2K
Member Avatar for Niharika Jain

Hey, I've just started with JSP! Was trying my hand at this Shopping cart app.here's the code..[CODE]<%@page import ="java.sql.*"%> <%! Connection con = null; String query = null; PreparedStatement stmt = null; ResultSet rs = null; %> <HTML> <BODY BGCOLOR='ORANGE'> <CENTER> <H2>YOUR CART CONTAINS</H2> <% try{ Class.forName("com.mysql.jdbc.Driver"); con = DriverManager.getConnection("jdbc:mysql://localhost/shopping_mart?"+"user=root&password=root"); …

0
92
Member Avatar for Jega_k_k

hi i have just started learning ASP.Net.. i'm try to using dropdown list in if condition it gives error message as [B]"Cannot implicitly convert type 'string' to 'bool'"[/B] [code=asp.net] if (DropDownList1.SelectedItem.Text="buyername" ) { da = new SqlDataAdapter("select * from buyermaster where buyername like '" + a + "%'", con); da.Fill(ds); …

Member Avatar for kani123
0
269
Member Avatar for Labdabeta

Hello, I have been attempting to create a fast class for OpenGL's Vertex Buffer Objects. I finally got all the libraries to work and now i am getting a sigseg but cant see why. Can someone find my error? (I will keep looking too) [CODE]#ifndef GLMODELS_H #define GLMODELS_H #ifndef GOODGL …

Member Avatar for mike_2000_17
0
140
Member Avatar for conanzz

I have a picture with 2 buttons, and I want to move it through these buttones the problem is I don`t know how to make the actionListener for the other button to move to the other side, [COLOR="Red"]pictures are in the attachments[/COLOR] [CODE]import java.awt.event.*; import javax.swing.*; import java.awt.*; import javax.imageio.*; …

Member Avatar for conanzz
0
206
Member Avatar for farhanrocks

can anyone tell plzz!!!!what is difference between interface and annotation type in java?

Member Avatar for JamesCherrill
0
80
Member Avatar for eskimo456

Hi I wasn't sure if this was the right section or not How is a GUI implemented in modern operating system. Currently I use win32 code to generate a window and then use openGl with C++ to generate the application. How is explorer.exe (the windows interface) designed and built. Does …

Member Avatar for eskimo456
0
120
Member Avatar for tany

Hi..All..I want to design a n tire architecture in my application.I've gone through many sites and have understood the concept but I don't how to start it. I've very basic questions like..how do I create the layer and How do I connect between the layers.. Would you please help and …

Member Avatar for gsuryaprasath
0
238
Member Avatar for rajni11

Hi All, Can anyone tell me the difference between two tier and three tier archieture????????????? and how .net clr works with n tier architecture........... Plzzzzzzzzzzz help me:sad:

Member Avatar for gsuryaprasath
0
290
Member Avatar for rajesh79

can anybody tell me abot the 3 tier architecture in details that means how they communicate in between layers etc...

Member Avatar for gsuryaprasath
0
129
Member Avatar for bradploz

hello, I am trying to connect MS ACCESS 2007 Database with textboxes which will show the info of the users..for example..when I login..I see my info in the textboxes..and when other user logs in..they can see their info.. This is the code I have on load after the window login.. …

Member Avatar for adam_k
0
173
Member Avatar for sharathg.satya

help me in using ajax controls in C#.net i am using them but finally they are not getting displayed. the watermarker is not being displayed as the default text moreover the box is empty... here is the code [CODE] <asp:ScriptManager ID="ScriptManager1" runat="server" /> <br /> <br /> <br /> <asp:TextBox …

0
55
Member Avatar for phoenx

I have a problem in my game about button how I can display the random number example "3 + 5" in the upper button ...I try one button here but you need to click it in order to see the random number and only one number will appear..please any idea.. …

Member Avatar for phoenx
0
166
Member Avatar for Mona Ali

HI TO ALL [CODE] import java.applet.*; import java.io.*; import java.awt.*; import java.awt.event.*; import java.net.*; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.net.UnknownHostException; public class sid_fari extends Applet implements ActionListener { String msg,msgs,msgss; Button loads = new Button("clik me"); public void init(){ add(loads); loads.addActionListener(this); } public void paint(Graphics g) { g.drawString(msgs,10,40); …

Member Avatar for Mona Ali
0
503
Member Avatar for brandonboyce

I am populating a table with information from a database, one of the values is a rating 1, 2, 3, or 4. I made it so that depending on the value in the database the radio button with the corresponding value is selected. But I am having problems figuring out …

Member Avatar for devindamenuka
0
3K
Member Avatar for alfredferg

hello to all, how to make global data from mysql example: data1 from table data2 from table ... i want to make the data[] global so that i can call anywhere in the page. i'm using php thanks,

Member Avatar for Stefano Mtangoo
0
154
Member Avatar for kainat0615

[CODE]#include <sys/types.h> #include <sys/wait.h> #include <stdio.h> #include <unistd.h> void *thread(void *vargp); char **ptr; /* global */ int main() { int i; pthread_t tid; char *msgs[2] = { "Hello from Thread A", "Hello from Thread B" }; ptr = msgs;for (i = 0; i < 2; i++) pthread_create(&tid,NULL,thread,(void *)i); pthread_exit(NULL); …

Member Avatar for kainat0615
0
167
Member Avatar for treepig

I am having trouble replacing the numbers on my Tic Tac board with the X and O from my if and else if statements. I would also like to know how to make sure how to keep the X and O in place without it being replaced after every loop. …

Member Avatar for danb737
0
678
Member Avatar for bigdan182

hi Is there a way to pass a structure into a function in C++? ie if I have a structure of data, can I pass it in and use all the members without having to pass them indevidually? I basically want to pass team data into a function and that …

Member Avatar for danb737
0
160
Member Avatar for codeholic

Goodday great Programmers in the World Am not advanced upto this extent and have to ask for help I need a help and codes to solve this. I have 5 columns of 11 textboxes each on my form the textboxes are generated with this code [CODE] Private Sub Form1_Load(ByVal sender …

Member Avatar for Momerath
0
531
Member Avatar for rhuffman8

I am working in an older version of Python (2.6, I believe). I cannot update to the latest version because it is not currently compatible with the other program I need the code to run with so, unfortunately, the "decimal" module is not available to me (as far as I …

Member Avatar for Gribouillis
0
240
Member Avatar for z_zendegi

hi I have a program in c# that have connection string for network use to connect to sql server 2008,it works correctly until our company make DC server and join all computers I change my connection string,then if I log on to my computer(my computer is a server) from any …

Member Avatar for Momerath
0
98
Member Avatar for Cesiumlifeboat

Hello python gurus! I dabble in python casually, and I've just recently begun to use classes. For the most part they've proven very helpful, but this error has me stumped: [CODE]creature.health=creature.health-2*creature.metabolsim/resolution AttributeError: predator instance has no attribute 'metabolsim'[/CODE] Here's the full code of the program (it's designed to run a …

Member Avatar for Gribouillis
0
165
Member Avatar for fadeterra

I searched in this forum, but it didnt help my solve my problem. Please help me. This is my code [I]int intOrderNo = (int) Session["sOrderNo"]; DetailsViewRow row0 = DetailsView1.Rows[0]; string strProductId = row0.Cells[1].Text; DetailsViewRow row6 = DetailsView1.Rows[6]; string strUnitPrice = row6.Cells[1].Text; float floUnitPrice = float.(strUnitPrice); string strQty = DropDownList1.Items[DropDownList1.SelectedIndex].ToString(); int …

Member Avatar for fadeterra
0
332
Member Avatar for DeathEater

hey ya all my question is simple, how to simulate an event by code, for example consider a simple form which has 2 buttons. button1 changes the forms color, now i want the code that i should put in click event of button2 that when i click it the app …

Member Avatar for DeathEater
0
132
Member Avatar for Joeflims

Hello, kind citizens of DaniWeb! I beg your assistance in the solution of my problem! I was trying to create a simple audio player using Tkinter and pygame, pygame being the best library that included audio playback I could find (by the way, DO NOT USE SNACK!!). Anyway, I was …

Member Avatar for Joeflims
0
183
Member Avatar for Sabatino

Here is the error [IMG]http://i1199.photobucket.com/albums/aa465/aaron55494/compileerror.png?t=1311972955[/IMG] and here is the code that i'm working on [CODE] public String getKillMessage(String player) { String[][] selection = {{"Congratulations, you have defeated ", "}, {"Congratulations, you have ", "}}; int index = (int) Math.floor(Math.random() * 9); return selection[index][0] + player + selection[index][1]; }[/CODE] Any help …

Member Avatar for Sabatino
0
89
Member Avatar for OneDreamCloser

Hello All, Could you please help me with the following VBA code that I have to understand (but I am not aware of VBA) [CODE]Public Function ErlangB(Servers As Single, Intensity As Single) As Single 'The Erlang B formula calculates the percentage likelyhood of the call ' being blocked, that is …

0
111
Member Avatar for efronefron

I was doing a projecteuler problem. I made a program that would find all the prime numbers under 1000000 and write them all in a file. Why is that if I use the file name as "primes.txt", the result is gibberish from beginning to end, but when I use "primes.dat", …

Member Avatar for NormR1
0
821
Member Avatar for DeathEater

hey guys i have a DGV which has a check box column. what i want to do is that when user checks one of these check boxes the entire row be highlighted as if a normal cell was clicked, here is the tricky part, and i want when user clicks …

Member Avatar for DeathEater
0
105
Member Avatar for Rahul1996

Hey guys, I have a function called showAll, which has 2 arrays as it's arguments. I declared it as follows: function showAll($dayarray, $distinctShifts) both arguments are returned in other parts of the code, so why is it giving me missing argument errors for both of them? Please give me some …

Member Avatar for diafol
0
94
Member Avatar for BoBok2002

Hi Guys, I hope you can help me because I've tried everything and don't know what else to do. I keep getting the error "Object reference not set to an instance of an object" and I can't seem to figure out what the problem is. I've even tried instantiating the …

Member Avatar for cudahead
0
234
Member Avatar for syria718

pals i just wanna ask if anyone could show me how to declare and call a 2d array? thanks in advance!!!

Member Avatar for NormR1
0
139
Member Avatar for supidProgrammer

Hello!... :) It's been a long time since my last visit to this forum. My question is: Why MD3 Models are divided into different parts (head, torso, legs)? I myself made a model with animations with only a part (the full model) in C++/OpenGL and worked just fine! I dont …

Member Avatar for supidProgrammer
0
128
Member Avatar for MareoRaft

error: ‘void __stderrp(MattsMatrixSpace::Vec)’ redeclared as different kind of symbol I have a function called "stderr" in my program. I'm not sure where the "__" or the "p" came from. Any idea what this error is related to? PS, the next error is: /usr/include/stdio.h:169: error: previous declaration of ‘FILE* __stderrp’

Member Avatar for Salem
0
418
Member Avatar for Farhad.idrees

Hi i m having problem... i want to give each random number to each month.. but it gives erros [CODE] public class a { public static void main(String[] args) { float average = 0f; String[] Year = {"Jan","Feb","Mar","Apr","May","Apr"}; int[] values = new int[5]; for(int i=0; i<values.length; i++) { values[i] = …

Member Avatar for Farhad.idrees
0
149
Member Avatar for rhuffman8

I am working with a CSV file with multiple rows, which I need to be able to access individual data elements from a row so I can assign them to variables and send them to the other program I am working with in a loop, going through each individual row. …

Member Avatar for rhuffman8
0
373
Member Avatar for Violet_82

Hi there, I am having a few problems with my website [url]http://antobbo.webspace.virginmedia.com/photography/testing/home.htm[/url] in IE6. Now, I don't want to waste too much time on this, as in I don't want ti to be perfect but I just want it to be looking decent in IE6. I created a separate css …

Member Avatar for Violet_82
0
108
Member Avatar for mrnutty

Meant mostly for windows, uses system("cls") although you can simply set USE_NON_STANDARD_CLS to false and it will use newlines to clear screen. Test it out. [code] /** * Note: Use at own risk, this is just for fun */ #include <algorithm> #include <iostream> #include <vector> #include <string> #include <windows.h> #include …

Member Avatar for mrnutty
0
157
Member Avatar for imolorhe

I am currently designing an application form that the user fills to use a room in a specified time. The application is to check if the room specified is available at the time period specified. I am stil wondering how to do this such that there is no clash. Any …

Member Avatar for imolorhe
0
328
Member Avatar for ShaggyDogg

Hi, I'm trying to present results on an aspx web page where a store procedure parameter is defined by a dropdown list control on the page. To help accomplish this, I have followed [URL="http://support.microsoft.com/kb/306574"]this guide from Microsoft[/URL] and have my resultset presented in a DataGrid view. But I cannot seem …

Member Avatar for ShaggyDogg
0
217
Member Avatar for heshanm

Hi all, t to upload files to my server. Here i have created a coding. This only allows me to upload pictures. How can i amend my coding to upload word and excel files also... [CODE] <?php $db=mysql_connect('localhost','root',''); mysql_select_db('bank'); if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == …

Member Avatar for mschroeder
0
141
Member Avatar for 47pirates
Member Avatar for mKorbel
0
92
Member Avatar for selvavijay1987

Dear Sir/Madam/Friends, Sir, i have written code for first step of euclidean distance . now i need to merge the smallest distance points as single point. The class which i have written is using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Collections; /// <summary> /// Summary description …

Member Avatar for selvavijay1987
0
231
Member Avatar for ijsrog

lets say I have a form (form1) with lables a-z which are all designed with default text "0". So they all show 0 on program startup. which is fine. I also have a dialog with 2 TextBoxes; I want my program to update the default text/value on (only)form1 labels x, …

Member Avatar for adam_k
0
133
Member Avatar for an00p

Hello Friends, I want the following issue to be resolved: 1. page results.php shows the users list (sql query results). This page also stores all user_id to an array $_SESSION['user_ids']. And when I click to view details of a user, user_view.php shows the details of that user. 2. I want …

Member Avatar for diafol
0
167

The End.