199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for franceee

I am trying to get my button1 on window1 to close window1 and open window2, have you got any ideas on how this can be achieved. Thank you in advance

Member Avatar for DdoubleD
0
145
Member Avatar for tiwas

Hi, This is vaguely related to my last post, but not entirely so I'll make a new one. Hope that's consistent with the board rules :) I have a path [CODE]String path = "C:\\test\another\\directory\\";[/CODE] It seems the trailing slash is appended automatically when using the OpenFileDialog, so I used to …

Member Avatar for Rashakil Fol
0
146
Member Avatar for evilguyme

there is fstream in normal C++ that allows you to do file i/o but how do i do this in managed C++ in a forms application? i read about a config file but i dont quite get it.. thnx.

Member Avatar for evilguyme
0
235
Member Avatar for manavsm

Error: assignment makes integer from pointer without a cast ..i want to build an student database using linked list and in c language...but i am unable to create nodes for each variable like age,name,...i did not post the entire program but the concept is in the code...plzzz help..just tell me …

Member Avatar for yellowSnow
0
1K
Member Avatar for nateuni

Hi, I have a struct that contains many different datatypes including arrays of other stucts, ints, floats, chars, char arrays etc. I have dynamically declared a ptr to the struct in main. I then pass the ptr deep into my functions and sub functions. It is a struct that holds …

Member Avatar for nateuni
0
130
Member Avatar for serkan sendur

does windows OS come with any built-in c compiler? without downloading any compilers can it compile c or any other language?

Member Avatar for yellowSnow
0
2K
Member Avatar for erckle

Sorry guys...this is probably really trivial but i'm new to Python. How do you remove the first digit from a five digit number called x and then add this new number to the original x. I need to be able to remove any of the digits and add the new …

Member Avatar for leegeorg07
0
4K
Member Avatar for ballz2k

Can someone enlighten me on where to begin? I want to learn java along with servers i.e. apache / tomcat. Just point me in the right direction and I'll get right to it. How long will it take for me to learn this stuff? Any info would be greatly appreciated.

Member Avatar for pooja.ui7
0
109
Member Avatar for Samyx

[code]void swap (int *first, int *second) { int temp = *first; *first = *second; *second = temp; } int main () { int i = 5, j = 6; swap (i, j); printf ("i=%d j=%d\n", i, j); } [/code] warning: [37] $ gcc -o ex321 ex321.c ex321.c: In function `main': …

Member Avatar for Samyx
0
81
Member Avatar for johndoe123

Can some help me with a random between two choices ? Something like: L = random(A, B); and in L to have A or B. Thx.

Member Avatar for Nick Evan
0
10K
Member Avatar for Vallnerik

I have a question that pertains to any programming language but since C/C++ is my primary language I'll ask it here. I'm designing a test program that will simulate the outcome of a 12 round fight between 2 boxers. Now my question is, is there a limit or number I …

Member Avatar for mrnutty
0
130
Member Avatar for srilakshmitr7

I thought of implementing multiple pagination concept in a single page.I applied pagination concept but instead of changing only one set of records it gets reflected to another set of records.Can anyone solve this.

Member Avatar for wilch
0
139
Member Avatar for Samyx

I am using the file ex3test.c to run the following program, but the UNIX gives the errors: [38] $ gcc -o ex3test ex3test.c Undefined first referenced symbol in file discrete_uniform /tmp/scratch.hYayTQ/ccRDoT1o.o printFirst /tmp/scratch.hYayTQ/ccRDoT1o.o addToList /tmp/scratch.hYayTQ/ccRDoT1o.o printSecond /tmp/scratch.hYayTQ/ccRDoT1o.o disparity /tmp/scratch.hYayTQ/ccRDoT1o.o clearList /tmp/scratch.hYayTQ/ccRDoT1o.o ld: fatal: Symbol referencing errors. No output written to …

Member Avatar for Samyx
0
175
Member Avatar for acidik_4

hi Ive been working on a program that finds hidden files copies the contents and then deletes the hidden file so far ive got system("set OLDDIR=%CD%&&@ECHO OFF&&ECHO Finding Hidden Files&&dir /ah&&PAUSE"); printf("Please Choose The Files You Want To repair separated by spaces\n"); scanf("%c",&d1); getchar(); string cmd="echo"+d1; system(cmd.c_str()); but im having …

Member Avatar for acidik_4
0
82
Member Avatar for geoffy0404

[CODE]int main() { int assignment1[30]; " "; int assignment2[30]; " "; int assignment3[30]; " "; int assignment4[30]; " "; int assignment5[30]; " "; int assignment6[30]; " "; char totalPoints = "assignment1; + assignment2; + assignment3; + assignment4; + assignment;5 + assignment6;"; printf(" Grade calculator ... By Geoffrey \n\n"); printf(" Please …

Member Avatar for chesspest
0
119
Member Avatar for kyumi419
Member Avatar for Tom Gunn
0
56
Member Avatar for I_Empire

I wrote a template function that converts any numerical value to string : [code] template <class T> string ConverttoS(T input) { std::stringstream out; out << input ; return out.str(); } [/code] now i want to use this template function inside a class , but if i did so i would …

Member Avatar for siddhant3s
0
278
Member Avatar for brightstar2016

Hi members! I want to create an instant messenger in asp.net using C# but i don't know how to proceed and i have to complete it within one month. its my graduation project. plz help me. you can mail me to [email]brightstar2016@gmail.com[/email]

Member Avatar for brightstar2016
0
100
Member Avatar for GDICommander

Hi, everyone! I am using Interop.Photoshop.Dll from my C# Windows Forms application. I am using a com object that Adobe Photoshop CS4 provides to use Photoshop in my C# program. I'm using the ApplicationClass class to launch Photoshop. I have Photosoft CS3 and CS4 on my machine. When I do …

Member Avatar for sknake
0
982
Member Avatar for Alphard

I have 3 Users and I have a different environment for each. How do I code that in my initial form(login form)? I need help: My sample If dr.Read=true then Dim adp as New OleDbDataAdapter("Select * From tblUSer WHERE Security_Profile='User 1'","PATH") Dim dt as New DataTable adp.Fill(Dt) Homepage.Show() Homepage.Button1.Enabled=False Form3.GroupBox1.Enabled=False …

Member Avatar for Alphard
0
99
Member Avatar for cwarn23

Hi and I have just noticed with my media wiki installation that all of my pictures in mediawiki are suddenly broken. The files are there but if I enter the path location in the url bar it takes infinit time to load (never loads - no error). Same for in …

Member Avatar for cwarn23
0
216
Member Avatar for f_atencia

Hi all, I have an SQL Datasource: [code=asp.net]<asp:SqlDataSource ID="shownMovie" runat="server" ConnectionString="<%$ ConnectionStrings:MovieTix %>" SelectCommand="SELECT movie.title, movie.category FROM [movie],[session],[theatre],[cinema] WHERE cinema.cinemaLocation=theatre.cinemaLocation AND theatre.theatreNumber=session.theatreNumber AND session.movieID=movie.movieID AND ([movieID] = @movieID)"> <SelectParameters> <asp:ControlParameter ControlID="GridView1" Name="movieID" PropertyName="SelectedValue" Type="String" /> </SelectParameters> </asp:SqlDataSource>[/code] However, i get the following error message: Ambiguous column name 'movieID'. Basically I …

Member Avatar for jbisono
0
140
Member Avatar for Tajna

Hello! I wonder how and where can I see a sqlite database that i have created in c++, if it is possible at all? I would like to see if the db exist, and what are the inputs, to check if i have inserted valuations properly.. Thank you. T :)

Member Avatar for Tajna
0
79
Member Avatar for darangho

Hi, all I am completely new to webprogramming and I am trying to make a table with expand and collapse feature. When clicking on each row from table, the row should expand and display other information below. I already got partially working, but this only works for the only the …

0
244
Member Avatar for procomp65

Hi I need to format a decimal value to time and then display it in a textbox in the proper format. eg: double value = 1.25 to "1:15" I do not have a clue how to go about it Thanks

Member Avatar for procomp65
0
3K
Member Avatar for vextorspace

Hello, I am trying to compile a working opengl project into an executable for windows. I ran into several import issues in the python imaging library, Numeric, and OpenGL. I managed to resolve all but the OpenGL ones. There is quite a bit of conflicting info on the subject out …

Member Avatar for vextorspace
0
177
Member Avatar for aycmike

Im attempting instal xamplite but apache wont run for some reason. Ive tried reinstaling it and the regular xamp but the same error keeps occuring! Ive included the technical details below, any help would be much appreciated! I just want to get learning PHP .... Technical Information C:\DOCUME~1\MICHAE~1\LOCALS~1\Temp\WERcf37.dir00\httpd.exe.mdmp C:\DOCUME~1\MICHAE~1\LOCALS~1\Temp\WERcf37.dir00\appcompat.txt Error …

Member Avatar for aycmike
0
65
Member Avatar for shashikant.v

public class OpenMenuListener implements ActionListener { public void actionPerformed(ActionEvent ev) { if(ev.getSource() == a) { f2 = new JFrame("shashikant verma"); p2 = new JPanel(); f2.getContentPane().add(p2); String str = "<html>"+"<h>"+"<P ALIGN = \"CENTER\">"+"<i>"+"<font size = \"10\">"+"<font color= \"#800080\">"+"CORRECT DEFINITION AND<br>"+"STRUCTURE OF FUNCTION y = f(x) "+"<br>"+"</i>"+"</h>"+"<P ALIGN = \"LEFT\">"+"<font size = …

Member Avatar for shashikant.v
0
218
Member Avatar for TomB1988

Hi there, I'm implementing a small e-mail sending method in the program I am currently writing and heard that CDO was a good way of doing it. I have no experience with it in the past, and the only tutorials I have come across are aimed at web-based apps using …

Member Avatar for TomB1988
0
110
Member Avatar for BeckyAnne87

Hi, I am having a little access/control issue. I can add a user to the database using a signup page, go back to the login page, and then log in using the new user. but if i click on a link to go to anoher page that requires the user …

Member Avatar for BeckyAnne87
0
135
Member Avatar for phoenix911

hey every1 im struggling with something simple, that i cant figure out, or im on the wrong track. the user must enter an id of any sort, 1 - 8 numbers, if it is less than 8 numbers it must be left padded with 0s. and the 1st character must …

Member Avatar for phoenix911
0
606
Member Avatar for nida afaq

Hi, there is a simple code,but i cant understand the output: [CODE]#include<iostream.h> #include<conio.h> void main() { clrscr(); int x=10; cout<<++x<<" "<<++x<<" "<<++x<<endl; x=10; cout<<x++<<" "<<x++<<" "<<x++<<endl; getch(); }[/CODE] output: 13 12 11 12 11 10

Member Avatar for kvprajapati
0
140
Member Avatar for dragonbone

I try write about binary tree , but i have some troubles , I insert some symbols into binary tree by 2 function insertLeft () and insertRight () ...When i display the symbols i see to lack some symbols .. who can help me ???thank very much [CODE]#include<stdio.h> #include<conio.h> #include<string.h> …

Member Avatar for dkalita
0
218
Member Avatar for movie55

Hi guys, I was running a simple code on Fedora 11. it has this error " segmentation fault". The code is too simple to have any mistakes........ Can anyone help me with this? What is this "segmentation fault". Thank you very much. #include "stdio.h" int main() { int T[1001][4001]; int …

Member Avatar for dkalita
0
76
Member Avatar for bops

Hey, I am trying to recursively retrieve the directory listing of a given directory that is, print out all files and folders (and sub folders) of a given directory. My function #1 does not work, however the function someone else has written #2 does. Why is this? My Function #1: …

Member Avatar for jean3167
0
142
Member Avatar for danielschealler

Reposting from [url]http://www.mentalis.org/forum/thread.qpx/971[/url] because I need an answer. I hope you guys can help me out. The component in question is Org.Mentalis.SecurityServices.dll. Hey all. I'm having troubles. CryptographicException: Couldn't acquire crypto service provider context. StackTrace: at Org.Mentalis.SecurityServices.Cryptography.CryptoHandle.CreateInternalHandle(IntPtr handle, String container) at ORG.Mentalis.SecurityServices.Cryptography.CryptoHandle.get_Handle() at Org.Mentalis.SecurityServices.Cryptography.RC4CryptoServiceProvider.ctor() at I had to copy that …

Member Avatar for danielschealler
0
438
Member Avatar for TGeorge824

Can you return an array of structs in a function? I'm supposed to make a linked list where the node contains an array of structs. I'm using a grocery list thing as my array of structs. [CODE] struct grocery{ char *name; float price; }; struct node{ struct grocery list[5]; //no …

Member Avatar for dkalita
0
127
Member Avatar for lotrsimp12345

[CODE] void my_int_sllist::pop_back() { //head and tail pointers cout<<"enter pop_back"; //contains one node if(head==tail) { cout<<"enter head==tail?"; delete head; head=tail=0; siz--; } else { cout<<"enter's other condition"; my_int_node* temp; for(temp=head; temp->next!=tail; temp=temp->next) { delete tail; tail=temp; tail->next=0; } siz--; } } [/CODE]

Member Avatar for lotrsimp12345
0
1K
Member Avatar for kirtichopra

hi all i want to read CSV file how can i do that please help me with a bit of code Thanks Kirti

Member Avatar for pooja.ui7
0
205
Member Avatar for Learning78

Hi; I need help woth random number generation. I am developing a game show which has more than 100 questions and for each question there are 4 options. I am using a random function which ranomizes the value of t (row value of database). But the problem is that I …

Member Avatar for sknake
0
119
Member Avatar for icemokka

Hi, We are planning to upgrade an existing VB6 application to C# ( VS2008 ). ADO.Net follows more a disconnected strategy when accessing Data. I'm thinking about giving the Entity Framework a shot since using an ORM-tool is higly recommended if you want to speed up the development. And EF …

Member Avatar for sknake
0
522
Member Avatar for samir_ibrahim

I am creating a form that will filter datagridview while typing in a textbox. I came through this error and I would like to know why is occur. [CODE=vb.net] Dim dt As DataTable = Ds_Pos.Employees Dim dv As New DataView(dt) 'findcrit is declared as string public and it contain a …

Member Avatar for samir_ibrahim
0
151
Member Avatar for linkpraveen

Hello All, Where is the memory allocated for Value TYpes which are part of a class, when you create an instance of the class, it goes on heap, where is the memory allocate members which are of value types in the class? Class Customer { private int _customerID, private string …

Member Avatar for sknake
0
155
Member Avatar for Arman Majumder

A program that creates a grid panel of desired [FONT=&quot]dimensions [/FONT]and changes the colour randomly of each grid box upon dragging the mouse over the selected region.

Member Avatar for amos wang
0
198
Member Avatar for Mongz

Hi once again Im trying to use sessions, im passing a value from login page and using it on another page, now i recieve this error "Object reference not set to an instance of an object." here im passing it Session["UserName"] = Login1.UserName; then accessing on different page like this …

Member Avatar for sknake
0
66
Member Avatar for mjc225

Greetings, I have just developed a content-managed, database-driven application application that makes heavy use of postbacks and session variables. We own the domain that the site was designed to be hosted on, however, the customer does not want our URL showing. The solution our firm has used in the past …

Member Avatar for Kusno
0
222
Member Avatar for funlovingashish

hiiii, i have to build a secure web application using jsp, for which i have to implement SSL. I have generated the certificate using java keytool but as soon as i edit my server.xml file to enable connector port for https (8443) and add the other attributes like keystore,storepass and …

Member Avatar for funlovingashish
0
226
Member Avatar for marangajared

I want to create or export data from the database (SQL Server 2005) to a text file. the data I need is for THAT DAY ONLY. The text file is required by another system and therefore at the end of the day, I need a report on txt for the …

Member Avatar for Kusno
0
141
Member Avatar for ryno365

I'm trying to learn some struts through this tutorial: [url]http://www.netbeans.org/kb/docs/web/quickstart-webapps-struts.html[/url] Now I've completed everything but I'm getting this weird error in the browser: [QUOTE]type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: An exception occurred processing JSP page …

Member Avatar for kvprajapati
0
176
Member Avatar for walter clark

Using Visual C++ (CLI type) I can place a rectangle of any width and color on the screen where the ends are defined by the calls to ->MouseDown and ->MouseUp. But I'd like to see the rectangle grow while I'm holding the mouseButton down. It seems like I should be …

Member Avatar for Cosmin871
0
104

The End.