199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Venom Rush

Hi all I've been trying to figure out how I would accomplish my problem mentioned in the titl of this thread with no luck. I've looked at a combination of using strstr, str_replace, substr and strpos. What I'd like to do is manipulate a paragraph so that if there is …

Member Avatar for Venom Rush
0
142
Member Avatar for JoutPerl

Hello, I am currently working developoning C++ app. with the codeGear Ide. I want to keep trace of every stored procedure I call using ADO executeComplete event in my ADO connection object (just for loging propourses). My problem is that I can not access any Command property because of const …

0
111
Member Avatar for darkMatter2008

How do I make a static function in an Class that can be called by another object? Thanks in advance.

Member Avatar for darkMatter2008
0
101
Member Avatar for Tareq85

i have this design internet | Router(Suse) ---- Content-Filter Server | LAN am using iptables to redirect client httprequests from Port 80 to my own program's port that is writen (in java) on the router now in my code i want to send ( redirect ) all client http requests …

Member Avatar for jwenting
0
129
Member Avatar for zawpai

Hi, Could anyone give me some suggestions? Now, I want to put the labels beside the list box to show the number of string lines, but i cant' do adjust all between string lines and labels although the size of text are same. You all will know the smallest size …

Member Avatar for selvaganapathy
0
130
Member Avatar for Gianf

Hello all, I am new here, so yeah...just wanted to get that out of the way. I am looking to create a game, or at least a character or terrain or something to help start my future. Being only 14, I am looking to go into a career that involves …

Member Avatar for lancer56
0
92
Member Avatar for kevin wood

i have found this code and would like to know how i can get the column titles to show up at the top of the page. [CODE]$result = mysql_query( "SELECT * FROM merc_users" ) or die("SELECT Error: ".mysql_error()); $num_rows = mysql_num_rows($result); print "There are $num_rows records.<P>"; print "<table width=1000 height=400 …

Member Avatar for kevin wood
0
104
Member Avatar for C41R0

is it possible for a trigger to handles two tables ? my question, "Write a PL/SQL trigger that, on the insertion of a donation, will set its bloodGroup to the donor's blood group if the donationType is 'whole' or 'platelets', and null if the donationType is 'plasma'." and my trigger …

Member Avatar for debasisdas
0
121
Member Avatar for pranav_jog

Hi I am getting Error while calling dll from asp.net Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: …

Member Avatar for majestic0110
0
131
Member Avatar for SwathiSangral

Hello, I have a sample code which is a header file and I am trying to write a CPP program which uses this file. But I am getting errors while running the code. Here is the header file: #ifndef FineInterfacePtr_h #define FineInterfacePtr_h template<class T> class CSafePtr { public: CSafePtr( T* …

Member Avatar for Radical Edward
0
126
Member Avatar for ku4n

This is my Default.aspx.cs [code=asp.net] using System; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) …

Member Avatar for JackyGZ
0
116
Member Avatar for cdub

I'm running 2.4.4 using gentoo. I've compiled python with Tk. (USE="tk" in /etc/make.cont) I can not get "turtle.setup(width=800,height=600,startx=400,starty=300)" to set the screen size. Any ideas? Is there another way to set the screen size? ? cdub [code = python] import Tkinter import turtle turtle.setup(width=800,height=600,startx=400,starty=300) turtle.down() turtle.right(30) turtle.forward(100) [/code]

Member Avatar for Fuse
0
4K
Member Avatar for preethi_ga

hi, when i update records in VB, only 0's are stored in database, can anyone halp me to solve this? send me appropriate code for this?

Member Avatar for preethi_ga
0
126
Member Avatar for dele454

Hi, Just trying to learn on how the Zend Framework works but i keep on getting this errors on viewing as [url]http://mainevent[/url] on my local machine: [code]Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in D:\apachefriends\xampp\htdocs\xampp\mainevent\include\Zend\library\Zend\Contro ller\Dispatcher\Standard.php:249 Stack trace: #0 D:\apachefriends\xampp\htdocs\xampp\mainevent\include\Zend\library\Zend\Contro ller\Front.php(914): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 D:\apachefriends\xampp\htdocs\xampp\mainevent\public_html\index.php(16): Zend_Controller_Front->dispatch() …

Member Avatar for dele454
0
107
Member Avatar for Derice

i am trying to coonect ms access with vb6. The code is working but after i execute "SELECT * from table" it is showing the content for the last row in the ms access. I am wondering how i can change my code so it display all the content instead …

Member Avatar for Derice
0
112
Member Avatar for cam9856

Ok so I am interested in learning some assembly so that I can create programs for my windows xp operating system. I have looked through some tutorials and the one on here but I am still lost on what to do to get started. Could someone hook me up with …

Member Avatar for cam9856
0
95
Member Avatar for Utter_iMADNESS

Hi everyone. I'm making a simple text rpg and battle system with C and I was just wondering if it was possible to add sounds to it. I've heard that it's possible with C++ but I'm not sure if it's possible with C as well. Any help is greatly appreciated …

Member Avatar for jantazone
0
162
Member Avatar for samarudge

Is there any way to name a variable after another variable, I sort of made up this bit of code which I thought might work but it didn't [CODE]<php $V_Name = 'variable'; $"$V_Name" = 'Hello'; print($variable); ?>[/CODE] Bit of a long shot I know but I thought it might work, …

Member Avatar for samarudge
0
100
Member Avatar for FTProtocol

[CODE] #include <windows.h> #include "Resource.h" HWND hWnd; LRESULT CALLBACK DlgProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam); INT WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { DialogBox(hInstance, MAKEINTRESOURCE(IDD_Main), hWnd, reinterpret_cast<DLGPROC>(DlgProc)); return FALSE; } LRESULT CALLBACK DlgProc(HWND hWndDlg, UINT Msg, WPARAM wParam, LPARAM lParam) { switch(Msg) { case WM_INITDIALOG: …

Member Avatar for FTProtocol
0
124
Member Avatar for bobraj

hi all, i am new to programming, my problem is that after certain data manipulation i will a array which will have only zeros & ones. (example x[5]={0,0,1,0,1} now i would like to store the contents of the array in another variable like A(say)=00101. but the codes which i written …

Member Avatar for bobraj
0
125
Member Avatar for herms14

guys..I would like to ask for your help..I was given a programming assignment about searching a random number in a array of also random numbers. here's the problem: [B] write a program that creates an array of 100 random integers in the range from 1 to 200 and, then use …

Member Avatar for mitrmkar
0
111
Member Avatar for herbally

I'm trying to add a row to my dataset using the following: [CODE] Dim foundRow As DataRow = DsMembers.Members.NewRow foundRow("FirstName") = scannedMember.FirstName foundRow("MiddleName") = scannedMember.MiddleName foundRow("LastName") = scannedMember.LastName foundRow("Address") = scannedMember.Address foundRow("City") = scannedMember.City foundRow("State") = scannedMember.State foundRow("Zip") = scannedMember.Zip foundRow("DOB") = scannedMember.DOB foundRow("TDL") = scannedMember.TDL foundRow("MemberID") = scannedMember.MemberID foundRow("DateJoined") …

Member Avatar for dadelsen
0
175
Member Avatar for AnjaliAnuradha

Hello, As a part of my program, I have to convert a column of strings in a vector(containing strings of both upper and lower case) to uppercase. The column is accessed as array.at(i).at(2) I have tried to convert character by character using toupper() , but I didnt work for me. …

Member Avatar for Nick Evan
0
134
Member Avatar for instructor_c

hey everyone am totaly stuck on these questions. am new to programming and a begginer is even a big word for me i guess am still at the scratch level so plz help :'( here are the questions 1. Write a program that asks the user to enter 10 integers. …

Member Avatar for Nick Evan
0
177
Member Avatar for doaji

please i need help in gettin data interaction between forms, basically what i want to do is to create a questioniare of about three forms where data is requested from the user and the last (4th) form, displays an intepreted set of information based on the data that was enter …

Member Avatar for QVeen72
0
98
Member Avatar for greeny_1984

hi, i have a application in which iam using ajax control toolkit accordion extender.The accordion is having different panes.I want to use datasource for accordion .The panes in accordion need different tables from datasource.Can anybody tell me how to databind different panes in accordion. waiting for u r replies

0
72
Member Avatar for camproject

I have a main dialog that is shown when my application starts running.It consists of a VLCplayer control that streams the live video and plays it.I have another dialog with a second VLCcontrol which is displayed when I select a menu item.What I have to do is play the same …

0
251
Member Avatar for prasadsatam

I want to display multiple tables record into datagrid (challan number wise). Please help me. how will i can use datagrid.

Member Avatar for Jx_Man
0
88
Member Avatar for kittensaretasty

I'm a complete beginner. I know how to get things to print to the screen, with the print command. But I want to be able to input a string of text and have that text returned in all caps. Do I do this with an argument to the print command …

Member Avatar for Fuse
0
96
Member Avatar for krammer

I am trying to print a random line from a text file that has 10 lines. The problem that I run into is that it sometimes picks the number "0" which is not a line in the text file. How would I have it pick a random number between 1-10? …

Member Avatar for ghostdog74
0
203
Member Avatar for niernier

Is there anyone who knows how to locate the file pointer and display its value? I am currently doing an assembly program that searches for a string in a given file and returns its offset from the beginning of the file. For example, the display would be "string found at …

Member Avatar for niernier
0
103
Member Avatar for tbabe

<%@ LANGUAGE="VBSCRIPT" %> <% Dim objCon Dim objRS Dim str_DSN Dim strSQL Dim objCmd Dim myArray str_DSN = "filedsn=live.dsn" myArray = "" Set objCon = Server.CreateObject("ADODB.Connection") With objCon .ConnectionString = str_DSN .CursorLocation = 3 'adUseClient Cursor .Open End With myString = trim(Request.Form("SalesPart")) myArray=Split(myString,",") For i = LBound(myArray) TO UBound(myArray) 'Response.Write …

Member Avatar for tbabe
0
117
Member Avatar for happimani

Dear All, What is the Major Differences between Python 2.3 and 2.4 and What are all the Major Features in Python 2.4?????????? regards Mani

Member Avatar for paddy3118
0
142
Member Avatar for drago865

Hello all, I'm using AJAX to populate a div tag in my HTML when a drop down list item is selected. It works perfectly in Safari, Firefox, Opera, but fails in IE. The responseText just comes back blank from the php script. Here's the Javascript it has to deal with: …

Member Avatar for drago865
0
155
Member Avatar for acecombat

I'm trying to have VB open a basic 1 line settings text file but I want it (for first time users) to create the file if it doesn't exist, but I can't open the file without getting an error. How do I go about creating this file if it doesn't …

Member Avatar for selvaganapathy
0
1K
Member Avatar for zebanaqvi

When a language is created, then i think is the interpreter or compiler written. But how are the linked at the hardware level? How is a language understood by the machine? can anyone see the code in which C is written?

Member Avatar for Ancient Dragon
0
62
Member Avatar for c++noobie

Ok, I was trying to write a program that formats a plain text file to the formatting standards of gamefaqs.com (no trailing spaces and no more than 79 characters per line). To my eyes, my code looks perfectly fine and effective. If I run it with anything but a file …

Member Avatar for c++noobie
0
196
Member Avatar for sniper29

[SOLO] Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. The program should output the average high, average low, and the highest and lowest temperatures for the year. Your program must consist of the following functions: a. FunctiongetData:Thisfunctionreadsandstoresdatainthetwodimensionalarray. …

Member Avatar for jephthah
0
492
Member Avatar for Sawamura

Hi all... I got problem here.. I want to search how much a certain characters in words in text box. Please help me to solve this...

Member Avatar for Sawamura
0
256
Member Avatar for Derice

Hi, there. I am looking links and sources for studying and understand way to navigate around windows directories. This can be easily seen especially during software installation where user is able to change the installation path. Is it related to the CommonDialogAttach.* ? Please give me a helping hand for …

Member Avatar for Derice
0
75
Member Avatar for daviddoria

(see next post for the question about makefiles!) I have this line in ScanScene.h [code] bool ScanScene(LiDARScan &Scan, LiDARScanner &Scanner, vector<geom_Triangle> &Scene); [/code] and in ScanScene.cpp [code] bool ScanScene(LiDARScan &Scan, LiDARScanner &Scanner, vector<geom_Triangle> &Scene) { ... } [/code] then in another file, I [code] #include "ScanScene.h"; int main() { LiDARScan …

Member Avatar for Duoas
0
158
Member Avatar for e_pech

I'm working with OpenGL and MFC. I'm able to output text on the view using glCallLists but I'd like to position the text on the screen. How can I do that? I'd appreciate any suggestions.. thanks!

Member Avatar for Duoas
0
250
Member Avatar for prashant.jnu

Dear all , I am not very much efficient in perl . I used to write small script of code usually by using file handler . I have written a code for multplication of 2*3 matrix . I want to use this code efficiently so that it can be any …

Member Avatar for KevinADC
0
149
Member Avatar for Alex Edwards

Okay so I have a program that tests for collisions using a complicated and 80% accurate method, but I want 100% accuracy. Like someone posted earlier about shapes colliding into each other, I realized that there will be cases where my method wont work. However, I've looked into a calculus …

Member Avatar for Alex Edwards
0
132
Member Avatar for C41R0

after i added in my JTextArea, everything seem mess up, their position have already run away, whats going on ? [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.awt.event.*; import javax.swing.border.*; public class MainTabbed { JLabel locationLabel; JLabel divingTypeLabel; JLabel dateLabel; JLabel maxDepthLabel; JLabel averageDepthLabel; JLabel fBuddyLabel; JLabel sBuddyLabel; JLabel …

Member Avatar for C41R0
0
306
Member Avatar for SakisLam

Let's say I have the integers A1,A2,A3 and x. I want when the value of x is 2 (for example) , the caption of a label to return A2's value. If x = 3, to return A3 value and so on. How do I do that? Thanks a lot.

Member Avatar for Tigran
0
96
Member Avatar for kux

what method is to be used to get the selected row in a CListCtrl ? i tryed GetCount() but it returnes the number of selected items i searched the method list, but found no GetRow() or something thx in advance

Member Avatar for Ancient Dragon
0
241
Member Avatar for Killer_Typo

[php] <?php /* declar some relevant variables */ $Host = "localhost"; //location of mySQL on server $User = "michael"; //my username $Pass = "koolaide"; //my password $Name = "phpaccess"; //name of the database to be used $Table = "info"; //name of the table within the database mysql_connect ($Host, $User, $Pass, …

Member Avatar for michael.mckee
0
3K
Member Avatar for auzzyboy

My idea is really simple: -create a game similar to that of Deer Hunter, except you arent hunting for deer. You are hutning for squirrels. I would like some help with People experianced in C or C++. to script. <snip>.

Member Avatar for Tigran
0
106
Member Avatar for Tigran

Hi guys, As my first post, i'd like to post something usefull instead of "Hi, i'm new here". The reason for this topic is because i don't understand a few things, mostly about classes. Here are the things i don't understand: 1) Why do some people set a "_" before …

Member Avatar for Alex Edwards
0
231

The End.