132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Simple

Hi friends, I have implimented a project. I connect it with Access database but problem is that I don't know how to make it as a Installaton file which can run on other machine (System) that donot have Visual Basic. Plz. give me the solution.

Software Development visual-basic
Member Avatar for kinwang2009
1
913
Member Avatar for swinefish

I'm having an odd issue with reading the output of a process in VS2010. I have redirected all the necessary streams as I should ([icode]p.RedirectStandardOut = true[/icode] etc) and getting hold of the standard output and placing it in a another stream is no problem. However, when I read from …

Software Development visual-studio
Member Avatar for swinefish
1
123
Member Avatar for camigirl4k3

I have most of it but I can't figure out how to word the last part. [CODE] def findLargest(L): largest = 0 for x in L: if x > largest: largest = x return largest def findSmallest(L): smallest = 300000000 for x in L: if x < smallest: smallest = …

Software Development python
Member Avatar for spiricn
1
250
Member Avatar for Crow13

Hi. I know it's now rly allowed to post homework and stuff. But i just need some help, like hints, or examples. =] Don't fully understand how arrays(marked as mass in prog.) work yet. Arrays = massivs (in the countries language where i live) [ The point is to have …

Software Development c c# c++
Member Avatar for Crow13
1
119
Member Avatar for C0DER

[B]Hello everyone,[/B] I am looking for a way to get hidden files fron a folder and then list them in a listbox control. Could someone help me with this? this is the code i got so far: [CODE]Sub hidden(path As String, list As ListBox) mypath = path MyName = Dir(mypath, …

Software Development visual-basic
Member Avatar for C0DER
1
105
Member Avatar for sachintha81

People, I need help with this problem. I have a string like the following. [CODE]<JDF ID="n20090409EQ0001" Type="Product" JobID="000004-01" xmlns="http://www.CIP4.org/JDFSchema_1_1" Status="Waiting" Version="1.3" xsi:type="Product" JobPartID="B30" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:scr="htt://new.scr.url/abc" Activation="Active".......[/CODE] It continues like that. From it, I need to extract ALL the occurrences which start with "xmlns:" For example, you have these three tags …

Software Development
Member Avatar for fesmaeili
1
167
Member Avatar for lionaneesh

[CODE] scanf("%[^\n]",line); [/CODE] tell me the logic of this scanf statement and why " [^\n] " is used instead of %s ... and how this statement works... i know that this statement inputs lines till enter is pressed.. but what is the format of the scanf statements please tell..

Software Development c
Member Avatar for jephthah
1
332
Member Avatar for BrandonB

Hey all, I'm busy with an assignment for which a question, due to being too complicated, has been cancelled (i.e. no longer required to be done). The lecturers told us that if we still included this question in our assignment answers, they would give us the marks for it if …

Software Development c++
Member Avatar for Fbody
1
573
Member Avatar for VilePlecenta

I have made a simple test application that I use to paint objects while I study and try to give them physics such as gravity, velocity, wind, momentum, etc. I have the app setup like this: [CODE]WM_PAINT PaintFunction(); break; DWORD CalculationsThread() { while( 1 ) { //-_-_Calculations here SendMessage( WindowsHandle, …

Software Development c++ opengl
Member Avatar for VilePlecenta
1
115
Member Avatar for urbangeek

hello guys...i'm rookie in C...just starting out...:$ Well...the program i was trying to write was make a series like: 0 10 010 1010 . . . Now i wrote a program. But it's kinda behaving weird. Let me show your the output: [ICODE]enter the no of rows you want: 4 …

Software Development c
Member Avatar for urbangeek
1
557
Member Avatar for buckkitty

Hello, I am trying to implement a for loop which fills (and re-sizes) a temp matrix (temp_data) based on a column value criteria from another matrix (data). The data matrix comes from a text file which has the format: a b c d e f g h 1 i s …

Software Development c++
Member Avatar for tetron
1
99
Member Avatar for checho

hi i have the next task to solve. [B] * We are given 5 integer numbers. Write a program that checks if the sum of some subset of them is 0. * Example: 3, -2, 1, 1, 8  1+1-2=0.[/B] do u have any other ideas then writing all the …

Software Development
Member Avatar for checho
1
741
Member Avatar for vijayan121

Question posed by josolanes: [quote]I looked at your thread here: [url]http://www.daniweb.com/forums/thread88255.html[/url] from a couple years back And I'm starting to get a grasp of your first post. I understood how to do the factorial struct really quickly, but the _if and _for statements still make me feel uneasy, though I …

Software Development c++ wordpress
Member Avatar for josolanes
1
170
Member Avatar for matika

[FONT=Lucida Console][COLOR=Blue]is there any function that helps to sort an array of strings alphabeticly i need to sort an array alphabeticly which contains names of students thx 4 yr help matika :cool: [/COLOR][/FONT]

Software Development c
Member Avatar for sachin_mnnit
1
760
Member Avatar for Tellalca

I cannot assign my rawWord value to the string array. The program reads a value from testText.txt and then edits it. Then this manipulated char rawWord[20]'s value must be assigned to the string array word[i]. When i debug i see that rawWord is edited correctly, but when it comes to …

Software Development c++
Member Avatar for Tellalca
1
301
Member Avatar for omar isaid

fscanf is a C function designed to read character by character from a file to the system how we can use scanf programmatically to read till first white space ???? :) :)

Software Development c
Member Avatar for omar isaid
1
3K
Member Avatar for sandeep.shine

ello all. I am fairly new to progamming. I have a free C++ compiler(DEV-C++) and i was wondering if this is ok or should i actually buy a better C++ builder. I'm postive everyone will probably tell me 1 of 2 things. 1) Stick with DEV-C++ and come back when …

Software Development c++
Member Avatar for Ancient Dragon
1
170
Member Avatar for bufospro

Hi, I am trying to write to a .txt file an integer but the characters I see when I open the file are strange. Could you tell me what happens ?? [CODE] import java.io.*; public class A { public static int readInt() { byte b[] = new byte[16]; String str; …

Software Development java
Member Avatar for bufospro
1
123
Member Avatar for VernonDozier

Okay, I think I know the problem, but I don't know how to solve it. I want to write a binary file with raw bytes. Windows appears to interpret 10 as ASCII 10 and it does its thing where it interprets 10 as '\n' and decides to change that to …

Software Development c
Member Avatar for VernonDozier
1
135
Member Avatar for dabboo

Hi, I am new to programming. As an absolute newbie, I downloaded codeblocks and wrote my first programme i.e. Hello World. But when I hit F9 key of my keyboard, the programme didn't run. Can someone guide me as to how a programme is run after writting it in the …

Software Development c++
Member Avatar for dabboo
1
93
Member Avatar for nabil1983

Okay i've created an array object with help from here like so: CdRecord[] array = new CdRecord[5]; array[0] = new CdRecord(); now i've used a while statement to write to the arrays , im writing CDName,AlbumName & NumberOfTracks... when i run my program it all works except that when i …

Software Development java
Member Avatar for emilchacko
1
161
Member Avatar for samudebr

Can some one help with the code how I am going to populate a treeview. In my database i have a talbe with the following coloums: ID, ParentId, NodeText. Now i have the data in class named Cateogry and in it i have all the above colums. Then I created …

Software Development
Member Avatar for yaninea
1
2K
Member Avatar for qk00002

Where I can download VB6.0 english version? Need one now but couldn't find on the web. help~please~~~~

Software Development visual-basic
Member Avatar for WaltP
1
342
Member Avatar for bunnyboy

So today at school I was given a task to create an application to apply convolution over image. I decided to load convolution cores from xml file. But, as this was the first time me working with xml I have no knowledge how to effective parse it. So here is …

Software Development xml
Member Avatar for bunnyboy
1
105
Member Avatar for PierlucSS

Is it possible to somehow compare a value to a range of value without using for/foreach. [CODE]IEnumerable<XElement> results = xdoc.Descendants( "PAGE" ).Where( p => p.Attribute( "id" ).Value == RANGE_OF_ID).Select(result => result);[/CODE] Is there anyway of doing what I wrote below? RANGE_OF_ID could be a collection.

Software Development
Member Avatar for PierlucSS
1
142
Member Avatar for kirandeshmukh

Hi Friends, I am doing b.tech(Comp) and my project sunject is online exam. so pls. help me for it, pls. someboby send me the source cpde of it. Mine E-mail Id is SNIPPED Regards, Kiran

Software Development vb.net
Member Avatar for abdul shafee
1
100
Member Avatar for skerdzius

Hello, i've been learning java for a few months now, but i woulld also like to try c++. I tried rewriting one of my exercises in c++, but i cant seem to get objects working. These lines all prodduce errors. Cylinder outer(5,5); Cylinder inner(4,4); cout << "\n" << outer.volume() << …

Software Development c++
Member Avatar for skerdzius
1
339
Member Avatar for mbrinkley

I have been working on this program for about two weeks. I missed the day that the professor covered the material necessary to code this program due to surgery. I am now behind about 5 programs that are due at the end of the week and I'm trying to teach …

Software Development algorithm c++ file-stream
Member Avatar for mbrinkley
1
178
Member Avatar for BrianWren

In trying:[CODE]string var1 = Something"; Console.WriteLine("{0} ... \{", var1);[/CODE] to get: Something ...{ I get an error: Unrecognized escape sequence. Without the backslash I get an error: Input string was not in a correct format. Using "{0} ... \x7B" doesn't work: Input string was not in a correct format. (\x78 …

Software Development
Member Avatar for BrianWren
1
129
Member Avatar for bumsfeld

Many new computers come with Windows7(64bit) OS. You will be tempted to install something like Python 3.1.1 64bit version. However, many packages like PyQT and PyGame don't offer 64bit versions yet and will not work!

Software Development python
Member Avatar for Alq Veers
1
487
Member Avatar for cwarn23

Hi and this function I wrote as part of a larger project and acts exactly like the php explode function. Although there a few slight differences between this function and the php explode function it can easily be tweaked to act identical. Also with this function it does not use …

Software Development c++ php
Member Avatar for tetron
1
677
Member Avatar for danturn

Hey guys, I've got a dataview (shown below)... UDP Position Label Number 11042266 1 JXXXXX 9XXXXXXXXXXX 11042266 2 GXXXXX 9XXXXXXXXXXX 11042449 1 RXXXXX 11042458 11042458 1 SXXXXX 9XXXXXXXXXXX 11042458 2 IXXXXX 9XXXXXXXXXXX 11042458 4 AXXXXX 9XXXXXXXXXXX 11042458 5 HXXXXX 9XXXXXXXXXXX 11042458 6 MXXXXX 9XXXXXXXXXXX 11042459 1 IXXXXX 9XXXXXXXXXXX 11042459 2 …

Software Development
Member Avatar for danturn
1
176
Member Avatar for DoEds

Can u help me with this? Here's the problem. Everytime i input just 1 word...it works fine. [URL=http://img148.imageshack.us/i/26168475.jpg/][IMG]http://img148.imageshack.us/img148/2503/26168475.jpg[/IMG][/URL] but when i enter 2 words this will happen... [URL=http://img706.imageshack.us/i/49110093.jpg/][IMG]http://img706.imageshack.us/img706/6625/49110093.jpg[/IMG][/URL] [CODE]#include <stdio.h> struct Student{ char course[5]; char subject[5]; char name[20]; float units[8]; float grade[8]; float qpi[3]; }Stud[3]; int main() { float grade …

Software Development c
Member Avatar for DoEds
1
278
Member Avatar for spookytr

my project requires an external header file which includes definitions etc.. but i have no idea about how to create a header file on dev c++ thanks for any help..

Software Development c
Member Avatar for Salem
1
67
Member Avatar for sid78669

I have the following classes, SLList, an integer datatype-based linked list and DLList, a template-based linked list. My problem is that SLList is working perfectly, but as soon as i modify it to be used as a template, i get errors, more specifically LNK 2019, i.e. linking errors. I avoided …

Software Development c++ linked-list
Member Avatar for sid78669
1
638
Member Avatar for deucalion0

Hey there guys, this is my first post and yes it's because I need help. I am not straight out asking for someone to do my work for me, I can get my work done for me at any-time no problem but then I won't learn and learn is something …

Software Development c c# c++ visual-basic
Member Avatar for Geekitygeek
1
542
Member Avatar for goodeye28

how can i code this player1=rock player2= paper player two wins please help me

Software Development c
Member Avatar for Aia
1
976
Member Avatar for oxy77

I have been trying to figure this out for a little while and I really can't seem to get a good grasp on where I am messing this thing up. I keep getting errors: Error 2 error C2664: 'input_polar' : cannot convert parameter 2 from 'int' to 'double &' Error …

Software Development c++
Member Avatar for oxy77
1
155
Member Avatar for Megalodeez

Write a program to calculate a students GPA. What I cant figure is how to calculate ( Total= credit * grade + credit * grade...etc) or (GPA = Total/grade +grade etc...) If you run this program, you will see my calculation off by a lot. Please help. [CODE] import java.util.Scanner; …

Software Development java
Member Avatar for JavaNewbieEK
1
361
Member Avatar for photoyid

So I am working on a faux graphics program for class. The current part that I am working on is to determine just from top left and bottom right corners what the coordinates should be. I believe my logic is good but it seems to be setting it as tl(3,1) …

Software Development c++
Member Avatar for WaltP
1
149
Member Avatar for munadel

In a C++ function How to check if the minimum and maximum values of an array are not equal and the minimum and maximum values of the array are not adjacent to one another. Also the minimum value occurs exactly once in the array and the maximum value occurs exactly …

Software Development c++
Member Avatar for WaltP
1
111
Member Avatar for jd_davis

Greetings, I'm working my way through the Head Start C# book, and I know that whenever I open a stream [CODE=c#]Stream reader = File.Open(filename));[/CODE] I [B][I][U]ALWAYS[/U][/I][/B] [CODE=c#]reader.Close();[/CODE] my stream. The book also lets you know you can use a using block [CODE=c#]using (Stream ...) { }[/CODE] and the stream will …

Software Development asp.net c c# c++ file-stream
Member Avatar for MattBerry
1
846
Member Avatar for habib_parisa

Dear all, I am trying to understand a C++ code. In one part of the code a one dimensional vector is copied into a two dimensional vector. I do not understand at all how such thing can work. But compiler is quite ok with that. #define TOTAL_STEPS 120 #define NUMBER_DECISION_VARIABLES …

Software Development c++
Member Avatar for habib_parisa
1
1K
Member Avatar for Diamonddrake

I am working on a really fun project. I have written much of a program that lets you use a RockBand or GuitarHero drum kit to play drum sounds on your PC, record, playback, ect. I have decided conclusively as I add features I need more than just a gui …

Software Development audio gui multithreading
Member Avatar for Diamonddrake
1
135
Member Avatar for dilas

I have such a problem: when I write:[code=c++] template<bool b> void foo(void); template<bool b> class B { friend void foo<b>(void); }; template<bool b> void foo(void){}; [/code] everything works just fine. But when I incapsulate all this in another class, I receive errors: [code=c++] struct C { template<bool b> void foo(void); …

Software Development c++
Member Avatar for dilas
1
165
Member Avatar for Gribouillis

This snippet defines a class LebsegueSet which instances represent sets of real numbers, namely finite unions of intervals. Set theoretical, topological and measure theoretical operations are implemented in pure python. Use freely and enjoy !

Software Development mathematics python
1
257
Member Avatar for saveyourselves

I am so confused in how to go about starting this, I have the information i need to input into the program but seeing the structure on how the program is laid out is my problem. Any example would be of great help. 1. Sandwich class to simulate the sandwich …

Software Development java
Member Avatar for kvass
1
218
Member Avatar for CSW110

Hi, my first programming query: well three queries. All I hope are trivial :) I thought I would have a go at trying to retrieve a value from an existing excel sheet. To do this I have used Project...Add reference to add - Microsoft Excel 12.0 Object library - Microsoft …

Software Development microsoft-office
Member Avatar for Geekitygeek
1
193
Member Avatar for sanz

hi i am trying to retrieve picture in picture box from db but my code is not working. [B]INSERTING PICTURE IN DATABASE[/B] [CODE] private void saveToolStripMenuItem_Click(object sender, EventArgs e) { button1.Hide(); button2.Hide(); comboBox1.Hide(); textBox1.Show(); foreach (object ab in barcodes) { string sto = ab.ToString(); string str = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/Documents and …

Software Development c# dataset open-source
Member Avatar for pauldani
1
1K
Member Avatar for shivnath

Hello Everyone I have just started studying about applications and usage of DBus and as I able to understand that it is possible to pass messages between two different applications(programs) written in different languages usnig DBus. But I am not able to implement it. So just for demo, I want …

Software Development debian java
Member Avatar for musthafa.aj
1
281

The End.