132,726 Archived Topics
Remove Filter ![]() | |
I would like to get assistance on how to retrieve data from MS SQL database to view it on a listbox.In my db i have two columns. Software Development vb.net | |
Hello I was wondering if there is a way to read a unix profile'd variable while inside my PERL code? I'm trying to do something like this. system( " execute some code >> $UNIXVAR\log"); also tried system( " execute some code >> '$UNIXVAR\log'"); I think though that the way I'm … | |
Hello, I am facing the a probelm, I wanted to read a unix PATH variable into perl script. But its not working. $path_var=`$PATH`; Can u help me in doing this. Thanks in advance, Subii | |
hi friends i want to put help file into my project.sth that when user press F1 it has been shown.how can i create a help file? thanks. Software Development | |
Hi all, I'm currently learning Java right now through a class and my instructor has asked me to try writing a word-count program using a Map interface. It should run through command line and has to identify the number of words, the number of distinct words, and the distinct words … Software Development java | |
Hi everyone, Im working on a large scale audio program, and I got a question regarding namespaces: The main() part of the program includes my own headers, each named according to what part it plays in the program, eg: Audio.hpp , Midi.hpp etc. These headers will "load" other headers..? Is … | |
Hi, I am very new to Python and thus the question. I have a Python List ready now which I need to send to a C program for further processing. Is this possible? I came across SWIG which does a C to Python but could not find anything that did … Software Development python | |
Hi, I am trying to print a String value like this but still not able to get it,. my method is like this:- [CODE] Class1 { public String mystring; public void mymethod(){ mystring = ""; } //Then I am setting the value of mystring in other method like this:- public … Software Development java | |
Hi guys i'm using the join statement and then display it into the data grid. the problem is table 1 and table 1 info display it together like this Badge_ID Emp _Name Active Badge_ID Emp _Name Active 1234 Nana Yes 1234 Hana No How can i show like this in … Software Development sql visual-basic | |
Hi guys i need help on this can help me can help me to correct it. I want the inner join table 1 & table 2 not show a row in the data grid in the vb6 my sql statement is like this: sql = " Select * from staff_badgeTracking … Software Development sql visual-basic | |
I want to have scrollbars in a wxpython object that the user cannot navigate away from. Like how a dialog works. I want the scrollable area to be have comboboxes on it. I understand that I can easily put a scrollable area on a dialog that includes text. The only … Software Development python | |
hi, i have a python module which i compile to an EXE (using Py2EXE). this EXE will be called from another program which was created in C++. my Q is, how can i return an error status from my PY exe to the calling program. is there anyway i can … Software Development python | |
Hi, I am writing a VB.NET application, and I'm having a little trouble writing to the database (via ODBC). I can read from it perfectly well, but when I send an "UPDATE" command via ExecuteNonQuery(), I get a "System Error". Can someone help Identify the problem, or maybe propose alternatives? … Software Development vb.net | |
Hey guys I'm attempting to make a super mario like platform game and need help with making images move. Like instead of moving the little man, just having the background moving with the corresponding button movement. Can anyone hint at how to do this? Or is moving the little man … Software Development python | |
well i alawys wondered when i make char name[]="bla"; and count by ptr it doesnt work it says cant count wrong argument to increment but see whenever i like make it a function like void putit(char *Name); it work i dunno why though why does it work then if its … Software Development c | |
I've got drag and drop to work in ListView so that I can drag a folder containing mp3's and they will display. My problem is that they only show up if I drag the directory in. I can't drag a single .mp3 file in by itself and have it displayed. … Software Development listview | |
I have this example file that I've been using to get used to the perks of Allegro, but the file is written in an earlier version of Allegro than 4.2.2. There are only a few errors, but I don't know how to fix them! I'll post the code and the … Software Development c++ | |
What I have: [CODE] (tcp stuff here) data = System.Text.Encoding.ASCII.GetString(bytes, 0, i); switch (data) { case (data.Substring(0,6)=="send /": MessageBox.Show(data.Substring(6).....) break; case (....): ..... break; ....... } [/CODE] The error: cant implicitly convert bool to string. This is from the case statements. I would use an if statement but when I … Software Development | |
Hey, I'm trying to make a save function in API that will append to a txt file instead of writing over it. Can I get some help? Here's what I have so far: [code] #include <new> #include "windows.h" BOOL SaveTextFileFromEdit(HWND hEdit, HWND hEdit2, HWND hEdit3, HWND hEdit4, HWND hEdit5, HWND … Software Development api c++ windows-api | |
Hey guys, I was having a bit of trouble with making my GUI look presentable (not too busy or crammed up) and I have a few questions that shouldn't be too hard to answer. I'll briefly explain what I have at the moment. I have a total of 15 text … | |
![]() | I am working on an example for a class and the build succeeds, but when it runs, it just hangs and won't complete. Not sure what I'm doing wrong? [code] #include <iostream> #include <fstream> using namespace std; int main(int argc, char *argv[]) { istream *fin = &cin; if(argc > 1) … ![]() |
Hello, im having this annoying problem with trying to create a global class to hold all the global variables to be used in the form. This is my main function: [code=CPP] // car rental.cpp : main project file. #include "stdafx.h" #include "Form1.h" #include <string> #include <stdlib.h> #include <vcclr.h> #include "Globals.h" … Software Development c++ | |
hi guys, i need to encrypt a plain text limited to 15 characters but the output the encryption must also be 15 characters since i am limited to database constraint. how can i do this? thanks Software Development c c# c++ encryption | |
Hi all, I am studying c++ and there is an expression that i did not understand can someone please explain it to me ? It is declaration of a public class method. The expression is [B]bool less_than(const Date &d) const [/B]. name of the class is Date. Thank you, Software Development c++ | |
1. Opinions how to make it look better ? 2. How to make path for Linux ? using user ? 3. For Linux . What the difference between ( #! = user/bin/python , #! = user/bin/env python) ? 4. Anything i forgot or should consider ? [code=python] # ----- ----- … | |
Hi! I've been working on a GUI for a while. The problem I'm currently having is that the files I'm reading in have the same "tags" for different lines. [B]For example, the following would be in a file I'm reading in[/B]: [Laser1] port ="//dev" type ="lms" [Laser2] port ="//dev/s2" type="hokuyu" … | |
Hi In my VB program, I am going through a database, adding each row/record to a listview. One of these fields is a date. For each row/record, I want to get the difference in days between that date, and the corresponding date in the next row/record. Thanks Robert Software Development listview visual-basic | |
Hi, in the next example code: [code=cplusplus] #include <iostream>; using namespace std; #include <iomanip>; int main(int argc, char *argv[]) { for(int i = 1; i <= 28; i++) { cout << setw(3)<< i; if(i%7 == 0) { cout << endl; } } system("PAUSE"); return 0; }[/code] i compiled and i … | |
Hello, I am attempting to convert a Windows BMP byte stream/array into a PNG format. I am unable to modify how this byte stream comes in. My attempts: I've tried using lodepng ([url]http://members.gamedev.net/lode/projects/LodePNG/)[/url], but it only supports RGBA format for bitmaps (mine is only BGR, I believe). I've also tried … Software Development c++ | |
Hello Everyone I'm currently busy doing a program that can capture sales, and evrything is working fine at the moment. The only problem is that in the stock table I can't update the quantity(when the company purchases stock), and also can't decrease the quantity(when they are sales). If I were … Software Development oracle visual-basic | |
Hi guys, I writing this vb.net app using an mdi form. I want to be able to use ctrl+z and ctrl+y in my forms' controls. This is not working by default, allthough I read that it should. What could be the problem here? I do not have any code in … Software Development vb.net | |
hello all in vb we can use controll array to make the calc so with in single block we can write our entire code Is there any way to make calc in c# like vb's controll array ?? pls provide ur suggetion Software Development c# | |
Hi! I have a problem, again. I would like to write a program to integrate functions. If I write to console integrate(polynom, lower limit, upper limit). I already write function which seperate polynom, now I don't know how to calculate whole thing. Example: integrate(x^2+3,-1,2) solution: 12 Software Development pascal | |
Hi guys or gals , i'm in trouble with my class teacher, with in two days i have to finish my lab work .... i'm in need of c program using linked list my concept is 1. creating a linked list 2.Inserting a number in front of it 3.Insert a … Software Development c linked-list | |
Question - Three stacks can be used to sort a list of numbers. Assuming stack in holds the input list of numbers, stack out is to hold the output list after sorting the numbers and temp is used during the sorting process. The sorting algorithm follows. 1 set up stack … Software Development algorithm java java-swing | |
Hi, I am learning C as a hobby. Was looking at a textbook that I got at the fair. They talking about basic types etc and have the following code: char ch; int i; i = 321; ch = i; printf("ch=%d\n",ch); so what I did was to compile it to … Software Development c | |
please help me in writing a program in java "A student has a name,roll no., class, home address, date of birth. First dessigne a suitable class for date, write constructor and get and set functions. Then dissign a class for students informations. Write constructor, get and set function to calculate … Software Development java | |
Hi I'm thinking of writing a mmorpg game and what I would like to do is create a server I would like to send text messages over the internet to trigger events at the client or server. A. How can I do this. B. Is there a better way of … Software Development c++ client-server | |
Does any one know how to get the index value in a 1 dim array of a returned character or integer? For example the value is 15 but I need to know where 15 is on the array, position a[0] or a[15] etc. thanking you in advance Software Development c | |
I've been writing a java wrapper to a c library, and need to use asm to push the parameters onto the stack to call the library function. an extract of the c code: [CODE]extern void asm_dispatch(void *func, int nwords, char *arg_types, long *args, int res_type, long *resP,int conv); /********************************************************************/ /* … Software Development assembly | |
Hi I want to read the content in datareader.So I use below coding to do that if (dataReader4.IsDBNull(0)){ } but I run above coding it gave me an error meassage.The error Meassage is "Invalid attempt to read when no data is present". then I use below coding dataReader4["Email"]==null but It … Software Development | |
Hi, I call "set -o notify" to notify me when my background jobs finish. I find that the messages upon finishing are different: for some job, it starts sometimes with "[jobID]", sometimes with "[jobID]+" and sometimes "[jobID]-". I wonder what they mean actually? Do they mean the jobs are finished … Software Development shell-scripting | |
Hi, I'm doing an assignment which throws an error when meeting division-by-zero error using Signals in C library signal.h and let user input another 2 numbers, if no error just continue letting user input 2 numbers and print out quotient of them. Here is my attempt: [code=c] #include <stdio.h> #include … Software Development c | |
I am totally stuck. I created a program to read in the file and one that will sort from a string array. The problem is that it sorts from the beginning of each line. I need it to sort after the -. I need it to sort by the town … Software Development c++ | |
[CODE]Imports System.Data.SqlClient Public Class Form3 Dim con As SqlConnection Dim cmd As SqlCommand Dim dr As SqlDataReader Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click con = New SqlConnection("uid=sa;pwd=igiat;database=harsha1") cmd = New SqlCommand("select * from student") con.open() dr = cmd.ExecuteReader() While (dr.Read()) If dr(0).ToString() = TextBox1.Text … | |
Hello - I'm trying to use Perl to run through a list of numbered folders (41..61) that have a txt file in each with a name like "ms_stem41" or "ms_stem10B.pl". I am grepping a line from these files then manipulating them. The files all start with "ms_stem". When I type … Software Development perl | |
Hi ppl, Now this is very funny, luk, my company is a small 1, i just completed a project, this is connected to backend (MS SQL). since itis small, my company canot keep a server for the client alone. now, how can i deploy. I tld my MD tat the … Software Development assembly client-server | |
i am making a banking application in wxwidget using gcc complier code-blocks. i made a administrator login form now i am having a problem in event handling using buttom i don't no how create a open new window/form through buttons. it would be great if anyone can provide me the … Software Development c++ | |
Hi i am developing vb.net software. i have one problem ( The company have number of steels in different size on stock, one customer need 10 steels in different size how to cut the 10 steel from stock with minimum waste. Thanks Software Development vb.net |
The End.