43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for 54uydf

I'm using VS 2010 and I don't have CrystalReportViewer in my toolbox. under Reports I only have "pointer" and "ReportViewer". after I clicked on "show all" I see the CrystalReportViewer and few other new things but it's not clickable (gray) I checked on the web and I found this answer …

Software Development
Member Avatar for 54uydf
0
176
Member Avatar for libathos

I want to create a class which will be responsible for reading an input file and then filling up my other classes...But i do not know how to begin...any ideas?

Software Development file-system java
Member Avatar for libathos
0
109
Member Avatar for Tellalca

Hey; I want to be able to use VS2010 and still pass command line arguments to it somehow. When I am building an application that needs to use argv[], I need to compile it and run it from the command line. That is becoming boring sometimes especially when I want …

Software Development c++
Member Avatar for sundip
0
140
Member Avatar for loginas

i want project titles based on vb.net....

Software Development vb.net
Member Avatar for loginas
0
40
Member Avatar for seanbp

I read about a coding style where not one variable is changed. Everything must stay constant. I don't remember what it's called, but it's the bomb. I never realized this little project would be [I]so easy[/I]. Here is a 98 line calculator that supports [B]()^*/+-[/B]. If you find a bug, …

Software Development java
Member Avatar for seanbp
1
1K
Member Avatar for MasterGberry

Hello, some of you have have seen me around the site lately picking up some C++ knowledge. I have been reading a book (brief history). I am trying to get involved in dev work for a community I help out. So i took up C++. My assignment has been to …

Software Development c# c++
Member Avatar for MasterGberry
0
260
Member Avatar for jackmaverick1

I have been trying to invoke the default destructor for a class of mine (see below). when I try I get this error: "no match for 'operator~' in '~Card(((const Card&)((const Card*)(& hearts[1]))))'" [CODE] class Card { public: bool inPlayer; bool inDeck; bool inOpp;//in opponets hand. int type; //!< Member variable …

Software Development c++
Member Avatar for jackmaverick1
0
1K
Member Avatar for soneal777

I am using Visual Studio 2010 and C#. I am having problems making my three dice generate different random numbers. All of the dice roll at the same time. I have pictures of dice that I want to pull up for each of 3 dice according to what random number …

Software Development visual-studio
Member Avatar for soneal777
0
430
Member Avatar for LogicallyInsane

Um, I'm actually KrazyKitsune, I'll use that account after I manage to recover my password. So I'm having trouble with RS NOR latches. I did this: [code=python]s = int(raw_input("set Set value: ")) r = int(raw_input("set Reset value: ")) qi = not (s or q) q = not (r or qi) …

Software Development python
Member Avatar for LogicallyInsane
0
93
Member Avatar for evertron

I get an error with this code and I dont know why I thought that sum was part of the array calss and it does come up when I put the "." after the array. This is the error I get. Traceback (most recent call last): File "F:/Python_Stuff/CSC143-901/score-array.py", line 22, …

Software Development python
Member Avatar for TrustyTony
0
114
Member Avatar for BleepyE

If I create a save a text file, how do I get my application to save it into the end users directory? Ive current got this which saves into my user area. [CODE]file = My.Computer.FileSystem.OpenTextFileWriter("C:\Users\#####\Fruit\Fruit.txt", False)[/CODE] Thanks

Software Development vb.net
Member Avatar for BleepyE
0
160
Member Avatar for gutchi

Hi Everyone! I have here a queue: [CODE]my $qTool = Thread::Queue->new();[/CODE] I want to show all the elements that the queue contains. [CODE]my $qItem = $qTool->peek();[/CODE] The code above returns only either the head of the queue or an element at a specified index. Is there a way for me …

Software Development multithreading perl queue
Member Avatar for d5e5
0
251
Member Avatar for daudiam

Consider the following code : [CODE]class R2<E> { E a; E get() { return a; } void set(E a) { this.a=a; } public static void main(String aa[]) { R2 nn1=new R2<Integer>(); nn1.set("hello"); (1) //String r=nn1.get(); //Integer t=nn1.get(); } }[/CODE] In line (1), an unchecked warning is given as the compiler …

Software Development java
Member Avatar for daudiam
0
205
Member Avatar for jamesl22

Hi, In vb.net, how would you search a folder and get it to make a list of the files in the directory and what sub-folders the files are in are in? Then, put the results in a multiline textbox. The list would look something like if we were searching in …

Software Development vb.net
Member Avatar for Unhnd_Exception
0
169
Member Avatar for R3ap3R

''' Hi there, I am totally new to this site as well as Python. Luckily Python is a not too hard programming language to start with. I am trying to create a Caesar Cipher with ROT13 program that encodes user text ('a' - 'z' and 'A' - 'Z') to 13 …

Software Development python
Member Avatar for richieking
0
912
Member Avatar for a1a4a

Hello all I am on a windows application form where people can log in and add status ... and it's all online via sql database. What i am looking for is a sql query that Insert into the table the current time,so i can print on the application the time …

Software Development mysql sql vb.net visual-basic
Member Avatar for Unhnd_Exception
0
164
Member Avatar for Diamonddrake

I have hacked up this gorgeous files system tree view that looks like the windows 7 explorer sidebar. Its starts as one control, and that control lives in another control that makes up an "segment" whom are created and added to a host that handles scrolling ect. I have the …

Software Development listview
Member Avatar for Diamonddrake
0
181
Member Avatar for benny2010

Dear all, i am trying to get my sprite to be dragged around the screen by clicking the mouse, i can get it to attach to the mouse but cannot get it to unattach itself, i coded the if not mouse click then set mouse attach to false but it …

Software Development c++ pc-peripheral
Member Avatar for benny2010
0
165
Member Avatar for jlivvers

Hi, is there an accepted emthod to print a selected row in a datagridview? I've done some reading and gotten as far as printing a page via the printform but I wondered can you drill down into certain rows or certain datagridviews? thanks,

Software Development vb.net
Member Avatar for Mitja Bonca
0
156
Member Avatar for novice20

hi, I just came accross the csv module to deals with csv files in python. suppose my csv file has two rows: 1,2,3,4 5,6,7,8 and i want to access each item at a time, i.e., 1 followed by 2 and so on....what can be done? [B]import csv reader= csv.reader(open('filename.csv','r'),delimiter=' ') …

Software Development python
Member Avatar for richieking
0
266
Member Avatar for Naveed_786

How can i count the no of records fetched in datagrid from admission table and how to show these no of records in a label i.e Total No of records = 20 Please help

Software Development visual-basic
Member Avatar for AndreRet
0
178
Member Avatar for redflame777

Hi everyone, I am new to Java. I am taking a Java programming course and I am having some difficulty. My professor said I should seperate my class that stores employee information and calculates pay from the class that contains my main method. How do I do that? I understand …

Software Development java
Member Avatar for javaAddict
0
329
Member Avatar for INI

Good Day All, Please anyone tell me how to open an adobe PDF file in VB6? Thank you all very much in advance. Ini

Software Development adobe pdf visual-basic
Member Avatar for satheshjsk
0
141
Member Avatar for softswing

Hai friends, please tell me how to write Junit for the below method, public static FileInputStream readAsFileInputStream(String fileName,String fileLocation) throws IOException { FileInputStream fileinputstream = null; File file = null; try { file = new File(fileLocation,fileName); fileinputstream = new FileInputStream(file); } catch(IOException ex) { ex.printStackTrace(); } finally { fileinputstream.close(); } …

Software Development java
Member Avatar for softswing
0
2K
Member Avatar for WildBamaBoy

This program will kill the process a user specifies and start a BackgroundWorker that constantly analyzes a list of running processes and kills it again if it starts. But it will not cancel even when I tell it to. This is the BackgroundWorker's code. [CODE]private void KeepProcessKilled_DoWork(object sender, DoWorkEventArgs e) …

Software Development
Member Avatar for WildBamaBoy
0
414
Member Avatar for SoulReaper1680

Hey, I was trying to make a program which displays two chars A and B on the screen. Using the WASD keys, it lets you move the A char around and using the arrow keys it lets you move the B char around. I wrote the following: [CODE]Module Module1 Dim …

Software Development multithreading perl vb.net
Member Avatar for SoulReaper1680
0
162
Member Avatar for nosehat

Hi All-- I am working with zip archives, using the [URL="http://docs.python.org/library/zipfile.html"]zipfile module[/URL] to extract all the files with certain file extensions from each zip. In these zip archives the files I'm after all have their own path information, but I would like to extract the files I want into one …

Software Development python
Member Avatar for nosehat
0
166
Member Avatar for OrangeGrover

Hello, first off thanks for reading. So my problem occurs when I try to copy an element from one vector into a second vector. The error that I get says that the vector subscript is out of range when I try to push_back that element. I only get an error …

Software Development c++
Member Avatar for OrangeGrover
0
320
Member Avatar for vbx_wx

Anyone know why i get this error in eclipse when i compile any program: [code] error: to generate dependencies you must specify either -M or -MM [/code]

Software Development c++
Member Avatar for vbx_wx
0
105
Member Avatar for mightysnake

Read a single character from ‘A’ through ‘Z’ and produces output in the shape of a pyramid composed of the letters up to and including the letter that is input. The top letter in the pyramid should be ‘A’, and on each level, the next letter in the alphabet should …

Software Development c++
Member Avatar for mightysnake
0
176
Member Avatar for IrshadIkhlas

Hi, Can anybody help me in getting the time differnece between 2 dates in time format HH:MM as example need time differnec between 23Dec 20:35 and 24DEC 3:10. I am able to get the difference for same date but failed to calculate for 2 dates. Thanks

Software Development vb.net
Member Avatar for Unhnd_Exception
0
536
Member Avatar for oredigger

I've been reading about ApplicationCommands (specifically Paste) [URL="http://msdn.microsoft.com/en-us/library/system.windows.input.applicationcommands.paste.aspx"]here[/URL] and I have a question regarding the following paragraph: [QUOTE]A MenuItem is created and it's Command property is set to the Paste command. The CommandTarget is not explicitly set to the TextBox object. [B]When the CommandTarget is not set, the target for …

Software Development
Member Avatar for oredigger
0
322
Member Avatar for BleepyE

If have this code which writes the following into a text file. [CODE]sWriter.WriteLine("a" & " " & A.Text)[/CODE] This is the result [QUOTE]a 45[/QUOTE] - Id like the text in A.text to be in speech marks, so the final result is something like his [QUOTE]a "45"[/QUOTE] But I cant seem …

Software Development vb.net
Member Avatar for BleepyE
0
117
Member Avatar for BleepyE

I have a text file like this; Bananas=60 Tomatoes=34 Rasberries=102 Apples=23 If I have a form with textboxes or numericalupdowns is there anyway I could change the number of fruit and veg in the text file? Could it be possible to somehow open the textfile into the form then, edit …

Software Development vb.net
Member Avatar for BleepyE
0
112
Member Avatar for BleepyE

Hey need some quick help, some strange error I havent seen before even though ive been using the code for some time. [CODE]Imports System.IO Public Class Form1 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Me.Close() End Sub Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e …

Software Development vb.net
Member Avatar for jlego
0
124
Member Avatar for nxt200

Hello DaniWeb Software Developers :D I have a problem which exceed my programing capabilities and i need your help! Problem: I am somewhat new to c++ and i have been making some useful console applications in windows GUI visual Express. I thought i would give building in Linux a try …

Software Development c++ gui microsoft
Member Avatar for Narue
0
183
Member Avatar for vedro-compota

Greetings to you friends)) Advice please - how to get integer value from the console? I did so, but nothing good can come out - [CODE] short int n = 0; n = (int)getchar();[/CODE] thank you in advance for your reply ))

Software Development c
Member Avatar for vedro-compota
0
248
Member Avatar for hiddepolen

Hi all! I have a very strange problem. I am making a Win32 program, using Visual C++ professional 2010. Everything works exactly as it should, until I want a MessageBox to appear. It appears, but I cant click any buttons. I also can't access my main API, so I can't …

Software Development api c++ windows-api
Member Avatar for hiddepolen
0
1K
Member Avatar for RenanLazarotto

Hey guys! I need to use quotes inside a string variable... but I don't know how. If I simply put double quotes at the start and at the end, the program interprets it as a closed interval, like if every quote is a string. What can I do? I've searched …

Software Development vb.net
Member Avatar for jlego
0
270
Member Avatar for bkruep

I am starting a butterfly program and having an issue and really just barely have it started and would like to get some help\feedback on how to do this. The following is the instructions and I will make a second post on what code I have so far... The butterfly …

Software Development vb.net
Member Avatar for Unhnd_Exception
0
984
Member Avatar for vedro-compota

Hi guys )) Please tell me - how to check that a variable is initialized ? Thanks in advance )

Software Development
Member Avatar for Farhad.idrees
0
180
Member Avatar for mece

I wrote a GUI tool that will display stats and refresh the stats when a refresh button is pushed. Now I would like to add a feature for the stats to auto refresh every five minutes. Is it possible to have the UI updated without binding an event handler? Thanks …

Software Development gui python
Member Avatar for mece
0
2K
Member Avatar for rotexhawk

Alright.. Seems I wasn't able to fully explain my problem.. Below is the full error printout. I tried debugging it and I still don't know why guessed[index] = (letter) gives me an error. I don't want to use the append method because it will put the new letter at the …

Software Development python
Member Avatar for rotexhawk
0
360
Member Avatar for jemz

hello can you help me please how can input text with space.. sample: Enter your full name: jemz gimz Enter your company name: company one jemz gimz company one [CODE] import java.util.*; public class SampleNexLine { public static void main(String []args) { Scanner console = new Scanner(System.in); String name,cname; System.out.print("Eter …

Software Development java
Member Avatar for Akill10
0
154
Member Avatar for prem2

Dear all, I want to connect the my mysql database in the below java program.But i could not able to connect the myslq database. i have downloaded the below jar file and put the jar file in the below path. Jar File: ========= mysql-connector-java-5.0.8-bin.jar Path: ==== /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/lib mysql version ============= …

Software Development java mysql
Member Avatar for prem2
0
690
Member Avatar for vinithktp

Hi, I have a question regarding Memory Leak. The below mentioned JSP code can generate any Out of memory exception [CODE] String str = tempStrView.getSTR(); String newStr = str+"'"; String rpcStr = "&nbsp;"; String convStr = newStr.replaceAll("'",rpcStr); [/CODE] Thanks in advance, Vinith

Software Development java
Member Avatar for ~s.o.s~
0
108
Member Avatar for aplh_ucsc

Hi All.. I'm writting my own replacements for the memory allocation/deallocation routines malloc() and free().In that file i'm using some variable names.. So after getting the header file, how can i use those previous variable names which i declared in mymalloc programme in any programme. In my main programme i …

Software Development c
Member Avatar for aplh_ucsc
0
113
Member Avatar for phobos666

Hi y'all, I'm new to C and to this community so kindly bear with me. I need to open a txt file using C(only).The thing is I'm able to open it if it is directly inside a drive partition(D:\), but if it is inside a folder then its not opening. …

Software Development c
Member Avatar for phobos666
0
304
Member Avatar for misszeze

hello I am developing a java application, in my application i have to move data with large size from one object to another and i don't know the perfect way to do it so i can save memory and increase the processing speed because performance is very important in my …

Software Development java
Member Avatar for JamesCherrill
0
90
Member Avatar for phobos666

Hi, Can anyone tell me how to concatenate two strings in NetBeans using Cygwin and also what is the right header file to be included?

Software Development c
Member Avatar for phobos666
0
102

The End.