199,124 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
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 … | |
how can i loop a whole code and make it repeat until the user wants to stop. | |
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 … | |
Can anyone help us regarding the implementation of Incremental Shortest Path Heuristic (ISTH) Algorithm using C? | |
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 … | |
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. | |
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] | |
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. | |
![]() | 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` … |
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 … | |
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 … | |
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 … | |
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 … | |
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" %> … | |
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 … | |
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 | |
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 … | |
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! | |
[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 … | |
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 … | |
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 … | |
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! | |
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 … | |
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 | |
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 … | |
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. … | |
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 … | |
:-/ 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 … | |
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 … | |
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 … | |
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 … | |
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... | |
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. | |
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 … | |
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. ......................... … | |
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 … |
The End.