132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for venkateshyeluri

Hi, I am using an asp.net web application in which I want to retrevie database table names into my dropdown list box. I have wrote code for this there are no errors but I dont get any table name to my DDL box. Kindly help, Thank you. MySqlConnection connect = …

Software Development asp.net dataset open-source
Member Avatar for Mitja Bonca
0
1K
Member Avatar for jhedonghae

i have here a code for my enlistment module..this code is for the available slot. for example i have set 10 as available slot and when i enlist a student 10 will become 9 and so on..my problem is when it reach zero because i can still enlist but the …

Software Development vb.net
Member Avatar for jhedonghae
0
116
Member Avatar for paoi00

hi.. i want to compare two tables ..in enlistment table will count the number of students that enlisted to the YearLEvel and section selected by user.. then i want to limit that by means of calling it from the table of Schedulings (AvailableSlots Table) here's my code but it doesnt …

Software Development open-source vb.net
Member Avatar for paoi00
0
110
Member Avatar for harinath_2007

Hi folks.. I'm in search of desktop nofication api's apart from the basic(default) one that java already provides. Can anyone direct me to some good links . Its better if it is free of cost. I found [this](http://blog.swingfx.ch/twinkle-100) nice one but its not free.

Software Development api java
Member Avatar for JamesCherrill
0
84
Member Avatar for OldDeveloper01

I have this block of code below which is to control questions which are to be displayed from the array. I am having problem with the the 3rd line of code, an i am not entirely sure what the problem is. rnd1, rnd2 are both double. Eclipse is telling me …

Software Development android-development java
Member Avatar for m4ster_r0shi
0
246
Member Avatar for lianpiau

When I select few records from datagridview and insert into access database. First selected record will last insert into database and last selected records will insert first. I got give a number to each record. For example, I got 3 items. When I select this 3 items and insert to …

Software Development
Member Avatar for Mitja Bonca
0
153
Member Avatar for NoIdea.Net

I am trying to get TenderTyp, TypeCode, AuthorizationCode and then all the info from: <arts:TenderCreditDebit> <arts:IssuerIdentificationNumber>999=99</arts:IssuerIdentificationNumber> <arts:ExpirationDate>1970-01</arts:ExpirationDate> <arts:ReconcilliationCode>19</arts:ReconcilliationCode> <arts:PrimaryAccountNumber>OTk5OTk5KioqKioqMDM1MQ==</arts:PrimaryAccountNumber> </arts:TenderCreditDebit> Which is buried in the XML shown below.... I seem to get so close the correct element but just cannot get the correct value! Could anyone help please? Thanks <?xml …

Software Development vb.net xml
Member Avatar for thines01
0
145
Member Avatar for easterbunny

Hi i got a problem with this code( attached below ) the fuction that receves the bidimensional array doesn't seem to work.I've tryed to cout in main() and it works.WHY???? The program doesn't show me any error whatsoever. #include<iostream> #include<string> #include<fstream> using namespace std; void afisare(int h[3][3],int nrEle){ for(int i …

Software Development c++
Member Avatar for easterbunny
0
863
Member Avatar for sinnebril

Hi there! I have run into a new problem, this time with the re.findall() module. The objective of this code is to iterate over rows in a Excel sheet and print them in a other Excel sheet with a separation of column between the species name and the gene name. …

Software Development algorithm python
Member Avatar for sinnebril
0
204
Member Avatar for cresenia1988

I'm currently doing an assignment and I would like to seek for help. I'm suppose to do a creation system where Option1: I would create a binary file(outfile.dat) from infile.txt. //below is the infile.txt F Indonesian Michael Chen F France Alain Pierre S Tan Eng Soon S Lee Ang Heng …

Software Development c++ ios
Member Avatar for mrnutty
0
196
Member Avatar for glen999

please help i'm stuck on something for a project i'm doing i need to display the numbers 1 to 9 randomly but they cannot be repeated! the code i have so far is this: #include <iostream> #include <ctime> #include <cstdlib> using namespace std; int main() { srand((unsigned)time(0)); int random_integer; int …

Software Development c c# c++
Member Avatar for deceptikon
0
160
Member Avatar for K33p3r

Good day, I have a college project in which I need to create a program which simulates an Erlang(k) variable. I am not talking about the Erlang language, it's about a standard Gamma(0,1,k), k ϵ N+. I appreciate if someone can help me out or give me advice on how …

Software Development c++
Member Avatar for m4ster_r0shi
0
359
Member Avatar for xav.vijay

Hello All I am having an odd issue with mysqldb connection from python to a database. The issue is, when I run the query directly or via a sql client like navicat or toad, I get the required value, but this does not happen via python/mysqldb combo. This is the …

Software Development mysql python
Member Avatar for TrustyTony
0
627
Member Avatar for zachattack05

So I'm working on this CheckListBox and would like to override the Add() method which adds a new item to the checklistbox, but, the method is not a CheckListBox method, it's a method in the CheckListBox's ObjectCollection. So, two questions: 1. Can this method be overriden from within a control …

Software Development
Member Avatar for darkagn
0
147
Member Avatar for Bun2014

~~~ vb Private Sub Item_TypeComboBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Item_TypeComboBox.SelectedIndexChanged 'auto increment for each type of items If Item_TypeComboBox.SelectedItem = "Bages" Then ItemIDTextBox.Text = Format("B" & (BagsIDTextBox.Text), "0000") ElseIf Item_TypeComboBox.SelectedItem = "Accessories" Then ItemIDTextBox.Text = Format("A" & (BagsIDTextBox.Text), "0000") ElseIf Item_TypeComboBox.SelectedItem = "Cloth" Then ItemIDTextBox.Text = …

Software Development vb.net
Member Avatar for TrustyTony
0
201
Member Avatar for cardin94

I'm trying to create a Select Distinct query, but i'm getting stuck with either an empty combobox either a filled combobox that displays all the doubles. or a message "System.Data.DataViewManagerListItemTypeDescriptor" I have a form (form5) with 1 combobox and 1 datagrid. The datagrid loads 5 collumns "ID", "firm", "Fname", "mname", …

Software Development puzzle vb.net
Member Avatar for cardin94
0
156
Member Avatar for sheelap

anyone tell me a detail of database connectivity in vb.net with sql server and oracle.i already tried it on my laptop.but it shows errors.1 year back i successfully did the connectivity.but now i forgotton how it do?even i could not able to coonect ms-access with vb.it always shows error.any one …

Software Development oracle vb.net
Member Avatar for poojavb
0
1K
Member Avatar for Falcon25

Hi guys, I think this is a rather simple question but my brain has just decided to forget everything. So any help would be much appreciated. I'm using a Windows form project. I have three classes and all I want to do is use a List declared and initialised in …

Software Development
Member Avatar for Falcon25
0
123
Member Avatar for treyb

I am trying to ftp on a windows system using a file with the settings in it. This is what is in the file: Address.to.device username password "quote" "site reboot" quit This will reboot a camera and it works. I even have it running on powershell script and it works. …

Software Development python
Member Avatar for treyb
0
326
Member Avatar for krm08

Hello Everybody, I want to I want to perform dos command (copy) in vb.net.I want to do it on button click event.Invoking the command using .bat format is not suit for me, because the source and destination of copying depending upon the selection of source and destination(that's done by users …

Software Development vb.net
Member Avatar for mirza.imran
0
2K
Member Avatar for VengefulToast

Okay, so I have a text file like this: I Did It Your Way, 11.95 The History of Scotland, 14.50 Learn Calculus in One Day, 29.95 Feel the Stress, 18.50 Great Poems, 12.95 Europe on a Shoestring, 10.95 The Life of Mozart, 14.50 And, as you can see, there are …

Software Development java
Member Avatar for NormR1
0
254
Member Avatar for rlord3534

My program won't run.. I keep getting a nullPointerException but I have no idea why.. Thanks! The program is supposed to create a simulation for a line ---------------------------------------------------------------------------- public class Prog5 { /** * @param args */ public static void main(String[] args) { Simulation simulation = new Simulation(10); simulation.run(); } …

Software Development java queue
Member Avatar for NormR1
0
207
Member Avatar for JQadrad

Hey all, I am working on a project with an FPGA but I need serial communication between the FPGA and the desktop since the memory of the FPGA is limited and I need to be able to send longer inputs to the FPGA by using buffers on the desktop. After …

Software Development c windows-api
0
175
Member Avatar for nicolemarie

class P3 { public static void main (String[] args) { makeP3Picture(); } public static Picture makeP3Picture(Picture source) { String fileName = FileChooser.pickAFile(); String sourceFile = FileChooser.getMediaPath("butterfly1.jpg"); Picture sourcePicture = new Picture(fileName); Picture targetPicture = new Picture(source.getWidth()*3, source.getHeight()*2); source.explore(); source.copyPhoto(); source.show(); return sourcePicture; } } im getting the error: "makeP3Picture(Picture) in …

Software Development java
Member Avatar for stultuske
0
788
Member Avatar for iRamble88

#//Here is my simple class for MyCar# public class MyCar { private int odometer; private int speed; private int gear; public MyCar() //send values to member variables in this default constructor { odometer = 0; speed = 0; gear = 0.0; } public MyCar(int od, int sp, int gr) //constructor …

Software Development java user-interface
Member Avatar for JamesCherrill
0
257
Member Avatar for jinglylime

Hi,I have encountered a problem while doing the animation for my program. I wanted keep adding a another shape on top of another. But for evry second image the background changes to black. Can you point out what I've done wrong. Thanks. #include <stdlib.h> #include <stdio.h> #include <time.h> #include <GL/glut.h> …

Software Development c++ opengl
Member Avatar for emilo35
0
240
Member Avatar for sonicx2218

[Link Anchor Text](http://oi44.tinypic.com/bwfaf.jpg) Hey dudes! I'm pretty crummy with Java layouts, so I was wondering if anyone had time to help me. The rather crude drawing I made is the layout I had in mind. I wanted 3 rows, with 1 gridlayout on the top and bottom, and in the …

Software Development java
Member Avatar for JamesCherrill
0
189
Member Avatar for ponkan20

hi. i have this problem on how to calculate the amount due in our system in VISUAL BASIC.NET . in returning module, (this is for penalty purposes), if the borrower didn't return the book on time, the system must automatically generate the amount due . one daY is equivalent to …

Software Development vb.net visual-basic
Member Avatar for poojavb
0
1K
Member Avatar for Sudha Granger

void doc::add_title() { doc d; fstream f; int med_lic,flag=0; char new_title[20]; cout<<"\n\t\t\tADD NEW DOCTOR TITLE\n"; cout<<"\nEnter the Doctor's medical license number :\t"; cin>>med_lic; f.open("doctors.da t", ios::binary|ios::in|ios::out); while(f.read((char*)&d,sizeof(doc))&&flag==0) { if(d.ret_med_no()==med_lic) //d is an object of class doc { cout<<"\nEnter the new title:\t";//ret_med_no() is an accessor function used to return a value …

Software Development c++ ios
Member Avatar for Sudha Granger
0
288
Member Avatar for Vega_Knight

Hi All, I need to delete all files in recycle bin Anybody know how to this? Regards Vega

Software Development visual-basic
Member Avatar for Jx_Man
0
391
Member Avatar for jhedonghae

does anyone know how to make reports in vb.net become a daily, weekly and monthly basis?

Software Development vb.net
Member Avatar for poojavb
0
160
Member Avatar for hwoarang69

iam trying to use only one function to get the value of add and sub. if there is a label i want to ignore it. file.txt ------------------------ label: add $1,$2,$2 sub $1,$2,$2 ----------------------- int main() { char line2[20]; char tem_line2[20]; char *tptr; while(fget...line2) //read one line and store in char …

Software Development c
Member Avatar for histrungalot
0
255
Member Avatar for tendaimare

I ve got a propertyin my class that I have given the task of holding the username of the person that logged in and I would want to access that username in another form anoother time.How do I go about this? this is the code for my property: Private _LogInUser …

Software Development vb.net
Member Avatar for poojavb
0
106
Member Avatar for nee_88

why is the output of the below program is coming out as 'unequal' ??can anyone please explain?? #include<stdio.h> void func(char *); void main() { char *q; char *p; p="hello hii"; func(q); if(p==q) printf("equal"); else printf("unequal"); } void func(char *pi) { pi="hello hii"; }

Software Development c
Member Avatar for rubberman
0
105
Member Avatar for hay123

This is my code so far: #include <iostream> #include <cmath> #include <cstdlib> using namespace std; int main() { float numbers[15]; float sum, lowest, highest; float min, max, range, stDev, mean, median; int indexOfMin; float above = 0, below = 0; sum = 0; for(int testNum = 0; testNum < 15; …

Software Development c++
Member Avatar for histrungalot
0
260
Member Avatar for DaveyboyPurcell

I have the following xslt which copies selected element of xml but omits the root node how do i get the root node output as well? <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > <xsl:output method="xml" indent="yes" version="1.0" encoding="iso-8859-1" /> <xsl:template match="/"> <!--<xsl:copy-of select="itemList" />--> <xsl:for-each select="itemList/saleItem"> <xsl:variable name="status"> <xsl:value-of select="status"/> …

Software Development xml
0
117
Member Avatar for triumphost

I have a button created as follows: ~~~ HWND License; HBITMAP MainButtons; Case WM_CREATE: License = CreateWindowEx(WS_EX_TRANSPARENT, L"Button", L"License", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_BITMAP, 26, 77, 75, 23, hwnd, (HMENU)ID_LICENSE, hInst, 0); MainButtons = (HBITMAP)LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_MAINBUTTONS), IMAGE_BITMAP, 0, 0, LR_SHARED); SendMessage(License, BM_SETIMAGE, IMAGE_BITMAP, (LPARAM)MainButtons); break; ~~~ …

Software Development c++ image perl
0
75
Member Avatar for renzlo

Hi All, I hope someone can help me. I have loaded a page in my webBrowser control, the page has a table, please see attached for screenshot and partial page source code. I want to load specific column of that table to datagridview, how can I do that? Thanks in …

Software Development vb.net web-browser
Member Avatar for renzlo
0
138
Member Avatar for phorce

Hello, I'm having trouble with something.. I have a vector of doubles and I need to convert the vector to an unsigned char so then I can write the contents to a text file. I can do this when reading the data from a text file, just not from a …

Software Development c++
Member Avatar for m4ster_r0shi
0
136
Member Avatar for Rasool Ahmed

Hi gueys, I am programming a class compenent liberary in C++ CLR, but I have a problem with exception throwing. this is the code that call the exception: `throw gcnew ReadStreamException(Error);` and this is the exception class: public ref class ReadStreamException : Exception { ReadStreamException(String^ Message) : Exception(Message) {} }; …

Software Development c++
0
115
Member Avatar for VengefulToast

Will someone please tell me why I keep getting my custom file not found exception? The file is spelled correctly and is in the same directory of my java file. I am programming on Eclipse on Mac OS X. Here is my source: // Dillon Sheffield // Lab 10a // …

Member Avatar for VengefulToast
0
284
Member Avatar for jwill222

I meant to post this in the C forum and not the C++ forum. Below is the link to a picture of the debug error window [url]http://www.flickr.com/photos/7629837...in/photostream[/url] It's a program that i'm doing and I keep getting this error here's a link to the programming problem. Its' Number 3 [url]http://books.google.com/books?id=bSy...%2B%2B&f=false[/url] …

Software Development c c# c++
Member Avatar for jwill222
0
276
Member Avatar for _Nemesis_

Hi guys, I have been trying to implement the A* algorithm in C++ and would like to make use of the priority_queue structure to hold the open and closed lists of nodes. The problem is, all of the algorithms that I have found use the equivalent of a "search/contains" function …

Software Development algorithm c++ queue
Member Avatar for _Nemesis_
0
1K
Member Avatar for userct

Stack-based Evaluation and Simple Subroutine Linkage Hello, I have to Write a program that evaluates 3x2 – 2y2 – 5xy + 20x – 16y + 100 for integers x and y that the user enters. Prompt the user for x and y. Use pread from chapter 26 for this. Use …

Software Development assembly
0
79
Member Avatar for nee_88

Please refer to the code below.It is used to extract files from a given directory, for further processing. #include <dirent.h> #include <stdio.h> #include <string.h> int main(void) { int i=0; struct dirent *direntry; dir = opendir("E:/muzikk"); if(!dir) { printf("Error: directory did not open!\n"); return 1; } while((direntry=readdir(dir))!=NULL) { printf("%d %s\n",i,direntry->d_name); i++; …

Software Development c file-system
Member Avatar for nee_88
0
251
Member Avatar for frivolous

Hi, i am trying to run this code. previously it was giving error that "No module wx". then I download wx module and now it is giving this error : Traceback (most recent call last): File "C:\Python24\player.py", line 2, in -toplevel- import wx File "C:\Python24\wx\__init__.py", line 45, in -toplevel- from …

Software Development audio python
Member Avatar for ZZucker
0
695
Member Avatar for Labdabeta

I have an array of data of the form: union colour { unsigned int argb; struct{ unsigned char a; unsigned char r; unsigned char g; unsigned char b; }bigendian; struct{ unsigned char b; unsigned char g; unsigned char r; unsigned char a; }littleendian; }; struct sprite { int w,h;//stores the …

Software Development api c++ opengl
Member Avatar for Labdabeta
0
700
Member Avatar for f4fjks

hi guys! today i tried file writing through VC++ 2010. suddenly a point stroke in my mind to create a file which may not be read by notepad or it gives error or some wrong output as it is mostly seen on opening a pdf file in notepad. for this …

Software Development c++ pdf
Member Avatar for NathanOliver
0
251
Member Avatar for Behseini

Hi Everyone, I am trying to creale an application which is supposed to display some line trace.What I have is the lenght of lines and the angle (Azimut) degree of the Line for example 45 degree. Can you please let me know how I can do this? I also have …

Software Development
Member Avatar for Behseini
0
10K
Member Avatar for triumphost

I'm trying to clip my Button with the following code but it does not work at all.. #pragma comment(linker,"\"/manifestdependency:type='win32' \ name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \ processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") #pragma comment(lib, "Gdiplus.lib") void RegionCloseButton(HWND hwnd) { CloseRegion = GetDC(hwnd); CloseRegionMem = CreateCompatibleDC(CloseRegion); Gdiplus::Graphics graphics(CloseRegion); Gdiplus::FontFamily fontFamily(L"Courier New"); Gdiplus::GraphicsPath path; Gdiplus::PointF Origin(5, 5); path.AddString(L"X", …

Software Development c++ microsoft-windows
0
192

The End.