43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for MasterHacker110

I only see tutorials for installing the Cosmos OS kit with visual studio 2010. I have visual studio 2012 express and would very much like to start writing my experimental OS with Cosmos Os kit. Is there a way or do i have to download visual studio 2010?

Software Development visual-studio
Member Avatar for MasterHacker110
0
151
Member Avatar for ASWEDAN

Hello there, I face this error message when I try to save a new record in Table: viruses_analysis, I would like to use the same way in the code below, but where is the error? please be informed that I used the same way in other applications and worked very …

Software Development dataset vb.net
Member Avatar for ASWEDAN
0
325
Member Avatar for devianleong

I've a problem to my linkedlist at line 10. Can anyone help me to solve it? Thank in advance. ![edcc2efd2d7051037a9a147491e15671](/attachments/large/3/edcc2efd2d7051037a9a147491e15671.png "edcc2efd2d7051037a9a147491e15671") This is my code : package linkedlist; import java.io.FileReader; import java.io.IOException; import java.util.Scanner; public class LinkedList { private String firstName; private String lastName; private static LinkedList<LinkedList> classRoster = new …

Software Development java linked-list
Member Avatar for devianleong
0
262
Member Avatar for zawpai

Hi all, Is it possible to select multiple records (rows) in "DataGrid" and then delete all selected items? Because I can't find any properties to enable for multiple selection. Whenever I try to delete a record, system always prompt the run time error. Private Sub Command4_Click() Dim count As Integer …

Software Development visual-basic
Member Avatar for zawpai
0
3K
Member Avatar for zachattack05

I have a DataGridView that contains 3 columns, the first is a drop down and the second and third are textboxes. However, the third one is read-only and is only there to provide information to the user on the item selected from the dropdown column. If the user changes the …

Software Development
Member Avatar for zachattack05
0
6K
Member Avatar for Papa_Don

Group, In reviewing the data in one of my SQL Server tables, I noticed that my nchar or nvarchar fields have additional spaces added to the end of the record. Is there a way to stop this? Should I be using a different data type? In advance, thanks for your …

Software Development sql vb.net
Member Avatar for Stuugie
0
228
Member Avatar for dan.gerald

I am having problem on removing root, moving the lastnode to the new root and applying the downheap. Here is my code snippet #include <iostream> #include "heap.h" heap::heap() { data=new myvector<heapData> (10); size=0; heapData item; item.key=0; item.data=0; insertItem(item); } heap::~heap() { delete data; }; void heap::insertItem(heapData item) { data->insertAtRank(size,item); size++; …

Software Development c++
Member Avatar for buterous
0
498
Member Avatar for EkoX

Hello friends, I'm tring to make excel file using vb but i don't know how to do it. There anyone know how to do this. Thank you. Eko

Software Development microsoft-office visual-basic
Member Avatar for EkoX
0
457
Member Avatar for ROSS679

Hi, I am having a problem regarding the return statment, for some reason it is not working, can someone please tell me what i am doing wrong? The return is taking a selection of table collumns not all e.g. the simple return all "return $x" Thanks for $x in doc("Suppliers.xml")/dataroot/Suppliers[Country …

Software Development xml
Member Avatar for FakeTales
0
355
Member Avatar for november_pooh

Hi all, As i mentioned in thread title, i want to create and delete folder. How i can create and delete folder/directory with vb6. Please help Regard

Software Development file-system visual-basic
Member Avatar for rishif2
0
355
Member Avatar for FakeTales

i have an xml File, below is snippet from the file <?xml version="1.0" encoding="UTF-8"?> <dataroot> <Products> <ProductID>37</ProductID> <ProductName>Gravad lax</ProductName> <SupplierID>17</SupplierID> <CategoryID>8</CategoryID> <QuantityPerUnit>12 - 500 g pkgs.</QuantityPerUnit> <UnitPrice>26</UnitPrice> <UnitsInStock>11</UnitsInStock> <UnitsOnOrder>50</UnitsOnOrder> <ReorderLevel>25</ReorderLevel> <Discontinued>0</Discontinued> </Products> <Products> <ProductID>38</ProductID> <ProductName>Côte de Blaye</ProductName> <SupplierID>18</SupplierID> <CategoryID>1</CategoryID> <QuantityPerUnit>12 - 75 cl bottles</QuantityPerUnit> <UnitPrice>263.5</UnitPrice> <UnitsInStock>17</UnitsInStock> <UnitsOnOrder>0</UnitsOnOrder> <ReorderLevel>15</ReorderLevel> <Discontinued>0</Discontinued> </Products> …

Software Development xml
0
104
Member Avatar for imBaCodes

Do anyone here Know how to get the previous month of a given date.. Example given date: 11/25/2012 Output: 10/25/2012 thank you.. i know you can help me ..

Software Development visual-basic
Member Avatar for imBaCodes
1
172
Member Avatar for SLMQC

I am new to VB and working on a homework assignment that I’ve seen posted in years past. The threads were aged a year or more so I’m starting a new discussion. I am writing a program that allows me to enter sales for 5 stores and display a bar …

Software Development business-entrepreneurship vb.net
Member Avatar for tinstaafl
0
339
Member Avatar for newGains

i am trying to use recursion to find the occurence of a specific character in an array of characters public class CharacterCounter { public static void main(String [] args) { char test[] = {'a', 'b', 'a', 'c', 'd', 'a', 'e', 'a', 'f', 'g', 'h', 'a', 'i', 'a'}; char searchChar = …

Software Development java
Member Avatar for newGains
0
258
Member Avatar for 7429EEFC

Hi I am trying to link a selected item from one listbox to display all the results in another listbox by using a filter method (Or something similar). Both listboxes are filled with information from a text file. The first listbox has information such as the different Genres of a …

Software Development
Member Avatar for tinstaafl
0
531
Member Avatar for ALJ

Hi, I'm having trouble trying to figure out a code that converts negative decimal numbers to binary, as well as specifying the number of bits. For example. convert -18 using 8 bits. This should come out as 10010010 doing it manually, I think. I'd appreciate the help, thanks.

Software Development python
Member Avatar for klickagent
0
9K
Member Avatar for tristanhall

I'm trying to make a blackjack program for my comp sci class and one thing I can do for extra credit is add a feature that allows a user to play a new game at the end of the first game (and replay games after each game). My thought is …

Software Development c++
Member Avatar for tristanhall
0
209
Member Avatar for game06

i just say some using "this." in setter, getter and constructor method. i have never done this so is this good prative to use "this" in getter or setter. ex: public test(int ix) { this.x = ix; } or public int getX() { return this.x; }

Software Development java
Member Avatar for stultuske
0
128
Member Avatar for mical700

Write a java code, Extend class Fraction by adding methods for the arithmetic operators +, - and /, and the six relational operators (==, !=, <, >, <= and >=). Then compute a menu-driven fraction calculator. Program shoud do all 9 arithmetic operations and 0 to stop. User should first …

Software Development java mathematics
Member Avatar for stultuske
0
492
Member Avatar for Papa_Don

Group, I need to use Function keys within a form I've created. The problem I'm having is determing the correct routine to fire it off. Here's what I'm attempting to do: In Form1 (actually called "OrderEntry2"), I want to give the user the option of keying in a part number …

Software Development vb.net
Member Avatar for Papa_Don
0
463
Member Avatar for gmorcan

Hello everyone, I'm a beginner in programming languages and in Python. I came across this error and I don't khow if it is a logical error or a design error. The problem is with class_average a = {1:[1, 2, 3], 2:[3,4,5], 3:[6,7,8] } b = {1:[3,7,4], 2:[8,2,9], 3:[3,6,3] } c …

Software Development python
Member Avatar for woooee
0
266
Member Avatar for bklynman01

I have a program I wrote a few years ago that interfaces largely with MS Excel. At the time my company used Office 2007. We have since upgraded to 2010 with no problems. However, I had to make some adjustments, and now I can not compile. The error is Error …

Software Development microsoft-office vb.net
Member Avatar for bklynman01
0
182
Member Avatar for saurabh.mehta.33234

#include<stdio.h> int i=5; main() { int i=6; { int i=7; printf("%d",i); } printf("%d",i); } Why does the above code doesnot give a variable redifinition error..Although the variable i is defined outside of block also??

Software Development c c# c++
Member Avatar for Moschops
-1
110
Member Avatar for Tinnin

Hi all, I'm trying to bring up a table of data using a select query to create a DataSet that I'm displaying in a datagrid. When I use SELECT * FROM myTable it works fine, but when I only want the specific columns SELECT URN, 'CanX Reason', 'Date to take …

Software Development dataset sql vb.net
Member Avatar for Tinnin
0
176
Member Avatar for KushMishra

Hello All, I intend to develope a console application in C# in which there should be 3 functionalities :- 1. Open Wordpad.exe and automatically type something. 2. Save the updated document. 3. Close the Wordpad with changes saved. Kindly guide me if anyone has some ideas. I have managed to …

Software Development c#
Member Avatar for tinstaafl
1
535
Member Avatar for androidz

Hi danibians, wonder where i got this error. it got error after it reads the runcompleted process. here is my code Hi Everyone, Hope you could help me with this. I got an exception error saying "Exception has been thrown by the target of an invocation." here is my code: …

Software Development open-source vb.net
Member Avatar for androidz
0
481
Member Avatar for keedier

hi there, im new in coding on visual basic, well, im new at coding at anything :) i have a problem on my telephone directory program that i created about listview, i was wondering if i can click the item on a listview and show the result on a new …

Software Development listview visual-basic
Member Avatar for Jx_Man
0
282
Member Avatar for Papa_Don

Group, I'm thinking I may want to use the Date data type in SQL Server. However I'm still very unclear how to read, write and compare using this kind of data type. I realize this has a time component which is of no importance right now (it will be later …

Software Development sql vb.net visual-basic
Member Avatar for Papa_Don
0
234
Member Avatar for somjit{}

hi everyone :) i want to learn vb6 , but i dont know where to start. I have a college project related to creating banking software where vb6 is being used as the frontend. i have around 1 month to get my vb6 skills up , as the project has …

Software Development visual-basic
Member Avatar for chowdhary.barnali
0
241
Member Avatar for Zulu123

Hi I currently have a textfile with different types of unit measurements -> from, to, factor (E.g. ounce, gram, 28.0) So far i've written this: string from, to, x, y; double factor, amount, output; string[] splitData = new string[2]; StreamReader reader = new StreamReader("Filename.txt"); string[] data = reader.ReadToEnd().Split(','); How would …

Software Development
Member Avatar for ddanbe
0
222
Member Avatar for XerX

Hello. I am trying to recreate manually a small celsius-to-fahrenheit converter that I created with Design view before that. I used its code for reference, but still doesn't work. When I run my code I don't get the components drawn on the screen, only an empty window. What am I …

Software Development display java java-swing
Member Avatar for XerX
0
1K
Member Avatar for tony75

Hi again I’m working with the text file and I need suggestions about 2,4,5? and mybe about 1 and 3 also. For example I have this text. “I love the python programming How love the python programming? We love the python programming Do you like python for kids? I like …

Software Development python
Member Avatar for tony75
0
505
Member Avatar for mksakeesh

why does code 1 gives segfault error whereas code 2 doesn't, both are basically same, do anyone have any suggestion? 1. #include <iostream> using namespace std; template <class T> class nodes { template <class U> friend class linklistchain; private: nodes<T> *adrs; T data; }; template <class T> class linklistchain { …

Software Development c c++
Member Avatar for mksakeesh
0
275
Member Avatar for chdboy

I'm using Sql Express in Eclipse here is the code import java.sql.*; public class Login { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("This is my new world"); //String url = "jdbc:sqlserver://\\SQLEXPRESS;databaseName=pay;integratedSecurity=true"; String url ="jdbc:sqlserver://SQLEXPRESS;databaseName=pay;integratedSecurity=true"; try { Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); } catch (ClassNotFoundException …

Software Development java
Member Avatar for chdboy
0
910
Member Avatar for game06

i have a Life class. which just prints a image of heart. i want to have 6 lifes so iam adding 6 classes in arraylist. 1st heart one left. 2nd heart next to it..... int life = 6; //LIFE - create 6 heats and store in arraylist lifeClass = new …

Software Development java
Member Avatar for game06
0
143
Member Avatar for Vongola_Takeshi

We have this subject called Computer Oraganization... we are now using dos debug commands but the problem with my laptop is that when I type debug command...it will prompt 'debug' is not recognized as an internal or external command, operable program or batch file. The C:\Windows\system32 do not have a …

Software Development assembly
Member Avatar for xiboom
0
688
Member Avatar for entropic3105

I have been working with numbers in tkinter using operators but I'm unsure on how to process the input and using maths on them. I also wouldn't mind knowing how to use words either for future reference. Reply if you know anything.

Software Development python tkinter
Member Avatar for bumsfeld
0
318
Member Avatar for Papa_Don

Group, I'm having an issue with SQL Server that has me baffled. I need help. When I originally loaded SQL Server 2008 Express and created my database, I called it "DataDesignSolutions". The tables were created through VB Studio 2010 Express. It's path was "C:\User\Don\Documents\DataDesignSolutions.mdf". I'm not sure how, but somewhere …

Software Development sql vb.net
0
165
Member Avatar for jaison2

well basically i have to draw a stick figure for which is my first question... i cant figure out how to draw a horizontal line and also a line at a angle for the legs... here is the code for the first one def drawStickFigure(): from graphics import * win …

Software Development python
Member Avatar for bumsfeld
0
10K
Member Avatar for cobaltbravo

I'm currently working on an assignment for my intro python class in school. The program is a "guess my number" variant, but its focus is on global variables and the try/except operation. I've managed to figure out most of it, but I'm having trouble calling my function that gives a …

Software Development python
Member Avatar for cobaltbravo
0
303
Member Avatar for jakewebb

Hi the problem I am faced with is after adding around 35 video files of both .avi and .mpg with a total file size of around half a gig to the resources of my project, I get an error message on debug telling me "Error 1 Unable to write to …

Software Development file-system vb.net visual-studio
Member Avatar for tinstaafl
0
1K
Member Avatar for spowel4

Using this example json file: { "stores": [ { "storeName":"AUGUSTA", "company":"CC", "emailAddresses": ["spowel4@gmail.com", "spowel4@yahoo.com", "steve@compsysplus.com"] }, { "storeName":"CHATTANOOGA", "company":"CC", "emailAddresses": ["spowel4@gmail.com"] } ] } I have this code to try to parse the file: public static void main(final String[] args) throws Exception { // TODO code application logic here ObjectMapper …

Software Development java json
Member Avatar for spowel4
0
9K
Member Avatar for clubberlangMayo

hi guys , im designing a c++ code for an assignment and im badly stuck.i have to create a programme word checker to change plurals to nouns. i have it completed but have to store it as statistics. so when the user selects the VIEW button at the end of …

Software Development c++
Member Avatar for clubberlangMayo
0
993
Member Avatar for savedlema

Hi all! I use VB.NET + Mysql. I have two tables (tblstudents & tblpayments). I want to view payments details of a selected student. Thus, I'd like to select some values (firstname,middlename,surname) from tblstudents and (all values from tblpayments WHERE class = @class -I know how to deal with @class, …

Software Development vb.net
Member Avatar for savedlema
0
552
Member Avatar for game06

i have two classes, enemy class and level class. in level class i am changing the counter value. note i set up my if statment so it will only goes in onces and never again. so if u reach lvl 2 than it will go in lvl2 if statment onces …

Software Development java
Member Avatar for JamesCherrill
0
167
Member Avatar for IT_Techno

hi, i have agridview in desktop application, i fill it with data using dataset, how can i chose arow from gridview and make right click on that cell then do search for that info i chosed from gridview? Best Regards, IT_Techno

Software Development dataset
Member Avatar for IT_Techno
0
398
Member Avatar for lauraroxi

Hello! I use the Serializable interface in one of my projects but I have a problem. I serialize some objects and when I try to deserialize them after I run the application several times, the only object that is deserialized is the last one that was serialized. Do you have …

Software Development java
0
84
Member Avatar for M.S.

Assuming that every person has a National ID number, I am trying to check if the Entered number is a valid ID number, under these conditions: 1. ID number must be of 10 digits length. 2. If ID length is greater than/equal to 8 and less than 10 digits, add …

Software Development python
Member Avatar for M.S.
0
2K
Member Avatar for StefanRafa0

Hello guys i have started project that i want to translate text from Latin to Cyrillic so i have just this and i dont know how to continue any help will be appreciated - Thanks :) private void TranslateActionPerformed(java.awt.event.ActionEvent evt) { String TextToTranslate = textToTranslate.getText(); char[] latinica = { 'a', …

Software Development java
Member Avatar for StefanRafa0
0
177
Member Avatar for Papa_Don

Group, After asking what seems to be a thousand questions, clearly there is so much more to learn about Visual Basic. So this prompts my "Today's Question": Are there some good online courses or classes at a local college that I can take? By the way..... I live in the …

Software Development vb.net visual-basic
Member Avatar for Papa_Don
0
183

The End.