199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jchilley

I am attempting to set a ulimit inside of a script to be run by TWS/Maestro. Can't figure it out. Does anyone have any ideas? :-/

Member Avatar for Fernando3
0
1K
Member Avatar for 666kennedy

i have a tag; XXX32353.mv i need to be able to change the mv to something else, and the number of characters to the left of the . is not always constant. therefore i need to cut from the right, as the .mv is always the same, what is the …

Member Avatar for ddanbe
0
144
Member Avatar for Geekitygeek

Hi, This may be a simple issue, but im gettin nowhere trying to fix it. I have a form with a picturebox, the picturebox shows a map of our greenhouses. I want to be able to create clickable areas on the image. I have created a class to store each …

Member Avatar for ddanbe
0
119
Member Avatar for darangho

Hi, all Is there a way to get strings line by line from tk Text box? I know there is readline for files, but i don't see anything like that for tk Text box. Only thing i see is text.get(float(index1), float(index2)) but it seems unhelpful in my case, although it …

Member Avatar for bumsfeld
0
130
Member Avatar for 666kennedy

i have 2 arrays controllerlist[11] and taglist[5] i need to compare them so that i can find any elements that match, is there a way of doing it instead of nested for loops?

Member Avatar for wildgoose
0
267
Member Avatar for spoinkgeek

hello im doing this assgment.need a solution urgently! Animal Show is organized. There are 2 sessions for the show, which are 2pm-4pm and 8pm-10pm per day. There are only 50 tickets available per session per day. For the show, a ticket for an adult sells for RM10 while for a …

Member Avatar for mypicturefaded
0
378
Member Avatar for tankeetanx

[CODE]import java.io.*; public class Calculator{ public static void main(String[] args){ BufferedReader dataIn=new BufferedReader(new InputStreamReader(System.in)); int x=1, y=1; String Str_1,Str_2; System.out.println("Enter an Equation: "); try { Str_1=dataIn.readLine(); System.out.print("Enter another Equation: "); Str_2=dataIn.readLine(); x=Integer.parseInt(Str_1); y=Integer.parseInt(Str_2); x = x+y; x = x-y; x = x*y; x = x/y; } catch(ArithmeticException e) { System.out.println("Divide …

Member Avatar for VernonDozier
0
178
Member Avatar for etm9413

Hi all, here is a simple question. How would you get a C# STRING representing the current time in the following format: YYYY-DD-MM I am currently using DateTime.Now but that gives me something like this: 8/13/2009 12:57:47 PM So I want to 1) remove the houre (I need date only) …

Member Avatar for etm9413
0
118
Member Avatar for vanathi_vb

Hi, please guide me how to use crystal reports in vb6.0.anyone can explain with small example.say for example select the db and tables and fiels and links between tables ,sorting fields..how to call that report using vb.. Thanks in advance, vanathi

Member Avatar for kashy!
0
113
Member Avatar for poobaah

Hi, I am new to PHP and cant seem to find a way to parse a concatenated string and variable. To explain: I have a database to catalogue a composers works, one of the tables has a list of instruments which I then access to dynamically display on a wep …

Member Avatar for SimonMayer
0
129
Member Avatar for sotvisal

import java.util.*; class Matrice { private int[][] a; private int row; private int col; public static Scanner in() { return new Scanner(System.in); } public static void out(String m) { System.out.print(m); } public static int readInt(String m) { out(m); return in().nextInt(); } public Matrice() { row=2; col=2; a=new int[row][col]; } public …

Member Avatar for JamesCherrill
0
164
Member Avatar for Gerald19

Hello, I ran into a problem trying to create a file named after a table in the mysql database. The table name is stored in a variable called $tablename, and the filename should thus be, $tablename.php. for example, a table called guestbook should create a file named guestbook.php. But using …

Member Avatar for Gerald19
0
104
Member Avatar for BlackPhoenix

Hi everyone I have an idea for something but not sure which method would work best to provide the desired result. Let's say I have a database up and running, storing data for 2 users (php and mysql). What I want to achieve is: having 2 clients on the page …

Member Avatar for BlackPhoenix
0
191
Member Avatar for digitalbeat

I'm working on a program that first launches a frame with various text fields. After they are filled in, the information is submitted by simply clicking the submit button. I have the frame down, the text fields and the buttons, and I have the class where all my data and …

Member Avatar for TheWhite
0
154
Member Avatar for katwalatapan

Hello, Could anyone assist me in starting out with pointers. I know that pointers direct to the memory location where a value is stored, but I am having some issues with understanding the concept with arrays. Could you suggest a simple startup code, where a pointer points to a memory …

Member Avatar for Tom Gunn
0
118
Member Avatar for HookDevil

Hi, First of all... Yeah, I know that there WAS and still IS a lot of discussions and arguing about this particular topic (actually the main reason why I opened a new "Global Hook vb.net" topic is because I couldn't find any answers to my questions as a lot of …

Member Avatar for HookDevil
0
141
Member Avatar for Peter_APIIT

I wrote a command pattern to my class Administrator, HR and Staff. Each of it has several MF but command only operate on single MF. Therefore, i got this design. I got the solution like this. CommandList composes Vector of command. [CODE] class GenericCommander; class ComamndList : public GenericCommander {}; …

Member Avatar for Peter_APIIT
0
171
Member Avatar for bervin

Okay. I'm in need of desperate help and really hope someone can help me type out the entire code for a simple basic java project. 1)adherence to java naming conventions 2)At least one static method other than main 3)providing int, double and string inputs 4)proper selection construct (switch-case or if-else) …

Member Avatar for TheWhite
0
165
Member Avatar for sravan953

Hey guys, I have already worked on a program which uses threads, but today I just wanted to work on threading, and only threading: [code=python] import threading class first_time(threading.Thread): def print_first_time(self): print("What is your name?") for x in range(1000): first_time().start() [/code] But, the problem is, nothing happens! Why is it …

Member Avatar for bumsfeld
0
93
Member Avatar for skipbales

I have a form which has 20 selects. These are all the players in a tournament who could finish in the top 20 places, 1st - 20th. The drop down is a list of names from my players database. Using php I read the mysql table for a list of …

Member Avatar for skipbales
0
102
Member Avatar for shankbond

Hi, I am having a web application, which can be accessed by different users based on their userid's and passwords. Now I want to prevent users from accessing the application from more than one system. In order to prevent this I have created a[B] table with three columns [/B]as : …

Member Avatar for shankbond
0
177
Member Avatar for princessotes

Hi, I'll try and explain my problem as simple as possible. I have written a module to perform a generalised operation (as shown below). [code] from math import sqrt from math import pow from math import log10 from Numeric import * import numpy as np def Entropy(parameters, temperature): t=float(temperature/1000.0) return …

Member Avatar for bumsfeld
0
125
Member Avatar for hardy1986

m facing problem while running...computer graphic program on turbo c++ its giving me errors like "ntvdm has perfomed an illegal operation" or "16 bit ms dos subsystem error"

Member Avatar for Tom Gunn
0
140
Member Avatar for Adeel89

Hi, I am trying to wrap a simple C++ class called math and export it to VB.NET using a DLL made in VC++ 2008. The implementation for the wrapper functions is as follows: [code=CPP] void * _stdcall CreateMath() { return new math; } void _stdcall DestroyMath( void *Math ) { …

Member Avatar for Adeel89
0
470
Member Avatar for poncho4all

Well basicly the problem is that i have to call the function push while the char that is asked for is not '0' then i have to send the modified "*top" and "*temp" into the function POP so that i can show the values and do the deleting of the …

Member Avatar for poncho4all
0
101
Member Avatar for BobLewiston

Hi, everybody. I've been studying C# (using Visual C# 2008 Express) for several months and I think I've got the basics down pretty well at this point, so now I want to create a moderately ambitious application to consolidate and grow my skills. Any suggestions for what kind of app …

Member Avatar for DdoubleD
0
100
Member Avatar for qlooney

Hello, newbie here I'm using PHP and mysql so when you click on a link that says A, you get all the titles that start with A and so on. my current code below is working properly for those started with alphabet. but as the data grows, some of them …

Member Avatar for pritaeas
0
85
Member Avatar for darkocean

Hello to everybody, My application has some problem yesterday but I solved them but today, again it has same problem. [code=c#] Excel.Worksheet sheet = (Excel.Worksheet)excelWorkbook.Worksheets.get_Item(bolge); Excel.Range ran = (Excel.Range)sheet.Rows[satir, Type.Missing]; ran.Select(); ran.Delete(Excel.XlDirection.xlUp); [/code] It gives an error message : Select method of range class failed. I did not solve this …

Member Avatar for darkocean
0
123
Member Avatar for shaju_nitk

Hi, Need help to write the below mentioned program. Create an employee struct with following fields EMP_NAME EMP_ID DOJ (Date of joining) Read in the values from a file and store them in the above structure. Print the employee details if an EMP_ID is given. Regards, Shaju

Member Avatar for yellowSnow
0
237
Member Avatar for atch

Hi, Could anyone explain to me why this works: [code = c++] #include "stdafx.h" #include <iostream> using namespace std; class A { public: A() { a = 0; } int a; }; void change(A* source, A* destination) { destination = source; } int _tmain(int argc, _TCHAR* argv[]) { A* ob1 …

Member Avatar for kvprajapati
0
130
Member Avatar for esesili

Hi All, I have created a class [B]person[/B] and derived [B]patient[/B] and [B]doctor[/B] classes from [B]person[/B]. Also I derived [B]student_patient[/B] and [B]emp_patient[/B] classes from [B]patient [/B]class. I want to make a small calculation at [B]patient[/B], [B]student_patient[/B] and [B]emp_patient[/B] classes by using a function from [B]doctor [/B]class wihch is [B]get_fee_of_doc[/B]. I …

Member Avatar for Ancient Dragon
0
87
Member Avatar for LadyAnne

Hi Guys I am new at this, and I despeartely require some help. I basically need to write a program to read a text file, alter a single value and write it to a new file. I have done some stuff so far which seems to be correct, however, nothing …

Member Avatar for LadyAnne
0
147
Member Avatar for Zack Richards

Hello, i am currently developing a new OpenSource project. I will release it to the public this week. :-) [B]Let's get to my question(s) then[/B]: [LIST] [*]I have a Rich Text Box, and i want to save that text into a default extension. [*]I want the default name to be …

Member Avatar for Zack Richards
0
137
Member Avatar for nostalgia149

i gotta create an image slideshow... only for images.. but all the images should be from the database..please suggest using anydevelopment tool..... ..

Member Avatar for nostalgia149
0
77
Member Avatar for romes87

Hi, I am new in Daniweb. I am trying to do a simple task in Python but cannot figure out how it works. Keeps getting it wrong. Basically, I have a main GUI class App which has 2 entry boxes where you fill two numbers, a listbox where the results …

Member Avatar for romes87
0
3K
Member Avatar for Susan.LK

Hi All, I have a table with retrieves an image from the database table item, and displays it in a column within a table(for each product-ISBN). I want to be able to show additional images for each row in a table. For example, i would like a hyperlink under the …

Member Avatar for Susan.LK
0
126
Member Avatar for blah32

[CODE] def find_and_sep(inputstr, thing_to_find): #thing to find is a string that is a regular expression #finds thing_to_find and returns tuple of the rest (before, thing, after) inputstr.strip() #match it m=re.match(thing_to_find, inputstr) #match first instance if(m==None): return "" start = inputstr[:m.start()] mid = inputstr[m.start():m.end()] end = inputstr[m.end():] tuple_x = start,mid,end return …

Member Avatar for sravan953
0
109
Member Avatar for Slade

Hi guys here is my working sql query Select MAX(Hits)'Hits', SUM(Hits)'Total', UserID From sf_articles Group By UserID My problem is, when I want to select other columns as well as the current ones. It gives me a lovely error: Server: Msg 8120, Level 16, State 1, Line 1 Column 'sf_articles.ArtID' …

Member Avatar for manoshailu
0
316
Member Avatar for @theDatagame

Hello fellow "Developers" I am trying to create the local search functionality for a website using C#/APS.Net going against a MSSQL Dbase. I'm not really sure where to start. I have uploaded an attachment of what I think needs to be done. If someone could have a look and point …

Member Avatar for pritaeas
0
114
Member Avatar for lobei

Hey, guys. I was assigned to a project in my company. It's an application for another company, it was almost completely done, I was just making a few requested changes. When you run the app, it opens a form. After you identify yourself, another form open up (the first one …

Member Avatar for Diamonddrake
0
114
Member Avatar for maudits

hi everybody, I am blocked on a strange error. I need to use md5sum library. Visual c++ can read md5sum.h but it throws some errors when tries to compile it, it seems that visual c doesn't identify md5sum.cpp where constructors and functions are declared. I have already changed include library …

Member Avatar for maudits
0
299
Member Avatar for cohen

Hey guys, I need some help with Python (obviously). I need python to insert a space. I have: [CODE]name = raw_input('Enter your name? ') # prompt and read user's name [/CODE] and that works, and it asks me for a name, and insert it, then i got: [CODE]print 'Hello ' …

Member Avatar for cohen
0
160
Member Avatar for SoulMazer

Ok, I really hated to resort to threading, but it seems like I have no other choice. I am writing a client script for the "instant message" server I just finished writing. Sadly, I am having a slight problem with threading. What I would like to do is have two …

Member Avatar for SoulMazer
0
156
Member Avatar for mana_panigrahi

Hi All, I am fresh to php.Please help me in following scenario. I am trying to enable/disable a text by selecting 'Yes' or 'No' option of a combo box which is available on same page. Note: It should only work with 'Yes'/'No' option selection not with a submit button click. …

Member Avatar for BzzBee
0
2K
Member Avatar for si01

Hi - I have a problem where I have a list of strings, and i need to split up the components of each string in the list and create a new array with the reordered data in the right format. For example: I have (line 1) PDIA20031.MV PDIA45141.MV TIA20102.MV TICA20033.MV …

Member Avatar for si01
0
92
Member Avatar for jadeite100

Hi All: I am using windows 2000 server with Eclipse. In the dost prompt, I ran the file run_sqlldrTest2.cmd and it loaded record into the Oracle database. I tried to do the same thing in java calling the run_sqlldrTest2.cmd. In java it states the "The command line job - -executed …

Member Avatar for dixitworld
0
955
Member Avatar for nandakv4

hello, i am trying to store some values in an array dynamically. doing this as i dont want to over allocate memory to my array. so the code goes as follows:: [code] #include<stdio.h> #include<stdlib.h> int *p; main() { int i; for(i=1;i<6;i++) { p= (int *)malloc(sizeof(int)); *p++ = i*i; } printf("\n …

Member Avatar for nandakv4
0
96
Member Avatar for Studio

Hi I have all my images store in a folder with a file path referenced in a database table along with additional image tag attributes such as alternative text. I have managed to output the image to the browser without an issue but when i try to add the alt …

Member Avatar for BzzBee
0
374
Member Avatar for Robtyketto

Greetings, I'm a newbie and cannot fathom the deployment process. I noticed WITHOUT a Setup project/Setup wizard project in my solution (desktop application) when publishing creates a setup.exe which runs an installer of a kind. Not a typical windows installer with welcome, installation folder screens etc.., I added a setup …

Member Avatar for GeekByChoiCe
0
123
Member Avatar for egturnkey

Hello dear friends , Consider we have a button where you should click Is there anyone can help me and give the best idea how to make it limited i means after 20 clicking on that button , it goes de-active / or / image / or / text for …

Member Avatar for BzzBee
0
81

The End.