199,113 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
How do I make a static function in an Class that can be called by another object? Thanks in advance. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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: … | |
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* … | |
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) … | |
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] | |
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? | |
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() … | |
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 … | |
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 … | |
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 … | |
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, … | |
[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: … | |
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 … | |
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 … | |
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") … | |
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. … | |
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. … | |
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 … | |
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 | |
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 … | |
I want to display multiple tables record into datagrid (challan number wise). Please help me. how will i can use datagrid. | |
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 … | |
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? … | |
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 … | |
<%@ 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 … | |
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 | |
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: … | |
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 … | |
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? | |
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 … | |
[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. … | |
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... | |
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 … | |
(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 … | |
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! | |
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 … | |
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 … | |
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 … | |
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. | |
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 | |
[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, … | |
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>. | |
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 … |
The End.