132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sowmyav

Hi , I have a VB program.I would like to convert the VB program to .exe file so that if i want to execute the vb program, I need to just double click on the .exe program.Hope this is clear. I am new to VB so will be good if …

Software Development visual-basic
Member Avatar for ryan311
0
116
Member Avatar for cplspls

I am kind of a neophite and I need your help in the following; How do you right justify the field output in the <iostream> headerfile and how would one determine the compiler one is using/

Software Development c++
Member Avatar for cplspls
0
96
Member Avatar for firoz.raj
Member Avatar for Pgmer

Hi all in my appliction i want to send the document through mail i.e: outlook here is my code Dim myWS As Object Dim RegKey As String Dim Key As String Key = "HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\" 'access Windows scripting myWS = CreateObject("WScript.Shell") 'read key from registry RegKey = myWS.RegRead(Key) If RegKey = …

Member Avatar for Pgmer
0
1K
Member Avatar for goodluck4287

Just got the wonderful Line is longer than 80 characters error. I realize this could very well be a n00b question ;-) I tried splitting after the ":" putting both lines in brackets and connecting them with + " but didn't work well for me, anyone know how? [CODE] public …

Software Development java
Member Avatar for stephen84s
0
77
Member Avatar for manoj_582033

Hi Friends I am working in vb.net,i have a form in that, which windows state is normal & it starts on normal position but if another form is open on that application which windows state is maximize,& then if i open that form so that also become maximize, But I …

Software Development vb.net
Member Avatar for Teme64
0
196
Member Avatar for neovo-88

Hi everyone, I was wondering if anyone can help me. I got two forms I can send data from one form to the other one when I press the SEND button. I’m trying to get data from one form to the other when I press the ‘GET’ button, to get …

Software Development vb.net
Member Avatar for manoj_582033
0
136
Member Avatar for andy_aphale

hey frnds, i am planning to create a mini project for my colg project work. the idea is i am trying to create a anti-virus with the database of 100 virus but the problem is that i need a code to kill the process from the task mgr. because to …

Software Development visual-basic
Member Avatar for 4ukh
0
113
Member Avatar for singhraghav

Hey guys! i Have a prblm writing a program, i hope i can find help here.... in the prgram i have to take user input on gender as 'm' or 'f' or 'male' or 'female' or 'Male' or 'FmAle'.... what i mean is i the input should not be case …

Software Development c++
Member Avatar for unbeatable0
0
103
Member Avatar for Merkava

Hello All, I am trying to write a batch file that will allow me to open several browsers at the same time. For example, I want to open [url]www.google[/url] in one browser and [url]www.yahoo.ca[/url] in another browser and so on..... What is happening is that I one browser with google …

Software Development
Member Avatar for Merkava
0
78
Member Avatar for kruglok

Any one could help me to write a program that lets the user order a hamburger just the way he or she wants it. The GUI should allow the user to enter his or her name. It should also allows the user to select any combination of the following toppings: …

Software Development gui python
Member Avatar for shadwickman
0
142
Member Avatar for mckillmt

I am trying to program a game and am having trouble with collision detection. I am trying to get the "monsters" to chase the "knight" when the knight gets close. I am using Panda3D to run the game. I have three classes, the Knights Quest, monster, and wasdCamera. I am …

Software Development python
Member Avatar for shadwickman
0
90
Member Avatar for shadwickman

Hi, I didn't really know how to word the title, but I was just wondering if it was possible to write a function and make it accessible as if it was any other str function. It was a simple (but useful) few lines which returned a list of all the …

Software Development python
Member Avatar for shadwickman
0
160
Member Avatar for neovo-88

Hi everyone, I was wondering if anyone can help me. I got two forms I can send data from one form to the other one when I press the SEND button. I’m trying to get data from one form to the other when I press the ‘GET’ button, to get …

Software Development visual-basic
Member Avatar for aktharshaik
0
105
Member Avatar for daviddoria

I am trying to output 00001 instead of just 1, so I do this: char pos[5]; sprintf(pos, "%05d", 1); string Index = (string) pos; It works just as I'd expect - if I cout << Index it says 00001 However, it is breaking something totally unrelated. On the next line, …

Software Development c++
Member Avatar for grumpier
0
224
Member Avatar for Prahaai

Good day. I've been trying to port HGE ([url]http://hge.relishgames.com[/url]) to Python for more than 4 months now... HGE is a hardware accelerated 2D game engine. It comes with the source and examples. In the folder "include", you can find "hge.h", the file that i am talking about in all the …

Software Development python
Member Avatar for Prahaai
0
303
Member Avatar for clueless101

[quote] Once again, I can get part of my code to work, but not all. When the user inputs more than one sentence [I](ending with either a period, question mark or exclamation point), [/I]each sentence should be capitalized accordingly. However, it only works with the first sentence to work. Does …

Software Development java java-swing
Member Avatar for ~s.o.s~
0
128
Member Avatar for mn_kthompson

I've been trying to step into learning wxpython, so I followed some examples on the web and put together this very simple application. The good news for me is that it is working almost exactly as I would expect it to. I do have a couple of questions for the …

Software Development python
Member Avatar for Stefano Mtangoo
0
485
Member Avatar for shankhs

I have just started learning C#.... But I am not getting any good place or book to learn I know C/C++. I would also like to learn .NET(I have no idea what it is). Can you suggest some book or place from where I can start with?

Software Development c#
Member Avatar for Ved_TheOne
0
144
Member Avatar for manoj_582033

Hi Fiends, How can i add new rows in datagridview on run time. accualy I have a table, in which i have Many records But i want some specific records on datagridview .& for that I am using If condition , & whic records are correct accoding to that if …

Software Development vb.net
Member Avatar for manoj_582033
0
80
Member Avatar for VBNick

i have a struct with an array of three points in it, for example: struct POINTS { POINT pts[3]; }; then I have another struct with two single points in it like this: struct EDGE { POINT *p1, *p2; } is there a way to set p1 to a single …

Software Development c++
Member Avatar for Murtan
0
152
Member Avatar for mmeyer49

For some reason my grid will not display in my program. Can you tell me what i would have to do to fix it. In all logic its right i think [code] #include <cstdlib> #include <iostream> #include "color.h" #include <conio.h> using namespace std; using namespace Petter; void title(); void credits(); …

Software Development c++ display
Member Avatar for Murtan
0
115
Member Avatar for elitedragoon

Please help, I keep getting error C2664: 'State_Tax' : Cannot convert parameter 1 from 'float *' 'to float' [CODE] #include <stdio.h> #include <stdlib.h> #include <string.h> #include "./myheader.h" void Calculate_Taxes(float gross, float deferred, float *federaltax, float *statetax, float *ssitax); float Federal_Tax(float deferred, float gross); float State_Tax(float federaltax); float SSI_Tax(float gross, float …

Software Development c++
Member Avatar for elitedragoon
0
734
Member Avatar for robgeek

I am writing a program in which a print function takes in users' street address(string), city (string) , state (string), zip(int). What will my return be for this function? My code snippet is this: [code] string addressType::print_add(string str, string Cit, string St, int Z) { cout<<str<<endl; cout<< Cit <<","<<St<<endl; cout<<"Zip: …

Software Development c++
Member Avatar for Ancient Dragon
0
165
Member Avatar for robgeek

Hi I am writing a address book program that is giving a run time error. Please if someone can compile and check this error, and then explain/ show me how can I resolve it. I am pasting my code in parts here as well as attaching the files. Also please …

Software Development c++
Member Avatar for robgeek
0
131
Member Avatar for Sgtplank

hey guys, ok ive got a program ive got to hand in fast, practicaly works just got to errors so a quick reply would be greatly appreciated. [code=java] import java.util.*; import java.io.*; class Assignment7{ public static void main(String[] args)throws Exception{ File input1 = new File (args[0]); File input2 = new …

Software Development java
Member Avatar for Ezzaral
0
116
Member Avatar for cpeeyush1

i am trying to learning c++ and i have a basic or i can say good knowledgeof c so please tell me the link of free ebook (pls don't tell any rapid share link) -PC(INDIA)

Software Development c++
Member Avatar for William Hemsworth
0
94
Member Avatar for Nina 4 Ever

Hello every body. i'm new here , and i didn't have the chance to introduce myself.i will,later...but for now:...i need help designing a mini C# compiler...i tried to find something practical to implement the symbol table using a hash table, but i found nothing really useful on the net...any ideas??? …

Software Development c# c++
Member Avatar for Nina 4 Ever
0
360
Member Avatar for it2051229

I'm creating a java program that in every second there is a data stored into my table. I made use of THread.sleep(1000) to pause the for loop in every second.. But when my program runs, it freezed for 10 seconds because of the condition of my for loop where the …

Software Development java
Member Avatar for Ezzaral
0
94
Member Avatar for mmeyer49

im working a pretty advance program which is a huge jump from what we were doing. 1) im having problems displaying the grid and the robots. its suposed to refresh each time the rounds end. 2)Not really sure on how to assemble my functions =/ the most functions we ever …

Software Development c++
Member Avatar for Lerner
0
153
Member Avatar for chris5126

Hi guys, Will keep this short and sweet. Trying to do integer devision to *decimial places but i dont think the version of ksh installed on solaris 10 supports this as they would need to be declared as floats. Is this correct? If there isnt a way of doing it …

Software Development shell-scripting
Member Avatar for Fest3er
0
137
Member Avatar for Andrew Wiggin

I am trying to use shutils to copy a folder but it throws errno 13 at me. The traceback points to open() as the culprit. I wrote a test script: open(raw_input("Filename: ")) this is the result: Filename:e: Traceback (most recent call last): File "C:\Documents and Settings\talvey\Desktop\testOpen.py", line 1, in <module> …

Software Development python
Member Avatar for lllllIllIlllI
0
17K
Member Avatar for k33l

I'm trying to sort a Linked List of type T. Here's the parameters for the function that sorts it: [code]void quicksort(SinglyLL<T> & A, bool (* needSwap)(T &, T &))[/code] needSwap is actually a function pointer that just helps in deciding if swaps are needed - there are two different functions …

Software Development c++ linked-list
Member Avatar for Narue
0
687
Member Avatar for freelancelote

Hi all, let's say I have a string object. I can cout the string literal by just stating the name of the object or I can use the data function. [CODE=cpp] string myStringObj = "Hello World!"; cout << myStringObj; cout << myStringObj.data();[/CODE] So, why do we have a function like …

Software Development c++
Member Avatar for Narue
0
104
Member Avatar for monere

Hello, Thouh i am 60 years old i am still a beginner in c++ and i need some directions from more experienced programmers. The following code successfully reads file clip1.txt. I want to replace the quoted file "clip1.txt" with an expression or a variable or a pointer as i have …

Software Development c++ ios
Member Avatar for monere
0
85
Member Avatar for ezkonekgal

i am trying to write a code that stimulates an simple ATM. i have two class, one for the Bank Account and another for the ATM itself. [code] public BankAccount(String name1, int acctNum, int pinNum ){ name = name1; accountNumber = acctNum; pinNumber = pinNum; balance = 100.00; } public …

Software Development java
Member Avatar for BestJewSinceJC
0
2K
Member Avatar for clutchkiller

[code=c++] #include <iostream> #include <windows.h> #include <cstdlib> using namespace std; int main() { SetConsoleTitle("The Guessing Game!"); int guess; int clue; srand ( time(NULL) ); int num(rand() % 25 + 1); int total; cout << "Hello Internet\n"; Sleep(2000); cout << "Today, we are going to play the Guessing Game!\n"; cout << …

Software Development c++
Member Avatar for clutchkiller
0
108
Member Avatar for mybluehair

Hi. I am making a c++ console program, and I wanted to add a new feature. but to do this, the guy said i needed a library named curl. Ive only installed 1 library before, but the instructions were VERY straight forward. i have been researching how to install curl …

Software Development c++
Member Avatar for Salem
0
104
Member Avatar for cleber

Good day, I started to program c# some days ago and I´m having difficulty to read a text file. I wrote the code below to read the following line of a text file: AdmPassword=�‘“•—™ All caracters of the password have decimal values between 128 and 255. The problem is . …

Software Development
Member Avatar for hieuuk
0
80
Member Avatar for Generalcoco

This is my Final Project and as you can see my program asks the users twice for the test grade I am trying to consolodate and have the program only ask for the test score once and give the letter grade at the same time.? any ideas I do not …

Software Development java java-swing
Member Avatar for Generalcoco
0
89
Member Avatar for santhanalakshmi

Hi, I want to add one "Save Button" on web page.I am working on ".cgi" program and using "sql server 2000" database.Datas are retrieving from the database and displayed as on html page(datas are student records (i.e) marks,grade etc).In that displayed page,i want to add "save button".By clicking save,it should …

Software Development perl web-server
Member Avatar for KevinADC
0
96
Member Avatar for schmidty169

I've tried various things to get the datagrids to update. If I close the application and reload it then I see the changes to the database. If I do a transactions I don't see them until I reload it. This is where I currently left off. [code] bank_Account_DatabaseDataSet.GetChanges(); bank_Account_DatabaseDataSet.Savings.AcceptChanges(); this.savingsTableAdapter.Fill(this.bank_Account_DatabaseDataSet.Savings); …

Software Development
Member Avatar for schmidty169
0
134
Member Avatar for oldSoftDev

I just started java installed everything that I was required. I just completed my python class. for just trying a java code I tried this code. code: [code=java] /** * This program lets the user play HighLow, a simple card game * that is described in the output statements at …

Software Development java
Member Avatar for jbennet
0
140
Member Avatar for das_das

hello there are 19+ sets of Mock test for SCJP 6.0 and SCJP 5.0 available at [[link removed] It is help full for all so i am putting here ... I am not the owner of the website ..

Software Development java
Member Avatar for verruckt24
0
83
Member Avatar for Filipe11

I have a form with a tabcontrol, and I would like to know whow to do that the tab follow the form,that means, to maximaze the tabcontrol to!forgive me about my english...

Software Development
Member Avatar for ddanbe
0
115
Member Avatar for dmanw100

I always wondered if it is possible in Windows to read in general file information (size, created date, modified date, etc) and then modify that data? If it's possible, how can it be done?

Software Development c++
Member Avatar for low_coder
0
138
Member Avatar for mybluehair

I have a new feature for my c++ console program. its an updater feature. the updater goes online to my website and downloads a txt file, then the updater reads the file, to see if the program is up to date. but theres a problem. the updater is a whole …

Software Development c++
Member Avatar for dmanw100
0
84
Member Avatar for keyser_soze

hey...i want to understand how following code works : [code=c]int x=1; printf("%d%d%d",x,++x,x); [/code] [code]OUTPUT: 222[/code] also [code=c]int x=1; printf("%d%d%d",x,++x,x++); [/code] [code]OUTPUT: 221[/code] actually these o/p are produced when i use [B]visual c++[/B] compiler but when i wrote the same commands in [B]turbo c[/B] they gave perfectly understandable o/p as [B]221[/B] …

Software Development c
Member Avatar for keyser_soze
0
150
Member Avatar for bharanidharanit

Hello sir, I am having 3 linklabels on the form and 1 button. Consider these are the linklabels. a b c When "a" is clicked, button is visible on the form and when i click the button HTML output is displayed (i had already attached HTML pages to my project …

Software Development vb.net
Member Avatar for Teme64
0
169
Member Avatar for GrahamShaw2008

Where do I locate the logical or on my keyboard? Thanks for your help in advance.

Software Development c
Member Avatar for GrahamShaw2008
0
2K

The End.