199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ghost_from_sa

Hey guys im struggling to pass a session in php, i cant quite figure out why though. My friend used the exact same code as me but it doesnt want to work. This code is the database checker (which seems to work) maybe im over looking some thing?? [CODE]<?php session_start(); …

Member Avatar for ghost_from_sa
0
188
Member Avatar for beaverkill

I have a working cpp file, lets just say it performs a+b, the filename is abc.cpp. I want to call up that file, function, in another file without having to rewrite the code and simply call up the function in another cpp file, xyz.cpp and simply map my variables over …

Member Avatar for n30h4x
0
7K
Member Avatar for judithSampathwa

hi there, i have an excel sheet and i need to get values from the excel sheet to the mdf file in the visual studio 2008 database. the value i want to get from the excel file is a accounting value witch is displayed like this $ 67,300.34. how can …

Member Avatar for adams161
0
169
Member Avatar for moman1981

I have been working on a tic tac toe game for a couple of days. And I just realize that I needed to do a GUI for it. With the following code, would it be fairly easy to add a GUI to this? and if so, what would be the …

Member Avatar for NormR1
0
363
Member Avatar for nbaztec

I am creating a winsocket app & want to know that if there's a method available to fetch the Dynamic IP of the local machine & not it's local address. For eg: my local address may state 192.168.1.3 but my dynamic IP is depedent on my ISP location like 59.114.25.10 …

Member Avatar for gashtio
0
206
Member Avatar for xav.vijay

hi I have a problem with the following code ... [B][COLOR="Blue"]>>> j = win32pipe.popen('c:\\disk\\plink jnitin@10.94.101.178 -pw mat123 df -g','r') >>> for i in j: print i >>>[/COLOR][/B] As you can see the file object 'j' does not have anything in it... But if I type [COLOR="Purple"]'c:\disk\plink jnitin@10.94.101.178 -pw ibm123 df …

Member Avatar for luizfeliperj
0
919
Member Avatar for n30h4x

So I am in the process of writing simple client type program that send files over ssh. My goal is to have a shell script that interacts. for an example if i wanted to send a file to the server it wound be something like 'foo send FILENAME'. My question …

Member Avatar for n30h4x
0
157
Member Avatar for fkcares

hi all, i want to be a specialist in computer and information security, but i need advice and suggestion on things i need to do to be a specialist in this area. any suggesttion would be appreciated

Member Avatar for niehaoma
0
99
Member Avatar for Mike bruce geek

hi there can you suggest what programing language is best for anti virus application development? Thanks MIke

Member Avatar for 0x69
0
59
Member Avatar for nwhitfield

what is the best way to start out making a game??? Are there any good books on making one???

Member Avatar for nwhitfield
0
79
Member Avatar for j23

i want to use input validation so that the user can only input decimal numbers. can someone help [CODE] while int_x != : #this is where im having the problem print "the number entered must be a decimal number" int_x = input("Enter a decimal number:") [/CODE]

Member Avatar for ultimatebuster
0
2K
Member Avatar for reza.adinata

Hi, I am a beginner, and trying to call an image inside a form. So basically, I have done a simple WPF application in which if I press a button, I will managed to show an image in my main form. So, the code is below : [CODE]private void btnAddMore_Click(object …

Member Avatar for reza.adinata
0
185
Member Avatar for sdhawan

Hi Guys , I have a line which is like this :- "C:\\Users\\saurabh\\Desktop\\Projects\\Texts\\A Sign of the Times.txt" how can i jus extract the last part of it which is A Sign of the Times. Thanks

Member Avatar for finito
0
91
Member Avatar for charlie4oct

#include "stdafx.h" #include <iostream> #include <ilsolver/ilosolverint.h> ILOSTLBEGIN using namespace std; const char* Suppliers[] = {"Bonn", "Bordeaux", "London", "Paris", "Rome"}; int main(int argc, char** argv){ IloEnv env; try { IloModel model(env); IloInt i, j; const char* fileName; if ( argc != 2 ) { env.warning() << "usage: " << argv[0] << …

Member Avatar for charlie4oct
0
250
Member Avatar for dansnyderECE

I'm having difficulty using reinterpret_cast. Before I show you my code I'll let you know what I'm trying to do. I'm trying to get a filename from a vector full of data being used by a MIPS I processor I designed. Basically what I do is compile a binary from …

Member Avatar for gashtio
0
179
Member Avatar for ajwei810192

Hi, I have a question regarding an issue on submitting a form multiple times. For some reason, my form takes one submit, but then the others, I don't see changes of result. Here is the app: [CODE] <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.XML" %> <script runat="server"> Sub submit(ByVal sender …

Member Avatar for ajwei810192
0
122
Member Avatar for pgmarco

Hi, I am somewhat new to PHP and MySQL and I am having a little trouble with what I want to do, which is assign a cell for each option selected and a price or insert the price into MySQL table depending on the option selected. Whichever is easier or …

Member Avatar for sergb
0
180
Member Avatar for nsutton

How can you play a sound file that resides in the solutions resources file? Heres what I have..... [CODE] private void whiteKey1_Click(object sender, EventArgs e) { //If clicked System.Media.SoundPlayer player = new System.Media.SoundPlayer("WindowsPiano.Windows_XP_Ding.wav"); player.Play(); } [/CODE] I'm making a virtual piano and when the key is pressed it plays a …

Member Avatar for bbman
0
168
Member Avatar for tehbrozor

Hello! I am trying to display a FITS image, if your not familiar with the extension its fine (gtk.Image.new_from_file() isn't either). I can get my image data to a numpy array (2D (256x256 to be exact)) I am having the most difficult time getting this into a grayscale image. I've …

Member Avatar for tehbrozor
0
246
Member Avatar for ar31an

i am using database with table RESUME and column PageIndex in it which type is number in database but when i want to store this PageIndex value to an integer i get exception error **Specified cast is not valid.** here is the code [CODE] string sql; string conString = "Provider=Microsoft.ACE.OLEDB.12.0; …

Member Avatar for finito
0
89
Member Avatar for kirtan_thakkar

I am using the code as under but always getting 0 value means the same folder [code=php] $random_folder=array("folder1","folder2","folder3"); $folder=$random_folder[rand(0,count($random_folder)-1)]; [/code] Getting folder1 always.. What's wrong?? Please Help.......

Member Avatar for msm_eg
0
159
Member Avatar for TrustyTony

Here is solution number one for one word anagrams, I gave in discussion thread, response time in my humble Athlon PC under 70 ms. List of words is from original posting of the discussion thread. [url]http://www.daniweb.com/forums/post1206616.html#post1206616[/url] This version does not give we'd for input dew. Next time I give final …

Member Avatar for TrustyTony
0
1K
Member Avatar for pankaj.garg

Hello, I am making a program, where cycles of a process are running and i have to save a report every 10th cycle. The report should get saved automatically, without human interference and should be saved in a non-editable format (say PDF, JPG etc). I have tried a couple of …

Member Avatar for pankaj.garg
0
198
Member Avatar for ronnieaka

i've sudoku to make and for that, i need to generate it too. so for the generation, i've decided out that filling each successive column is a task of filling each column cell in the same row with a random no but seeing that it isn't already there in that …

Member Avatar for gusano79
0
733
Member Avatar for mahdi68

Hi is java suitable language for robot programming ( like line follower robots) ??? thanks

Member Avatar for NormR1
0
88
Member Avatar for benhowdle89

I'm developing a very simple VB app in Visual Basic 2008, where i have a textbox being dynamically updated with a value every second, i need this value to be inserted into a mySQL DB, i have made the connection ok but not too sure how to structure the VB …

Member Avatar for sergb
0
119
Member Avatar for abctoz

Hi All, I have created a CON, PRN folder([url]http://www.hoax-slayer.com/con-folder-name.shtml[/url]) using "md\\.\\c:\con " through DOS prompt, i was trying to create same CON and PRN folder through Java code using "Runtime.getRuntime().exec("md\\\\.\\d:\\con");" But it is giving following Exception : Cannot run program "md\\.\d:\con": CreateProcess error=2, The system cannot find the file specified …

Member Avatar for masijade
0
180
Member Avatar for ar31an

hello mates, i am working on a project of online resume management system and i am encountering an exception while creating resume. [b] Exception: Data type mismatch in criteria expression. [/b] i have attached the database tables list, here is my code for Create Resume-1.aspx.cs [code] using System; using System.Data; …

Member Avatar for finito
0
139
Member Avatar for RoyMicro

I have a USB device and a C# application communicating with it. Presently I am using a connect button to connect with the device from my application. This is a HID device and on Connect I will register for change notifications and from then onwards my application can display 'DEVICE …

Member Avatar for RoyMicro
0
1K
Member Avatar for Duki

Hey Guys, I'm creating an application that will require specific privileges. Users will eventually be add/removed from this group; I was wondering if there's a way I can tie in an Active Directory group to the software? Something that would let me say "if you're part of this group you …

Member Avatar for Duki
0
263
Member Avatar for Ferny84

I am stuck on this program that I am supposed to create. It has to ask the user for a text file where the format looks like: MATH 101 GEOLOGY 101 GYM 101 Then i'm supposed to store the information from the file in an array which then gets pointed …

Member Avatar for Ferny84
0
91
Member Avatar for habib55

hi all, I need help or an idea in asp.net for 1.) Reading all the contents of a page against a url. 2.) Convert all these contents into a pdf file. Thanks.

Member Avatar for habib55
0
112
Member Avatar for adams161

hi, I'm having a bit of a problem. I"m simply trying to read active directory now with system.directoryservices. I have a LDAP path i think its called and i get the children and for each child i for each through and so on for like 5 for each loops. OK …

Member Avatar for adams161
0
159
Member Avatar for ttboy04

Hello, My ouput is showing as... "1 2 3 (10)(23)(29)" when it should be... "1(10) 2(23) 3(29)" I don't think I am too far off. Here's the code and thanks in advance. // int[] Groups = {10, 23, 29}; in the constructor public String toString() { String tempStringB = ""; …

Member Avatar for ttboy04
0
107
Member Avatar for Alexpap

Hi all, I was always a bit confused about how to create a recursive function, so thats where i need you help. :) I have a treeview, in wich the user adds/removes dynamicaly nodes and a button wich should save the treeview structure in a database table when clicked. The …

Member Avatar for gusano79
0
151
Member Avatar for ypdev

Hi Everyone, I developed a page with [URL="http://freetextbox.com/"]FreeTextBox[/URL] object which allows update text using rich text format. Now, If I type "TEST 123" and submit the data - works fine. If I type "TEST 123' and submit the data - I recieve the following error: Syntax error (missing operator) in …

Member Avatar for ypdev
0
103
Member Avatar for Aenonar

Hey everyone! I've been trying to set up a more fool proof time trial thing for my windows application rather than checking the users computer for the time (that can easily be altered). I'm not that experienced with more advanced coding, and I just can't find any code that can …

Member Avatar for bbman
0
113
Member Avatar for epicasian

I'm looking for a good introductory book for 2D OpenGL Game Programming. The only books on OpenGL I've seen were on 3D. Does anyone know of a good 2D OpenGL Book? Thanks in advance, EpicAsian

Member Avatar for epicasian
0
201
Member Avatar for nearest

I am working in open gl using visual c++.I have made a quad a balls.Now i want to bounce the balls on quad repeadetly but i donot know how to do this??i thought of timerfunction to use but i donot know how to use it??which coordinates to set.here is the …

Member Avatar for daviddoria
0
211
Member Avatar for johndoe444

Hi, I am getting this exception: [CODE] javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - ob jectClass: value #0 invalid per syntax]; remaining name 'dc=jndiTest' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source) at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(Unknown Source) at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(Unknown Source) at com.sun.jndi.toolkit.ctx.ComponentContext.p_createSubcontext(Unknown Source) at com.sun.jndi.toolkit.ctx.PartialCompositeContext.createSubcontext(Unk nown Source) at com.sun.jndi.toolkit.ctx.PartialCompositeContext.createSubcontext(Unk nown Source) at …

Member Avatar for johndoe444
0
144
Member Avatar for haseeb1431

i have created a vc++ empty project in vs 2008, then i have added a simple c++ file and code is as follows [code] #include<stdio.h> int main() { printf("abc"); } [/code] now i want to make an exe file of this, actually i have complete project and i an exe …

Member Avatar for haseeb1431
0
99
Member Avatar for johndoe444

I have say a loop. At the beginning of the loop I want to fill a very large array which is an array of structures. Is there way like memcpy to fill the array without going through for loop. I figure using memcpy instead of for loop would be a …

Member Avatar for johndoe444
0
171
Member Avatar for catalyst491

Hello, I'm not too experienced with C++ (I know C# pretty well), and I can't figure this out. I've got two files, Form1.h and Utility.h. Form1.h is initialized when the program starts, and when the user clicks a button, it should call some functions in Utility.h. Now the problem I …

Member Avatar for daviddoria
0
207
Member Avatar for Dieuz

Hey there, I have a code to remove the duplicates in one of my table but I cant seem to be able to ORDER the way mysql select the values. Here is my initial table: [url]http://img196.imageshack.us/img196/2421/tablesw.jpg[/url] [CODE]mysql_query("CREATE TABLE new_table as SELECT * FROM test GROUP BY url") mysql_query("DROP TABLE test") …

Member Avatar for nileshgr
0
109
Member Avatar for dilansankalpa

I have written a program to receive data from the serial port. I am doing some calculations using those data and writing results to 4 richTestBoxes real time.I have two buttons to open and close the serial port. Some times when the close button is pressed, the form get stucked.This …

Member Avatar for dilansankalpa
0
76
Member Avatar for becraig

So the problem I have is being able to get the value from the <asp:buttonfield /> I am using now and running a query based on this. I want when I postback to have a sql query and a gridview generated based on the string passed from the button click. …

Member Avatar for becraig
0
118
Member Avatar for dzhugashvili

Hello. A while back I wrote a program called 'divvy' ([URL="http://www.cerberusgate.com/divvy.zip"]http://www.cerberusgate.com/divvy.zip[/URL]) in C++. It works fine on my system, but I have received several complaints that it does not work on other systems. This is the error: [QUOTE]Error: The Side-by-Side configuration information for "C:\DIVVY.EXE" contains errors. This application has failed …

Member Avatar for dzhugashvili
0
222
Member Avatar for Ayaat Monem

Can I have an overall about game main loop, it seems to be complicated :-/ Thanks

Member Avatar for Ayaat Monem
0
148
Member Avatar for sparkles_links

I have a site am working on and I really want to put comment script on it. But I don't want a database.

Member Avatar for sparkles_links
0
221
Member Avatar for queensrose

I will arrange my output in well-alligned columns, but I don't think I should use 3D char arrays since my teacher just wants us to stick with what we've learned so far. Check out my code. I'm happy about it, but I just can't get the alignment right. [CODE]//File: lab9.cpp …

Member Avatar for IrinaG
0
298

The End.