199,114 Archived Topics
Remove Filter ![]() | |
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 | |
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 … | |
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. | |
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 … | |
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 … | |
does windows OS come with any built-in c compiler? without downloading any compilers can it compile c or any other language? | |
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 … ![]() | |
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. | |
[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': … | |
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. | |
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 … | |
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. | |
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 … | |
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 … | |
[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 … | |
hhmm.. are there functions to get mode and frequency in turbo C? :-/ | |
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 … | |
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] | |
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 … | |
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 … | |
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 … | |
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 … | |
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 :) | |
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 … | |
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 | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 | |
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> … | |
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 … | |
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: … | |
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 … | |
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 … | |
[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] | |
hi all i want to read CSV file how can i do that please help me with a bit of code Thanks Kirti | |
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 … | |
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 … | |
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 … | |
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 … | |
A program that creates a grid panel of desired [FONT="]dimensions [/FONT]and changes the colour randomly of each grid box upon dragging the mouse over the selected region. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.