64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for gsuhit

I have a report with a simple parameter (string parameter) and I'm setting it with this code: ParameterFieldDefinition parameter = _reportDocument.DataDefinition.ParameterFields["Filtro"]; CrystalDecisions.Shared.ParameterValues currentValues = parameter.CurrentValues; currentValues.Clear(); CrystalDecisions.Shared.ParameterDiscreteValue newValue = new CrystalDecisions.Shared.ParameterDiscreteValue(); newValue.Value = "Value to Set"; currentValues.Add(newValue); parameter.ApplyCurrentValues(currentValues); But when I run the report, the program show an automatic window …

Member Avatar for gsuhit
0
111
Member Avatar for zoner7

So I have a multi-dimensional array, and I want to pass a reference of it to another function so that the array is defined in the scope of the function, because the array is not a global variable. If I can remember correctly, the syntax looks a little like this: …

Member Avatar for Ancient Dragon
0
124
Member Avatar for samarinder

I m getting problem in displaying charts and m not exactly able to find the problem plz plz help me wher i m wrong plzzzzzzzzzzzzzzzzzzzzzzz its very urgent............-------- --------------------- [code=java]package src; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import javax.servlet.http.HttpSession; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartRenderingInfo; import org.jfree.chart.ChartUtilities; import …

Member Avatar for samarinder
0
153
Member Avatar for Software guy

Hi, I am jahan, i just started java applets and i was trying to draw a graph. The idea i am using is based on drawLine(xmin,ymin,xmax,ymax). I wanted to get a graph for sinx which is proving to be difficult. i used following syntax to implement my idea: import java.awt.*; …

Member Avatar for PoovenM
0
2K
Member Avatar for zantex

Hi there guys! Can someone help me with the part add tour,when I run it, its always print the same line 2 times and then when I enter the data for guide tour which should be store in the memory, but when using the display method it didn't appear like …

Member Avatar for zantex
1
173
Member Avatar for Thirusha

I have a couple of div tags inside a form, inside those tags, there are input elements, i would like to know if there is a way to loop over all the input elements that are inside the div tags. This has to be dynamic as i will not know …

Member Avatar for Thirusha
0
604
Member Avatar for marcosjp

Hi there! I'm building a small application using Java and MySQL (college assignment). Everything is ok when all I'm doing are queries using SELECT. Now, when I try to INSERT anything in the table, I get this error message: java.sql.SQLException: Can not issue data manipulation statements with executeQuery(). 0 S1009 …

Member Avatar for masijade
0
127
Member Avatar for k2k

hello, I am writing a script to send email to all the users. Can anyone provide the syntax or internet source in reading line from a dir or text document? if users are under /home like: student1 student2 student3 student4 student5 student6 my try is: #!/bin/sh line =`read` while : …

Member Avatar for k2k
0
109
Member Avatar for chavdar79

Hi, all I'm a newbe in php My question is simple, but after 10 hours on the comp,I've got jammed Please help on the correct syntax of echo ("<a href... $ID[1]="Best Song" $url[1]="http://localhost/cat_music/BS.php" echo ("<a href='\".$url[1].'\">".$id[1]."</a>"); doesn't work Installed PHP 5.2.5 TIA

Member Avatar for TommyBs
0
87
Member Avatar for rickarro

I have a form that inputs data to a database. All is working fine, but what I'd like to do is when it gets to the [code] $result = mysql_query($query) or die ("Error in query: $query. ".mysql_error()); [/code] instead of the mysql_error, I want to display my own error with …

Member Avatar for rickarro
0
5K
Member Avatar for William Hemsworth

Hi I have a small question, probably quite obvious but I cant seem to figure it out. When using the ifstream or any other stream you can tell if it was sucessfull in its last event. For example: [CODE=CPP] #include<fstream> int main() { ifstream in("test.txt", ios::in); if (in) { } …

Member Avatar for William Hemsworth
0
110
Member Avatar for ADeen02

Hey this is Mohamed Shahabudeen. Can someone please help me with the following! Enter the following program called “composers.pro” % This database is about composers % Datarecords: composer’s last name, birth and death year composer (monteverdi, 1567, 1643). composer (bach, 1685, 1750). composer (vivaldi, 1678, 1741). composer (mozart, 1756, 1791). …

Member Avatar for Ancient Dragon
0
124
Member Avatar for Jennifer84

I wonder if there is a good way to substring this string: [code] std::string OneString = "1,2,3,4,5,6,7,8,9"; [/code] so the substring will look like this: [B]1,2,3,4,5,6[/B] So what I am trying to do or wonder is, if there is a good way to substring from the end and 3 Commas …

Member Avatar for Jennifer84
0
320
Member Avatar for JA5ONS

Okay, I appreciate everyone's help! i am trying to work out how to find a duration type thing.. i have created this as an example of what i am trying to do. [CODE] ### gaining inputs start= raw_input("What time did the tv show start: (Format = 14, 12) ") finish= …

Member Avatar for JA5ONS
0
119
Member Avatar for darkis

So the problem seems to be when i try to compile its telling me on line 16 of the main program (the last line) "unqualified-id at end of input" and "expected ',' or ';" at end of input I played with just about every combination of ending brackets and semi …

Member Avatar for Nick Evan
0
153
Member Avatar for santhanalakshmi

Hi, I was new to c# and asp.net .I want to create a simple login page using ASP.net with c# code behind.I had 2 textboxs(username and id) and 1 button control.I stored all the username and id in MS ACCESS database.Database name "user.mdb" and table name "table1" (only 2 fields …

Member Avatar for JackyGZ
0
158
Member Avatar for priyamsc

hi, i have used gridview in asp.net 2005 wit c#.i need to update my datas.in tat i hv placed dropdownlist,checkbox controls.but its not updating the datas.when i edit the row,we have dropdownlist but not tat database value.so when i edit the row the database value should be in dropdown list.when …

Member Avatar for priyamsc
0
680
Member Avatar for Xokzin

Hi There, Hope you can help with this. I have created a void function which has to add the totals and return the values to the main section for display. For some reason it does not return the totals. I tried everything I know. I also put displays in the …

Member Avatar for Xokzin
0
335
Member Avatar for k2k

What four ways can you specify the current directory in your PATH? for sh This is a question that I couldn't get it right. I thought pwd is one of the way but it wasn't. can anyone help? thanks

Member Avatar for omrsafetyo
0
138
Member Avatar for kahaj

I'm trying to create a menu that only drops down when moused-over and collapses again on mouseout. It seems to be working fine except for one thing. When the page loads, it's automatically expanded in all five sections. Once the top image is moused over, it collapses and works properly. …

Member Avatar for rjpaje
0
110
Member Avatar for Gagless

Having trouble understanding how this recursive function works. [CODE]int F( int X ) { return (X<=0) ? 3 : F(X/2)+F(X-3); }[/CODE] I understand the first part, give it a value 0 or less, get back 3, fine. But greater values I don't understand 2 returns 9, 3 returns 9, 4 …

Member Avatar for Gagless
0
119
Member Avatar for antwan1986

Hey everyone, I'm making a login system (in an attempt to advance my PHP knowledge). I've successfully made a system which registers the user (and uses md5 on their password), and also a login page which queries the database on the login info they supply (with the supplied password also …

Member Avatar for antwan1986
0
148
Member Avatar for &rea

Hello, I am working with images and I have got a problem. I have this method and I want it to return an array of unsigned ints. I have not got problems of compilation but it does not work properly. Could anyone help me? Thank you in advanced. [code] unsigned …

Member Avatar for Duoas
0
169
Member Avatar for rickprospers

During the execution of a package listener, I am trying to call a web page with embedded query strings to execute a task in .cfm... The code below is a snippet from the original code to simplify the discover of the error. I have been struggling to get this simple …

Member Avatar for rickprospers
0
197
Member Avatar for plusplus

I have a horizontal menu. I want there to be space to the left of first item like there is to the right of last item. How would I do that?

Member Avatar for ericstenson
0
84
Member Avatar for geetajlo

Hi i really need code to back up an access database. Am using visual studio 2005. i have to submit my project next week.. please help me. I want to place the code in a button back up..

Member Avatar for Jx_Man
-3
597
Member Avatar for SubProf

Hello, I have a richtextbox which I write lines of data to. However, everytime a new line is written to the richtextbox it overwrites the last line of data so therefore after the progam runs only the last line of data is displayed in the richtextbox. I need the lines …

Member Avatar for SubProf
0
138
Member Avatar for Jennifer84

I have a problem with a sort I am trying to do with a std::vector. I am doing an example below where I push_back some strings like this. I know I have to use a comparator for this, that I have called:[B] "compare_on_asscending_value"[/B] The problem is that I am not …

Member Avatar for Jennifer84
0
418
Member Avatar for sam1

Hi, i have two textboxes one for month(2digits) and one for year(4digits). i want to validate them so users cannot input dates in past. what would be a better way of doin this. ps. it is for winforms thanks

Member Avatar for Jx_Man
0
111
Member Avatar for C41R0

[CODE] . . . . button1.setIcon(pic1); button1.setToolTipText("Open File"); toolBar.add(button1); button2.setIcon(pic2); button2.setToolTipText("Save File"); toolBar.add(button2); button3.setIcon(pic3); button3.setToolTipText("Help File"); toolBar.add(button3); gbc1 = new GridBagConstraints(); // c.insets = new Insets(2, 2, 2, 2);; gbc1.weighty = 1.0; gbc1.weightx = 1.0; gbc1.gridx = 0; gbc1.gridy = 0; // gbc.weightx = 30.0; // gbc.weighty = 30.0; // …

Member Avatar for C41R0
0
93
Member Avatar for Suhacini

I have problem with page navigation.My problem is that am getting all the records in one page. $rowsPerPage = 10; I have 30 records, all are showed in one page...not the 10 records.Here is my code. [code] <?php include ('conn.php'); // how many rows to show per page $rowsPerPage = …

Member Avatar for Suhacini
0
220
Member Avatar for Pavlos1316

Hi all I have a checkboxes form. How can I get the results displayed (in a new window lets say) when submiting it? Thank you P.S. I care about getting results displayed part.

Member Avatar for Pavlos1316
0
87
Member Avatar for rashmigs84

I'm building a web page that uses a tree view control. If i click on a particular node i want to redirect a value to the next page .. how to do it using the treeview? I would greatly appreciate some insight on this.

Member Avatar for rashmigs84
0
124
Member Avatar for Sheridan

Hi: I'm not sure that this problem has a solution but here goes. I am retrieving a list of names from a database and displaying them on a web page. The list would have the form: Doe, John Smith, Harry Jones, Dan I want each name to be a hyperlink …

Member Avatar for silviuks
0
270
Member Avatar for forwardlookguy

Hello again, I previously asked a question about how to seperate text in a form. I understand how to do that now (thanks KKeith29), but my question now is this: How do I use the data entered in the form for the variable I want to perform the substr on? …

Member Avatar for silviuks
0
146
Member Avatar for rkoehler

I am new to FileMaker Pro 9 and have used MS Access a little. I am wondering if it is possible to transfer files from FileMaker Pro 9 (many files) to a web MS ACCESS database where another company where we send our data?

Member Avatar for dwikstrom
0
126
Member Avatar for Catherinedally

I'm stuck with a problem and can't work it out. I'm needing a visual basic . net program written. What I've worked out is... Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim linecount As Integer Dim asteriskcount As Integer Dim asterisk As String Dim spacecount …

Member Avatar for selvaganapathy
0
236
Member Avatar for faust_g

The following code works fine with "Release" config, but gets this odd "HEAP_CORRUPTION_DETECTED" error when I try to execute in the "Debug" config. I am using visual studio 2005, default settings. Also, I looked into deleting multi-dimensional objects, and it appears I am doing it correctly here ([url]http://www.daniweb.com/forums/thread6511.html)[/url]. Pretty simple …

Member Avatar for faust_g
0
351
Member Avatar for cellus205

Im pretty new to VB, using .Net 2008, and I am saving two DataGrids, ComboBoxes, and Textbox to a txt file, using "*99*" as a terminator between each, but I am having trouble reading it back into each field. Heres my open file code. [CODE] Private Sub openbtn_Click(ByVal sender As …

Member Avatar for cellus205
0
118
Member Avatar for linux0id

Hello everyone! I am using pthreads on Linux with C++ which spawns one thread and (tries to) play music. However, as soon as the program gets to the point where any function tries to use any member in the class, program seg-faults. Here - [ICODE]class audio { public: int play(char …

Member Avatar for linux0id
0
1K
Member Avatar for cellus205

Hows it going everyone. Im trying to compare two tables, and display the rows that are not in both tables in a DataGrid. Im using Visual Basic 2008, and created a query in the TableAdapterManager, but when I try to call the query, it is not displaying the results. Shows …

Member Avatar for cellus205
0
139
Member Avatar for CodeBoy101
Member Avatar for CodeBoy101

Normally if I want to concantinate two strings I would use: [CODE]strcat (variable_name, "Constant");[/CODE] But is there a function that let's me use (variable1, variable2) ? Any help is welcome. :)

Member Avatar for CodeBoy101
0
199
Member Avatar for turnerca902

Hi all, I have a little project that I think would be possible to accomplish using python. I'm a beginner at this sort of thing, so I am posting the basic information in the hopes that someone out there could help me get started or point me in the right …

Member Avatar for woooee
0
154
Member Avatar for savinki

Hi, Can someone please tell me, Is there any builtin function to convert decimal value to a fixed format? e.g. 6 to 0006 10 to 0010 123 to 0123 4987 to 4987

Member Avatar for Radical Edward
0
102
Member Avatar for mm-marek

Hi, I need to transfer data from file to fields... Can anyone help me? file: [CODE] name surname weight age male/female name surname weight age male/female marek mixa 70 23 M ... [/CODE] kód: [code] typedef struct lidi { char cl_jmeno[16], cl_prijmeni[21], cl_muz_zena[1],cl_vyska[3], cl_vaha[3]; } LIDI; LIDI lidi[6]; [/code] i …

0
78
Member Avatar for funtoosh

I'm implementing a Timer for different cities using GregorianCalendar class of java.I got a Null Pointer Exception in the following code in ---- target.timeElapsed(this) line.After a lot of practices,I don't got it out.Plzz help me to sort it out.. Here's my code---------- import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; …

Member Avatar for funtoosh
0
226
Member Avatar for gptArun

Hello, I'm using below PDO connection class but didn't shows any result , [B]Pls reply if u found any bugs[/B]..- [code=PHP]//name connect.class.php class Connection { private $connection; private $username; private $password; private $dsn; /** * To connect to another database, change the "mysql" in the dsn attribute to * the …

Member Avatar for darkagn
0
216
Member Avatar for GL.Za

Hi All Its my first time using LING in vs2008. Im pretty comfortable with do changes to the database (INSERT, UPDATE, DELETE, etc) using LINQ & the DataContext object. However I'm trying to do a little login page. A user will enter their login details (username & password) into textboxes. …

Member Avatar for GL.Za
0
90
Member Avatar for fayenot

[B]Scenario:[/B] I have 2 gridviews, clientgridview for showing the clients and the projectgridview for showing the projects. If I Click on the Client name on the the clientgridview i will be directed to the project gridview to show the different projects of the client [B]Problem:[/B] when i click on the …

Member Avatar for fayenot
0
80

The End.