132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for neo.mn

Hi everyone I create windows form where there is a DataGridView control. I have edited that control by adding my own column text at the top row under which data will be shown. I need to show the header text in Bangle language using Unicode character. I have done this …

Software Development
Member Avatar for neo.mn
0
97
Member Avatar for AbhikGhosh

Hi Can anyone please help me as to how to print in java? Please tell me the basics first and then how to change the configurations.Actually I need to print in a thermal paper for issuing tickets. Can anyone please help? Thanks Abhik

Software Development java
Member Avatar for AbhikGhosh
0
321
Member Avatar for instinctfx

Howdy! Ive been working on an application now for number of months for a client and have developed a small application that uses a firebird backend (ver 2.1.xxxxx) Now, i managed to fix a permissions issue on Vista with firebird BUT when i run this same app with the database …

Software Development delphi pascal windows-vista
Member Avatar for instinctfx
0
154
Member Avatar for ndowens

I am wondering if somebody could recommend a good book and/or tutorial for an absolute beginner with no previous programming experience. Thanks. Also If I can do decent at programming, I may end up going to college in order to try and make programming a possible career

Software Development c c# c++ career
Member Avatar for Bench
0
135
Member Avatar for mikki2

hi, this is a simple program but i have no idea what the [inlinecode]args.length[/inlinecode] is for. [code] class PrintArgs { public static void main (String[] args) { for (int i = 0; i < args.length; i++) { System.out.println(args[i]); } } }[/code] i added a few more lines(below) to the code …

Software Development java
Member Avatar for masijade
0
10K
Member Avatar for Grep

Hey guys, Hope I'm not posting into the wrong section. I think I have something very simple that i'm having a lot of trouble with. I have a text file called "file.txt" It contains: TagString=V3,SCC-COM,WXF1A20V0556,WXE1A2071007,PREBI TagString=V3,SCC-COM,WXK1A1045668,WXG1A30F3909,POSTBI TagString=V3,SCC-COM,WMAYP0002467,WMAYP0002769,BI I want to run a batch file that'll parse the 1st & 2nd …

Software Development file-system shell-scripting
Member Avatar for Grep
0
189
Member Avatar for shashimgowda8

i have a windows media player in c# windows form and now i want this player to play a audio file of which the location i provide...and i should be able to control the media player components like play,forward,rewind,stop........ please someone help for this as soon as possible...

Software Development audio c#
Member Avatar for shashimgowda8
0
66
Member Avatar for becker

hi all, i work for a department store & we sell various product segments under different departments. one of my challenges is to be able to apply the sales per employee system accurately so that when i measure performance levels based on sales contribution per employee each employee will be …

Software Development promotion shell-scripting
Member Avatar for griswolf
0
76
Member Avatar for m-lamaa

dear experts i have w big problem, i need to solve it as soon as possible, i have a link to a web site i'm tying to retrieve data from it but unfortunately i have receive an error in vb " The remote server returned an error: (400) Bad Request." …

Software Development vb.net web-browser web-server
Member Avatar for m-lamaa
0
95
Member Avatar for shashimgowda8

please can u tell me wat is that adodb connection.. i am getting error over there....please reply me..

Software Development visual-basic
Member Avatar for shashimgowda8
0
144
Member Avatar for akand

Hi, I want to run some queries in mysql. Also, I want to automate this process. So can someone help me with shell scripting?? I want to open mysql in terminal, type in the password and give some queries.. Can I write a script for d whole thing??

Software Development mysql shell-scripting
Member Avatar for griswolf
0
63
Member Avatar for KcNaveen

could anybody Explain The toString() coding..

Software Development java
Member Avatar for leiger
0
91
Member Avatar for perryg30313

Hello Forum, I am having trouble retrieving data from a stored procedure that I have set up as a Data Adapter using VB.NET 2005. The Database is SQL Server 2000, and what I am trying to access is a simple Stored Procedure that will validate a users login access. Details: …

Software Development dataset vb.net
Member Avatar for kvprajapati
0
90
Member Avatar for joverlyanne

[ATTACH]15386[/ATTACH] Can somebody pls help. i have two frames. Frame1 contains table and frame2 for the alert setting. Frame has 2 columns. The delta and the alert. The situation is when i set the alert setting to a given value and the delta met it. the alert column (each cell) …

Software Development java
Member Avatar for NormR1
0
89
Member Avatar for Renukavani

Hi All, I'm new to Blog concepts.Is it possible to post the comments to website using the webservice instead of directly post the comments in website. Any help can welcome.

Software Development asp.net first-post
Member Avatar for hattreyhten
0
72
Member Avatar for nestensity

I have been trying to read a file, put it in an array and then find the average of the integers in the array. However I am unsuccessful with putting an integer in each slot of an array. When I print qa1[0] I get a long chain of 30 but …

Software Development java
Member Avatar for NormR1
0
151
Member Avatar for Diamondo25

Hello, I'm wondering why this command "mov eax, [eax]" changes the content of eax from rubbish to a readable string in the following code: [CODE] ___:004160CB arg_0= dword ptr 4 ___:004160CB ___:004160CB mov eax, [esp+arg_0] ___:004160CF push esi ___:004160D0 mov esi, ecx ___:004160D2 cmp esi, eax ___:004160D4 jnz short loc_4160DA …

Software Development assembly
Member Avatar for wildgoose
0
164
Member Avatar for Pellatrex

Welcome everyone Have a big problem in the end this code This code works with one of the chat games networks But it does not appear the Arabic letters But appear in this form ???????????? While the characters appear as English is How can I deal with this situation using …

Software Development
Member Avatar for Pellatrex
0
1K
Member Avatar for zyaday

AudioTrack sound = audio.createAudioTrack("ringout.wav", false); is giving me the output "WARNING: Unable to locate: ringout.wav" The sound file is in the same project folder that i am using..Anyone knows what i might be doing wrong in here? Thanks a lot.

Software Development audio java
Member Avatar for NormR1
0
193
Member Avatar for shavais

I was looking for a StringBuilder type of thing to use in Python (I've been working in PHP, at work, recently, and cStringIO had momentarily slipped my mind), and found StringIO and cStringIO, but in doing so, I found a post that claimed that they both performed very poorly in …

Software Development python
Member Avatar for snippsat
0
121
Member Avatar for Grep

Hi guys, I would like to execute something like this in my program: system("C:\test\perl\a.pl"); But the problem is i need to execute: perl a.pl Can't just execute the a.pl and expect it to run. Any ideas on how i could simply open up the cmd prompt with my program and …

Software Development c++ perl
Member Avatar for Grep
0
254
Member Avatar for kdmuk10

When i was trying to run a program from the IDE, a window pops up which has anagrams as a title and requests me to enter something under "Your Guess" slot? What is happening?

Software Development ide java
Member Avatar for NormR1
0
124
Member Avatar for zoner7

I have a vector class that is defined using a template. VS 2010 is underlining every instance of these templates, claiming that the identifier Scalar is undefined. Peculiarly, these errors only occur in the definition of the class I will list first but not the one that inherits it. Here …

Software Development c++
Member Avatar for thelamb
0
105
Member Avatar for ShortYute

I'm new to c++ however, I have been doing C for about a year now so OPP and all its related things are new to me ( classes etc. ), i have the program in C so I'm trying to find a better way to implement it... Thanks in advance …

Software Development c++
Member Avatar for ShortYute
0
124
Member Avatar for Grep

Hey guys, quick question, I'm a beginner and put together a grep script that searches for certain content within text files in a directory. The result yields over 600 lines so i want to put them in a file called file.txt. [CODE]opendir (DIR, ".") or die "$!"; my @files = …

Software Development file-system perl
Member Avatar for Grep
0
211
Member Avatar for dansnyderECE

I'm trying to use .open() but I'm having an issue with my arguments to this function. Here's my code: [CODE] vector<string> FDT_filename; ifstream is; is.open (FDT_filename[0], ios::binary );[/CODE] Which results in the following error: [CODE] ../sim_main.cpp:297: error: no matching function for call to ‘std::basic_ofstream<char, std::char_traits<char> >::open(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const …

Software Development c++ ios
Member Avatar for dansnyderECE
0
184
Member Avatar for AspiringCoder

How would you take an int and make each diget into a array element? For example: [CODE]int num = 12345; int nums[4]; // how ever you enter numbers into the array // would result in: // nums[0] = 1 // nums[1] = 2 // and so on...[/CODE]

Software Development c++
Member Avatar for AspiringCoder
0
188
Member Avatar for dohpaz42

In a nutshell I am trying to write a program that will connect to a database, query several tables for various sets of data that will then be transformed into XML that is stored into a file on the local hard disk. My first thought process to solve this problem …

Software Development c++ oop ui-ux
Member Avatar for dohpaz42
0
207
Member Avatar for ttboy04

Hello, When random generates an output, it cannot show duplicate strings. So for example the output I am getting (randomly) is, "Freddy, Freddy, Jane" when it should be "Freddy, Jane". I have to hardore so I cannot use Sets or ArrayList, Contains or for anything like that. Also no Stringbuilder. …

Software Development java
Member Avatar for aspire1
0
138
Member Avatar for HUPextreme

Hi Guys, feel quite stupid with this one, been staring at it for ages. What to combine three tables with the left join sql. keep getting the syntax error in Join operation. [CODE]SELECT SubmittedTeam FROM (NETT LEFT JOIN NETT ON NETT.SubmittedTeam = Team.Team) LEFT JOIN tempDate ON NETT.Date = tempDate.date …

Software Development sql vb.net
Member Avatar for kdion1024
0
158
Member Avatar for Duki

Hey guys, I have a splash screen I'm loading here: [code=c#] private void main_Form_Load(object sender, EventArgs e) { //Load Splash Screen this.Hide(); Form_Splash form_Splash = new Form_Splash(); form_Splash.Owner = this; form_Splash.Show(); System.Threading.Thread.Sleep(3000); form_Splash.progressBar_splash.Value = 10; form_Splash.label_Process.Text = "Checking Authentication..."; System.Threading.Thread.Sleep(2000); // Create the context for the principal object. PrincipalContext ctx …

Software Development image open-source
Member Avatar for kdion1024
0
151
Member Avatar for sdhawan

Hi I am inserting the following stirn in databse but its giving me error the string is " L'Oreal assures us "You're worth it"." now because i have single ' after L and then " and then again single ' its giving me error at L'Oreal.Can anyone help me with …

Software Development
Member Avatar for sdhawan
0
331
Member Avatar for Xinnie

[CODE] OleDbCommand saveCmd = new OleDbCommand("INSERT INTO rapor (Proje_Adi, Proje_Tanimi, Proje_Sorumlusu, Kim_Verdi, Toplam_Sure, Sure_AsildiMi, Asilma_Sebepleri, Notlar, Baslangic_Tarihi, Bitis_Tarihi) VALUES ('" + adbox.Text + "','" + tanimbox.Text + "','" + comboBox1.Text + "','" + kimbox.Text + "','" + surebox.Text + "','" + checkBox1.Text + "','" + sebepbox.Text + "','" + notbox.Text …

Software Development
Member Avatar for Xinnie
0
114
Member Avatar for Duki

I've spent the last couple of days researching how to connect to a database server and modify the data in that server. I was able to find a lot of information on how to Read from a database, but I found very little material to assist with Writing to a …

Software Development c# sql
Member Avatar for Duki
0
823
Member Avatar for Seba Sama

Hi! I'm working on a query that stuck me for some hours. I have 4 tables that I need to query to get a result that I need to populate a flexgrid with. Table Transactions contains (tID, data, clientID, operation) that I need. Table TransactionsContent contains some columns that I …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
126
Member Avatar for khipasi

Hi, I am trying to populate a listview with the data that is entered on the Edit box, but I am getting errors: Form1.Listview.Insert(0); Form1.Listview.Items.Item[0].Caption := Name{Name in the Diaolog Box) Please help.

Software Development listview pascal
Member Avatar for khipasi
0
98
Member Avatar for octavia

HI , i'm new in xml. I'd like to ask one thing that what is the difference between .config file and .xml file? As long as i m not clear for this part, i can't go through anymore. Pls reply me :) :)

Software Development xml
Member Avatar for octavia
0
584
Member Avatar for Duki

Hey Guys, I'm connecting to an SQL server and updating some fields. This works: [code=c#]cmd = new SqlCommand("UPDATE Laptops SET Checkout_Date = '" + form_CheckOut.checkout + "' WHERE name='pen-laptop1'", conn); cmd.ExecuteNonQuery(); [/code] But this one doesn't: [code=c#] cmd = new SqlCommand("UPDATE Laptops SET " + " isCheckedOut = 0" + …

Software Development sql
Member Avatar for Duki
0
76
Member Avatar for cc11rocks

like for a regular menu it would be: [CODE]def menu(list, question): for entry in list: print 1 + list.index(entry), print ") " + entry return input(question) - 1 items = ["bookcase", "sleeping dog", "couch", "closet", "rug", "door"][/CODE] [COLOR="Red"]How to create a menu to where when you entered 1 for bookcase …

Software Development python
Member Avatar for vegaseat
0
2K
Member Avatar for weavercs

I have two functions: [code] int GetRowCount() { return lvComponent.Items.Count; } string GetCellText(int row, int col) { return lvComponent.Items[row].SubItems[col].Text; } [/code] lvComponent is a ListView control. I call both of them from another thread using Invoke. The first one works perfectly. The second one throws an exception saying that you …

Software Development listview
Member Avatar for nick.crane
0
105
Member Avatar for progcomputeach

A friend and I were discussing again. He said programming requires too much maths knowledge-I said that you just need to know the basics (addition, subtraction, division, multiplication). He also reckons HTML is a programming language ;-) What do you think?

Software Development
Member Avatar for progcomputeach
0
110
Member Avatar for djohnston1

I am using Visual Studio 2008 sp1 - VB.Net I have been working on an application for a while now that has printing for each of roughly 30 forms. All the printing up to now has been with text only, so no need to worry about color ink. I was …

Software Development image printer vb.net visual-studio
Member Avatar for djohnston1
0
263
Member Avatar for anjkris07

hi.. i'm still new to java and i have a project to work on regarding card games. I want to shuffle the deck but i just can't get it.Shuffling the deck must be alternate each element. I don't know if i'm doing the right thing. I keep getting a " …

Software Development java
Member Avatar for anjkris07
0
210
Member Avatar for redZERO

I know that i might be jumping straight into the 'deep end', however I want to make a program which accesses a file (.txt for example) over the network. For example, you type in the IP Address of the computer where the file is stored, and the program reads from …

Software Development java microsoft-access
Member Avatar for NormR1
0
162
Member Avatar for vijayindia

plz reply to my web id my web id is <EMAIL SNIPPED> plzhelp me[code]import java.io.*; import java.applet.*; import java.awt.*; class crystal extends Applet { private crystalGrid crystal; private Button reset, stop, go, moreRows, fewerRows, moreCols, fewerCols; public void init() { reset = new Button("Randomize"); add(reset); stop = new Button("Stop"); add(stop); …

Software Development java
Member Avatar for CrazyDieter
0
109
Member Avatar for iqra123

hiii... i running a program of C heres one function in which i am getting an error. [CODE]void snmp() { int count; char switch_val; printf(" start sending requests\n"); printf(" select '1' to send get request\n"); printf(" select '2' to send get next request"); scanf( "%d", switch_val); switch(switch_val) { case '1': …

Software Development c
Member Avatar for iqra123
0
72
Member Avatar for eshabajaj

i want to know about characterset in C.

Software Development c c# c++
Member Avatar for Banfa
0
88
Member Avatar for charqus

Hello guys. I have an application ( size ~3MB ) , with 5 forms. In my principal form i want , like when the program starts , a [B]SoundPlayer[/B] to sing. Ok , look what i did: first , i loaded my picture ( in resources - Audio - save …

Software Development audio
Member Avatar for nick.crane
0
161
Member Avatar for xaop

[QUOTE]Armstrong numbers are the sum of their own digits to the power of the number of digits For example, 153 = 1³ + 5³ + 3³[/QUOTE] Here is my attempt [CODE]#include <stdio.h> #include <conio.h> void main() { clrscr(); int i,r,h,t,o,s,n; printf("Please enter any integer.(Not more than four-digits) "); scanf("%d" , …

Software Development c
Member Avatar for Banfa
0
145
Member Avatar for ajwei810192

Hi, I wonder if anyone on this list has tried to mix numerical variable, such as 1, 2,3 within an xpath expression. [CODE]songList = document.SelectNodes("/music_songs/song[category='" & drop1.SelectedItem.Text & "'][item_number_first<=position()<=item_number_last]") [/CODE] For some reason, item_number_first and item_number_last appear to have no value in the above code snippet, when they do have …

Software Development vb.net
Member Avatar for ajwei810192
0
116

The End.