132,726 Archived Topics
Remove Filter ![]() | |
How to get the position of a device that is connected to the network but there is no internet connection? The connection is wifi. I can't use GPS because it uses internet and i don't want to use the cell network data to get the position. Is there a way … Software Development android-development | |
I am learing c# and confused on streams What are they?? Arey they used to store data or transfer data ?? Pls explain in very simple words Software Development c# | |
i am a student of computer science , i like to be a software application developer , but i am confused still about be ** a java software developer or .Net software developer**.....because in Pakistan 1) .net jobs are more ,2) .net application takes less time to compute,3) mostly people … Software Development | |
I got everything until to the point that check if the space is emprty or not. I dont know how to do it. can someone give me an example? Software Development java | |
![]() | Anyone knowledge with reading binary file intro struct? I got weird error.. The first line is correct but then its only trash.. http://s14.directupload.net/images/141003/nz6k6cd2.jpg it starts 1,0,450 and then it should be 2,450,1200 3,1200,xxx and so on. Load file function: bool CNtlFileSerializer::LoadFile(char* pszFullPathFileName, bool bCrypt /* = FALSE */, char* szCryptPassword … Software Development c++ file-system |
Hello... I have three textboxes on a form. The first two are for entering numbers for addition. And the third is for displaying the result of addition. I want the result of addition to appear in the third textbox as soon as I enter the numbers in the first two … | |
Hello I have a text-editor (CKEditor one) whereby am retrieving all the texts (which are in 3 paragraphs), in a single string variable, using Java codes. However, all the 3 paragraphs being retrieved have leading spaces, and I want to remove them for display purposes. How can I do so, … Software Development java | |
Hi all, I have a data grid that need to be with the same width of the windows that it is showing, but for some reason i can matain that width. Can anybody give a hand here. Best Regards Software Development | |
There are no errors or anything in my code, and the program runs and works. However, when I only enter a value in one of the text fields to test the error message, it enters "0" in all of the text fields below it. How can I get it so … Software Development java java-swing | |
I have an Access Database on which I have tables with similar structure and columns name columnA and columnB.I can use the below query on tables created design time to get this output. Table | result -------|-------- SELECT "Table1" AS Table, SUM(a) - SUM(b) AS Result FROM table1 UNION SELECT … Software Development data-structure database-design microsoft-access open-source sql vb.net | |
HI and good day to all, Since my 2nd year of my uni life, i have hardly touch C++ programming especially OOP in C++.Now starts my revision on C++ OOP. Since I have forgotten many OOP knowledge there is a question I wish to ask. Below is my code. #include … | |
can someone give me a detailed explaination why this won't compile, thanks` #include <iostream> using namespace std; int main () { int num1 = 5, num2 = 10; if (num1 < num2) { cout<<”num1 is less than num2”; else cout<<”num1 is not less than num2”; } return 0; } Software Development c++ | |
What is wrong with my java code in Eclipse? I have 4 different classes and it won't give an output. the problems are in the scorestest with the print function and in scores with the nodes. Please help. ScoresTest: public class ScoresTest { public static void main(String[] args) { // … Software Development java linked-list | |
I downloaded daily build and did python3 setup.py build and then python3 setup.py install So far so good! I tried import wx and no errors I tried to run the program [here](http://wiki.wxpython.org/Getting%20Started#Getting_started_with_wxPython) and all I got was the error below. Have anyone got wxPython working with Py3 especially on Linux … | |
hi im having a hard time fixing and identifying the problem. sorry abstraction really confuses me. the problem is I should write a weather prediction program using the random number generator. three outcomes should be possible: rain sun and cloud. import java.util.Random; public abstract class WeatherPredicMain { public static void … Software Development java | |
how can i stop looping sound in c# (visual studio) if (ConditionTrue) { SoundPlayer simpleSound = new SoundPlayer(@"C:\Users\BIB HUTI\Desktop\beep.wav"); simpleSound.Play(); } // it keeps playing and never stops. Software Development visual-studio | |
I have a simple class named as Invoice, in which I'm taking four instance variables to intialize PART NO, PART DESCRIPTION, QUANTITY PURCHASED & PRICE PER EACH ITEM. I have made getters and setters for each variable, also a method is created in the same class as InvoiceAmount which Calculates … Software Development java | |
How do I use pipes to communicate with another proccess that is being run using an execl command? I know how I can send info to that process but how do I get info back from that proccess? Some more information on what Im trying to do: I am trying … Software Development c multithreading | |
Hi all,have this code: Hi all,have this code: How do i implement binary search to display item.. found at index.. #include "stdafx.h" #include<fstream> #include<iostream> #include<string> #include<iomanip> using namespace std; struct sDetails{ int kNum; string Name; }; int _tmain(int argc, _TCHAR* argv[]) { sDetails students[5]; ifstream infile; infile.open("student.txt"); for (int i … Software Development c++ | |
I can't quite seem to get my head around this, i can load numbers in and add to an array then sort via bubble-sort but i cant seem to manage it with words. Any examples or help would be nice!! I need to load the word list from file then … Software Development vb.net | |
Can someone help me out writing hex string to file hex address from textbox? This is my current code: private void button1_Click(object sender, EventArgs e) { BinaryWriter wr = new BinaryWriter(File.OpenWrite(listBox1.SelectedItem.ToString())); for (int i = 0x83C410; i <= 0x83C417; i++) { wr.Write(textBox1.Text); } wr.Close(); } But it doesn't work after … Software Development | |
Hi everybody, I have a file with some tags like html. *<instance id="bass.1000000" docsrc = "BNC/A0C"> <answer instance="bass.1000000" senseid="bass%fish"/> <context> Try it with grilled sea <head>bass</head> and fennel. </context> </instance>* I need to parse it and retrieve some information like id and senseid in answer tag. How can I do … Software Development html-css | |
hi, my name is Ben,am new to c++ and i have this assignment to do.am stuck please somebody help me out Frequency of letter pairs Write a program to count the occurrences of all letter pairs in a sample of text (like the first paragraph of the Constitution). Disregard differences … Software Development c++ | |
hi. can someone give me a specific title for biometric voting system.. please, i badly need it :( Software Development | |
Hi!, i need to convert the string of a function in binary. In this case, i need to convert the return of the function swap() into binary to compare it in Mensaje_codificado() but it doesn't work. This is my script: - Thanks! Binary function: def numero_binario(x): i = 0 b … Software Development python | |
Good day! I have problems running my union all query..It only executes the first select statement but the 2nd and 3rd union was not executed. My backend DB is MSAccess 2003.. If rs_dailySales.State = adStateOpen Then rs_dailySales.Close SQL = "SELECT SUM(NetAmount) AS totalCashSales FROM InvoiceMain WHERE InvoiceType='Cash' AND DateOInvoice=DateValue('" & … Software Development visual-basic | |
We have date "30-DEC-99" in oracle database but when our code reads that date is reading like "datetime.datetime(1899, 12, 30, 0, 0)", why the year 99 is reading like 1899 rather 1999? how do I fix this issue? please suggest. | |
So I have writen a program that takes a linkedlist and shuffles it randomly using mergesort algorithm. The problam I'm having now is that the original list loses elements after the shuffle, and after som checking with some outputs it seems that it always one of the extra lists who … Software Development java linked-list | |
| |
I need to load the contents of a text file (itemInfo.txt) into a list box, I am on the wrong track, can someone please help. [code=VB] Public Class MainForm Private path As String = "L:\Visual Basic\SequentialHW\" Private Sub MainForm_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load itemListBox.Items.Clear() itemListBox.Items.Add(path … Software Development vb.net visual-basic | |
Im building a banking system. in my create_account it asks for account address and phone number as well as other questions. When I go to my Show account info (balance inquiry) I notice its not getting the right address as well as phone number. its showing "garbage". Im not sure … | |
I have built Boost from the website using ./bootstrap.sh ./b2 install [IMG]http://i.stack.imgur.com/VDrHd.jpg[/IMG] [IMG]http://i.stack.imgur.com/ZaBfk.jpg[/IMG] I think all are installed properly. I am trying to use Xcode to include the library of boost:thread.My code links to the header file properly with " #include "boost/thread.hpp"" commented, as seen from the following: [IMG]http://i.stack.imgur.com/XW1qE.jpg[/IMG] However, … Software Development c++ | |
Hello, i'm new to C and i have no idea why i'm constantly getting 2293532 as the output value of %d. Any help is appreciated, thanks! #include <stdio.h> #include <stdlib.h> int main(void) { int friends; printf("How many friends do you have? \n"); scanf(" %d", &friends); printf("You have %d friend%s", &friends, … Software Development c | |
Ive save my image on the resources folder abd i want to load picture on picbox... i used this method image1.load(Application.startUpPath+ "\sub" & 1 &".png" my problem is that.. there is an error on my location What is the perfect way of constructing that statement | |
Hi Dw Is there anyone know how I can retrieve contacts from my cellphone connected via usb using vb.net? I want to be able to read and perhaps write back contacts to and from a cellphone. Any idea, book, reference, guide towards achieving this? Thank you. Software Development vb.net | |
Hello guys, I've wrote a symbol table creator that uses hash function to determine the position of the symbol in the table and a linked list approach for the storing process in the table. And to the point. I've known myself for doing easy problems the hard way(and my teachers … Software Development c++ linked-list seo | |
I have two text files a.txt that contains data like abcd = 4.0 def =2.0 jkl= 8.0 and b.txt which has similar data abcd = 6.0 dfg = 2.0 jkl = 8.0 i want two compare and print the following points in a new text file 1.the names first, if … Software Development perl | |
Hi, I was wondering if anyone could clarify what this question is asking for? *Write a program with a loop and indexed addressing that exchanges every pair of values in an array with an even number of elements. Therefore, item i will exchange with item i+1, and item i+2 will … Software Development assembly | |
So i've decided to use SFML and i'm just trying to figure out its advantages and disadvantages...I've looked around and this is what i've got so far. Advantages: * Cross Platform * OO Design * Simple and fast (subjective) Disadvantages: * Quite new Any additional thoughts will again appreciated Software Development c++ | |
I have written a code that asks the user a name (ex.candy) and a number then it stores it in a stuff.txt file like so: " candy 20 candy 40 decorations 70 costumes 40 candy 60 " When reading from that stuff.txt file, how can I add the running total … Software Development c++ file-system ios | |
Good morning! I was wondering if anyone could send me in the correct direction to locate documentation on how the Windows Sensor and Location Platform gets its data so that I can have a Windows service that will respond to GPS requests (without actual GPS hardware)? I'd like to have … Software Development c# | |
'------------------------------------------------------------------------------ ' <auto-generated> ' This code was generated by a tool. ' Runtime Version:4.0.30319.17929 ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. ' </auto-generated> '------------------------------------------------------------------------------ Option Strict Off Option Explicit On Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.ReportSource Imports CrystalDecisions.Shared Imports … | |
Dear Geeks, I have a situation that I am trying to figure out how to automate on excel or write a program in python. i have a csv file like this: > team1 team2 win > hawks celtics 1 > hawks knicks 1 > hawks 76ers 0 > hawks lakers … Software Development visual-basic | |
Today, I faced very weird problem. I have 2 classes say class A and B. Both have one .h and .cpp files. 4 files(A.cpp,B.cpp,A.h,B.h). A class is base class of B and we are using instance of B in class A. It was saying "not a type" error while compiling. … Software Development c++ | |
i write a code of multithreading in which arise an race condition code is below class Race1{ public void show(String s){ try{ System.out.print("["+s); Thread.sleep(1000); }catch(InterruptedException e){ e.printStackTrace(); } System.out.println("]"); } } class Checking implements Runnable{ Race1 ob=new Race1(); String s; public Checking(String s){ this.s=s; } public void run(){ synchronized(ob){ ob.show(s); … Software Development java multithreading | |
i'm very confused and the others forums make me more confused :( i'm using string, so i need convert string to WCHAR*: const size_t len = filename.length() + 1; wchar_t wcstring[len]; swprintf(wcstring, len, L"%s", filename.c_str()); Gdiplus::Image img2(wcstring); the img2 read the file normaly, but i'm creating another Image variable in … | |
I am trying to show data on datagridview but error occurs Form1.vb code is as below Imports System.Data Imports System.Data.Sql Imports System.Data.SqlClient Imports System.Data.SqlClient.SqlDataReader Imports System.String Imports System.Configuration Imports System.ComponentModel Public Class Form1 Dim con As SqlConnection Dim cmd As SqlCommand Dim dr As SqlDataReader Dim da As SqlDataAdapter Public … Software Development dataset open-source vb.net | |
Hi! I am doing the programming on my computer and it works fine-the program, the database itself, inserting to the database is also working fine. But when I publish it and install the program on another computer. It crashes and does not execute the `INSERT` command. Here is my code. … | |
So here's the error in the Event Viewer. Application crashes when inserting data to the database. DAtabase: AS/400 iSeries DB2 Faulting application name: 242-CEWE.exe, version: 1.0.0.0, time stamp: 0x542a2ac6 Faulting module name: MSVCR80.dll, version: 8.0.50727.6195, time stamp: 0x4dcddbf3 Exception code: 0xc000000d Fault offset: 0x00022b5c Faulting process id: 0x12ec Faulting application … Software Development vb.net | |
hi I have create windows application using visual Studio 2010, every things goes will, but I have problem with display crystal reports in arabic language. on my pc every things working and showing reports very will in arabic language, but when i create setup project and .exe file then install … Software Development visual-studio |
The End.