43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Naveed_786

When i run the report there comes an error "Invalid data source i am using this code [CODE]Dim cryRpt As New ReportDocument cryRpt.Load("C:\PaymentSystem\PaymentSystem\Instalment.rpt") Dim crParameterFieldDefinitions As ParameterFieldDefinitions Dim crParameterFieldDefinition As ParameterFieldDefinition Dim crParameterValues As New ParameterValues Dim crParameterDiscreteValue As New ParameterDiscreteValue crParameterDiscreteValue.Value = TextBox1.Text crParameterFieldDefinitions = cryRpt.DataDefinition.ParameterFields() crParameterFieldDefinition = _ …

Software Development vb.net
0
48
Member Avatar for Neji

Please help me converting numbers to words.. i don't have idea for this... Regards Neji

Software Development vb.net
Member Avatar for pulpers
0
153
Member Avatar for shizu

Hi.. I would like to use microsoft visual studio C++ 6.0 to build a execute file to detect whether network drive is connected and ready to used.. can anyone of you teach me how do I do this..?? my situation is I have 2 PC connect using LAN.. PC A …

Software Development c++ microsoft-access visual-studio
Member Avatar for graphicequalise
0
769
Member Avatar for Antler

Hi! I created a primitive login system and am wondering if I could somehow not show the actual password and instead asterisk. Here is the code : [CODE]#include<iostream> #include<string> #include<vector> using namespace std; int main() { string username; string password; cout << "Do you want to register?" << endl; cout …

Software Development c++
Member Avatar for jonsca
0
2K
Member Avatar for kirennian

Please note that I mean overlapping windows in a literal sense, not in the DWSTYLE sense listed within this very function. I've been having this problem for quite a while now whereby I create a number of windows using the above function and have been having issues with the main, …

Software Development c++
Member Avatar for kirennian
0
537
Member Avatar for coroll

Hi, i get the following error java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in FROM clause. this is my code [CODE] import java.sql.*; public class DetOrderNum{ public static void main(String[] args){ Connection con=null; ResultSet rs=null; Statement stmt=null; int pkey=0; String itemn="jin"; try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdbc:odbc:MY-PIZZA","",""); String q="select order_num from Order where …

Software Development java microsoft-access sql
Member Avatar for javaAddict
0
317
Member Avatar for andrewktmeikle

Hey team, i'm having a problem with this query, [code] "SELECT * FROM marketingDB WHERE company_name LIKE 'allied' & '*'" [/code] the program ive written runs fine and it doesnt show any problem with the query infact the exact same query works fine on access but when i put it …

Member Avatar for andrewktmeikle
0
142
Member Avatar for litlemaster

[CODE] int cg = Convert.ToInt16(comboBox1.SelectedValue.ToString()); [/CODE] This code is giving an error. Please tell me where I m wrong.

Software Development
Member Avatar for litlemaster
0
96
Member Avatar for pritesh2010

hello everyone. i have a problem with MDI parent.in my project there is parent form and child form. in my MDi parent form i had created fix layout panel where i want to show the other child form . but i dot no how to call child form on that …

Software Development visual-basic
Member Avatar for labq5
0
1K
Member Avatar for cintojose

Hello Everybody, I want my text box only accepts numbers and colon like 00:00 .The length should be limited to 5.Plese help as I stucked up with this............Thank You. CintoJose

Software Development vb.net
Member Avatar for Teme64
0
101
Member Avatar for scar164

Hello all! So basically I start off with one array, then I run a function that takes 3 floats, puts those 3 floats into a temporary array, then it returns this new temporary array and where I call this fucntion, It looks like this: [CODE=c++] float array [] = { …

Software Development c++ opengl
Member Avatar for mrnutty
0
220
Member Avatar for NewOrder

my code should accept 5 numbers, sum them up , average them.. and print the numbers that are below the average it doesnt appear to be working..why? [CODE]import java.io.*; class Pra1 { public static void main(String[] args) { Console console=System.console(); int size=5; int number=0; String allNumbers=""; String Snumber=""; int sum=0; …

Software Development java
Member Avatar for tong1
0
216
Member Avatar for cjmartin

I have a JComboBox that is set to editable and has a keylistener attached. The input comes from a scan gun. What I am trying to do is if there are more than one item in the JComboBox, I need to scan a barcode that represents the # sign and …

Software Development java
Member Avatar for cjmartin
0
214
Member Avatar for Naveed_786

Dear all, Q.No.1 1. I want to make a crystal report 2. It should have two datatimepicker 3. User select two diiferent dates and report must be run Q.No.2 1. How can i run a report when i pass a perametor from textbox. Please give me some Code thanks in …

Software Development vb.net
Member Avatar for finito
0
92
Member Avatar for maad_jhangir

Hi, This is my 1st post on daniWeb. First i want to mention that i am complete Ametuer(noob) in programming. just trying to work around with C# and need some help. Ok my problem is that i have a LISTBOX on my page with Selection mode = MULTI, A label …

Software Development
Member Avatar for maad_jhangir
0
154
Member Avatar for KAY111

Guys, Please explain what is happening here? [code=perl] #!/usr/bin/perl $line="abcd"; @arr=split("",$line); print $arr[$0]; $x="x"; if ($arr[0]==$x) { print "Hello"; } [/code] The output is: aHello Am I dreaming this?

Software Development perl
Member Avatar for d5e5
0
108
Member Avatar for tundra010

Just recently, I have upgraded from gcc 3 to gcc 4.5.0. However, when I try to compile a basic "hello world" example in c++, I get the following warning: Info: resolving std::cout by linking to __imp___ZSt4cout (auto-import) c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: a uto-importing has been activated without --enable-auto-import specified on the c …

Software Development c++
Member Avatar for tundra010
0
131
Member Avatar for scar164

Hello all! I am trying to create a simple app that takes something from an mysql database and prints it, I had some problems with the libraries at first, but now it compiles and shows me the black console window, but then suddenly it gives me some errors and in …

Software Development c++ mysql
Member Avatar for Ancient Dragon
0
216
Member Avatar for fafi_ali

hello everyone i have a problem in writing in word document the proble is that i want to append a string after a table i made in that document but it overides it the code is:- [code=csharp]//Text to word file StringBuilder strBuilder = newStringBuilder(); strBuilder.Append("<h1 title='Header' align='Center'>Writing To Word Using …

Software Development asp.net c#
Member Avatar for fafi_ali
0
1K
Member Avatar for TheWeakGetEaten

I am learning stacks, and I am trying to get this program to work. I have to be able to add large integers such as 9999999999999999999999999 by pushing all the numbers on the stack and then adding them up. Currently it works with small numbers but large numbers it crashes. …

Software Development c++ user-interface
Member Avatar for bondgirl
0
1K
Member Avatar for Docbyte

I am new to C++ and have a problem in a class I am taking.I am having trouble trying to create this the way my professor wants. this is what is required from the program: Write a complete program that prints out a “tree” of asterisks with the number of …

Software Development c++
Member Avatar for Docbyte
0
165
Member Avatar for arelius

Hello friends, I know that on the Layout options of the DataGridView control that you can set the AutoSizeColumnsMode to "Fill". I noticed that the "Fill" setting is not available for the AutoSizeRowsMode. Does anybody know a workaround so that I can have all the rows automatically "fill" in the …

Software Development vb.net
Member Avatar for arelius
0
938
Member Avatar for elsiekins

This may sound like a silly question but does when using aType is it just means any type ??

Software Development c++
Member Avatar for mrnutty
0
98
Member Avatar for starlight849

Hi, I am filling a datagridview with multiple columns from my oracle database. It has become necessary that I add a column with a checkbox. I figured this out. [icode] Dim cbPart As New DataGridViewCheckBoxColumn DataGridView1.Columns.Insert(1, cbPart) With cbPart .HeaderText = "PART" .Name = "Part" .DisplayIndex = 0 .Frozen = …

Software Development oracle vb.net
Member Avatar for starlight849
0
191
Member Avatar for blueman:-0

I have alot of tables in database in one of this contains owner_id and another one have relation many to many with that,and that table have dissent_type how i can select dissent_type where owner_id = ""

Software Development java sql
Member Avatar for JamesCherrill
0
115
Member Avatar for ellenski

Hi, We were asked to make a Binary Search Tree program in C. It should be able to traverse the numbers (preorder, inorder, postorder) then display it. And locate the number and display it. I have no probleming traversing and locating it. My problem is if the number isn't there …

Software Development c
Member Avatar for ellenski
0
111
Member Avatar for ellenski

Hi, We were asked to make a Binary Search Tree program in C. It should be able to traverse the numbers (preorder, inorder, postorder) then display it. And locate the number and display it. I have no probleming traversing and locating it. My problem is if the number isn't there …

Software Development c display
Member Avatar for ellenski
0
124
Member Avatar for TrueVb.NetNoob

Hi Guys! Is it possible to change the color of a button when you move your mouse onto the button? Like say before it was red and it can be changed to yellow? Anyone can help me with the code? Thank you!

Software Development vb.net
Member Avatar for vik2321
0
137
Member Avatar for pumpkin_pub

so i have a little issue here. i have a program that creates a list of random numbers, for sake of example here it is: [CODE] public class RandomSeq { public static void main(String[] args) { int n = Integer.parseInt(args[0]); for (int i = 0; i < n; i++) System.out.println(Math.random()); …

Software Development java
Member Avatar for ashok2004_urs
0
330
Member Avatar for Naveed_786

Hi All, I hope you all would be fine i want to print 1. Only text 2. No controls should be appear in the print like textboxes etc. Thanks in advance.

Software Development vb.net
Member Avatar for Oxiegen
0
152
Member Avatar for Drakarus

Hey, I was wondering if any one could help me with several problems I am having. 1st problem: Can anyone tell me how to combine two int's and put a ':' in between. Bascially I want the user to enter the hour and minutes separately, then combine them both together …

Software Development c++
Member Avatar for Drakarus
0
164
Member Avatar for coroll

Hi!, i have 48 errors with following code.Plzzzzzzz.......can anyone tell me the mistake that i had done. thanks in advance. this is my code [CODE] import java.lang.String; import java.lang.Integer; import java.lang.Float; import java.util.Hashtable; import java.util.Enumeration; import java.sql.*; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class testM{ public static void main(String[] …

Software Development java
Member Avatar for coroll
0
340
Member Avatar for AngelicOne

The startup of my application is the main form then it has login.showdialog for login. I already finish this but I want to have a form appear when the user successfully logged in. I tried putting this in my log in form form = new form(); form.Showdialog(); this.Close(); yes, the …

Software Development
Member Avatar for Geekitygeek
0
408
Member Avatar for jamesonh20

Hi I have a working media player that references the imported winmm.dll. I am trying to link a trackbar to the dll to find the file length & seek to the scrolled related timeframe. I have the code now that only starts the trackbar when the play button starts. Any …

Software Development
Member Avatar for freewayy
-1
397
Member Avatar for tong1

The following project is considered appropriate for a graduation dissertation in Computer Science Graduation project if the supervising professor is good in Java An English Word Statistics in Java The function may include: 1. To ask client to select a text file to open (FileDialog would be good to start …

Software Development gui java linked-list
Member Avatar for peter_budo
0
589
Member Avatar for pythonbegin

Hi All I have two tab-delimited files. I want to compare first column of testfile1 to first column of testfile2 to find if items in file2 are in file1 and write it to the new file. I have a following code but not working!! :(. [CODE]f1 = open('testfile1.txt') #f2 = …

Software Development python
Member Avatar for TrustyTony
0
775
Member Avatar for acrocephalus

Hello! I am trying to write a function that looks for a desired string pattern within a table (Countries). Look at the code. [CODE]def selectCountry(): print 'Enter country:' country = raw_input('> ') sql = '''select idCountries,CountryEn from Countries where CountryEn REGEXP '%s'''' cursor.execute(sql,(country)) result = cursor.fetchall() rowHead = 'Country ID','Country …

Software Development mysql python
Member Avatar for acrocephalus
0
362
Member Avatar for acrocephalus

Hello! I have this simple funcion [CODE]def newUser(): print 'Choose a username?' Username = raw_input('> ')[/CODE] The variable 'Username' has to be used by other functions. How can I do it? Cheers! Dani

Software Development python
Member Avatar for acrocephalus
0
10K
Member Avatar for NH1

Im looking to Delete a row of information in my datagrid, but also from my database. im not even really sure where to start. I want to use a button to do this. so that when i highlight a row, then click the button it brings up a message box …

Software Development gui vb.net
Member Avatar for ious
0
383
Member Avatar for markthien

Hello, I have created a query as follow in ms access: [CODE]SELECT cont.id, cont.name, cont.mobile_num, cont.date_created, memb.group_id, grp.name FROM (contact AS cont LEFT JOIN contact_group_member AS memb ON memb.contact_id=cont.id) LEFT JOIN contact_group AS grp ON grp.id=memb.group_id WHERE cont.removed=False ORDER BY cont.id DESC;[/CODE] and I created a 2nd query to query …

Software Development dataset
Member Avatar for Geekitygeek
0
141
Member Avatar for mono_jit23

How can I use 'like' keyword with wildcard characters(*) in RecordSelectionFormula of crystal report? [CODE] rptdoc = new ReportDocument(); rptdoc.RecordSelectionFormula = " {View1.RefNo}= '" + textbox1.Text + "'"; [/CODE] I need to use 'like' instead of '=' .....

Software Development
Member Avatar for finito
0
99
Member Avatar for c++learner

Hello, I've copied a multiarray into another multiarray and can't figure out how to convert an int of 1 into an asterik which is ascii 42 I believe. I need help to replace all 1's to an asterik. I've tried static cast which my instructor suggested but I must be …

Software Development c++
Member Avatar for jonsca
0
188
Member Avatar for mhs.praveen

Hi I am having a requirement in my project where User press '.' in his num pad and he wants the character ',' to be displayed (dats bcoz he is French User). I tried changing the e.KeyCode but it is a readonly property. Is there any other way to change …

Software Development vb.net
Member Avatar for mhs.praveen
0
95
Member Avatar for Ray007

How to do this structures, any Idea? Given a program segment as follows: #include <stdio.h> struct book { char title[80]; int bar_code; float price; } ; struct book BOOK; void INPUT (struct book *B); float DISCOUNT (struct book *B); You are required to write a complete program that includes the …

Software Development c
Member Avatar for farahlyna
0
109
Member Avatar for hg_fs2002

I'm creating a linked list,adding the data I've read from file in each node but as I'm trying to print what I hold in nodes my output is some symbols.And even when I cout what I hold in my nodes in ADD function it's ok but as it goes to …

Software Development c++ linked-list
Member Avatar for mike_2000_17
0
100
Member Avatar for spac_e

Hey- First time posting here so hopefully I explain everything correctly. [CODE] class sendbackcurricula(app.page): def GET(self): query = models.Curricula.query.all() map = dict() for x in query: x = x.to_dict() map[x['owner_id']] = x['title'] return json.dumps(map); [/CODE] The above code will return the last element held in the database at 'owner_id' and …

Software Development json python
Member Avatar for TrustyTony
0
80
Member Avatar for 0xCMD

[CODE=java] public int decrypt(int num) { int number = num; // Encrypted: 4523 Original: 5678 int d0,d1,d2,d3; d0 = number%10; // 3 d1 = number%100/10; // 2 d2 = number%1000/100; // 5 d3 = number%10000/1000; // 4 d0 = (d0 < 3) ? d0 % 10 - 7 : d0 …

Software Development java
Member Avatar for 0xCMD
0
2K
Member Avatar for george61

Pretty interesting problem about linked list. This program is about autobuses. Each autobus is given by brand, registration number, number of seats, kilometres and year when the bus was made. The program is organised as menu and when you hit number it calls some function. Problematic function: it should NOT …

Software Development c linked-list
Member Avatar for george61
0
107
Member Avatar for Spakes

Hi , How do I write a code that will print the first 10 even numbers in PERL Thank you

Software Development perl
Member Avatar for jon.kiparsky
0
2K
Member Avatar for Musing888

The basic idea for this program is to for me to enter a code to a corresponding website (which is already in a dictionary in the body of the program) and search that webpage for a specific phrase and return a value. This is so that I can check number …

Software Development python web-browser
Member Avatar for Musing888
0
235

The End.