64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for rhoit

cout<< worked out for every other pointer data type but... when char is fed it show the pointed address.....(which every one knows) but i want to see the address stored in the char pointer how to see it.. i was thinking using `printf()` but ruined out by not knowing what …

Member Avatar for Tom Gunn
0
185
Member Avatar for acidnynex

I'm having a ton of trouble reading the text from a file into an integer array, the file contains 3 lines of 1,000 integers from 0 to 1. The array is myArray[3][1000]. So far I've tried to use a stringstream to no avail and I've attempted to use a few …

Member Avatar for acidnynex
0
102
Member Avatar for especta

i have 1 combobox and i have auto Assign stringlist from advstringgrid its working ok . I need to activate filter sorting condition based on select string from combobox. hire is buton comand it work fine [code=delphi] advstringgrid1.Cells[9, 0] := 'some word '; CheckBox1Click(Sender); I need ,, ('some word';)" to …

Member Avatar for especta
0
167
Member Avatar for hmortensen

Hi All, I'm trying to make a routine that returns node number XX from a BST. The nodes are as follows: [code=syntax] struct Node { signed int type; Node* child1; Node* child2; }; [/code] I can easily count the number of nodes by [code=syntax] long Pheno::CountNodes(Node* n) { if(n==NULL) return …

Member Avatar for hmortensen
0
106
Member Avatar for leviathan185

I have written some code for template generator but I am having issue getting the formatting when it is generated in the <textarea></textarea>. I want to have it to look like Service Affected: {then populated text} Service Status: {again populated text} Current/Next Actions: {populated text} it ends up printing out …

Member Avatar for leviathan185
0
237
Member Avatar for rickya100

Hi everyone, I have tried finding out how to do this everywhere but I am coming up completely blank. I have content coming into my site that I have no control over and it has this symbol • embedded in it. I really want to remove it and I can't …

Member Avatar for leviathan185
0
160
Member Avatar for rhoit

Why Can`t member function be called by pointer object of class/struct. i was trying to call the member fuction of struct though pointer object it showed me error like request for member 'Table::reveal' in `T1`, which is of non-class type 'Table*' where, Table is structure reveal is member function T1 …

Member Avatar for rhoit
0
270
Member Avatar for moorcroft

Hi I am looking for help with an xsl transform of an xml file. The problem is with <xsl:with-param>. The following is what I have: [code=xml]<xsl:param name="paramTest">$LINKNUM$</xsl:param> <key name="$LINKNUM$">SELECT count(1) from applications</key> <xsl:choose> <xsl:when test="$paramTest = '0' "> do this........ </xsl:when> <xsl:otherwise> do this......... </xsl:otherwise> </xsl:choose>[/code] This select count returns …

Member Avatar for dnanetwork
0
85
Member Avatar for chris5126

HI Guys, Prob a very simple one but im stumped, I run the following command and get: [code] date Wednesday, 19 August 2009 09:20:59 BST [/code] But when I run [code] date -u '+%y%m%d.%H:%M:%S' 090819.08:21:27 [/code] My question is why is the second command an hour behind? In my environment …

Member Avatar for iceman29
0
196
Member Avatar for entercow

Hi All! I am working with an MSSQL DB which stores images as blob's. When I pull out the blob it seems to be cut off at a fixed length. Every image only displays the top 1/3 or so. My query is very basic and has no limitations in it …

Member Avatar for entercow
0
290
Member Avatar for Aussie_Here

I want to create a procedure to update a table. It takes number of input parameters(one of them is the @pID) and updates four columns which have the pID=@pID and only one of these four columns can be updated if the value of another column='F' in addition to pID=@pID. How …

Member Avatar for sknake
0
122
Member Avatar for skelly16

Hi All Facing issue with using sed and globally replacing a word with date variable for a sql file. Any help would be appreciated. [code]sed -e "s/DATEST\/$DATESTART/g" $SQLREAD > $SQLNEW sed -e "s/DATEST\/08/25/2009:07:41:41/g" /uat/ut21_sysmon/quest/foglight/JJ/jjsql Suffix too large - 512 max: s/DATEST\/08/25/2009:07:41:41/g[/code] Thanks

Member Avatar for skelly16
0
361
Member Avatar for Wenners

Hi, I strange thing is happening in my app. I have a main form (IsMdiContainer =True) containing a gridview, which when double clicking a record opens a form in Modal state containing a TabControl. When I close down form 2 and select another record, the form opens with the new …

Member Avatar for samir_ibrahim
0
127
Member Avatar for lifeworks

Hi Im rubbish MySQL joins, and need an assist please. i have a product table and an images table. Each product has 4 images associated to it by a foreign key product id in the images table. I need to pull out the product info (from prod table) and 1 …

Member Avatar for lifeworks
0
124
Member Avatar for Kakooty

Hi i wrote a program which get query from mysql and store in varible in C.but it can't convert Object mysql ro int.any idea?? [CODE]#include <stdio.h> #include <string.h> #include <mysql.h> #include <stdlib.h> int main(){ char *email, name[30], domain[30], query[100], tmp[200]; int i=0,j,k; unsigned int size; email = "test@example.com"; char ch; …

Member Avatar for Kakooty
0
98
Member Avatar for rizza_f

In servlet we can do this. [CODE]<servlet-mapping> <servlet-name>exampleServlet</servlet-name> <url-pattern>/example</url-pattern> </servlet-mapping>[/CODE] But how to do it for jsp file ? Thanks..

Member Avatar for rizza_f
0
114
Member Avatar for kernel>panic

I have this encryption program that I spend hours on. I thought I had it all worked out but no. What could be my problem can anyone help me. You can ignor the void doSet() I will ad that later. Thanks.

Member Avatar for VernonDozier
0
394
Member Avatar for serkan sendur

although my code passes the test below, it cant delete a file and generates unauthorizedaccessexption. do you know why? FileIOPermission filePermission = new FileIOPermission(FileIOPermissionAccess.AllAccess, @"C:\helloworld.txt"); try { filePermission.Demand(); MessageBox.Show ("Permission demand successful"); } catch( SecurityException securityEx ) { MessageBox.Show( securityEx.Message, "Security Exception" ); }

Member Avatar for serkan sendur
0
134
Member Avatar for xiikryssiix

hello everyone... i wrote a basic program for my C++ class that includes SUMs and while loops. its fairly self explanatory, but i am not getting the correct SUMs for my outputs. apparently, i am missing something extremely important somewhere here. can someone take a look and give me a …

Member Avatar for xiikryssiix
0
247
Member Avatar for Gerald19

Hi, I ran into trouble trying to use the include function. Here's the code, which I think should work, index.html [CODE=html] <html> <?php include('head.php'); ?> <body> <div id="header"></div> </body> </html> [/CODE] head.php [CODE=html] <head> <title>Name</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> [/CODE]

Member Avatar for vincent2085
0
69
Member Avatar for ANicholson

Hi, I'd be grateful for a little help. I have a script which generates invoices as PDF files and stores above just above www level (so they cannot be access directly via a URL). I would like users to be able to access their own invoices but nobody elses. My …

Member Avatar for vincent2085
0
141
Member Avatar for mark2326l

I have a submit form with a text field. I want it to auto fill the date "7 days" from now into MySQL, and also be editable. The code below worked fine a few days ago, well until a new month is coming around the corner. [CODE]$SevenDay = date("d") + …

Member Avatar for almostbob
0
88
Member Avatar for stvrich

Hello This is a completely foreign thing to me, so, forgive my "Noob-ness" I'm so embarassed. You programmers out there are prob gonna say, "how much easier can we MAKE it for you?" I just installed the python gui on vista. (I will re-install it on THIS xp machine also …

Member Avatar for stvrich
0
240
Member Avatar for darangho

Hi all I just have questions about how not to show messages after you execute a certain command. for example whenever you execute "which xxx" there will always be a message on the terminal saying its path or command not found will be written. is that possible to write a …

Member Avatar for sknake
0
144
Member Avatar for nolesce

I had an issue getting data beck from a popup form and was assisted with a solution from Stevoni (thanks again). It has led to another problem however. In trying to send data to the popup I have over loaded the constructor to get the new data across. It appears …

Member Avatar for Stevoni
0
104
Member Avatar for kernel>panic

I want to know how to seek to a point in a file. Example I have a database program with a text file named "info.txt" There are two lines in it: Password = user makes password Activated = true/false How do I make the program find if they have activated …

Member Avatar for kernel>panic
0
184
Member Avatar for Steammike

Hi expert, i facing a problem when i try to connect to database by using vb.net below is my code: Imports System.Data Imports System.Data.OleDb Public Class Form1 Dim dSet As New DataSet Dim da As OleDb.OleDbDataAdapter Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click Dim User, …

Member Avatar for Steammike
0
331
Member Avatar for SQL_n00b

I have been reading up quite a bit on the topic of Stored Procedures (SPs) and keep coming across contradicting opinions from various 'SQL experts' on whether or not they should be used. Sometimes it's a downright 'No' ([I]Frans Bouma's[/I] Blog for example -- google the term for the article), …

Member Avatar for SQL_n00b
0
193
Member Avatar for TheWhite

I'm trying to make an app that will memorize 1 point on the screen and continuously click that point (running on a timer) until it is manually stopped. I've noticed that the mouse functions require you to be "inside" a component for it to recognize the mouse position or do …

Member Avatar for TheWhite
0
103
Member Avatar for mahela007

Hi.. I'm just curious as to how one would set about writing some python code to monitor the network usage in one session... The program should simply record how much data has been downloaded from the time the computer is switched on to the time it was switched off. What …

Member Avatar for willygstyle
0
3K
Member Avatar for anuj_sharma
Member Avatar for GRaymer
0
101
Member Avatar for sab786

hi all, i still cant get myself out in my previous thread i wrote that i wanted to carry out a random sample function on an entire file.. now what i wish to do is read a file use a dictionary to search lines and then get this lines and …

Member Avatar for willygstyle
0
148
Member Avatar for acidleaf

I am currently working on a school assignment which requires us to read and write two kind of derived objects into a file, but i cant seem to read them in correctly once i have saved them into a .dat file. here's what i have got so far: the base …

Member Avatar for acidleaf
0
217
Member Avatar for mahela007
Member Avatar for raavi.munaf

[CODE] Dim Friends(0 To 10) As String Private Sub Command1_Click() If Friends([COLOR="Red"]any[/COLOR]) = text1.text Then '[COLOR="Green"](what should I put here instead of [COLOR="Red"]any[/COLOR]?)[/COLOR] MsgBox "You already have " & text1.text " in the list else end if End Sub [/CODE] In above code I have an empty array of 10 …

Member Avatar for raavi.munaf
0
131
Member Avatar for ice_cool

This is a mini-paint program which uses class Point. It is very basic and allows a line to be drawn, then altered by its size and color. The issue that I am having is when I change color or size, all of the previous lines change with it? [CODE] import …

Member Avatar for padtes
0
93
Member Avatar for pluring

Hi! I don't remember where but i found this download function (geturl) that works great if i just send one url to the function. But as you can see i want to execute geturl() for each line in url.txt witch contains url:s. It still downloads but instead of a progressbar …

Member Avatar for pluring
0
140
Member Avatar for gaya123

[code=html]<html><head> <script language="JavaScript"> function update() { confirm("Are you sure?(Yes/No)"); document.forms[0].submit(); } </script></head> <body> <form name="form1" method="post" action="controller/servlet"> <input type="submit" name="event" value="Add"> <input type="button" name="event" value="Update" onClick="update();"> </form> </body> </html>[/code] here, on the click of both buttons "Add" and "Update",the control should go to the servlet.While clicking Update, the script runs …

Member Avatar for javaAddict
0
74
Member Avatar for ihatestarch

These are my instructions: - create a class containing a 10x10 two-dimensional array of characters. - class must have a constructor that puts the '.' character in each element. - In main, I must allow the user to enter an 'X' into six different spaces in the 2D array. (we're …

Member Avatar for Nico è...
2
2K
Member Avatar for aflneto

Hi I'm trying to write a simple version of the tail program in linux, but I keep getting a seg fault when I run the program. I wrote a simpler version but with fixed number of lines to print and using [code] char lines[10][100]; [/code] instead of [code] char **lines; …

Member Avatar for aflneto
0
70
Member Avatar for SgtMash

Hi guys. I'm trying to validate some code, but getting ID already defined errors...which I 'm expecting as the code loops through a record set and re-uses the DIV id. The question is how would you get round this? I thought about adding a simple variable +1 to the ID …

Member Avatar for SgtMash
0
77
Member Avatar for penfold33

Hi I need to generate a CSV of names and address from a table and I would like only one result (it doesn't matter which) per distinct email address. If possible, they also need to be ordered by DateAdded descending so I can select just the most recent 1000 results. …

Member Avatar for penfold33
0
282
Member Avatar for avirag

hi i m making a window application in C# .net. can anyone tell me how can i use search engine in window application?

Member Avatar for sknake
0
742
Member Avatar for nicholasamh

Hi, i am using visual studio 2008, C++ MFC to do my program. I am doing serial communication. I have a GUI C++ program. At the beginning, i will ask user to choose the com port then connect it. After that, i will need to let the user change the …

0
86
Member Avatar for stoymigo

Hi, what is good source code management system for .net developers. Our scenario is that we're 4 developers , working on pcs that are on a network that we don't control. Some network drives get cleared every night !! Is there way that a Master software app(on one dev's machine) …

Member Avatar for sknake
0
102
Member Avatar for ghaith

Hi, I started a new C# Class library project, and added an exe (.NET 3.5 with custom components) file as reference, also added other dll files used by that exe, i noticed that not all classes within that exe file are visible, i would have prefered to import a dll, …

Member Avatar for ghaith
0
176
Member Avatar for leviathan185

Hi, I seen an IDE a while ago that stated that you do not need to install or require Admin Priviliges to use on any PC. I can no longer find it. Does anyone know of such an IDE?

Member Avatar for leviathan185
0
245
Member Avatar for abu taher
0
65
Member Avatar for KungFuTze

Hi, I need help in understanding nested loops. Here's my problem. I'm asked to write a code that emulates a cash register. Using only while loops and do while loops, and can be with the help of if/else statements. Desired output : Welcome to CrappyMart type (-1) when done to …

Member Avatar for KungFuTze
0
2K
Member Avatar for crazy4fun

I'm new to this technology. I'd be glad if somebody help me in starting this and guiding me where to start? and how to start? to learn this new technology.

Member Avatar for crazy4fun
0
308

The End.