132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for savedlema

Hi friends! First, I have read other similar threads but I haven't seen a complete match. It is my VB.NET app. I want the user to be logged out when a user closes the form/application by clicking the X at the right-top (to prevent the user from appearing to be …

Software Development vb.net
Member Avatar for gizidda
0
2K
Member Avatar for vishal anand.s

Hi my name is vishal i was wondering on how to make my global variable accept values from another table in c# windows forms with sql server 2008? So i am developing an application named:**Mini Project** which has a login form named:**frmLogin**. Given below is **c# code** of **frmLogin**: namespace …

Software Development c# data-structure open-source
Member Avatar for vishal anand.s
0
332
Member Avatar for xuexue

Hi! These are the basic things I know about iDB2Commands to be used in Visual Studio 2010. Could you please help me how could I extract data from DB2? I know `INSERT`, `DELETE` and Record Count. But `SELECT` or Extract Data and `UPDATE` I don't know. Imports IBM.Data.DB2 Imports IBM.Data.DB2.iSeries …

Software Development vb.net visual-basic visual-studio
Member Avatar for xuexue
0
1K
Member Avatar for dancks

I'm using beautifulsoup to grab text from HTML files. Buts its not perfect: For example it seems to keep css and javascript code that was added haphazardly. My overall goal is to make a list of words and their frequency to compare and contrast html files to categorize them. Dealing …

Software Development html-css python
Member Avatar for Gribouillis
0
298
Member Avatar for harde_1

I'm working on this Objective c programming assignement I found online. I not sure what part C is asking me to do?. I have tried doing a,b and d. Any help or suggestion will be appreciated. Part 6 a) Implement class A with properties a1, a2, and a3 (int, string, …

Software Development objective-c
Member Avatar for geojia
0
170
Member Avatar for frnds2vivek

Hi, I just completed a project in VB6. It was running smoothly when I tested it on my console, i.e. development PC. Then, I created a setup file of it using the InstallShield Wizard and tried to run it on a fresh test PC. The setup completed successfully but when …

Software Development visual-basic
Member Avatar for OrionBlastar
0
8K
Member Avatar for Somayeh_1

I am connecting to a repository for accessign to a code. I would like to run this code from the repository, but I read somewhere it is not possible to do that. What should I do to run a code from a repository?

Software Development java
Member Avatar for llaspina
0
183
Member Avatar for Sinz_1

- When i'm trying to delete the first number of list, something went wrong when i print the list? - Can anyone help me? Thanks so much T_T. - Here my code: #include <stdio.h> #include <conio.h> #include <stdlib.h> struct node { int inf; node *next; }; node *insert_head(node *first, int …

Software Development c++
Member Avatar for Schol-R-LEA
0
228
Member Avatar for Joemeister

Hello all, I am getting 3 errors when I try to use stacks when I want to evaluate a postfix expression. I am not very experienced with the usage of stacks so please be patient with me. Here is my code: //The postfix parameter is a postfix string that was …

Software Development algorithm c++
Member Avatar for iamthwee
0
331
Member Avatar for nravhad

How to read oracle control file's data using a shell script? Shell script is in Unix.

Software Development oracle shell-scripting unix
Member Avatar for tueglee
0
612
Member Avatar for laguardian

Hey guys! So the error I'm getting is "cannot reference hoursWorked before supertype constructor has been called". I've just recently learned about using abstract, extends, and the keyword "super". What should I do in order to get rid of the error? Am I missing something? Here's my code so far: …

Software Development java
Member Avatar for JamesCherrill
0
231
Member Avatar for gbhs

I have created a workbook template that will be used to collect some data from users. I want to restrict user input to numbers between 0 and 20 in each worksheet range A1:C5 (say). I know I can use a Macro like below to do it With oSheet Dim r …

Software Development vb.net
Member Avatar for cgeier
0
378
Member Avatar for Raaavennn

Hi please help me, im trying to make a program that only accepts numbers. What can I do to disable letters and special symbols? for example, I enter "sffsdttsfsjfs" / "!%#^$*$(" then the program would prompt that "Error: Letters and Special Symbols are not allowed" I saw a thread here, …

Software Development c++
Member Avatar for David W
0
227
Member Avatar for krunal1986

Hello, is it possible to create password protected pdf file using visual basic6.0? Thanks

Software Development pdf visual-basic
Member Avatar for Murad_Semreen
0
626
Member Avatar for gbhs

I have created a workbook using VB.net and I need to Hide all columns to the right of Column K in all worksheets. To hide column K alone I can do Worksheet.Range("K:K", missing).EntireColumn.Hidden = true How can I hide column K and ALL the columns to the right of column …

Software Development vb.net
Member Avatar for gbhs
0
4K
Member Avatar for MattuRocks

Hello, I'm using a modified version of a multiple client TCP server ([View here](http://www.drawbycode.com/blog/?p=218), and trying to have the server add an item to the listbox when a client connects. I have tested, and the client and server can communicate perfectly. I recieve the data from the client, I can …

Software Development listview vb.net
Member Avatar for cgeier
0
177
Member Avatar for Kris_3

So I just started using the Goto command and I have some trouble with it. I will post my code and explain the problem. cout<<"So here we are at your first choice."<<endl; cout<<"-Do you 'stand' there and TRY to get me out of your head..."<<endl; cout<<"Or do you 'follow' the …

Software Development c++
Member Avatar for mike_2000_17
0
204
Member Avatar for zack2313

Hi, I'm a at a very beginner level in Pascal and am learning it for my A-levels We're learning how to save, add, search records for a database console. I managed to do all of them, but I am having trouble with deleting records. In my procedure below, I'm trying …

Software Development pascal
Member Avatar for Jack_10
0
973
Member Avatar for JubalBarca

So, I'm writing a smallish adventure game in Python, which operates by means of commands being typed into a tkinter textbox, hitting enter or pressing a button to submit said commands, then there being a readout box that gives the results of whatever the action was. Now, what I'd like …

Software Development python tkinter
Member Avatar for woooee
0
3K
Member Avatar for Jack_9

Why learn Pascal or delphi? They are both old and not used much. So why learn them instead of a more popular language like Java?

Software Development delphi pascal
Member Avatar for Jack_10
0
222
Member Avatar for redrobby02

hi does anybody know how to hide Tabs on a TTabControl in a Firemonkey HD Application. I Need a component that behaves the same way as a JVPageList in a standard VCL Forms Application and this is the closest thing available that i know i can use. But i cant …

Software Development pascal
Member Avatar for Jack_10
0
181
Member Avatar for wanttocode

i'm unable to get my entered values i initialized array to enter student record and also write functions to get this done but when i call functions i can't get any value and all output is "null" package javaapplication10; import javax.swing.JOptionPane; public class JavaApplication10 { public int x=10; public int …

Software Development java java-swing
Member Avatar for Ralphael
0
113
Member Avatar for Yahia Farghaly

hi all, while i am learning the overloading operators ,i studied the following syntax ostream&operator<<(ostream &, classname&); i understand how it works but only something that i don't understand is the use of (&) with ofstream class ?at this point what's happening ? also i notice that i can do …

Software Development c++
Member Avatar for Moschops
0
452
Member Avatar for Yahia Farghaly

Hi all, for the code shown below , every thing is okey except few things i output the obj[i](sure the [] is overloaded) with the overloaded << but inside the operator definition i was outputing the m data member of the reference object,how ever it also outputs the m data …

Software Development c++
Member Avatar for David W
0
174
Member Avatar for gua543

I have no errors when public static void main(String[] args) is not in the program, but when I put it in everything becomes a mess. package classexample; public class ClassExample { public static void main(String[] args) { int Power = 0; int Speed = 0; int TraveledDistance = 0; void …

Software Development java
Member Avatar for gua543
0
439
Member Avatar for agent.orange

Guys how can i connect MS.ACCESS as my DATABASE in TURBO C.? Please help.. this is not an assignment.. i just want to know how....

Software Development c
Member Avatar for manishsaini09
0
351
Member Avatar for Jjajangmyeon

Nothing special - I just need to grab a line and slap it into a string - if(found == 1) { cout << "\n\n Please enter a new location for this event: \n"; getline(cin,newAct); cout << "New Account: " << newAct << endl; } else { cout << "\nEvent not …

Software Development c++
Member Avatar for vijayan121
0
185
Member Avatar for Jjajangmyeon

I'm new to using vectors, and I'm trying to declare a vector with size 1: vector<string> activities(1); I get an error with this code, can anyone explain why? G:\ManageActivities\Activity.h|11|error: expected identifier before numeric constant| G:\ManageActivities\Activity.h|11|error: expected ',' or '...' before numeric constant|

Software Development c++
Member Avatar for vijayan121
0
316
Member Avatar for Tu Dinh

Hi Everyone, I know this such Exception is not strange while doing J2EE, but I cant figure out how my app going wrong at this step. My Code is quite long, so I will post only what I think is relevant. For the full source code, please go to: http://code.google.com/p/eagleit/ …

Software Development apache java spring-framework
0
466
Member Avatar for maniagod

Can someone suggest a code that accepts (hh:mm:ss) and counts down until all variables reach 00

Software Development assembly
Member Avatar for Hiroshe
0
679
Member Avatar for george.iasthai

I want to change text and background color without clearing the screen. Ive used this code but it always clear the screen. mov ah, 2 ; use function 2 - go to x,y mov bh, 0 ; display page 0 mov dh, 0 ; y coordinate to move cursor to …

Software Development assembly
Member Avatar for Schol-R-LEA
0
9K
Member Avatar for nathan.pavlovsky

Is it poor convention to create a c++ file only to store various functions, and then include it into the main.cpp? This would be done so that the functions could be used in different programs as well.

Software Development c++
Member Avatar for nathan.pavlovsky
0
473
Member Avatar for jessicanguyen

The situation is I have to protect him now projects that reflect the sea is calling to fix security flaws in web Eg when running web path http://localhost:60864/DO_AN/Form_BA...px?MaBaiHat=11 (will appear 11 songs) and he asks that if anyone entered http://localhost:60864/DO_AN/Form_BA...aspx?MaBaiHat = ' or http://localhost:60864/DO_AN/Form_BA...?MaBaiHat=null web will surely fail immediately and …

Software Development asp asp.net vb.net
Member Avatar for stelios.zisis.18
0
121
Member Avatar for Kris_3

Hi guys so I am still learning and there might be an easier way to do thing than how i do them but still i need some help. So I was thinking of making a program in which it asks you a question , lets say Yes/No question and you …

Software Development algorithm c++
Member Avatar for Kris_3
0
134
Member Avatar for arunkumars

Hi, Need an help in reading a column value where there are addresses which holds data in any language, for now, when i try to read the column value i get ?????? instead of 世田谷. Any idea how to read this exact value back ? The insert worked properly. but …

Software Development
Member Avatar for cgeier
0
107
Member Avatar for mark_jason

Hi guys, I'm working on my homework: I have to use a data structure to store words read from input file, i chose AVL tree to be the data structure, i implemented the tree and tested it with hard coded words, it works fine. However, with words read from input …

Software Development data-structure file-system java
Member Avatar for Taywin
0
6K
Member Avatar for aluhnev

class Animal { string _name; string _type; string _sound; // private constructor prevents construction of base class Animal(){}; protected: // protected constructor for use by derived classes Animal(const string & n, const string & t, const string & s) : _name(n), _type(t), _sound(s) {} public: void speak() const; const string …

Software Development c++ visual-studio
Member Avatar for NathanOliver
0
225
Member Avatar for Jsplinter

I do not understand what the following code does: enum testEnum: unsigned char { FOO_ENUM, BAR_ENUM }; unsigned char sideFilter1 = 1 << FOO_ENUM; unsigned char sideFilter2 = (1 << FOO_ENUM) | (1 << BAR_ENUM);

Software Development c++
Member Avatar for NathanOliver
0
184
Member Avatar for amithunter

Actually i am confused with concept of database conectivity in c++ with any traditional Dbase server is it possible if yes then how....pls help Thanks for the help in advance

Software Development c++
Member Avatar for rubberman
0
208
Member Avatar for amithunter

Please help me to create a automaticcaly executable file in c .when cpu boot up it should automatically execute once. Thanks for the help

Software Development c
Member Avatar for amithunter
0
167
Member Avatar for Sarwat Zodiac

Hi everyone.. I made a small program by VB6, it is a Clock, but in the run time when the Second-hand is moveing the texts around the Circle vibrates !! How can I make these texts stable (no vibration) ? Thanks Sarwat

Software Development visual-basic
Member Avatar for Sarwat Zodiac
0
90
Member Avatar for Nebil

Hi, I've got a little issue with a progress bar.I have a label and the progress bar on a form.I've some calculation to be performed and then stored to the database.I wanted to show the progress of this process to the user.The calculation process is on another form.when the process …

Software Development vb.net
Member Avatar for Nebil
0
364
Member Avatar for kostareject

I have a problem with WebBrowser Control when I try to set attribute for password element. It simply doesn't work. The password field is always empty(setting attribute for txtUName element works fine, also currentElement.InvokeMember("submit") works well). Problem is only with password element). Here is my code: private void webBrowser_DocumentCompleted(object sender, …

Software Development html-css
Member Avatar for cgeier
0
633
Member Avatar for Otani

Hello, I'm a beginner in this site. I was just hoping that someone might be able to answer my question regarding to debugging a payroll. Here: #include <iostream> #include <conio.h> #include <string> #include <windows.h> #include <stdio.h> using namespace std; const string userName= "Username"; //assigns the username const string passWord= "Password"; …

Software Development c++
Member Avatar for Otani
0
783
Member Avatar for xuexue

Hi! I have no problem when trying to execute and `insert` or a `delete` SQL Command. However, this `update` command does not seems to work well and I am having a hard time to figure it out. Kindly help me please. I am using an i Series or AS/400 database. …

Software Development vb.net
Member Avatar for cgeier
0
509
Member Avatar for lovebird_huby

Could someone help me with a Shell Script OR a perl script which could read the below INPUT File and print output in format listed below. The logic I am looking for is to read each block within the asterisk line, then search for "until:". If the date of "until:" …

Software Development perl shell-scripting
Member Avatar for griswolf
0
185
Member Avatar for Kris_3

Hey guys. So I have made a little project but I want to give it to a friend to test it out. I am using Code::Blocks and I want to save the file so that when you click it it comes out like the window I get when I run …

Software Development c++
Member Avatar for Kris_3
0
128
Member Avatar for Pravinrasal

Following is my program i need to add scroll to jframe and I have paint method in it package other; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Container; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.ScrollPane; import java.awt.Stroke; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.geom.Line2D; import javax.swing.*; public class MainDrawCycle extends JPanel implements ActionListener { …

Software Development java java-swing
Member Avatar for Pramodkumar_1
0
7K
Member Avatar for Kris_3

Hi guys , so I just started learning C++ so I am trying to do something but id does not turn out quite how I want it to be. So my idea is to create a text game and I'm at the very beggining and I have a lot of …

Software Development c++
Member Avatar for Kris_3
0
223
Member Avatar for new_developer

Hi there, I need explanation for the range of data type say character which is 1byte ranges from -127 to 127 or 0 to 255. I did not understand what it means and how can I check the range of characters. Does it means it can store only values from …

Software Development c++
Member Avatar for Slavi
0
263

The End.