132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pretom

[B]I have 3 textbox. I want to change Background color when cursor go there, other wise there will be no change.[/B] [B]How can i do this?[/B] [B]My mail address [EMAIL="pretom82@hotmail.com"]pretom82@hotmail.com[/EMAIL][/B]

Software Development email vb.net
Member Avatar for Luc001
0
391
Member Avatar for DOT6

Hello all, I have been working on a card game for the last month or so and sofar have created the basics ie. cards, deck... The language is ANSI-C and is created in programmers notepad with devkitpro and MLlib. Everything is working greate so far as in I can shuffle …

Software Development c gaming
Member Avatar for Narue
0
256
Member Avatar for MrBlack

[CODE] namespace ConsoleApplication8 { class Program { static void Main(string[] args) { Person p1 = new Student(); p1.Sing(); p1.Run(); Console.WriteLine(p1.GetType().Name); Console.Read(); } } class Person { public void Run() { Console.WriteLine("Person Run"); } public virtual void Sing() { Console.WriteLine("Person Sing"); } } class Student : Person { public void Run() …

Software Development
Member Avatar for Bridgekeepers
0
281
Member Avatar for eaon21

i learned earlier how to move between two forms back and forth. but what if there are more forms? this is my code for form1: [CODE]Form2 form2 = new Form2(); private void aboutoldtrafford_MouseClick(object sender, MouseEventArgs e) { this.Hide(); form2.ShowDialog(); this.Show(); } [/CODE] when i click the button I can go …

Software Development c c# c++
Member Avatar for Bridgekeepers
0
2K
Member Avatar for FELIGO

Please help me with the code to find the most repeated number in an array. The code below is not working perfectly. int p =o; int[,] numbers = {{1, 2, 0, 6 }, {5, 6, 7, 0 }, {9, 3, 6, 2 }, {6, 4, 8, 1}}; int []A = …

Software Development
Member Avatar for Bridgekeepers
0
1K
Member Avatar for tikoti

Hi all! I've read forward declaration is much prefered than include in header files mainly because it reduces the compilation time. Other reasons? My particular situation is that all header files that I use are within a namespace. I've seen two different ways for forward declaration in this case: [CODE] …

Software Development c++
Member Avatar for tikoti
0
198
Member Avatar for niths

HI all, I had a gridview in which users are listed in that. In that gridview i had an edit option so that i can edit user details. so my problem is... when i click edit in a row i need the userid present in that row. Thank you. here …

Software Development
Member Avatar for ranj_s20
0
352
Member Avatar for rEhSi_123

Hi Guys, I am working on converting a console application into a user friendly GUI. The actual application is written in visual C++ and person has no information none what so ever on how to run it. So to understand the technique I am trying to experiment with the application. …

Software Development algorithm c c# c++ dns gui
Member Avatar for JasonHippy
0
340
Member Avatar for milan2011

Hi, I am trying to make a bank application that has two interfaces.One is the employee interface that lets employees to create an account and assign a IDnumber to each account(lets say the bank only accepts 100 accounts) and a balance for each account. The employee can also close an …

Software Development c++ oop user-interface
Member Avatar for pseudorandom21
0
544
Member Avatar for moone009

Variable 'loNode' is used before it has been assigned a value. A null reference exception could result at runtime. does anyone know why I am getting this error? [CODE]Imports System.Xml Module Module1 Sub Main() Dim doc As New XmlDocument Dim loNode As XmlNode Dim nodes As XmlNodeList doc.Load("C:\Desktop\Template.xml") nodes = …

Software Development vb.net
Member Avatar for sandeepparekh9
0
104
Member Avatar for localp

I have 2 applications. one is a console application and the other is a windows form application. I need both of these to run together in order for my application to work. for example: The console application - has controls over the cursor, so it'll navigate 5cm blocks from left …

Software Development visual-studio
Member Avatar for localp
0
194
Member Avatar for Joshua Kidd

Hello, Im creating a TS3 server admin tool. And Im having a Problem adding items to the DAtagrid View. Ive got like 8 Columns and I want to add this data to the correct Column But IDK What Im Doing Wrong [LIST] [*]# [*]Server ID [*]Server Port [*]Server Status [*]Clients …

Software Development vb.net
Member Avatar for Joshua Kidd
0
146
Member Avatar for senthilamp4

Hi Experts, Recently i written the script for text file to CSV file conversion. my script has read the directory and it would process the each file by file based on iteration. Coding and output was fine. i need to improve to speed up the script to convert the csv …

Software Development perl
Member Avatar for senthilamp4
0
165
Member Avatar for xanawa

Hi, I am using windows form. Now in this window i have 2 textboxes which have their validation using the error provider. Now i want that when the user clicks on the close button it closes not rests until u enter something in the textboxes. How can i do so?

Software Development
Member Avatar for xanawa
0
310
Member Avatar for leo88

Hi, I wants to ask how to convert DBNull to Date type? [CODE] For Each row As DataRow In dt.Rows i = 0 Dim array As Object = row.ItemArray Dim a As String If array(i + 10) IsNot Nothing Then a = CDate(array(i + 10)).ToString("yyyy-MM-dd hh:mm:ss") Else array(i + 10) …

Software Development vb.net
Member Avatar for leo88
0
1K
Member Avatar for whodoes21

Hello :D we've been working on this simple student database where we can add, edit and delete a student record... sooo going straight to the point I'm having problem with displaying details from two different tables as you can see we can only open using one connection string and try …

Software Development c# sql
Member Avatar for whodoes21
0
208
Member Avatar for markfw

Hi Just a general question about PySide (menubar) and UI programming. I was thinking to add menubar to my program that has a "Setting" option which let people to change the setting of the program :-). Now the question is, what is a right/correct way of saving those settings? Should …

Software Development python
Member Avatar for Gribouillis
0
124
Member Avatar for yoni0505

I had a problem with some program I wrote that edit specific values within a specific file. When I saved the values, using fstream's write() function, everything between these values became null. I've looked again in the I/O tutorial - [URL="http://www.cplusplus.com/doc/tutorial/files/"]http://www.cplusplus.com/doc/tutorial/files/[/URL] and saw that they use memory block at the …

Software Development c++ ios
Member Avatar for yoni0505
0
363
Member Avatar for domingo

hi, i came up with an idea of doing a music recognition for my theses but i do not know where to start from. basically this app will be that one plays a song from his PC (for now) and the program will recognize the song and finds the name, …

Software Development
Member Avatar for Momerath
0
106
Member Avatar for WildBamaBoy

The attached program has a small bug when you right click on an item. The first time you right click any item it'll throw the context menu (it's the same menu under File) all the way up to the top left of the screen, but the second time you right …

Software Development
Member Avatar for WildBamaBoy
0
115
Member Avatar for apanimesh061

[CODE] . . . . namespace AMChat { public class Global : System.Web.HttpApplication { private System.ComponentModel.IContainer components = null; public static AMChat.[B][U]ChatEngine[/U][/B].IChatEngine Engine = new AMChat.[B][U]ChatEngine[/U][/B].ChatEngine(); . . . . [/CODE] I have a folder 'AMChat' in which there is another folder 'ChatEngine' which includes two .cs files - ChatEngine.cs …

Software Development assembly
Member Avatar for apanimesh061
0
251
Member Avatar for ultimatebuster

Are there designer + IDE that's kind of like the Visual Studio suite for PyGTK or PyQT? [B]Again, don't clutter up the sticky with questions. Ask question in the regular forum.[/B]

Software Development ide python visual-studio
Member Avatar for vegaseat
0
138
Member Avatar for cretaros

How to i implement loops to print the initialised word as foloows: Thanx in advance. p pr pro prog progr progra program programm programmi programmin programming programmin programmi programm program progra progr prog pro pr p

Software Development c++
Member Avatar for nmaillet
0
389
Member Avatar for MareoRaft

x.find() does not return the proper values for x.find('J'), x.find('K'), and x.find('.'). Do you know what could be the issue? It could possibly be x.substr() which is causing the issue. I want the variable q to be "q_J30_K5.txt". [CODE] #include <iostream> using namespace std; short ato( string number ){ return …

Software Development c++ perl
Member Avatar for MareoRaft
0
537
Member Avatar for jason830

What is the best book to learn java programming? I want a beginners book in java programming, I know very little as I did a short course in school. I know visual basic programming and a few other programming languages already, and now want to learn java programming. If you …

Software Development java visual-basic
Member Avatar for bhartman21
0
228
Member Avatar for BleepyE

Ive bin looking for some code to export the contents of a DataGridView to CSV so I can view it in Excel. I found this but ive got errors; [CODE]Dim sr As StreamWriter = File.CreateText(strExportFileName) Dim strDelimiter As String = strDelimiterType Dim intColumnCount As Integer = DataGridView.Columns.Count - 1 Dim …

Software Development vb.net
Member Avatar for kvprajapati
0
3K
Member Avatar for airbourne

I am writing a simple shell script to automate a simple backup of a website and it's database. This is the working code: [CODE]#!/bin/bash # creates a backup of the mysql & webdata for a specific website. TODAY=`date +%A` # these variables cannot contain any spaces and must be modified …

Software Development file-system shell-scripting
Member Avatar for L7Sqr
0
722
Member Avatar for lochnessmonster

i'm currently still trying to understand the internals of the following code being executed in c++ [code] int main() { std::cout << "Just now entering inside of main" << std::endl << std::endl; return 0; }[/code] Here is the assembly code i obtained from an assembly line debugger [code] 012E1207 |. …

Software Development assembly
Member Avatar for Schol-R-LEA
0
752
Member Avatar for moone009

I'm trying to figure out how to update the <to>,<from>,<heading>,and <body> through textboxes. Any ideas? [CODE] <?xml version="1.0" ?> - <note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>[/CODE]

Software Development vb.net xml
Member Avatar for moone009
0
47
Member Avatar for spitfire5295

I am trying to figure out how to make that write out the keys i am typing. How can I accomplish this?[code]#include <windows.h> #include <stdio.h> main() { while(1){ for(short character=8;character<=222;character++) if(GetAsyncKeyState(character)==-32767) printf("%d : %c\n",character,character); };[/code]

Software Development c++
Member Avatar for Arbus
0
135
Member Avatar for rootchord

I am learning about networking in C# and to do so i am making a simple instant message server/client app. everything is going fine. i am currently testing it by inputting my own ip address as the target to send/receive on same machine. but, i can only send one message …

Member Avatar for samueal
0
1K
Member Avatar for khocmedemmua

At present, my source code project is in disk E, this is its path : [COLOR="Red"]E:\WindowsApplication1[/COLOR] In this folder has a folder Files, with path : [COLOR="Red"]E:\WindowsApplication1\WindowsApplication1\bin\Debug\Files[/COLOR] I have a form with a browse button to choose file, after choose file, it will save into folder Files automatically. My chosen …

Software Development c#
Member Avatar for crishlay
0
364
Member Avatar for rminator

string valeur = ligne.Split(ChrW(59))(0); what is the equivalent of that in C# please???

Software Development c#
Member Avatar for samueal
0
276
Member Avatar for user20000

Hi, I need to make a browser in C# (I can use webbrowser I guess), and I need to create 2 buttons, one is on and one is off. If user selects on browser will load all the pictures in the page, if user selects off browser will load only …

Software Development c# image web-browser
Member Avatar for crishlay
0
941
Member Avatar for arka.sharma

Hi All, I'm trying to compile an xsd schema using xjc compiler following the command java -jar jaxb-xjc.jar <schema file>.I've set the classpath of these following jar files jaxb-api.jar jaxb-impl.jar jaxb1-impl.jar jaxb-xjc.jar sjsxp.jar jsr173_api.jar activation.jar resolver.jar. It is showing IllegalArgumentException

Software Development api java
Member Avatar for stultuske
0
199
Member Avatar for Lovelake

hi u can limit textbox max length to 4, then use keypress event to validate entry: [code] private void [textbox]_keypress(object sender,keypressventArgs e) { if((!Char.IsControl(e.char))&&(!Char.Isdigit(e.char))) e.handled = true; } [/code] then use keyup event to catch enter pressed to add controls [code] private void [textbox]_keyup(object snder, keyeventargs e) { if (e.KeyCode …

Software Development
Member Avatar for crishlay
0
154
Member Avatar for JavaBean

how do I compile and run a java program?

Software Development java
Member Avatar for stultuske
0
513
Member Avatar for StormHawk

[B]Question:[/B] Write a program to read in a sentence. Output the sentence and then sort all letters in descending order. Allow users to enter a letter and output the letter with the number of occurrences of that letter, or else indicate that the letter is not found. [B][COLOR="Red"]Use: "I compute …

Software Development java
Member Avatar for JamesCherrill
0
192
Member Avatar for ninjatalon

I'm pretty sure its a false positive. My program does create and delete files when using it. Is there a way to stop showing as a false postive?

Software Development vb.net
Member Avatar for makman99
0
106
Member Avatar for Labdabeta

I have reinstalled my compiler successfully (finally) and got right back to work. I have created a glModel class as follows: [CODE]class glModel { private: int numv; int numn; unsigned int model; unsigned int textu; unsigned int norma; float *vars; float *norm; public: glModel():numv(0),numn(0){vex=new float[1];tex=new float[1];nex=new float[1];} glModel& Vertex(float tx, …

Software Development c++ opengl
Member Avatar for Labdabeta
0
156
Member Avatar for Hotaru26

hi!!! my group is doing a thesis work... and the name of our thesis is Faculty Attendance Monitoring System Using TouchScreen Biometric System... Can You give me some code in making that system... please!!!! tnx.. from:Hotaru

Software Development visual-basic
Member Avatar for debasisdas
0
102
Member Avatar for ninjatalon

My table gets its information from a Mysql database online. I'm not sure which would be quicker to retrieve the row that contains the information specified. EG. table1 Name________Age John_________5 Joe__________20 At this moment i have a while loop that looks for john and gives me the row. But is …

Software Development vb.net
Member Avatar for debasisdas
0
136
Member Avatar for theguitarist

[CODE] int x; while(cin>>x) { cout<<"Yes"<<endl; } int y; while(cin>>y) { cout<<"Yes again"<<endl; } [/CODE] What I expected to happen is,that as long as I entered a number for x(in line 2)that block should be run and "Yes" must be printed. To get out of the 1st while loop I …

Software Development c++
Member Avatar for theguitarist
0
2K
Member Avatar for rminator

Hey, i have in my last Thread resolve the Problem of the read of logfile(Csv,ASCII),and represent it in Datagrid.([url]http://www.daniweb.com/software-development/csharp/threads/367737/1582018#post1582018),now[/url] i want to take those value from my Datagrid,and make a Graphic with help of Zedgraph .Did somebody already work with Datagrid and Zedgraph ???? Thx in advance

Software Development
Member Avatar for rminator
0
386
Member Avatar for saj_amo

Hi guys, I am creating a window application in vb.net that need to use sql server database. I want to install this application to client machine without installing sql server so that my application can still connect to a database is there any way for this ?

Software Development client-server vb.net
Member Avatar for saj_amo
0
103
Member Avatar for ryan311

can anyone help me? i have a problem in converting a 1,000,000.00 number to words i always get result 1 MILLION THOUSAND PESOS ONLY which is wrong. it should be 1 MILLION PESOS ONLY here is my code [CODE]Public Function ConvertMoneyToText(ByVal value As String) As String value = value.Replace(",", "").Replace("$", …

Software Development vb.net
Member Avatar for kvprajapati
0
188
Member Avatar for deva.v

Hi I would like to get simple code on reading and writing into excel files using console application in vb.net.

Software Development vb.net
Member Avatar for kvprajapati
0
91
Member Avatar for Freude

Hello everyone, I have c++ function whose the only argument is an array. Also I have a matrix. How can I pass say third column of this matrix as a array into the function without creating a mediated array in the loop. Is there c++ analogue of M(:,3) existing in …

Software Development c++
Member Avatar for mike_2000_17
0
189
Member Avatar for shadowscape

Hey there, i have created a dll that creates timesignatures, the source code is as follows... [CODE]#include "timestamp.h" BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } DLL_EXPORT char* CreateTimestamp(void) { time_t now; struct tm *ts; static char buf[80]; now = time(0); ts = localtime(&now); strftime(buf, …

Software Development c++
Member Avatar for mike_2000_17
0
224
Member Avatar for lili.edryana

I have this code which do some matrix operation. It can be run on Microsoft Visual c++ 6.0 but i got problem when run it using Dev C++ 4.9.9.2.. it says, [COLOR="Red"]main must return and int[/COLOR] Can somebody help me? [CODE]// FDduct.cpp , finite difference. method. for duct #include <stdlib.h> …

Software Development algorithm c++ storage
Member Avatar for Ancient Dragon
0
321

The End.