199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Anwarmt

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 …

Member Avatar for poguemahone
0
140
Member Avatar for bharanidharanit

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]

Member Avatar for Teme64
0
77
Member Avatar for madrikh

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). …

Member Avatar for madrikh
0
158
Member Avatar for CPPRULZ

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: …

Member Avatar for grumpier
0
158
Member Avatar for Joaoalex7

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 …

Member Avatar for BestJewSinceJC
0
709
Member Avatar for BobTheFish

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 …

Member Avatar for BobTheFish
0
81
Member Avatar for Tank50

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); …

Member Avatar for culeu
0
136
Member Avatar for uppibhay

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....

Member Avatar for Salem
0
83
Member Avatar for athar89

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 …

Member Avatar for Murtan
0
185
Member Avatar for AnilKumar_502

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 …

Member Avatar for Ramy Mahrous
0
142
Member Avatar for ddanbe

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 …

Member Avatar for Ramy Mahrous
0
143
Member Avatar for wallish

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, …

Member Avatar for Ramy Mahrous
0
212
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
114
Member Avatar for manzoor

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 …

Member Avatar for Salem
0
202
Member Avatar for danibootstrap

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 …

Member Avatar for sanmay
0
184
Member Avatar for sheff21

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 …

Member Avatar for ~s.o.s~
0
159
Member Avatar for mostermand

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; …

Member Avatar for mostermand
0
4K
Member Avatar for berting

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

Member Avatar for ajay.krish123
0
96
Member Avatar for confusedGirl

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% …

Member Avatar for BestJewSinceJC
0
202
Member Avatar for rajkishore

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 …

Member Avatar for rambabuk1222
0
66
Member Avatar for sonia sardana

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 …

Member Avatar for rambabuk1222
0
93
Member Avatar for kazman

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.

Member Avatar for Salem
0
54
Member Avatar for Clockowl

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 …

Member Avatar for Salem
0
113
Member Avatar for theimben

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] …

Member Avatar for mschroeder
0
176
Member Avatar for Alishaikh

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 |**** …

Member Avatar for ~s.o.s~
0
117
Member Avatar for nokomoli

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 …

Member Avatar for huangzhi
0
695
Member Avatar for jeffc418

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 …

Member Avatar for death_oclock
0
424
Member Avatar for serkan sendur

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?

Member Avatar for eggi
0
304
Member Avatar for dcparham

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 …

Member Avatar for Ramy Mahrous
0
161
Member Avatar for nmakkena

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] …

Member Avatar for ddanbe
0
135
Member Avatar for chound

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 …

Member Avatar for spiriad
0
169
Member Avatar for orwell84

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 …

Member Avatar for orwell84
0
207
Member Avatar for bugmenot

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 …

Member Avatar for bugmenot
0
381
Member Avatar for lllllIllIlllI

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 …

Member Avatar for lllllIllIlllI
0
115
Member Avatar for amit.turkaspa

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 …

Member Avatar for ajay.krish123
0
423
Member Avatar for NewtoC++

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 >> …

Member Avatar for NewtoC++
0
18K
Member Avatar for ashafaaiz

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 …

Member Avatar for gotmick
0
185
Member Avatar for beaute

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 …

Member Avatar for Rashakil Fol
0
221
Member Avatar for BattlingMaxo

What is the difference between hkeletal animation and procedural animation? I get different answers each time BattlingMaxo

Member Avatar for BattlingMaxo
0
259
Member Avatar for Paryushan

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 …

Member Avatar for KevinADC
0
119
Member Avatar for wwwmadeasy

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 …

Member Avatar for wwwmadeasy
0
164
Member Avatar for reallm

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,

Member Avatar for Crisboot
0
311
Member Avatar for aminit

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 ??? …

Member Avatar for AnilKumar_502
0
77
Member Avatar for Anamika1

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

Member Avatar for galaxyweblinks
0
155
Member Avatar for kischi

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 …

Member Avatar for Ramy Mahrous
0
511
Member Avatar for oky20

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 …

Member Avatar for oky20
0
107
Member Avatar for changdeoJ
Member Avatar for Ancient Dragon
0
55
Member Avatar for nymph

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 …

Member Avatar for nymph
0
126
Member Avatar for scrypter

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 …

Member Avatar for ArkM
0
166
Member Avatar for mrnutty

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)... };

Member Avatar for ArkM
0
89

The End.