43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for critznikkian

Good evening anyone, im having a hard time looking for the ascii code or number of a specific key in my keyboard, does anyone have a vb6 program that when you click a key on the keyboard it automatically displays the number equivalent in ascii? program or code will be …

Software Development visual-basic
Member Avatar for AndreRet
0
864
Member Avatar for mpassaglia

Hello DaniWeb! I've been struggling with a small detail of this program for a few days now, and haven't come up with any solutions on my own. The basic gist of the assignment is to fill an array with random numbers, sort it, and then search for a number in …

Software Development c++ seo
Member Avatar for mpassaglia
0
407
Member Avatar for Jaseem Ahmed

how can i can save date in database from dtpicker.. and what is the way to assign date field of database to dtpicker.

Software Development visual-basic
Member Avatar for AndreRet
0
186
Member Avatar for newack

hello, i wrote very simple code for reversing integer digits. but when i compile it, i get message as ----jGRASP exec: javac -g C:\Program Files\Java\jdk1.6.0_23\bin\ReverseDigit.java ---- at: Mar 14, 2011 7:58:58 PM ----jGRASP wedge: pid for wedge is 4920. ----jGRASP wedge2: pid for wedge2 is 1788. ----jGRASP wedge2: CLASSPATH is …

Software Development java
Member Avatar for newack
0
405
Member Avatar for mhosny

Hi, What I want to know is how can I get Internet Explorer address bar information (URL)? When i`m type into address bar e.g. [url]http://www.google.com[/url], i want to get message with the same URL e.g. Welcome to [url]http://www.google.com[/url] How to get this? Note: I will add a button for my …

Software Development vb.net
Member Avatar for AndreRet
0
928
Member Avatar for subith86

Hi friends, I know this is such a freak code, but out of curiosity I did it to see memory usage increase using new operator. [CODE]int main() { char* a; for (;;) { //cout<<&a<<endl; a = new char[10]; } }[/CODE] As you see line7 is commented. When i run this …

Software Development c++
Member Avatar for subith86
0
148
Member Avatar for satti

Dear friends iam making a vb program when i created splash screen and run the program splash screen run ok and next form with login pop up but when i enter my password to login on second form(FRMMAIN.frm) it give me error.when i remove splash screen it becomes ok again …

Software Development visual-basic
Member Avatar for AndreRet
0
240
Member Avatar for rjbrjb777

helo, my file r.csv is as follows 07 02 2011 09 05 2011 .. .. i don't know what is error. but the function is not being called.. [CODE] #include<stdio.h> #include<stdlib.h> #include<math.h> #include<conio.h> int calday(float,float); int main() {// main start FILE *in, *out; char *rdf,*wdf; char day[10],mon[10],year[10]; float Day,Mon,Year; rdf="A:\\r.csv"; …

Software Development c
Member Avatar for rjbrjb777
0
162
Member Avatar for PinoyDev

Hi Guys! I just need a little help on how to detect if a form is open or loaded.? When it is loaded or open, i want it to show or visible when a button is click.. Something like this... [code=vb] if frmisOpen(frmname)=true then 'show or load the form end …

Software Development visual-basic
Member Avatar for PinoyDev
0
269
Member Avatar for arjen

hello guys, I have a problem wiht my vb studio 2008 .When I reformat my laptop to window 7 64bit the problem is that my program "internet cafe" on first run there is so could vshost.exe not working problem then when i cancel it show another warning about the program …

Software Development vb.net
Member Avatar for arjen
0
210
Member Avatar for Michael_Tanner

I've been snooping around trying to figure whether or not this was completely safe. I've noticed that if you were to simply "delete this" you might have occurrences where the deleted pointer is still in use elsewhere in the program. To prevent this, you'd need to dereference it and perform …

Software Development c++
Member Avatar for Michael_Tanner
0
150
Member Avatar for LevyDee

I am writing an importer for a custom export script to load mesh information for models. I tested my algo with small files, 20-30 kb of information with success, but when I try something bigger like 400kb(not that big mind you), the file fails to open. This is the significant …

Software Development c++ file-stream ios
Member Avatar for Kanoisa
0
148
Member Avatar for bettybarnes

hi guys, uhm this question of mine is just a simple one hmm how do i concatinate this? i have a textbox with 2 radiobuttons namely: AM and PM when i put time (e.g. 4:15) and check am the text AM should be concatinated in the textbox my code is …

Software Development vb.net
Member Avatar for bettybarnes
0
204
Member Avatar for ntrncx

ok lets say that we have the numbers 5,67 and 128 (the numbers are randomly entered) i want in first loop read the last digit means 5,7,8 in the 2nd pass i want the tenths so will be 0,6,2 in the 3rd will be 0,0,1 and so on. what i …

Software Development c++
Member Avatar for ntrncx
0
208
Member Avatar for Rahul Das

Hi, I have an problem with connecting Oracle 10g express edition with java. I am accessing my Oracle 10g with the following URL: localhost:8080/apex I am using the following code: [CODE]try { Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:8080:xe","hr","hr"); System.out.println("Connected Successfully To Oracle"); con.close(); } catch(Exception ex) { ex.printStackTrace(); }[/CODE] Is the …

Software Development java oracle
Member Avatar for Rahul Das
0
819
Member Avatar for alex9292

Hi im getting a "An object reference is required for the non-static field, method, or property 'RealEstateSalesPerson.rate" error when i compile and i cant figure out how to fix it any help appreciated thx. [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; public interface ISell { string SalesSpeech(); double MakeSale(); …

Software Development
Member Avatar for Momerath
0
419
Member Avatar for liran

Hye Does the GC clear memory of running threads with no reference to them ? Consider the following code: [CODE] Thread t = new Thread()... t.start(); t = null; . . . [/CODE] Suppose 't' runs forever, and the rest of the program runs forever - will the GC clean …

Software Development java oracle
Member Avatar for liran
0
170
Member Avatar for Igor Vinícius

Hello World, I'm a c++ beginner and i've diced to study. So this is my first code: [CODE] #include <iostream> using namespace std; double d = 2.2; int i = 7; void some_function() { d = d + i; i = d * i; printf("%d\n", d); printf("%d\n", i); } int …

Software Development c++
Member Avatar for Igor Vinícius
0
156
Member Avatar for nickliutw

I'm writing a method for integer power which is something like this 2^4 read in program like 2*2*2*2 without using the math class method. I tried to use several different ways to write, but I think can't figure out where I did wrong. I know I'm close to what it …

Software Development java
Member Avatar for nickliutw
0
121
Member Avatar for moroccanplaya

hi i am just wondering how would you send a website through a socket as i am trying to make my own web server. do you just open up the file, read the file and write out to the socket ? [CODE] openfile = open(home/username/www/index.html, "r"); n = read(openfile,buffer,256); n …

Software Development c html-css web-server
Member Avatar for moroccanplaya
0
83
Member Avatar for brynFlew

Hello, im trying to convert an old vb project from 2008 to 2010. Ive tried using vb 2010's convert wizard aswell as changing the .sln file manually. When i try to convert the project automatically using the wizard it gives me an error saying that the project type is not …

Software Development vb.net
Member Avatar for brynFlew
1
1K
Member Avatar for Tarkenfire

I'm doing a rather convoluted project for a class regarding looping structures and have run into a novice-ish logic error that I can't figure out. The error being that the following loop never ends: [code=java]//get transaction values and perform actions. try { sentinalValue = Double.parseDouble(JOptionPane.showInputDialog ("Enter transaction now. Enter \"-1\" …

Software Development java
Member Avatar for Tarkenfire
0
187
Member Avatar for tempvbacct

I need to figure out a piece of code to use to complete my project. I have attached a screenshot of the form and I labeled the important components to what I'm trying to accomplish. The form allows to user to add/remove books to a shopping cart which is the …

Software Development vb.net
0
63
Member Avatar for danholding

continued from this thread! [url]http://www.daniweb.com/software-development/python/threads/353210[/url] i have a file which i am currently working on which will remove all pipes and replace them with a comma. that all works fine it the second bit i am currently stuck on.. i need to remove the first two CAPITAL letters from the …

Software Development python
Member Avatar for danholding
0
146
Member Avatar for Seattle Slim

I see some comments about Objective C or Cocoa however their does note seem to be a specific area for such comments. Objective C would be a good listing below the other languages. Any serious OSx iPad or iPhone developers would look here first for information. Since there is more …

Software Development apple ipad iphone objective-c
Member Avatar for jon.kiparsky
2
392
Member Avatar for Oppression

Hello to all. I am trying to get an aproximation of expodential of x, using the power serie expansion which is x to the power n over n factorial, with n approaching to inifinty. Now I am trying to get the value of expodential of 1 by passing to the …

Software Development java
Member Avatar for Oppression
0
93
Member Avatar for danholding

please bare with me as im a returning newbie and have not really used re.expression much and still get very confused! my problem! i am currently working on a few database records which need appending. this is one of the files i need to resort the data base has now …

Software Development python regex
Member Avatar for TrustyTony
0
428
Member Avatar for Cameronsmith63

I want to create my own media player, are searched google but im not really getting good resources, can anyone please forward me a good resource on where to start and what i need to know?

Software Development
Member Avatar for makman99
0
169
Member Avatar for markdean.expres

Guys, is it possible to change the default text of the button of msgboxes? How?

Software Development vb.net
Member Avatar for codeorder
0
129
Member Avatar for satti

am facing an error 'Run time error:424 Object required, Private Sub Form_Load()iam highlighting the error in code below. [CODE]Private Sub cmdAddEntry_Click() ' add a new entry to our table. With DataEnvironment1.rsDataTable .AddNew !CodeNo = txtCodeNo !DealerName = txtDealerName !TruckNumber = txtTruckNumber !Quantity = txtQuantity !NetPrice = txtNetPrice !Commision = txtCommision …

Software Development data-science visual-basic
Member Avatar for satti
0
222
Member Avatar for JudeV

How Can I Bounce the ball everytime it hits the wall??? [CODE] using GDIDrawer; using System.Drawing; int iX = 0; //x ball position int iY = 0; //y ball position int iXVelocity = 5; //amount ball moves in x direction for every loop int iYVelocity = 5; //amount ball moves …

Software Development
Member Avatar for divin757
0
764
Member Avatar for MrHardRock

Hey everyone, I am working with arrays, my program needs to take a list of 10 numbers and put them in each array depending on if they are even, odd, or negative. My program compiles but it does not run correctly it only displays 0 for each list. Thanks in …

Software Development java
Member Avatar for MrHardRock
0
152
Member Avatar for purijatin

In a folder I only have 2 files. Main.java and ArrayQueue.class Main.java is the following: [CODE] class Main{ public static void main(String args[]) { ArrayQueue s = new ArrayQueue() }} [/CODE] But it throws an error stating the following: C:\Users\Jatin\Documents\NetBeansProjects\JavaApplication3\src\Main2.java:11: cannot access ArrayQueue bad class file: C:\Users\Jatin\Documents\NetBeansProjects\JavaApplication3\src\ArrayQueue.class class file has …

Software Development java
Member Avatar for purijatin
0
103
Member Avatar for tempvbacct

I'm doing a project that requires me to create a book ordering form. I have the books displayed in a listbox named bookselectionlistbox, and when a book is selected, it displays the price of that book in a label named bookpricelabel1. I have a button named addbutton that allows the …

Software Development vb.net visual-basic
Member Avatar for codeorder
0
109
Member Avatar for axman1000

I will get an Excel 2003 file everyday via email. This file has 5 columns. The first for columns have static headers and text in them. The 5th column is the date of the report and below that is a list of values in the same column, followed by an …

Software Development microsoft-office sql vb.net visual-studio
Member Avatar for axman1000
0
216
Member Avatar for ReaperUser101

Hi people , I have an easy question(but lack the knowledge in Delphi), I have a piece of code that i want to run but don't want to type it over for every time it has to be run (not very good coding then). Is there a way i can …

Software Development delphi pascal
Member Avatar for ReaperUser101
0
90
Member Avatar for minimi
Member Avatar for Vindal

I need to be able to loop and get information for up to 10 "BankAccount" arrays, but when I use less than 10 it gives me garbage and I don't know how to fix it. Here is my Code. [CODE]#include <iostream> #include <iomanip> using namespace std; class BankAccount { private: …

Software Development c++ oop visual-studio
Member Avatar for Vindal
0
171
Member Avatar for NOVICE3

I am still struggling with my first program in C#. I need to first select a file from a directory, second, open the file, and third load an array with the contents of the file. This array will later be used to send bytes to an external device (a test …

Software Development
Member Avatar for NOVICE3
0
403
Member Avatar for chester1908

Heyz all.Im working on a program to add,sort,search etc contact struct (name last name number..).So i add structs and i sort them with qsort (i print the result,they are sorted).I have problem using bsearch(),it keeps returning NULL (so i see printed "not found"). The error must be something with the …

Software Development c
Member Avatar for chester1908
0
398
Member Avatar for sdr001

Hello. I am trying to figure out why my program has an infinite loop :/ The program asks a user how many digits they want their numbers to be and then the program needs to print out all binary numbers for the user inputted digits. For example: User inputs 3 …

Software Development c++
Member Avatar for sdr001
0
109
Member Avatar for Puertorro

Hey guys, my Professor want us to come up with this code: Create a class called Student. This class should have the following twelve private data elements: String studentName String studentEmail String studentLocation int projectGrade1 int projectGrade2 int projectGrade3 int projectGrade4 int quizGrade1 int quizGrade2 int finalExam int participationGrades This …

Software Development api java
Member Avatar for Puertorro
0
124
Member Avatar for WolfShield

Hello everyone, I am trying to get an ActionListener to work in Java. On lines 310 and 312 it says 'cannot find symbol: variable calcDisplayF'. I am a complete noob when it comes to Event Handling so any help on this subject would be greatly appreciated. Here is the code …

Software Development gui java java-swing
Member Avatar for WolfShield
0
166
Member Avatar for Cale93

Hello there, I'm struggling with my computing coursework in college and I though I'd ask here for help. My issue is simple but I can't get it right. I need to validate the text into a textbox and check that it contains ONLY alphanumeric characters, but it MUST contain both, …

Software Development vb.net visual-basic visual-studio
Member Avatar for Cale93
0
3K
Member Avatar for bertm81

Hi, I am new to python and am wondering is it possible to name a method after a variable. I know I can name a variable after another variable using [code=python] test = "temp" vars()[test] = 123 print temp [/code] this will print 123. so I was thinking something like …

Software Development python
Member Avatar for bertm81
0
222
Member Avatar for jackmaverick1

In function `_start': undefined reference to `main' what does this mean? I don't have a function _start. and my main.cpp is empty, theres just a few giant source files (500+ lines together) that are never called... Do you see any problems with this that might have something to do with …

Software Development c++
Member Avatar for jackmaverick1
0
118
Member Avatar for makman99

I need to create a program that monitors incoming packets to a certain process. Each incoming packet needs to be searched for a string of hex (eg. "FF 00 00 03") and modified to be null (eg. 00 00 00 00). Or, if it's easier, to just completely block the …

Software Development c++
Member Avatar for makman99
0
112
Member Avatar for dennysimon

hello all I try to open my datagridview's content in excell the problem is it's change the string value to numeric. so if in datagridview the content is "0001" in excell it become "1"; how to correct this problem ? any help ? thanks denny

Software Development c#
Member Avatar for ddanbe
0
95
Member Avatar for Na'Vi

I was writing a program and I wasn't sure sure how to do letter b. I have the methods and constructor but I'm not sure how to format the float. 2. Create a class called Item. a. Item will need instance variables itemID, itemName, inStore, and Price (of types String, …

Software Development java
Member Avatar for JamesCherrill
0
115
Member Avatar for nickliutw

I know this is probably seem to be very easy for you guys. I have been trying to figure this out for three hours. The requirement ask me to write a method determine whether an integer is even or not. If it is true, return true. If it is false, …

Software Development java
Member Avatar for nickliutw
0
137

The End.