132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for badx

Hi can someone please help me with database connection, everything works fine my only problem's that when I compilethe project and install it on another machine and try to login it gives me this Error: "‘C:\Documents and Settings\Developers\My Documents\Visual Studio 2005\Projects\ITDivision\ITDivision.mdb’ is not a valid path. Make sure that the …

Software Development visual-studio
Member Avatar for pritesh2010
0
354
Member Avatar for sureronald

I wrote a python program that gets input from an input file. It works fine for small input files since after opening the file I did this to get the data [code=python] data=fPtr.readlines() [/code] Since readlines only takes the input data and packs it into a list, it is clear …

Software Development file-system python
Member Avatar for mahesham
0
4K
Member Avatar for Diamonddrake

I am working on a picturebox that adds a in-depth cropping feature, I am a centered junkie, that is to say I don't find left justified images aesthetically pleasing. I just have to have everything centered. Add to this that the zoom mode of the picture box ensures that the …

Software Development image
Member Avatar for Nivass
0
3K
Member Avatar for hitmanner

how do you declare an array of dynamic string. i mean..if you have char name[501][41]; how do u declare the above in dynamic mode using *. char *name[41]? or char *name*? thanks in advance;

Software Development c++
Member Avatar for amin_a
0
357
Member Avatar for svr2009wwe

Hi; I am making one small application which can store data to my online mysql server. But with c++ win32 how can I do it? Please help me.

Software Development c++ mysql socket-programming windows-api
Member Avatar for tesuji
0
261
Member Avatar for cVz

Good day I'd like to find out how to change the color of a row on a page startup in Delphi 7 pro with an Express Quantum grid 6 What i am trying to achieve is this if Quantity in stock = >10 row color should be green... if Quantity …

Software Development delphi pascal
Member Avatar for vedantham
0
1K
Member Avatar for litlemaster

I am clue less about what are delegates and why do we use them in c#. Also what are no type safe functions as the concepts seems to be relevant.

Software Development c#
Member Avatar for farooqaaa
0
88
Member Avatar for tiger86

Hi, I am simply trying to output text to my project screen that has a counter which increments by one, than prints it. Here is my attempt. int abovemaxpoints = 1001; // this works for any scoring for the game. while(std::cin >> abovemaxpoints) { std::cout << "star points" << counter++; …

Software Development c++
Member Avatar for rahul8590
0
236
Member Avatar for discovery-power

Hi All, I have written a text editor for an assignment and have found a few faults with it im hoping someone could help me out. First one is my save menu option, when I click Save in the file menu, it brings up the save as dialog box as …

Software Development vb.net
Member Avatar for Luc001
0
266
Member Avatar for vanitha ravi

hey guys i wants to know about the basics of JAVA because i am here going to study that subject i want a basic reference book please help me

Software Development java
Member Avatar for naziatarannum
0
69
Member Avatar for pritesh2010

This exaple show you how to insert image in database and how to retrive in gridview. see the attachments.

Software Development image vb.net
0
60
Member Avatar for paddy8788

I have to write an extension of basic_stringstream class, and I'm facing some difficulties with endl() function. Here is my code [CODE] class Logger: public basic_stringstream<TCHAR> { public: Logger(); }; inline Logger& __cdecl endl(Logger& _Ostr) { // Original code in ostream _Ostr.put(_T('\n')); _Ostr.flush(); return (_Ostr); } int main() { Logger …

Software Development c++
Member Avatar for paddy8788
0
150
Member Avatar for mayasumi

Hi All I need to create a login screen for a project in ms access. I have the Visual Basic which has been installed by default along with the MS Access package. I have designed a form in MS ACCESS for login and I ahve also created the login table …

Software Development visual-basic
Member Avatar for kinwang2009
0
101
Member Avatar for OffbeatPatriot

I'm trying to use generics in some methods and Netbeans is telling me I'm doing it wrong. It tells me that the lines ***Data = input is wrong and return ***Data[index] with errors to the effect of, required: byte[] found: T[] or required: T found: byte Is there a way …

Software Development java
Member Avatar for OffbeatPatriot
0
94
Member Avatar for bellconsult

i had problem in inserting data into a table in access database.i am using visual studio2005 for the projects.here is my code [CODE] Dim strConnection As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=" _ & "c:\Users\BELLCONSULT\Documents\LIBRARY2.mdb " Dim cn As OleDb.OleDbConnection = New OleDb.OleDbConnection(strConnection) Dim cmd As New OleDb.OleDbCommand With cmd .CommandText = …

Software Development microsoft-access open-source vb.net
Member Avatar for pritesh2010
0
245
Member Avatar for Zetlin

Alright guys, so right now I'm working on a program that finds the current focused window and adds a KeyListener to it. The problem is that unlike when you have a window running and you add a KeyListener to it and it stays working until you close the window, once …

Software Development java
Member Avatar for moutanna
0
202
Member Avatar for Hawkpath

I'm not sure if this is the right place to post this, but I do use c++ so....yah. My problem is that I don't know what to do now. I'm certain I haven't mastered c++, but I think I've mastered the basics. So now I'm thinking "What now"? Is there …

Software Development api c++
Member Avatar for NathanOliver
0
139
Member Avatar for fandango

I notice <vector> uses the constructor once and then uses the copy constructor for a class when creating all the other elements of a vector chain. So, if I have: [code] class MyClass { MyClass() { cout << "Constructor" << endl; } ~MyClass() { cout << "Deconstructor" << endl; } …

Software Development c++
Member Avatar for Radical Edward
0
223
Member Avatar for ShortYute

I am just 'transfering' from c to C++ and so ... some of the header files #include <direct.h> isn't exactly C++ friendly... I know I can just use them however I want my code to be as C++ly as possible as i'm just learning it... So.... [B]How do I:[/B] [LIST] …

Software Development c++
Member Avatar for ShortYute
0
2K
Member Avatar for deiago

Hello I have this NetBeans project to complete and im having a problem passing text from a Jtextfield to another JFrame. I just need to get the data to that JFrame to use an SQL. Please help me Kind regards, Java newbie

Software Development java java-netbeans
Member Avatar for deiago
0
256
Member Avatar for gangster88

I would like to be ablt to display 25 circles with alternating colours of red and white? But the code I produced does not work.. plz help. from graphics import * w = 300 h = 300 win = GraphWin("Red Circle", w, h) center = Point(150, 150) radius = 80 …

Software Development python
Member Avatar for Beat_Slayer
0
2K
Member Avatar for Illidanek

I have an issue with positioning of a JList in a JPanel, I am using absolute positioning, and I don't want to switch to gridlayout or any of that stuff cuz the whole program is in absolute positioning and it wud mess everything up. The problem is that once the …

Software Development java
Member Avatar for NormR1
0
639
Member Avatar for iqra123

hiii, i want to make user inteface for my C program in linux. is there any way other than GTK Glade interface?? i never used Glade before so i do not know weahter i could make UserInterface for my C program in that or not? as Glade has its own …

Software Development c user-interface
Member Avatar for iqra123
0
111
Member Avatar for wiss.dev

i need to convert date format used from datetimepicker as(dd/mm/yyyy) to (yyyy-mm-dd) any ideas thanks

Software Development vb.net
Member Avatar for jlego
0
918
Member Avatar for mteberlein

Hi everybody, I have a legacy program at work that I have taken over and my boss wants me to add some functionality. I have already added a com object to the program and am producing a functional dll which I can write strings to and control my program. I …

Software Development c c# c++ vb.net visual-studio
Member Avatar for mteberlein
0
282
Member Avatar for rennel

Hello everyone..I am planning to develop a payroll system in C++ using textfile as its database but i don't have any idea on how to begin it..Can any one help me with the codes please..How to view data into textfile, how to write data into textfile, how to save data …

Software Development c++
Member Avatar for tkud
0
104
Member Avatar for namanithi

i am doing a POINT OF SALE i nvisual c++ for my basic diploma course. i need to do an IPO CHART for the report as well. I have done the report- see below- can anyone tell me if i am correct or have missed out on anything : IPO …

Software Development c++
Member Avatar for mimke47
0
954
Member Avatar for madhan

Reference books says arrays are immutable. [code] int[] myArray = new int[3]; myArray[0] = 1; myArray[1] = 2; myArray[2] = 3; int[] myarray1 = myArray; myarray1[1] = 3; [/code] myarray and myarray1 both are showing result 1 3 3. but I thought myarray1=1 3 3 and myarray=1 2 3. Please …

Software Development
Member Avatar for madhan
0
107
Member Avatar for Alex_

I have a class that gets a JFrame as a parameter. I want to get a certain component from it and do some operations with it. Something like this: [code] class A { A (JFrame frame){ a_certain_Component jScrollPane = (a_certain_Component) frame.getThatComponent(); jScrollPane.setViewPort(new JTextPane()); } }[/code]

Software Development java
Member Avatar for masijade
0
236
Member Avatar for pupilstuff

using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; public partial class exam : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } public void function() { my e = new my(); SqlConnection sqlcon = new …

Software Development asp.net dataset
Member Avatar for nick.crane
0
157
Member Avatar for zentropy

Does anybody know how to get data from the ethernet port? Is there a library for it? Basically there is going to be a microcontroller sending data over ethernet, and I want to get the data it sends and write it to a file Thanks

Software Development c++
Member Avatar for Ketsuekiame
0
358
Member Avatar for G_S

Hi, I've been working a lot with text widgets lately, and I have posted several questions here. Again, thanks for all your help. This time I'd like to post something I found out, so you can help me improve it. My program consists of two textboxes. The texts inserted in …

Software Development python
Member Avatar for G_S
0
139
Member Avatar for yapaarachchi

I was installed jdk 6.0 in my computer.But it did not work yet.I know it want to set the path.But I don't know how to do it.:-O Plz give me a:) answer quickly

Software Development java
Member Avatar for leiger
0
120
Member Avatar for gidireich

A very basic question: In the standard c++ structure, every .cpp file looks like this: MyClass::MyClass() ... MyClass::~MyClass() ... MyClass::function1(... MyClass::function2(... MyClass::function3(... It looks redundant to reiterate the "MyClass::" every time. I tried different ways to use namespaces for this, without success. It there any way to telll the compiler …

Software Development c++
Member Avatar for Radical Edward
0
147
Member Avatar for kiwimoosical

Ok, so im having a little bit of trouble. Just lettin yall know, im 13 and just started trying to c++ a couple of days ago (3 days) so i think im coming along quite well! But i've tried writing this script and can't seem to do it :/ so …

Software Development c++
Member Avatar for Ancient Dragon
0
231
Member Avatar for literal

1. What are the most recommended books on c++ algorithms? 2. Algorithms in C++ by Robert Sedgewick - any experiences? Thx

Software Development c++
Member Avatar for literal
0
109
Member Avatar for lahiruchandima

Someone know a way to hide a process from task manager?

Software Development c++
Member Avatar for mmfatemi
0
2K
Member Avatar for judithSampathwa

hi there, can some one explain what is happening the below code: [CODE] if (amt == "0.0000") txtPAmt.Text = ""; else { decimal d; decimal.TryParse(amt, out d); txtPAmt.Text = d.ToString("$0000000000.00"); } [/CODE] thankxxx

Software Development
Member Avatar for Ketsuekiame
0
171
Member Avatar for sanagopi

hi ...i have registered for reliance power...the written test will be held on july 2010..now i have to prepare for that exam...will u please tell...what to study for the technical test..please help me thank you..please suggets me some books for technical...i have selected IT specialisation for technical written test...thank you,have …

Software Development c
Member Avatar for Ancient Dragon
0
136
Member Avatar for Ferny84

Can someone please show me an example of how to read lines from a file with this format: Book One 49.99 1 Authors Name I know I am supposed to use fgets since there is whitespace in the strings, i'm just not sure how to read and store the data …

Software Development c
Member Avatar for Ancient Dragon
0
119
Member Avatar for gidireich

Hi all, Here [url]http://www.blackwasp.co.uk/VSRenameIdentifiers.aspx[/url] I read about a possibility to change identifiers automatically and consistently in VS. In my VS2008, I don't see the "refactor" menu item in any of the mentioned menus. Any ideas for what could be wrong? Any other ideas, how can I rename a class automatically …

Software Development c++
Member Avatar for gidireich
0
211
Member Avatar for daniel88

Hi guys, Well, it's World Cup time and it seems only fitting that I submit something related to that. I was intrigued by the whole "Group of Death" concept. Intuitively (for me), a group of death should be a very unlikely event - yet they are always found in the …

Software Development algorithm c++
Member Avatar for daniel88
0
114
Member Avatar for Pytho

Hi! I'm doing software that controls my computer with a wireless navigator that includes Windows CE. I'm doing this with Python. Okay, so lets begin. One of those control options is audio volume controlling. I have a code, that can change Windows XP WaveOut volume on a scale of 0-255. …

Software Development audio python tkinter
Member Avatar for vegaseat
0
971
Member Avatar for Sarevok19

Hello! I have a question about following code. I don't understand why workerList gets populated with just 1 record (row) from database (the last one). I used a debugger, and every time new worker is added to workerList in while loop all previous records in list get overriden with last …

Software Development
Member Avatar for genux
0
107
Member Avatar for timbomo

what is a way to get numbers in 2 diff columns one column is whole numbers and the other are numbers with decimal places [CODE]int price=' '; // i am attempting to grab a number that has a decimal but its not the correct way int itemnum=' '; // i …

Software Development c++
Member Avatar for Fbody
0
1K
Member Avatar for abyan

Hi.. I've got a problem in how to connect atmega8535 to VB6 using MSComm... I've already build the program in VB6 and usart program in CodeVision,and it's already work in computer that use Windows XP. but when I tried it in computer that use Windows 7 it doesn't work...!! Any …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
103
Member Avatar for adcodingmaster

I always come to dani web whenever i have some difficulties. Thanks to all of you. I have a question regarding DLL's. A DLL file is to be written or we just write a CPP file and the compiler generates a DLL for this CPP? Please answer Thanks in advance

Software Development c++
Member Avatar for adcodingmaster
0
171
Member Avatar for USSDeveloper

I have a four projects in a solution AllianceControl -MainMenu -BackflowControl -UMS -CounterReceipts MainMenu Serves as launchboard for all the different projects as refrences them all to get at the controls to launch in a tab control: BackflowControl -> MainMenu UMS -> MainMenu CounterReceipts -> MainMenu EX: [url]http://s1024.photobucket.com/albums/y307/USSDeveloper/?action=view&current=datagridpull.png[/url] This setup …

Software Development
Member Avatar for Ketsuekiame
0
122
Member Avatar for Kingcoder210

I need to know how can I make a program for specific hard disk? I have heard it that programmers use hard disk`s unique number to protect their program. So that user cant use this program there in another pc(hard disk). So would you please help me about it? I …

Software Development vb.net
Member Avatar for kvprajapati
0
117
Member Avatar for GAME

If youre using Microsoft.VisaulBasic, youre suppose to be able to use ProjectData, but I cant. Any suggestions?

Software Development
Member Avatar for GAME
0
94

The End.