43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for BonaDrag

I want to compare a DateTime date & time in a GridView to a smallDateTime date & time in a database table. I'm not sure what goes wrong, but I get the error message "incorrect syntax near 'whatever time'" every time. An example: A DateTime datumStartTid could be '2010-07-25 19:00' …

Software Development
Member Avatar for BonaDrag
0
2K
Member Avatar for kdgeiger

I have completed my applet code and it compiles fine - when I try to open it in explorer I get my welcome message but the applet does not fully open - all I get is the little box with the red X in top left corner. Help! Here is …

Software Development display java web-browser
Member Avatar for kdgeiger
0
168
Member Avatar for Frederick2

My title says it all! I'm completely mystified by this - have been working at it all day with no resolution. The fundamental assumption under which I am laboring is that when a Dll is loaded into a host's process, the Dll will receive a DLL_PROCESS_ATTACH message. I have been …

Software Development c++ visual-studio
Member Avatar for Frederick2
0
1K
Member Avatar for newworldcoder

I am very new to development and have been sinking my teeth into C#. I have an application that was written in C++ which is out of my depth, and I was wondering if someone could explain how I would recreate this in c#. The application sends message to linux …

Software Development c# c++ socket-programming
Member Avatar for sundip
0
364
Member Avatar for Naveed_786

Dear All, I have a problem i have made setup of my project when i install it and run the program it asks for the complete path of database like this "C:\Paymentsystem\PaymentSystem\bin\Debug" is there any way i want to change the path i mean i want to place database in …

Software Development vb.net
Member Avatar for Naveed_786
0
92
Member Avatar for Matt Tacular

Does anyone know an easy way to do array's of arrays? I'm not 100% sure this is the thing I want though because I just need a simple way to make a loop able to change the list it's comparing. I have the loop done, I just can't figure out …

Software Development c++
Member Avatar for chanthutshamsu
0
171
Member Avatar for Hardz

H! There! I have a problem in c# that require sorting of names of students in a sql database and i want it to be specific, i used data grid view to view the data of the students as shown below: Students First Name: Ann Antoinette Bernadette Brenda Jeannette Judith …

Software Development c#
Member Avatar for Hardz
0
117
Member Avatar for daniel955

Hi everyone, Creating a software with C#, does it require many forms? because I want to create a elementary grade 4 math courseware, but I only know how to create a basic calculator with C# >_<. I just started 3rd year computer science and, our group's thesis proposal has been …

Software Development c#
Member Avatar for octavia
0
107
Member Avatar for yoni0505

Hi there, I want to make a program with visual C++ 2010 using windows form. My problem is that I want to include "windows.h" and I can't find out how to do that. I want to include "windows.h" to use functions such as SetPixel() and some others... If it's possible, …

Software Development c++ microsoft
Member Avatar for yoni0505
0
960
Member Avatar for ecksdee

Hello... I am pretty new to Java and I am experiencing some frustration with loops. I have a few problems here and I hope that you guys could point me in the right direction. My first problem is with the looping in the program below. No matter what is input …

Software Development java
Member Avatar for danzz143
0
175
Member Avatar for libathos

so i have written a c program...my question; is it possible in any way that it will execute itself whenever say a flash disk is in input or the file that contains it is opened??

Software Development c flash
Member Avatar for libathos
0
94
Member Avatar for rax_19

:cool: hi Friends,.,. !! i want to know a perfect time consumption for a given particular program.. [B][COLOR="red"]IN MILLISECONDs[/COLOR][/B] I know the way of using following method: [CODE=c] start=clock(); /*... ... my programming logic . . . ... */ end=clock(); difference=(end-start);[/CODE] But it gives time in seconds , which is …

Software Development c++
Member Avatar for rax_19
0
298
Member Avatar for darksmokepunch

Hi I have a question with regards to storing and retrieving a players location in a game. At the moment I'm working on a text based dungeon game, and one of the things I am having trouble implementing is, a way to move between rooms in the game world (I.E. …

Software Development c++
Member Avatar for darksmokepunch
0
155
Member Avatar for nuaris

[ICODE]class classA: #saved as classA.py def __init__(self): print "class A" printB() def printB(): print "B"[/ICODE] [ICODE]>>> classA() class A Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> classA() File "C:\Documents and Settings\Owner\Desktop\timetable\classA.py", line 5, in __init__ printB() NameError: global name 'printB' is not defined[/ICODE] Using the class …

Software Development python
Member Avatar for yinchao
0
2K
Member Avatar for escortcosworth

Hey guys, iam assigned a program that has to read in 3 values (sides of triangles) at a time and find the area. The values have to be read from a file, they are in a loop as there can be as many sets of triangles as the user wishes, …

Software Development c++
Member Avatar for escortcosworth
0
89
Member Avatar for rObOtcOmpute
Member Avatar for rObOtcOmpute

I posted a thread a bit earlier about a simple error, but this is more of my main issue. I have a struct: [CODE=C++] struct Inventory { string ItemName; int ItemQty; float ItemPrice; }; [/CODE] with the intention of creating an array for storing an inventory array. I can't seem …

Software Development c++
Member Avatar for rObOtcOmpute
0
224
Member Avatar for Zinderin

So I have this two dimensional array in my class, and I'm trying to create an accessor group for it. But the compiler doesn't like what I'm trying to do at all. [CODE] private int[,] _resource = new int[5, 2]; public int Resource[int idx1, int idx2] { get { return …

Software Development
Member Avatar for Geekitygeek
0
960
Member Avatar for Clawsy

Hi, I just struggeled all day how can I build JavaFX Application made with visual composer plugin in Nebeans. Every other application worked but this doesn't. When I build it says can't find [I]javac[/I]. Of course, javac .exe is not located in the JRE... [CODE] Cannot run program "C:\Program Files\Java\jre6\bin\javac.exe": …

Software Development java xml
Member Avatar for iparkin
0
306
Member Avatar for Suzie999

Hi. I am new to C# and a little stuck on arguments to pass to an external function. The intelisense tells me the function has these parameters [code]void LPP.XRS_Search(int x, int y, int w, int z, int cl, int vr, int sp, int[] PointResult)[/code] here is my call [code] int[] …

Software Development
Member Avatar for Suzie999
0
165
Member Avatar for yari

Hi, I've been trying to make a poker game, i got the basic things running like giving the cards to the player and dealer, but i am having trouble coming up with a way to compare the 2 hands... I'm new to python, i tried different ways and didn't really …

Software Development python
Member Avatar for yari
0
3K
Member Avatar for Kraln00b

Hello, I could use a spot of help today. I am very new to python (n00b) and I have a rather specific Issue I am trying to resolve. This problem can be solved using ArcGIS (for those who know it) I simply desire to know more about python so I …

Software Development os-x python
Member Avatar for Kraln00b
0
162
Member Avatar for glamourhits

Here Is My Code i am done with it and it works fine but i want to make this run in loop . like i want this program to ask Would you like to enter another Student Grade <Y/N>... Here Is the Code .. If Any 1 Can Help Plz …

Software Development java java-swing
Member Avatar for glamourhits
0
219
Member Avatar for cjmartin

In my application I use a class that extends a JDialog. When my application encounters certain errors this diaglog should popup with the appropriate message. The problem I have is that after the message appears, when I click the OK button, the message reappears one or sometimes two more times …

Software Development java java-swing
Member Avatar for cjmartin
0
157
Member Avatar for starlight849

Hello, I am having a problem. I am filling a datagridview straight from an oracle sql query. The datagridview is filling properly using this code. [code] Try cmd.CommandText = "SELECT *" & _ "FROM oracle database Dim da As New OracleDataAdapter(cmd) Dim DMdt As New DataTable da.Fill(DMdt) If DMdt.Rows.Count > …

Software Development oracle vb.net
Member Avatar for starlight849
0
110
Member Avatar for Perlhelp

Hi All, I have two files to compare. Each has 10 columns with first 4 columns being key index together. The rest of the columns have monetary values. I want to read one file into hash; check for the key value availability in file 2; then compare the values in …

Software Development perl
Member Avatar for Perlhelp
0
396
Member Avatar for Sunshineserene

Hi, I have a problem with my codes now. I've actually extracted the column of information that I need from a text file. However, now I need to convert the output of the file to something that I specify, but I don't know how to do it. It is actually …

Software Development java
Member Avatar for JamesCherrill
0
175
Member Avatar for Avasulthiris

Hi everyone, I'm pretty new to Mobile Development. I'm a final year student and this is my first major project that might just get me a job for next year. So I'm very keen on getting it working! Pleeease help :) As far as I understand - I need to …

Software Development android-development java smartphone
Member Avatar for jfoo111
0
264
Member Avatar for belle carin

[COLOR="Green"]hi Im just newbie here. I want to ask help from you guys, about on how to use the listview functions in vb.net. I also just starting to study about the vb.net for my object-oriented programming. Please help me in writing the codes for a simple listview. thanks in advance..... …

Software Development listview vb.net
Member Avatar for belle carin
0
84
Member Avatar for fourty

I created a form to calculate sign in time, sign out time, and the elapsed duration. Below is my code. CAn anyone please tell me where i dont get it. Sign in time is OK,Sign out time OK but the worked hrs is not.. Any Help??? Option Explicit Dim signin …

Software Development visual-basic
Member Avatar for fourty
0
132
Member Avatar for aaronmk2

I want to center this. [CODE]cout<<a<<" "<<"+ x = "<<b<<endl;[/CODE] a and b are both int. How would I go about this. Most of the information I found on the web is about centering strings, I tried the code but did not have any success.

Software Development c++
Member Avatar for Nick Evan
0
170
Member Avatar for lionaneesh

I am trying to solve the problem Present at [url]http://www.codechef.com/problems/INTEST/[/url] I have made a small Python script to do my job :- [CODE]array = [] no_lines = 0 no = 0 j=0 div_no=0 no_lines = input() no = input() temp = no_lines while(no_lines>0) : i=0 i = input() array[j] = …

Software Development python
Member Avatar for TrustyTony
0
809
Member Avatar for bettersaid

help! dunno how to convert this in python.. 'contains == ???' in python [CODE]if (basket contains "fruits") then try tell application "Document" to tell application "System Events" to tell application process "Document" to click button "Cancel" of sheet 1 of window "Untitled" tell application "Document" to quit saving no end …

Software Development python
Member Avatar for bettersaid
0
167
Member Avatar for tungnk1993

I made a button in pts and now want to use it as a button in a program. Is there any way to change the image of the button to the one i made or make it function like a button ? tkq

Software Development image vb.net
Member Avatar for leahrose87
0
115
Member Avatar for Weichen

I have input stream problem where my Console::ReadLine() command gets "eaten" when I try to loop my program back to start. Here is the code [code=c] #include "stdafx.h" using namespace System; int factorization(); int main(array<System::String ^> ^args) { int terminate; do{ terminate = factorization(); }while(terminate == 'y' || terminate == …

Software Development c c# c++
Member Avatar for Weichen
0
431
Member Avatar for kadams

I need to count characters from a file. But I get an error error C2660: 'getchar' : function does not take 1 arguments. Im new to C please bare with me. Thanks for your help. #include "stdafx.h" #include "stdio.h" #include "stdlib.h" #include "string.h" int _tmain(int argc, _TCHAR* argv[]) { int …

Software Development c
Member Avatar for kadams
0
140
Member Avatar for ylin333

How do you access a database from a C++ or Windows API program? :-/ I would like to be able to get data from a database as strings or something. I want to use a database so that it is easily changed from MS Access or something similar. Thanks in …

Software Development api c++ windows-api
Member Avatar for ylin333
0
235
Member Avatar for Ryan61343

i have a couple of should be simple linked list questions one of which is how to make it insert in a sorted fashion i have a way i think should work but it doesnt i can post the code if needed. also i have to delete the last n …

Software Development c++ linked-list
Member Avatar for Ancient Dragon
0
87
Member Avatar for Vexx

Hello everyone, I am having some trouble with a program I'm writing and I can't figure out for the life of me what is going wrong. I'll post the code below but first I will point out the problems I'm having. (Both problems are highlighted in my source code with …

Software Development c++ visual-studio
Member Avatar for Vexx
0
111
Member Avatar for punchinello

Do any of you veterens have expirence with displaying and controling a 3d model with c++ programming code and maybe spicifically with vb6.0? Any literature on the subject you would like to recommend or any key words I could use with searching? How do I go about learning it? Thank …

Software Development c++
Member Avatar for punchinello
0
1K
Member Avatar for rObOtcOmpute

I'm supposed to use a 'top-down' programming style (which is my enemy) for a simple game of Cootie, and I am very new to C++ so there will be errors abound in my program, I'm just working on getting past one error thus far: [CODE=C++]void ApplyRoll(int Roll, int Body, int …

Software Development c++
Member Avatar for rObOtcOmpute
0
3K
Member Avatar for pi_lord12

I am creating a game in which I import images from files to represent characters, etc. I have created a class called Contents which represents anything that can be placed on a tile of the gameboard. A subclass of Contents (by several levels) is Wizard, to create a wizard character. …

Software Development image java
Member Avatar for pi_lord12
0
145
Member Avatar for Hawkpath

Hello all, I'm taking a programming course in python and I have to write a program using certain math functions like pow() and sqrt() and I don't know what to program. Please give me some ideas on programs. I don't need to know how to program them, just what to …

Software Development python
Member Avatar for Gribouillis
0
140
Member Avatar for wyssen

Hi, I have a wired problem. I try to build a argv array which will be passed to ssh command. The following line works perfectly: [CODE]argv[n++] = "64.106.11.123";[/CODE] But when I try to get the IP address out of a string which contains it, it will add me a line …

Software Development c++
Member Avatar for wyssen
0
282
Member Avatar for cjmartin

When a user Scans a barcode representing a # sign while focus is on the fromComboBox, code is used to scroll through the list. It scrolls through the list fine, but then it moves to the next field on the screen, because the scanner (that is what we use for …

Software Development java java-swing
Member Avatar for cjmartin
0
111
Member Avatar for NewOrder

[CODE]import java.io.*; class DecToHex { public static void main(String[] args) { Console console=System.console(); System.out.println("Please enter a decimal number"); String input; input=console.readLine(); int dec; dec=Integer.parseInt(input); String hex=""; int remainder; String hexChars="0123456789abcdef"; if(dec==0) hex="0"; while(dec!=0) { remainder=dec%16; hex=hexChars.charAt(remainder)+hex; dec/=16; // what does that mean? } System.out.println(hex); } }[/CODE] what does dec/=16 in …

Software Development java
Member Avatar for NewOrder
0
115
Member Avatar for jemz

hello can you help me i make a program that will determine palindrome words using array...how can i determine if my words are palindrome... example if i input: radar == radar-->this is palindrome so if i input this notice--->this will print not a palindrome please help me here is my …

Software Development java
Member Avatar for jemz
0
387
Member Avatar for Rasmalai

I was working on a project in my VB.NET Express and suddenly my code that was working fine and starting up as normal gave me this error: {An error occurred creating the form. See Exception.InnerException for details. The error is: Corrupt .resources file. Got an unexpected EndOfStreamException while trying to …

Software Development vb.net
Member Avatar for Rasmalai
0
236
Member Avatar for sial_m

Hello all, I have python 2.6 installed, i can see it in /usr/bin and I can run it in terminal. I cannot however seem to figure out how to open the Idle, or get the program to show in the redhat drop menu. Kinda new to linux (some ubuntu use, …

Software Development python redhat ubuntu
Member Avatar for Gribouillis
0
353
Member Avatar for Kanoisa

Hi, I think im trying to break c++ again in making it do something it does not want to do. Basically i have a logging class im making which simply takes a string stream and pumps it into a file. But i want 2 different versions one that trys to …

Software Development c++ file-stream user-interface
Member Avatar for Kanoisa
0
195

The End.