199,114 Archived Topics
Remove Filter ![]() | |
Hi I have been working as an Sr S/w Engg on the platform VB6, SQL Server 2000, and Crystal report. I joined a new company recently and they have plans to migrate their VB6 product to Web based product. I am very enthusiat to get myself into Dot net platform … | |
Hello sir, I am having one tabcontrol and many tabpages in it. I want to activate it with the button control. so when i click button1, tabpage2 must be shown. and so for button 2 etc. so i used the code below, but not working. [CODE] Tabpage2.show() [/CODE] | |
I'm just tarting with wxPythjon. I wrote this simple program to get some experience with panels.. It wants to open a frame and add a number of euivalent panels, each with an inactive button. And it does seem to do tht (the sizing is fixed because it's only a toy). … | |
Hi, I was making a pogram to demostrate static variables and I don't know why my compiler (VS 2005) is giving me these crazy errors that my book im using said I shouldn't be getting. Here is my program, please help: header: [code=C++] class number{ private: static int num; public: … | |
Hello I'm having some trouble writing to text and object files in java. Basically i need to delete the contents of the file before i write the new information on it...which i'm not being able to do. well this is what i have in terms of code for the text … | |
My applet runs fine when it's in the same directory as the html, but when I put it in another directory, Java console says it can't find the file. When I copy-paste into my browser the address I'm specifying for 'code' in my applet tag, it finds the file without … | |
Hi I have dropdown list in my asp.net page.I wrote a below coing coidng in the `SelectedIndexChanged`, protected void cmb_Se_SelectedIndexChanged(object sender, EventArgs e) { SqlConnection con=new SqlConnection("Data Source=20.1.2.58;Initial Catalog=Customer;User ID=test123"); string str = "select ExecutiveName from Executive where TeCode='"+cmb_Te.Text+"'"; con.Open(); SqlCommand command=new SqlCommand(str,con); SqlDataAdapter adpter=new SqlDataAdapter(command); DataSet data=new DataSet(); adpter.Fill(data); … | |
Sirs,I w'd like to build on a website wherein i've a text box n accept code from user.I then w'd like to run code and display output in page. Something like [url]www.codepad.org[/url]. Plz help me with this.... | |
I have written this parsing algorithm in c++ and compiled in visual studio.On runtime after giving the value it gives an assertion error. The logic is correct bcuz ive dry runned it but i think there's a problem with memory allocation.I need urgent help.Please. // sas.cpp : Defines the entry … | |
Hi All, I am new to .Net. I am converting a source which is in .net 1.1 to .net3.5. In 1.1 those people had used scritps for calendar popup. Let me show the sample code first In JSCalendar.aspx ---------------------------------- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="JSCalendar.aspx.cs" Inherits="JSCalendar" %> <!DOCTYPE html PUBLIC "-//W3C//DTD … | |
This is a nice site I found! [url]http://www.digilife.be/quickreferences/QRC/Core%20CSharp%20and%20.NET%20Quick%20Reference.pdf[/url] If you are coding and forgot the syntax of a switch statement or need some special format for a Console.WriteLine, you can find it here in a compact easy to overlook form. I have mine printed doubleside on an A4 and let … | |
Hi. I'm currently messing around with C# and decided to write a small game. One of the first things I am doing is setting up the game's GUI, which I am designing myself with help from XNA (but not Windows Forms). I've already made proof-of-concept buttons that can be placed, … | |
I was thinking of Separating functions from GUI. I want when have different classes of GUIs that share functions, then I will have one class full of function/methods on need. However I failed to separate them, for I could not make instance of Functions class in the gui class in … | |
How to find the top n elements without sorting the array? Is this possible??? Well I don't want to sort the array because the order is mandatory? After I have found the top n elements I want to modify them? Is there any certain algorithM?? Help ??? this is no … | |
I have a C code and I when I compiled it as just a single file it did .But now I want to make a project and when I created the main.c with the same code I am getting the following error. Makefile.win:29: *** multiple target patterns Build error. Can … | |
My friend and I are working on a school project and our hope was to have a Java program take a zip code from the user and then connect to weather.com (or any other web site) and look up the local weather. I assume this is possible but I cannot … | |
Hi i am trying to make a notepad like program. The problem is that when i try to display some text nothing happens. If someone could help me i would really appreciate it. The function call: [code=c++] ... SetWindowText(edit, "TEST"); ... [/code] Creation of edit: [code=c++] ... HMENU Menu, SubMenu; … | |
i need to write a program which inputs an integer value, checks that it is possitive, and outputs its factorial,using formulas factorial(0)=1 factorial(n)=n*factorial(n-1) sample output: input possitive number: 6 factoral of 6is: 720 | |
Hi all I have a [COLOR="Red"]miniproject [/COLOR]I need to submit tomorrow ,but I didn't finish it.. Please if any member have a time to check it for me,,tell me so I can send my whole work... I really will appreciate your help Please help me ....Iam so sad its 50% … | |
hi all, i created an web application in which i have used sessions. when i run this application on IIS its working fine, but when i hosted on another webserver(EasyCgi) the sessions are not working. can anybody please help. i even used Session State and Session mode in my WEB.CONFIG … | |
can Somebody send me the Simple program that just displays the title=My First Project & sonia on the Screen. I m tryimg the program but not getting it because i m new to the ASP.net.....I do not know whether to write the code in default.aspx or default.aspx.vb. [code] <%@ Page … | |
Hi, I have got an instruction in binary shown below; [B]10001101001010000000001010000000[/B] and I need to provide the [B] ALU control signals[/B] for this binary. could you please help how to do it by giving a hint? thx. | |
Hey guys, This program gives me a nice segfault (on line 27 and if it's removed on the realloc() below that) and I can't seem to figure out why. Any help is greatly appreciated. [code=c] #include <stdio.h> #include <stdlib.h> #include <string.h> /* Parses parse_this for tokens using strtok() with seperators … | |
Im tring to replace a string. But it just doesnt work for some reason. Ive tried str_replace and preg_replace but neither have worked. My script basically caches a webpage then replaces a given string. The problem is replacing the string then saving it. Could you please help me out... [code=php] … | |
Hello everyone, I am AP COMPSCI A for my school and I trouble with this program. In the program you have to enter numbers from 1-100. And print a chart of how many numbers were between 1-10, 11-20 and so on. Like this: 1 - 10 |* 11- 20 |**** … | |
hello Guys, I facing a sql query problem which is i need to join many query into one query. That is : a) [code=sql]SELECT sum(Total) As [MONEY1] FROM ((SELECT SUM(T1.Amount+T2.Amount) AS Total FROM TABLE1 T1 INNER TABLE2 T2 ON T1.ID = T2.ID) UNION ALL (SELECT SUM(T3.Amount+T4.Amount) AS Total FROM TABLE3 … | |
Hi everyone! I have a problem with a very simple solution I've just been unable to find :D Say you have a text file that says "My name is jeffc418. My name is kkeith29. My name is =IceBurn=." How do you get it to say just: jeffc418 kkeith29 =IceBurn= Would … | |
hi all, i want to associate some files with some programs like we do in windows platform. for example on the shell prompt if i type a file name(i am in that directory) i want it to be opened by gvim editor. how can i do that? | |
using PHP with mySQL, or ASP with msAccess 2000 on a win2000Server web server; also using a "rich text format" utility to allow formatting of text in a text area: when i use the mySQL command "UPDATE", and data from the textarea is written to the database, it adds erroneous … | |
How can I add items programatically into combo box control during runtime? I am trying like this. [B]expcombo.Items.Add(expcombo.Text); [/B] But given item is not saved. when I close the form and run the form again.. combo box is not showing that given item. I changed above statement like this [B]Messagebox.show(expcombo.Items.Add(expcombo.Text));[/B] … | |
In Borland C++ Builder 6, I used forms. I created a button and clicked on it. It went to the editor. I typed "form1. " waiting for autocomplete to work. But I got "error in source code". The source code was generated by the BDE. Why doesnt it work. I … | |
There was no forum for just general programming, so I decided to put this here. Just out of curiosity, does anyone know how you get from your programs running in terminal or command prompt to having them opening in their own window, with their own GUI? If anyone could shed … | |
Hy, I am trying to encode an X509 certificate into base64, and since the encoder I'm using takes only char*, and typecasting doesn't work, i find a different way to do this. I'm sure there is a simpler way, but i just can't find it. Here is the code: [CODE]BUF_MEM … | |
Hi I have been using classes for quite a while but there is still one concept yet that i havent ever quite understood and that is decorators. I have noticed Gribouillis uses them a lot so in some ways this question is directed at him. I would like to know … | |
hallo i wrote a program with 3 different functions. something wrong with her and i cant see it. [code=c] #include<stdio.h> int devide9(int num); int decimal_binar(int num); int binar_decimal(int num); int main() { int menu, num9, numd1, numb1, numd2, numb2, numfinal1; printf("\nHallo these are your options:\n"); printf("1. Check if your number … | |
Okay I am writing a database type of program, which will store data about people. I want to create a class: class Person { public: int age; int weight; int height; }; Okay now I want to do something like this: cout << " Enter name of person.\n"; cin >> … | |
Hi can anybody help me? I am working in a networked system. Just i want to search all the images in the H: drive. What i am exactly trying to say is, i want a search program exactly as 'istockphoto.com' of my own. Could you tell me this is possible … | |
Hello, I'm trying to understand Big O notation, specifically to understand how to calculate it for a given program. I have my lecture notes but I don't exactly get what they're saying. I understand that there is a solid definition of O(N). For example; [code]F(N) = O(G(N)) reads that F … | |
What is the difference between hkeletal animation and procedural animation? I get different answers each time BattlingMaxo | |
Hi, I am trying to write the output generated by a simple command "dir" to a file. Can you please help me do that? Here is what I am doing -- system ("dir"); this will run dir command on my D: drive now, I want to write this ouput (in … | |
hi there ... i want to Handel a select field in php but i could not ..so i was wondering if someone can help.... what i want is there will numbers from 3 to 40 listed in select field and when user select 3 3 text box will appear and … | |
All hi, Is it possible to send messages (SENDMESSAGE/PostMessage...) to HTML controls such as Input Type Text or lists? I am able to get/set the url,title but I can't get to the document. Can it be done? Would you show me how? Your help would be appreciated. reallm, | |
Hello All: I made a simple form in VC#, inside it there is textBox I want when I write the value inside this textBox it's must check it with one rows of the table inside dataBase if it's exist it print a message box else exit.....Any one can help ??? … | |
Hello, Is anybody know who is the father of the C language . Please tell me hurry its urgent . I am waiting for your reply. Thanks | |
Hi I have a problem when I am copying data from my excel document to sql server 2005. I have a document called database.xls Every time I try to copy files from the document to sql server. It comes up with an error. "Column 'tid' does not allow DBNull.Value." You … | |
can anyone help me? I've made an address book. But I don't understand how to sort the information in alphabetic order. And also the information which is written in information.txt is not neat. Does anyone know how to fix it ? here is my code.. [code=C]#include <stdio.h> #include <stdlib.h> #include … | |
| |
i am doing some network programming: i want to be able to switch lights in my house either on or off through the network,WAN.The lights are connected to a computer through the paralel port.i.e the computer is at home.i have achieved the control of the lights at LAN level. my … | |
Hi there, I hope this is not a major repeat question. I have a big class and inside it has smaller classes. What I am trying to do is call a function of the outer class from the inner nested class, such as: [CODE]class BigClass : public evenBiggerClass { int … | |
Can i call a class on another class. ex. class a { public: void add (int,int) ... //maybe call class b here.../// }; class b{ public : void mult(int,int)... }; |
The End.