199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bigbadowl

Hi All I am using the code below to get ACL information from files on Windows (in this case Vista). I need to know wether or not a trustee is a group or a user but when I loop through each trustee they all say "TRUSTEE_IS_UNKNOWN". Am I getting something …

Member Avatar for marco93
0
228
Member Avatar for vinoth_python

Hi, I'm new to this forum. I need a python test script to open 100 client connections for a web server, say "www.example.com/test/test" without invoking browser. I am trying out this for load testing to create 100 virtual connections to a web server. I have tried with urllib.urlopen(). It fetches …

Member Avatar for mn_kthompson
0
89
Member Avatar for StarZ

This is a basic Mash program assignment I have to do but I have a few problems, and I don't know how to edit it. It is suppose to look like this: [url]http://i43.tinypic.com/inv0gj.jpg[/url] but mine look slightly different: (copy and paste the code to ur python to check if you …

Member Avatar for sneekula
0
595
Member Avatar for srs_grp

Hi!! I want to insert byte array in database schema as follows: table message { msgid number(5), messagevalue BLOB }; I have done this in following way But I am getting NULL pointer exception. //byte[] msgval .. contains byte values like 49 50 53 etc. Blob msg; msg.setBytes(1,msgval); // for …

Member Avatar for ~s.o.s~
0
129
Member Avatar for lisan28

Hello everyone! I was trying to follow along with this tutorial: [url]http://www.sitepoint.com/article/watermark-images-php/[/url] and everything worked fine until the end. Basically I'm trying to write a script that both resizes and watermarks images for a couple of websites I'm working on, so that I don't have to go through and do …

Member Avatar for lisan28
0
116
Member Avatar for firoz ahmed

Sir when i edit any one of the line in the code window i have to comment and i put line this is [B]commented by raj on 06/1/2008 at 10:40:12 can anybody tell me[/B] if i press f3 this commented line should come automatic In the cursor located line.

Member Avatar for selvaganapathy
0
117
Member Avatar for JamieC90

Hey all, first post, hope I'm not doing anything wrong I'm taking a Java module next term at university, and in preparation, they want us to code two things. They reckon there's a help file up on their intranet but the intranet is very unstable, and doesn't seem to handle …

Member Avatar for JamieC90
0
183
Member Avatar for rickya100

Hi all, I have integrated google maps API into a site as a store finder. However I'm at the stage of trying to plot thte driving directions between a store and a user input address. The stage I am stumped at is getting the driving directions to plot themselves on …

Member Avatar for rickya100
0
177
Member Avatar for smelf1

Hi, In the reg key below there can be 50 different keys, how can i read through each one and get its display name and then show those display names in a lsitbox or combo box. hkey_local_machine\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall I am using the code below to get the data in that single …

Member Avatar for Ramy Mahrous
0
654
Member Avatar for muek

Hi, I would like to know if it's possible to create a procedure, where we pass 2 arguments (the databases where the search must be done) and how to use those parameters in select clause What I would like to know is if it's possible something like: [CODE]create proc dbo.uspMySearch …

Member Avatar for stephen84s
0
168
Member Avatar for azwraith69

hello,, my first post here.. im a 1st year CS student.. i need a help on having the idea of how to make this assignment.. i need to make a program,,a question bank,, with this functions: 1. Add a question 2. Delete question(s) 3. Modify a question 4. Display question(s) …

Member Avatar for azwraith69
0
141
Member Avatar for seeker_89

i'm making a simple program that will accept 7 input using JOptionPane i'm found out that JOptionPane has been used 7 times i want to transform in function i make it but i encounter an error. [code] import javax.swing.JOptionPane; public class SevenWord2A{ public static void main() throws NoSuchMethodError { String …

Member Avatar for stultuske
0
101
Member Avatar for jaiprakash15

Dear All.. I been working on XML for the past 2 weeks and am bit new to this concept..however i have put my effort to solve my problem.. I have suceeded in creating and appending a node to a XML file..But i have problem in Removing a node in a …

Member Avatar for jaiprakash15
0
177
Member Avatar for edgar5

All my (programming) life I’ve been plagued by timing problems! I assumed (haha) that when I changed from a pervasively multitasking OS to Vista I would escape the problem but it seems like I must be missing something. My problem lies in WhichChar. Note the line: 'MsgBox(vbNullString) If I leave …

Member Avatar for edgar5
0
111
Member Avatar for stephenalistoun

Hi all, I can not see the messages when other people enter in text but when I enter the text i eventually see the messages. What could I be doing wrong in my Javascript Code: [code=JavaScript]<script type="text/javascript"> function ajaxRequest() { var xmlHttp=null; try { // Firefox, Opera 8.0+, Safari xmlHttp=new …

Member Avatar for praveenvarghese
0
185
Member Avatar for javaman2

how can i loop a whole code and make it repeat until the user wants to stop.

Member Avatar for javaAddict
0
115
Member Avatar for javaman2

how can i set a boolean to put in an if else statement with the following code if((Math.abs(x)==1)&&(Math.abs(ex)==1)&&(Math.abs(exx)==2))//test for straight System.out.print("Straight"); if((cardSuit==0)&&(cardSuit2==0)&&(cardSuit3==0))//test for flush System.out.print(" Flush "); i want to set a boolean straight and boolean flush to put in another if else statement like so if(straight && flush) System.out.println("Good …

Member Avatar for stephen84s
0
106
Member Avatar for nm_9218

Can anyone help us regarding the implementation of Incremental Shortest Path Heuristic (ISTH) Algorithm using C?

Member Avatar for Salem
0
95
Member Avatar for winrawr

I'm looking into learning some more languages and some better code writing techniques, but I am not sure of the languages that I should delve into. So far I know VB really well and I started learning assembly, but I don't know that past some, I guess, medium difficulty, 16 …

Member Avatar for Rashakil Fol
0
117
Member Avatar for cppnewb

Hi. I was just wondering if you had any opinions/recomendations on some Text Editors. Specific editors I was wondering about: Dev-C++ Vim Emacs. Any input would be greatly appreciated.

Member Avatar for John A
0
137
Member Avatar for benchCUB

hi, how can i read a text file "textfile.txt" with a structure? (in C) thanks the structure is in this form. [code=c] typedef struct list { char ID[9]; char YR[10]; char lname[14]; char fname[24]; }LIST[256]; [/code]

Member Avatar for Ancient Dragon
0
129
Member Avatar for sal21

Admit have mymdb.mdb with table mytable and filed myfield in c:\... Ho to fill combobox without dupes from table, please without "select distinct..." statement is possible? Tks.

Member Avatar for QVeen72
0
101
Member Avatar for anuragg21

While i was importing .sql file in my database i got this error #1064. [code] #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE IF NOT EXISTS `att_poll_log` ( `id` …

Member Avatar for kanaku
0
148
Member Avatar for TomNDickNHarry

I recently started developing with MySQL and PHP. I'm building a web application which allows users to post a question which other users then post responses to, much like Yahoo! Answers. I would like advice about how best to structure a database to support this application. It would seem natural …

Member Avatar for kanaku
0
184
Member Avatar for jinsonsani

I want to replace a text in a file eg (old_text) with another text eg (new_text) . new_text is a variable in my shell script. few methods that i tried .. but this doesnt work cat $line".sh" sed -e 's/abc/ABC/g' $line".sh" sed 's/ordprg/new_string/g' $line".sh" > $line".sh" Could some one can …

Member Avatar for eggi
0
169
Member Avatar for koppv0

Hi, i am using the following code in the datalayer. The input paramters are the stored procedure and the associated parameters provided as a HastTable. I am using Enterprise Library, Data Access Block. -------------- [code=asp.net]namespace EPD.Data { public class DBManager { static Microsoft.Practices.EnterpriseLibrary.Data.Database dataBase; static DbCommand oDbCommand; public static CommandResult …

Member Avatar for iDeveloper
0
107
Member Avatar for -mk-

Hi, I have a database table which stores the information on the Node relationship. In the table tblNode, I have : [U][B]tlbNodeRelation[/B][/U] [B]NodeID[/B] - (The ID of the node) [B] ParentID[/B] - (The ID of the Parent Node) [B] Position[/B] - (The position this Node is in under the Parent …

Member Avatar for serkan sendur
0
724
Member Avatar for C#Novice

Hi All, I have an application that i m developing in VS2003 using asp.net and c# in the left navigation page I need to add the functionality to open and close a panel in the left nav. here is my code: ----> [code=asp.net]<%@ Control Language="c#" AutoEventWireup="false" Codebehind="LeftNav.ascx.cs" Inherits="CE.userControls.LeftNav" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %> …

Member Avatar for serkan sendur
0
182
Member Avatar for DonkeyKong92

Hi all, ok i have just started learning C++ today and i have download "Visual C++ 2008 Express Edition" and i am trying to make the "Hello World" program. I clicked on "Create Project" and then "Win32 Console Application" and then typed in the name "Hello World" then i right …

Member Avatar for Kungpao
0
176
Member Avatar for ayi_102

this is asp using c# [ICODE] string filename = "tracking result.csv"; string sExportFile = Server.MapPath(filename); [/ICODE] it just the piece of the code the code save the file to the server Q = How can i save the file to the C drive? eg like c:\\testfolder\tracking result.csv

Member Avatar for ayi_102
0
168
Member Avatar for abhi1

Hi Guys, Am trying to edit a file in C++. Am using TurboC++ (and have to stick to it only :P ). I have to functions, find_detail() and balance_update(). What am trying to do is find the position of balance in the file, store it in a int variable, then …

Member Avatar for guest7
0
406
Member Avatar for donaldunca

I'm learning vb.net, I have to work with file and folders. I need to know how to change file or folder name. Could you help me? Thanks for advanced!

Member Avatar for waynespangler
0
144
Member Avatar for ayi_102

[ICODE] mydb thedb = new mydb(); MyGlobal oapp = new MyGlobal(); //define the reader System.Data.OleDb.OleDbDataReader theReader = null; //defining sql string _sql = "SELECT * FROM searchtest WHERE ID = " + _ddsearch; string _sqlupdate = ""; //execute the reader theReader = thedb.SQLExecute_Reader(_sql); [/ICODE] this code is try to grab …

Member Avatar for LizR
0
104
Member Avatar for christiangirl

Hey, I am tutoring this kid in java and he has to use TurtleGraphics and BreezySwing, neither of which I have used in a while. I am having trouble figuring out some of his problems. I will post both his code and how I altered his code. I am wondering …

Member Avatar for christiangirl
0
109
Member Avatar for apsara

I am trying to pull times out of a mysql database and then convert them to the time of day using TimeFormat. #TimeFormat(Recordset3.timeOne, "h:mm tt")# My problem is once I add the "timeformat" all the times turn to 12AM regardless of what the time is in the database. Thanks for …

Member Avatar for jedimatt
0
124
Member Avatar for christiangirl

Hey, I need to download the TurtleGraphics package but am having trouble findng a place to dwnload it from, I tried a couple of places but they did not work. Do you know of a good website to get it off of? Thanks!

Member Avatar for ddanbe
0
95
Member Avatar for En-Motion

I need to write a program where a user enters a string and this string is converted to 3D text with additional animation such as rotation etc. The text should be drawn using polygons or cubes. Does anyone know of any good tutorials etc. where I could get some help …

Member Avatar for Ezzaral
0
425
Member Avatar for jonathan__

hi i am new to visual basic and i need help creating a timer that will count down from 60 seconds and blow up a bomb when it hists 0

Member Avatar for Comatose
0
65
Member Avatar for jedimatt

Hi all, I have a bit of an issue with an application that i am currently developing. The application logs passed and failure information for a production line. Each production lineis broken down into operations, each operation has a task group and then each task group has a bunch of …

Member Avatar for jedimatt
0
165
Member Avatar for desiguru

For some reason when i was creating my database I messed up in inserting data into mysql and now all dates are in yyyy-mm-dd format so when the data are displayed it seems like (2007-06-26) How do i change that to (mm-dd-yyyy) in php for users to understand it better. …

Member Avatar for buddylee17
0
222
Member Avatar for abhishek2301

Hello, I have a BinaryHeap class that uses template <class Comparable> as follows: [code] template <class Comparable> class BinaryHeap { public: explicit BinaryHeap (int capacity = 0) const Comparable & findMin( ) const; ......................................................... private: int currentSize; vector<Comparable> array; ........................................................ }; template <class Comparable> const Comparable & BinaryHeap<Comparable>::findMin( ) const …

Member Avatar for Murtan
0
281
Member Avatar for raghunandan_l

:-/ hey friends i need a help urgently.... i'm doing a project where i use listbox...i'm facing problem with this firstly i'm populating a listbox with particular field...then on clicking particular item in listbox the corresponding records from database should get displayed in all the textboxes of the form...here's a …

Member Avatar for Ezzaral
0
108
Member Avatar for Bladtman242

this program is just messing around with file i/o, and then i stumbled across something that i¨ve clearly forgot or missed in the tutorials i've read. my 'guess' is its the to if statements messing up (or perhaps rather their else's) i know i used goto and that means i …

Member Avatar for Bladtman242
0
117
Member Avatar for wwwmadeasy

hi i am trying to check if the user select yes or no ..it dos work but it give me an error saying "object doesn't support this property or method" [code] { var o = document.getElementById('addyes'); var t = document.getElementById('addno'); if ( (o.checked == false ) && (t.checked == false …

Member Avatar for wwwmadeasy
0
327
Member Avatar for PhiberOptik

Hey guys, I am trying to get some code to interpret a parameter determined by a JAR file. IE. [ICODE]C:\user\myProgram.jar 500[/ICODE] I want to know how to transfer 500 over to the program. I googled it, and most of the stuff that came up was extremely difficult to understand. Thanks …

Member Avatar for stephen84s
0
138
Member Avatar for mjta18

hi.. anyone knows a code for converting text files to .pdf, .jar, .ppt... is there a code for converting text file to these files... pls help.. thanks...

Member Avatar for almostbob
0
139
Member Avatar for Fungus1487

Hello all, im looking to try and find a simple set of pros and cons with regards to comparing Enhanced-Entity-Relationship Diagrams and Object Role Modelling diagrams. Basically any plus or negatives given for/against either would be great.

Member Avatar for Fungus1487
0
249
Member Avatar for csharplearner

Hello all, I am trying to run a file.asp located in [url]http://localhost/test/test.asp[/url] folder. Initially when it prompted for errors i made required changes so that ASP pages can work when accessed through localhost. Everything went good for the pages displayed for couple of times and later the pages started showing …

Member Avatar for csharplearner
0
74
Member Avatar for mini programmer

Hi to all I have a project, and I found 2 the errors in derived class, says the first: 'BaseClass' : base class undefined the number of error is :Error C2504: and I include the file: #include "BaseClass.h" and make declare base class with extern. but still the error. ......................... …

Member Avatar for mini programmer
0
130
Member Avatar for NeoKyrgyz

Hi, experts. I want to test whether (third library) function (say X) is interruptible or not. For this, I want to create two threads one for calling function X, the other for interrupting (sending signal) to the first one while it's inside the function X. But I don't know the …

Member Avatar for NeoKyrgyz
0
150

The End.