199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sowmyask

I have a file names abc.txt on desktop. I wanna copy it to d:\workfile folder. If I use the code-- File.Copy(strsourceFilePath,strtargetFolderPath,true); I am getting a exception that Access is Denied. If I use Move method ,File.Move(strsourceFilePath,strtargetFolderPath); am getting the exception Cannot create a file , already exists. Can anybody help …

Member Avatar for sowmyask
0
122
Member Avatar for brr

in my add form when open the form first move control to the first text box in my form for that iam using the following one. <body OnLoad="document.forms[0].elements[0].focus();"> but if in my form first is listbox how to move control to the list box

Member Avatar for brr
0
416
Member Avatar for Sawamura

Hi all, i want to make indent in rtf using track bar. So when i scroll track bar my paragraph can shift follows the trackbar position. Would u like to help me please... Thank u very much

Member Avatar for Jx_Man
0
116
Member Avatar for preyan

I have pygame v 1.8.0 installed but it is without the font and video module support how do i have to enable it or from where do i have to get it

Member Avatar for preyan
0
83
Member Avatar for Naruse

How to use progress bar to display a picture. I mean after progress bar is completed it will showing a picture. Please Help i just newbie :)

Member Avatar for Jx_Man
0
128
Member Avatar for geetajlo

hi every1.. i want to sort my combo box bt the pblem is that that i have bind it with a database. in the properties window i have set sorted = true bt it says ComboBox that has a DataSource set cannot be sorted. Sort the data using the underlying …

Member Avatar for Pgmer
0
114
Member Avatar for tondeuse34

Hey guys, recently i started with socket programming in python and still doing it. And i decided to do a project, its a text based GUI with different options that are related to Networks, but ive had trouble with it looping back to the menu which the input is represented …

Member Avatar for jrcagle
0
119
Member Avatar for ivy47469

I am writing a Crap Game. The first part turn out fine but I have problem with this requirement [I][U]"Your program must keep track of and report the number of games won by the user and the number of games won by the computer ("house"). The score should be 0-0 …

Member Avatar for jrcagle
0
102
Member Avatar for budstar

Sorry I just realise that made not sense. I have created a program in python similar to battleships. I have created the class section which were working when I include the direction section in the main and not as a seperate method, However when I move the method into a …

Member Avatar for jrcagle
0
140
Member Avatar for dinilkarun

I have a variable declared in a class file. A form is called from the class. When the control goes to the from; the value stored in the varaible is lost. Hence ,when I get the control back to the class from the form, I am unable to get the …

Member Avatar for selvaganapathy
0
86
Member Avatar for pa3k80

how make program run as service... I need the option in program, which program run in the background. Anybody has a tutorial about this...

Member Avatar for Salem
0
113
Member Avatar for themailsian

Hello dears, I m facing below mentioned Error in my application. where as all my database connections are closed. my code is as under: i have made a function that is being used with each type of query in my application. [code=VB.NET]Public Function exeQuery(ByVal query As String) As String Dim …

Member Avatar for ericstenson
0
289
Member Avatar for heels

Hi, I was just wondering if php is able to do the 'page post back function' like asp.net ? If possible, can someone guide me along with it or any site recommendations for reading up will be greatly appreciated. Thank you. :) Regards, heels

Member Avatar for heels
0
74
Member Avatar for k2k

I am currently taking shell scripting online, my professor has emphasized again and again not to use csh. I haven't learn in depth the difference between csh and sh yet. Can anyone explain abit what is the major difference? a little example please if possible.. thanks

Member Avatar for Salem
0
449
Member Avatar for scru

I have one that seems to be hard to find info on (with good reason). I want to hook into Firefox and IE and detect when a user inputs a password and username, prompt the user, and then get that username/password combination, and the url of the website that it …

Member Avatar for Ramy Mahrous
0
113
Member Avatar for blackheart_22

Hi, I'm currently applying the autosave code i've got on the internet unfortunately I can't make it work. Below is the error encountered as well as the code being used. Error Encountered: Line: 4568 Char: 21 Error: Object Expected Code being used: [code] <script type="text/javascript"> pollingInterval = 5000; threadLock = …

Member Avatar for ~s.o.s~
0
264
Member Avatar for nschessnerd

i basically have a long array i want to copy to another array object. does this copy by refrence? i know java doesnt do refrences but i read somewhere it would pass by refrence. [code='java'] char[][][] data=new char[numFiles][][],data1=new char[numFiles][][]; for (int i = 0; i < numFiles; i++) { data[i]=split(files[i]); …

Member Avatar for nschessnerd
0
115
Member Avatar for evios

How can i actually initializes a 2-dimensional array ALL to 0? [code]Dim machinecount(,) As Integer[/code] I try using 2 For loops to set it as 0 like the one shown but it gv me an error: [code] For B = 0 To 23 For C = 0 To 4 machinecount(B, …

Member Avatar for evios
0
138
Member Avatar for justinmyoung

Can someone recommend a good, reliable open source PHP script that allows for a user to login with a username and password/id. I want to allow a user to enter his/her username and password, where the password pulls specific data from the database, such as all the data with a …

Member Avatar for Ole Raptor
0
580
Member Avatar for agodislife

Hi, could someone please help me with this error message, I 've included my program along with the error message. Thank you. Compiling... C:\Documents and Settings\\Lab7\Lab7.cpp(33) : fatal error C1004: unexpected end of file found Error executing cl.exe. Lab7.obj - 1 error(s), 0 warning(s) [code=cpp] #include <iostream> using namespace std; …

Member Avatar for VernonDozier
0
99
Member Avatar for nurulshidanoni

Dear all, I have this code and this data...but i want to sort the sum1 in descending order..but my problem is..i want to sort many array....like this.. after sort 3: ............. 46 1: .............. 25 2:..................20 how to sort in descending order together with the row? 1: 5 6 7 …

Member Avatar for nurulshidanoni
0
118
Member Avatar for dangermini

Hi, i am currently trying to learn how to program in python and i have been doing ok until now! I am confused about classes objects and methods, i understand most of how they work. In a question task I am asked to create some code for a die (singular …

Member Avatar for dangermini
0
85
Member Avatar for Kabooom

Hey all, had another question that came up in my first Python program. The program is pretty much just a GUI for an application launcher. My current version has rollover buttons and successfully launches the applications, but is bloated and needs some revision so I'll post the first version with …

Member Avatar for Kabooom
0
300
Member Avatar for tanha

Hi. what is wrong with the following query, which can not be executed: [CODE] $query = "SELECT id, firstName, lastName, username, password FROM users WHERE username = '' OR '1' AND password = '' OR '1' ; DELETE FROM users WHERE 1 or username = ' ' "; $result = …

Member Avatar for Ole Raptor
0
75
Member Avatar for Finn.oftedal

I've tried to create mailbox in exchange 2007 using code that works on 2003-version. It's much faster to create a program in VB6 then in net. So, does anyone know what I have to do to make mailbox on 2007.version with vb6?

Member Avatar for Finn.oftedal
0
80
Member Avatar for hewara

hi everyone, i am struggling with a code and i need help! if u help me i appriciate... the result that i want to get is "value of myarray[0]=0.577 or 0.5" and the others value of myarray[1] and value of my array[2] is zero. i am using devc++ compiler. i …

Member Avatar for hewara
0
95
Member Avatar for cbattagler

I am attempting to read in a comma delimited file and only take in the first three values. At the moment the code I have obviously does not work. The text file is laid out like this: [code]1249968.646,16761001.880,1206.990,1,2,104,3,218210.549527[/code] At the moment this is what my read in code looks like: …

Member Avatar for cbattagler
0
192
Member Avatar for Jennifer84

I have about 20 vectors like the example below inside a buttoncontrol that will push_back data. This buttoncontrol and all the vectors will read a .txtfile that takes up 1.5 MB. So together the 20 vectors will fill data with a total of about 20 MB when I press the …

Member Avatar for Jennifer84
0
128
Member Avatar for efp1225

I am trying to include the posix library in my Visual Studio 2005 projects, and I am unsure how to include it. I have the posix.lib file and I added it to the additional dependencies of Configuration Properties->Linker->Input. When I build, I get the message that it can't find the …

Member Avatar for Zabbat
0
113
Member Avatar for luxmi_gee

hi how to display the content of one jsp page into another jsp page. how to add more than one jsp page in a single page. thanks

Member Avatar for guymanbuddude
0
123
Member Avatar for scrapdaddy

i was wondering if there is a php/lamp solution comparable to the .net [url]www.communityserver.com[/url]. I really like what community server offers. Its a nice platform for launching a community site. Is there anything comparable to this on the php side of things. Vbulleting only does so much and is limited. …

Member Avatar for mlittkesmith
0
106
Member Avatar for jilly

I made a basic website for my sons' garage band, and they want on the front page to have a box that the four of them can update with the 'latest news' - so I want it to be something they's have to log in to use, or at least …

Member Avatar for justin1206
0
195
Member Avatar for lich

Teacher gave a question today to find Base is 2 and power is 3. so that Answer should be 8. so to find that she told us to use Recursion and do it. i done it in the normal way. but when i do it in the Recursion way. one …

Member Avatar for jephthah
0
114
Member Avatar for Gagless

I am working on a recursive function that does multiplication so I don't have to use the * operator or loops. What I'm stuck on right now is how to get it to produce negative products. I thought the code for positive products subtracted from 0 would work, but I …

Member Avatar for Gagless
0
152
Member Avatar for islam nigm

I'm using the netbeans software to create my web application i have created the custom tag and bean classes after that i should make the jar file to embed it in my web application but i could't create that jar file in any way plz help me to get this …

Member Avatar for mbazs
0
133
Member Avatar for mmx64

Hallo, can someone help me out: I have a stringgrid, where i display hex data of a file( a hexeditor), and i need to change the color of the cell, if i chenge the data inside it. How can i do that?? Thanks.

Member Avatar for mmx64
0
3K
Member Avatar for Mr.UNOwen

Hello, I created two classes, one extends JButton and the other extends JPanel. In both cases, both overrides the paint method. Basically I'm extending JPanel so I can place an image as the back ground. The issue I'm having is that every time the button is drawn, if it's drawn …

Member Avatar for Mr.UNOwen
0
254
Member Avatar for ztwalsh

I looked through a few threads to find an answer to this question but was unsuccessful. I want to upload a file to my server and at the same time insert it's file name into my database. I've got the upload portion working just fine. Does anyone have a snippet …

Member Avatar for tanha
0
73
Member Avatar for scorpionz

Hi this is scorpionz The reason of this thread is that: I am making a Drag Div by mouse, and showing its position to the browser in (x,y ) coordinates, like when user click the box and drag it to some other place, then it shows the position of that …

Member Avatar for ~s.o.s~
0
792
Member Avatar for Bitto11

Hello ppl I am new to c++ and especially a noob in graphics. All the functions I have learnt are from Help File in Turbo c++ 3.0. Since this part of c++ is not in my course, I am having difficulties learning it. Now, in the following code the[B] outtext …

Member Avatar for Bitto11
0
182
Member Avatar for CoolGamer48

Hey, I'm having a problem with my RPG. I'm trying to get a player to move from one room to another. All the coordinates (and other properties) of all the objects inside a given room are contained inside a text file, and this includes the properties of an exit to …

Member Avatar for mitrmkar
0
87
Member Avatar for biggz

i need to build a recursive function which calculates the average of specific numbers entered ... so its fine till now but ... it says the number of entries is determined by the user's interest .. so i got some ideas i kinda stopped here i made a function which …

Member Avatar for bumsfeld
0
99
Member Avatar for heshan

Hi, I am having a string like below. What I need to do is to process the string in such a way that I could get the output in a format like below.The problem I am facing here is that some elements have commas(,) within itself , so it is …

Member Avatar for bumsfeld
0
142
Member Avatar for tanha

Hi. I want to GRANT privileges on two tables, but I dont know why error, but on one table it is ok. what is wrong? [CODE]GRANT SELECT ON mysql.db, mysql.user TO 'user'@'localhost' IDENTIFIED BY 'password';[/CODE] I dont know why it is not working on two tables???

Member Avatar for tanha
0
85
Member Avatar for coolian

Has anyone here managed to integrate NetBeans 4.0 with VSS 6.0? I am only able to see the projects I've added under the "Versioning" tab (in NetBeans), and not from VSS. Also, when I refresh the list, this is the error I keep getting: Command "Refresh" has failed. Execution string: …

Member Avatar for Ezzaral
0
203
Member Avatar for antwan1986

Hi everyone and thanks for reading. I'm having problems validating the file size of my uploads. With my current script, If I upload anything that is over 2Mb, I keep getting the error about file types rather than the ones about the file size. Even if I dont submit anything, …

Member Avatar for tanha
0
312
Member Avatar for L31chH4rdT

Hey guys, I'm at the losing end of a problem involving strings and char input. Basically, I have a tree full of morse code and alphabet equivalents in struct morsetree that i will decode against. so when i decode **** * *-** *-** --- *-- *** *-* *-** -**, i …

Member Avatar for Duoas
0
311
Member Avatar for petzoldt01

A some point in my program, it is necessary for me to start a child process (Im on linux, btw, ubuntu gutsy). The process streams DV to stdout, but can be controlled in an "interactive mode" through commands to stdin. How does one establish streams going both ways? If you …

Member Avatar for Duoas
0
351
Member Avatar for tanha

Hi. I am using WAMP with following tools: 1. PHP 5... 2. MySQL 5... 3. Apache 2... 1. I don't have REMOTE_USER variable in my php.ini file, How can I include it in my php.ini 2. How to change the variable REMOTE_USER in php.ini, through PHP script? Thanks

Member Avatar for tanha
0
161
Member Avatar for tanha

Hi. I am using WAMP package, which has the following tools: MySQL 5... PHP 5... Apache2... and I my own computer as client and server, and I like to test the [B]mail function[/B] of PHP. PROBLEM: Is it possible to use the mail function of PHP on my own computer? …

Member Avatar for tanha
0
114

The End.