43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for chriswelborn

I've added the necessary registry key to have my app run when windows loads: [B]Hkey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Run[/B] [B]MyProgram[/B] = [B]c:\MyDir\MyProgram.exe[/B] [I]..I've also tryed adding it to the Programs\StartUp folder.[/I] My app still won't load when windows does. Other apps do, and I was wondering what might be preventing my app, and [U]only …

Software Development asp.net microsoft-windows vb.net
Member Avatar for chriswelborn
0
529
Member Avatar for RozenKristal

I got a java test done and somehow my answer for this question is incorrect, can you guys help me explain it? So the question is: in a binary tree with height 3 the least deep leaf has depth 2 (Root has depth 0). a)Max numbers of nodes this tree …

Software Development data-structure java
Member Avatar for RozenKristal
0
297
Member Avatar for ladybirdchance

I'm currently working on a college Hangman project to build a GUI to ply an external hangman game, but I keep recieving a NullPointerException error. Here is the code for the GUI import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.Color; import java.awt.Image; import java.awt.Graphics; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt.Font; import javax.swing.JButton; …

Software Development gui java java-swing
Member Avatar for ladybirdchance
0
178
Member Avatar for Suzie999

I have searched high and low for a definitive answer to this, and I cannot find one (that I understand) The windows function [GetPixel](http://msdn.microsoft.com/en-us/library/windows/desktop/dd144909(v=vs.85).aspx) takes 3 arguments (HDC, int, int). Both ints represent a coordinate in the devive context, but are measured in logical units, x = > The x-coordinate, …

Software Development c++
Member Avatar for Suzie999
0
286
Member Avatar for JustLacksZazz

Hello everyone, I'm quite new to coding and can't seem to find an answer to this question online. So far I have created a multiple choice quiz and am now working on the nitpicky details. Right now the quiz works great but I'm just trying to add a function where …

Software Development flash vb.net
Member Avatar for JustLacksZazz
0
692
Member Avatar for fonzi

Hey guys I'm having a bit of touble assigning the toString to a string from an index of an array list, any help would be appreciated. @Override public String indentedToString(int level) { String answer = " "; answer = super.indentedToString(level); answer += "Value " + this.list.toString() + "\n"; for(int i …

Software Development java
Member Avatar for fonzi
0
267
Member Avatar for lewashby

The following code block is producing and endless loop and I can't figure out why. Note that charv is just he second command line argument in the main function. int testNumber = 1; while(argv != '\0') { std::cout << testNumber; argv++; testNumber++; } I wrote this piece of code just …

Software Development c c# c++
Member Avatar for Suzie999
0
164
Member Avatar for Dili1234

In my database there two table call sample and sample customer in sample table primary key is sample_Note_no and it is a foreign key in sample_customer table I got same error after I wrote this coding also ALTER TABLE Sample Customer ADD CONSTRAINT FK_Sample Customer_Sample FOREIGN KEY (Sample_NOTE_No) REFERENCES Sample(Sample_NOTE_No) …

Software Development vb.net
Member Avatar for G_Waddell
0
154
Member Avatar for silversurf

Hello, Here is the scenario : I have the follwoing sales return from in my software: ![sales_return1](/attachments/large/3/sales_return1.JPG "sales_return1") In the from I have tow listview control, the left is Listview and the right is Listview1. I have the following code in procedure : Dim xsprice As String Dim xsprice1 As …

Member Avatar for hyesin
0
1K
Member Avatar for ms061210

Hello guys, I need some advice/opinions. We are task to create a game in socket programming. We can choose from Java, C, c+, shelland php. Which language is the best to create socket programming for beginners. ? We have a litte knowledge with the given languages, but we don't have …

Software Development java socket-programming
Member Avatar for ms061210
0
190
Member Avatar for Suzie999

I'm here with what might seem like a very basic question, but I cannot figure it out. I am using EnumChildWindows winapi to identify a particular child window of google chrome browser. I fail when trying to return the handle of that child window when found. BOOL CALLBACK enum_wnd_proc(HWND h, …

Software Development c++
Member Avatar for Suzie999
0
1K
Member Avatar for nah094020

So i just started my project on a cpu sim , but right of the bat i ran into a problem #include <cstdlib> #include <fstream> #include <iostream> using namespace std; /* * */ int main(int argc, char** argv) { return 0; } void cpu() { } void memory() { int …

Software Development c++ ide
Member Avatar for nah094020
0
503
Member Avatar for nah094020

Ok so here is my problem, i have to write a simple computr system consisting of the processor and the memory, The project will simulate a simple computer system consisting of a CPU and Memory. The CPU and Memory will be simulated by separate processes that communicate I have to …

Software Development c++ unix
Member Avatar for nah094020
0
670
Member Avatar for krystosan

what does it mean by defining a variable with double underscore only at the prefix part ? like in this [example](http://pastebin.com/8e5t2eAZ) at pastebin i.e. self.__weakReference

Software Development python
Member Avatar for vegaseat
0
482
Member Avatar for hwoarang69

i have a question on how to extends classes. i have three classes main, aaa, bbb classes. i want to draw something in bbb class and print in main. for ex main <-> aaa <-> bbb but nothing is being print at output. if i draw something in main, or …

Software Development java
Member Avatar for hwoarang69
0
147
Member Avatar for flebber

I was reading this article [Click Here](http://maxburstein.com/blog/python-shortcuts-for-the-python-beginner/) http://maxburstein.com/blog/python-shortcuts-for-the-python-beginner/ In there was this example from itertools import combinations teams = ["Packers", "49ers", "Ravens", "Patriots"] for game in combinations(teams, 2): print game >>> ('Packers', '49ers') >>> ('Packers', 'Ravens') >>> ('Packers', 'Patriots') >>> ('49ers', 'Ravens') >>> ('49ers', 'Patriots') >>> ('Ravens', 'Patriots') So I …

Software Development python
Member Avatar for vegaseat
0
434
Member Avatar for PinoyDev

Is there a way to open a form in vb6 when they clicked on one of the field in crystal report? Ex. If I want to update certain deposit, when clicking on crystal report, it will open the vb6 form to display for editing.. Ive found 1 in vb.net from …

Software Development visual-basic
Member Avatar for AndreRet
0
532
Member Avatar for aditya369

I have been working with web traces and i need to change a particular format of the web trace to another. for example from cs21 793468639 122791 173 icons-html/HomePageIcon.gif ALT=" 0 0.0 cs21 793468639 122791 173 icons-html/HomePageIcon.gif ALT=" 0 0.0 cs21 793468639 122791 173 icons-html/HomePageIcon.gif ALT=" 0 0.0 to cs21 …

Software Development shell-scripting
Member Avatar for aditya369
0
369
Member Avatar for TayKaye

Hello All, I am new to this so I am not sure if this is going to post correctly. I am trying to create a rock, paper, scissors game. My issue with my code is I only want the code to repeat if the computer picks the same choice as …

Software Development c++
Member Avatar for jogosde
0
3K
Member Avatar for ringo_tech

Hi there, I'm doing a simp,e wav player as a school project. I know how to load, play and stop the audio but I don't know how to pause/resume it. Here is my code Public Class AudioPlayer Dim snd As Media.SoundPlayer = New Media.SoundPlayer Dim theFile As String = Nothing …

Software Development audio vb.net
Member Avatar for andreas.bjorn
0
956
Member Avatar for shermags

Hi Experts, I would like to seek your help, I need to create an application which can extract the current Active Tab and URL of any browser (i.e Chrome, IE, FireFox). I had googled around but there no samples had satisfy my needs. Sample: I would like to get the …

Software Development vb.net
Member Avatar for andreas.bjorn
0
2K
Member Avatar for savedlema

Hi! I just learnt to use the "Parameters.AddWithValue" to prevent harm of sql injections.However, I have only been able to do this with the INSERT, but I have trouble using that with SELECT and UPDATE. Please Look at my code with UPDATE Try ConnectionSettings() con.Open() Dim SqlUpdate As String SqlUpdate …

Software Development vb.net
Member Avatar for savedlema
0
1K
Member Avatar for sundog1

Morning Guys.. Have a Monday Morning Blank out here! I have the following Debug code setup: //XML Load of Document. This loads the XML Document and the value of a Single Node then inputs this to a text box// XmlDocument doc = new XmlDocument(); doc.Load("C:\\twDB.xml"); XmlNode node = doc.SelectSingleNode("/DataBases/DataBase/Connection"); this.textBox1.Text …

Software Development
Member Avatar for sundog1
0
189
Member Avatar for shermags

Hi Members, I would like to seek your expert advice. Is there a way load an application before the windows logon appear and shutdown windows when the executed application was closed? I am creating a project which needs to filter all the application that the user can use. Hoping there …

Software Development vb.net
Member Avatar for shermags
0
172
Member Avatar for josverhoeff

Hi, I am (still) converting an old asp web app / vb6 dll to aspx / vb.net I am now biting on a fairly simple function in vbscript: the execute() function What the vbscript does is the following: It reads in a variable name and its (string) value from a …

Software Development vb.net vbscript visual-basic
Member Avatar for josverhoeff
0
541
Member Avatar for hwoarang69

i need help with simple tile map. i have 2d array as map. so i want to replce numbers in array with rect's. 0 = green rect 1 = red rect 2 = black rect and i want it so that the all tile are same size. when i run …

Software Development java
Member Avatar for hwoarang69
0
261
Member Avatar for khair.ullah

Hi every one ! i need to generate a key generator program any one help me. there is one Label and one Button on my Form. e.g i want to generate a random number on Button_click Event like this i.e. g12tu-7bhg5-khd9k-kh88f kdj44-jk73n-khjk6-88dkg

Software Development vb.net
Member Avatar for khair.ullah
0
168
Member Avatar for anisha.silva

hi i have a method which display a list of customer id's. the method is customerService.getAllCustomersID() how do i check whether this method returns a null list or list or customer id's appreciate a reply thanks

Software Development java
Member Avatar for anisha.silva
0
117
Member Avatar for <M/>

(I am being honest, it is another assignment that I have attempted and failed to succeed on) I have a question/assignment that requires me to generate 50 random numbers out of 10 numbers using a for loop. But for some odd reason I can't set it up nor does google …

Software Development
Member Avatar for <M/>
0
339
Member Avatar for anestistsoukalis

#define StackLimit 50 // ôï üñéï ìåãÝèïõò ôçò óôïßâáò, åíäåéêôéêÜ ßóï ìå 50 #include <stdio.h> typedef int StackElementType; // ï ôýðïò ôùí óôïé÷åßùí ôçò óôïßâáò //åíäåéêôéêÜ ôýðïò int typedef struct { int Top; StackElementType Element[StackLimit]; } StackType; typedef enum { FALSE, TRUE } boolean; void TraverseStack(StackType Stack); void CreateStack(StackType *Stack); …

Software Development c
Member Avatar for rubberman
0
184
Member Avatar for Kareem Klas

Hallo everyone, I've been studying C++ active for a couple of days. And I was thinking about that all my codes and with: { return 0; } So I wanted to know why and in my book I found: > The only statement in this block is a return, which …

Software Development c++
Member Avatar for PrimePackster
0
1K
Member Avatar for meenal9

I tried to understand for loops but still not getting it....? please help me with its dry run i know its syntax etc but still not getting it i know it is used for multiple execution...until condition is satisfied please help me understanding in making patterns

Software Development java
Member Avatar for csk19
0
151
Member Avatar for bCubed

This program is supposed to shuffle a Deck of cards and display them so I know it is working correctly. But one of the values displayed is -858993460 which is not possible when it should only be between 1 and 52. Obviously there is some sort of data loss going …

Software Development algorithm c++
Member Avatar for bCubed
0
208
Member Avatar for <M/>

I have a simple Do While loop that doesn't work. What I am trying to do is to collect an integer and if the number is even, continue looping but if it is not even stop looping. I can't get it to work with my code: int xyz = 0; …

Software Development
Member Avatar for <M/>
0
122
Member Avatar for SamJo22

I'm trying to write a web server but with the code I have I'm getting 'open failed'. The html document (ht.html) which is supposed to be opened in the browser. It seems as though the code I have is not opening the file received through the socket hence it's saying …

0
187
Member Avatar for anisha.silva

HI i have a entity class vehicle and a entity class Customer. A customer has many vehicles, so in the vehicle entity class is as below @Entity @Table(name = "VEHICLE") @XmlRootElement @NamedQueries({ @NamedQuery(name = "Vehicle.findAll", query = "SELECT v FROM Vehicle v"), @NamedQuery(name = "Vehicle.findByMiles", query = "SELECT v FROM …

Software Development java
Member Avatar for anisha.silva
0
207
Member Avatar for on93

anyone know how to use bubble sort and also binary search ? this program cannot search out the name that user insert. anyone know how to fix it ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #include<iostream> #include<string> #define size 5 using namespace std; struct student { string name; int id; string prog; double cgpa; }; …

Software Development c++
Member Avatar for rubberman
0
175
Member Avatar for Minko

Hello, On my login form I have a timer and every tick I run this piece of code: Try Client.Connect(IpAddress, Port) Catch ex As SocketException End Try and update a label to whether the server is online or offline. However when the server if offline it throws a exception error …

Software Development vb.net
Member Avatar for Minko
0
246
Member Avatar for smilesprower

Error I get when compiling using Xlint is: where E is a type-variable E extends Object declared in class JComboBox waring: [unchecked] unchecked call to addItem("blank") as a member of the raw type JComboBox c1.addActionListener ( new ActionListener() { public void actionPerformed(ActionEvent e) { if(c1.isSelected()) { fillSF2MC(); c3.setEnabled(false); playBtn.setEnabled(true); faceCombo.removeItem("Blank"); …

Software Development java
Member Avatar for JamesCherrill
0
218
Member Avatar for anumash

I have to divide a database and I wanted the statistics of each subdirectory that I am going to create. The database is a dictionary comprising of words and their corresponding phonemic translations. https://cmusphinx.svn.sourceforge.net/svnroot/cmusphinx/trunk/cmudict/sphinxdict/cmudict_SPHINX_40 the database can be found here. I have written a program to count the number of …

Software Development c
Member Avatar for deceptikon
0
408
Member Avatar for pjns19

Hi, I was to change the following code so it uses a LISTBOX1 instead of imagetxt.text which is a textbox. Each attribute needs to go into a new line. if thats possible? Thanks. Dim PageElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("img") For Each CurElement As HtmlElement In PageElements imagestxt.Text = imagestxt.Text & …

Software Development vb.net
0
106
Member Avatar for carrl00

create a console application that compute the area of triangle, and ask the user if he want to repeat the program. but i haved an 8 error saying cannot find symbol in line 19,23,26,27. import java.util.Scanner; public class Area3 { public static void main(String args[]) { Scanner input = new …

Software Development java
Member Avatar for stultuske
0
299
Member Avatar for danimischiu

Hy all, I have the following problem with an update in my sdf database.I want to update a table data using a sqlceresultset.This is the code that I'm using but nothing happens. connection.Open(); string sql="SELECT * FROM Table1"; SqlCeCommand cmd = new SqlCeCommand(sql,connection); cmd.CommandType = CommandType.Text; SqlCeResultSet rs= cmd.ExecuteResultSet(ResultSetOptions.Updatable|ResultSetOptions.Scrollable); IEnumerator …

Software Development sql
Member Avatar for danimischiu
0
274
Member Avatar for eclipsethemoon

1. Search Benchmarks Create a New Project called YourLastnameSearch. int array[20] = {78, 45, 33, 1, 6, 41, 99, 54, 73, 28, 101, 60, 21, 82, 11, 15, 654, 36, 52, 70}; Write a program that has an array of 20 integers. (You must use the above array.) It should …

Software Development algorithm c++
Member Avatar for tinstaafl
0
142
Member Avatar for <M/>

(I am being honest, it is an assignment that I have attempted) I have a question/assignment that requires me to do a for loop that counts to a specific number (i am using 25) and skips every number that is (for example) divisible by 3. I have tried this: int …

Software Development
Member Avatar for <M/>
0
127
Member Avatar for pjns19

Hi all, Looking to extract all HTML tags from a dump of HTML data and put them all in a listbox. I currently have the following code. It displays to me things like HTML HEAD TITLE BODY. But i want things like the IMG and ALT tags. ' Obtain the …

Software Development html-css vb.net visual-basic
Member Avatar for tinstaafl
0
2K
Member Avatar for Papa_Don

I'm trying to create a form with multiple labels, textboxes and buttons within a panel. The user will fill in their data and click a button that will create a new identical panel with the same labels, textboxes and buttons. I read through the following thread in an effort to …

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

Hello Group! I am writing my first complex VB2010 program that is a order entry and inventory management program. I know there are lots of these out there. However I'm attempting to write this for a specific type of business which creates its own set of challenges. However my question …

Software Development storage vb.net
Member Avatar for Papa_Don
0
226
Member Avatar for ScarWars9

Hello, I have made an Employee Time clock application. I have been working on connecting my application to a MySQL database, I have a textbox wich is used to add an employee name to my database (this is working perfectly.), but I also a combobox where I want the list …

Software Development dataset mysql vb.net
Member Avatar for ScarWars9
0
1K
Member Avatar for javaprog200

Hello, I am trying to display text(JLabel) above a 3 x3 tic tac toe grid. The JLabel is not displayed. Only the grid shows up. I would be grateful for any help. Thank you! import java.awt.*; import javax.swing.*; import java.applet.Applet; public class Game extends JApplet { LayoutManager layout; private JPanel …

Software Development java java-swing
Member Avatar for javaprog200
0
330

The End.