132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sumitrapaul123

Hi, i am creating a text box in listview item. How I create is, I just take the location of the item and create a textbox on that location. OnFocus over, I just take the textbox text and put it in that perticular listview item and hide the textbox. Now …

Software Development listview
Member Avatar for sumitrapaul123
0
216
Member Avatar for ktsangop

Hi everyone, I am a C/C++ winapi developer and have to rewrite a "Dialog based" application in java, so that it will execute as an applet in any browser. My java skills are very few, since my knowledge is limited to past college classes. The application is not a large …

Software Development gui java queue
Member Avatar for ktsangop
0
376
Member Avatar for androidz

I made three projects the first one is a windows form, the second one is a class library and the third one is another class library to be the reference of the second and first projects. Inside my second Project which is a class library there are two files a …

Software Development vb.net
Member Avatar for G_Waddell
0
252
Member Avatar for NEVETS22387

Hi Everyone I've been looking for a solution to this problema for a while, ive searched the net but still can't get this too work. if i put my code in the default asp template( http://i1.asp.net/asp.net/images/whitepapers/aspnet40/ASPNET4B1-image13.png?cdn_id=2013-05-08-001 ) it will work, but when i use my template i always get the …

Software Development open-source
Member Avatar for NEVETS22387
0
235
Member Avatar for Labdabeta

Hello, I only have a basic knowledge of ASM because every tutorial I have found (including Narue's) is based on using some kind of high level library or another. However when I look through disassemblies of pretty much any program I notice that all such library calls are gone. My …

Software Development assembly operating-system
Member Avatar for Labdabeta
0
559
Member Avatar for Cameronsmith63

I created a service that watches a folder, processes the files that gets dumped into it, then after processing, it moves the files to another folder. So i copy a number of files to this folder, and every now and then, i get an exception stating that i cannot gain …

Software Development
Member Avatar for Ketsuekiame
0
215
Member Avatar for Jorox03

I am trying to add a comma to the end of each line ('\n') of a text file til the end of the file is reached. I am opening the file in append mode but am unsure as to how to go about identifying when the end of line is …

Software Development c++
Member Avatar for Jorox03
0
4K
Member Avatar for Papa_Don

Group, I've written a short stored procedure in SQL Server 2008 to create a new Order Number. The code looks like this: INSERT INTO ORDRNUMBERREC(OrderNo,UserId,CreateDate) SELECT MAX(OrderNo)+1,'system',GETDATE() FROM ORDRNUMBERREC WITH (TABLOCKX) In VB2010, I've written the following code to execute the stored procedure: con = New SqlConnection(sConnection) cmd = New …

Software Development sql vb.net
Member Avatar for G_Waddell
0
11K
Member Avatar for Nubitol

anyone can help me? i have a task from my teacher. He asked me to make a simple image processing program that can process 2D image with this feature: -the program can make a translation, rotation (an angle of rotation with arbitrary), scaling, and shearing. -the program can make an …

Software Development image java
Member Avatar for JamesCherrill
0
334
Member Avatar for jason.angeles.75

public class homework8_2 public static void main(String [] args) { Scanner keyboard = new Scanner(System.in); int selections = 0; DecimalFormat formatter = new DecimalFormat("#0.0000"); do { showMenu(); selections = keyboard.nextInt(); System.out.println("please input the amount of meters"); double meters = keyboard.nextDouble(); if (selections == 1) { double kilometers; kilometers = showKilometers(meters); …

Software Development java
Member Avatar for stultuske
0
253
Member Avatar for Jephor

17 May 2013 | I am trying (with no success) to connect an Access 2010 Table (.accdb).to a Vb6 ADO data control and having no luck at all. I have downloaded and installed the Microsoft.ACE.OLEDB.12.0 (as i read that this would solve the problem) and to be honest had expected …

Software Development microsoft-access visual-basic
Member Avatar for Jephor
0
408
Member Avatar for LeNenne

Hi How to kill a file in this format kill App.Path & "\backup\backup\PhoneTel.mdb" & Format(Now, "yymmdd_hhnn") & ".mdb" Lenny

Software Development visual-basic
Member Avatar for LeNenne
0
151
Member Avatar for LeNenne

Hi Again I have a file list with 2 backup library For i = 0 To File2.ListCount - 1 If File2.Selected(i) Then min = Left$(File2.fileName, 12) ' here I got the file name from PhoneTel.mdb130513_2014.mdb '********** min is Phonetel.mdb Kill App.Path & "\phonetel.mdb" sourcefile1 = File2.Path & "\min" ' The …

Software Development file-system visual-basic
Member Avatar for Jx_Man
0
210
Member Avatar for jaejoong

I got this error from another computer, without visual studio. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at PAMS_Upload.frmMain.Validate_OtherDimensions() at PAMS_Upload.frmMain.btnLoadOther_Click(Object sender, EventArgs e) …

Member Avatar for jaejoong
0
290
Member Avatar for MRehanQadri

Suppose my file a.txt has "ABC" written in it. Now I want to write a small b before capital B in the file. How will I do it? I've tried to do it but i'm having problems. 1. When opened in app mode seekp doesn't work. 2. When opened normally …

Software Development c++
Member Avatar for MRehanQadri
0
231
Member Avatar for TuteePink

I have a header file, but I don't know how to do it: I am new to templates. template <class T> class Array { public: Array(int l, int h); Array(int s); Array(const Array& other); ~Array(); T& operator[](int index); const T& operator[](int index) const; int get_size() const {return size;} private: int …

Software Development c++
Member Avatar for TuteePink
0
101
Member Avatar for spowel4

I am trying to set the value of cells in an Office 2010 worksheet using this code in Visual Studio 2012: for (int i = 1; i < 5; i++) { xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(i); int columnCounter = 1; foreach (string s in columnNames) { range = ((Excel.Range)xlWorkSheet.Cells[1, columnCounter]); range.Value = …

Software Development microsoft-office visual-studio
Member Avatar for spowel4
0
243
Member Avatar for VasquezPL

Hi all,\ I have small issue. I wrote the code which check logon times of user on every domain controller, after that, it return the latest one. The problem is that if any of domain controller is off/faulty - I get an error "server is not operational" and the function …

Software Development advertising
Member Avatar for VasquezPL
0
259
Member Avatar for anisha.silva

hi, where can I download the C# code for the Porter Stemming Algorithm. Appreciate a replly, thanks you

Software Development algorithm
Member Avatar for sally ja
0
98
Member Avatar for amrita29april

[code] #include<stdio.h> #include<conio.h> #include<string.h> void main() { char str[80],temp[80],word[20]; int i,j=0,c=0; gets(str); gets(word); strcat(str," "); for(i=0;str[i]!='\0';i++) { if(str[i]!=' ') { temp[j]=str[i]; j++; } else { temp[j]='\0'; if(strcmp(temp,word)==0) c++; } } printf("%d",c); getch(); } [/code] now my problem is that it is counting only the first word.. what's wrong with the …

Software Development c
Member Avatar for jephthah
0
268
Member Avatar for nitin1

can anyone explain me the all precison and exponent, significant bits which double can handle ? i am not getting it. wiki says it has 53 bits significant bits and 11 exponent. am a little bit confused. can anyone explain me ? (in their own way) thanks alot. although i …

Software Development c
Member Avatar for jephthah
0
165
Member Avatar for taekiewzz

Windows Application Form: I have a problem with filtering winform datagridview by listbox items (multiselect). For example: My listbox items have guest name of 'Lim', 'Jack' and 'May'. I would like to filter my gridview data by these 3 guests. Which each guest has their own entry. This is my …

Software Development vb.net
Member Avatar for uis
0
378
Member Avatar for breezett93

Hi Everyone, I have a program that takes data in a two dimensional array, performs simple calculations, and then writes the data to a file. When I call the function that calculates and writes, I get an error on the two dimensional array stating: "argument of type 'int' is incompatible …

Software Development c++
Member Avatar for Labdabeta
0
3K
Member Avatar for Avneet1993

I recently got a question by my tutor to wite a program in C++ and the question is as follows so can someone else try out with it by writing another program in C++ since i have already written it in 2 ways and would like someone else to try …

Software Development c++
Member Avatar for tinstaafl
0
177
Member Avatar for NyQii

Hey Im trying to figure out why my code doesnt enter the second foreach loop?? am i missing something? public void LoadPageAccess(int intRoleID) { Roles role = new Roles(); List<CRMDocLib2012Model.GetPageAccess_Result> GetPageAccess = role.GetPageAccess(intRoleID); foreach (CRMDocLib2012Model.GetPageAccess_Result lst in GetPageAccess) { foreach (GridViewRow Item in gvPageAccess.Rows) { var chkbox = ((CheckBox)(Item.FindControl("cbPageAccess"))); var …

Software Development
Member Avatar for tinstaafl
0
165
Member Avatar for davecoventry

I'm trying to run a file called configure.bat which contains the following: echo off mkdir Platforms mkdir Platforms\bb2010wm FOR /F "tokens=2* " %%A IN ('REG QUERY "HKLM\SOFTWARE\CodeGear\BDS\7.0" /v RootDir') DO SET BCB2010_ENV_ROOT=%%B cd Platforms\bb2010wm ..\..\build\cmake\bin\cmake.exe -G "Borland Makefiles" -D CMAKE_C_FLAGS:STRING="-g0 -tWM -WU -x -xd -w-8012 -w-8027 -w-8026 -w-8066 -w-8022 -w-8004 …

Software Development c++
Member Avatar for gusano79
0
555
Member Avatar for rude_god

Hi all I've been messing about with this bit of code. Basically what it's supposed to do is create these six buttons, which when clicked pass a parameter to a function and then call that function. The function basically removes one condition from a larger list depending on which button …

Software Development python tkinter
Member Avatar for Lardmeister
0
4K
Member Avatar for otengkwaku

Hi guys i have created a python 2.7 application using PyQt4 and Pyttsx. PyQt4 is a crossplatform GUI library and pyttsx is a text to speach library the code can be found [here](https://github.com/Oteng/timeTracker) Pleace if you have a comment of imporovement let me know thanks

Software Development github gui python
0
102
Member Avatar for RockJake28

So I'm starting to learn python as it's an awesome language from what I've already done in it. I came across an exercise to learn lists and it was basically as follows Create a list of first names and a list of second names and use a for loop to …

Software Development python
Member Avatar for Lardmeister
0
328
Member Avatar for ppajak

Hey guys, I wrote a program that reads a file and then displays its 8, 16 and 32 bit checksum as well as the XOR values. I've managed to do it and it works fine under windows(using qtspim) but on centos(using mars) I get the following errors: Line 7 column …

Software Development assembly file-system open-source
Member Avatar for Schol-R-LEA
0
5K
Member Avatar for nomorelogic

so i have a mini text adventure game where i can go through the rooms and have made a start trying to implement a inventory, i can type things in and store them in a text file, but i want to be able to find an object in a room …

Software Development c++ gaming
Member Avatar for Moschops
0
2K
Member Avatar for siss

I'm a complete beginner learning Python. I'm writing code to get response of cloudstack api call 'listTemplates'. But what ever i did, it shows a error message like 'Unable to execute API command listtemplates due to missing parameter templatefilter' i have tried to specify thar parameter but failed. can anyone …

Software Development api python
Member Avatar for TrustyTony
0
503
Member Avatar for noobyy

im just a noob vb programmer and im now making a thesis project (library system) im just wondering if any1 know how to do that (see title) in visual basic coz im planning to put that in our text box for searching books or student info for easier searching. help …

Software Development visual-basic
Member Avatar for anbarasan
0
230
Member Avatar for akash0689

I have two folders say A and B having exactly same no .of files with same name but different modified date and size. I want to compare each file of A to its respective file of folder B and get the newly modified file in a List box. If newly …

Software Development vb.net
Member Avatar for tinstaafl
0
1K
Member Avatar for MasterHacker110

I am getting an iphone soon and would like to write some programs for it using c++, I know all about apple and objective c but I want to use C++, as I am more skilled in C++. So is there a compiler out there that will enable me to …

Software Development apple c++ iphone objective-c
Member Avatar for Schol-R-LEA
0
325
Member Avatar for mossman mudas

i have an awk script and in the end section i create my table data with printf and i want to sort it so i used pipe then sort i am calling it like this awk -f awkscript file in bash i can get it to work the way i …

Software Development shell-scripting
Member Avatar for mossman mudas
0
242
Member Avatar for Affable zaki

Need Help guys. I am beginer in vb.net. i am using vs 2008 with sqlserver 2005. my head will burt very soon :( i have completed a desktop application for a local shopkeeper but he says this is in english and i want it in URDU :@ ,,,, i WANT …

Software Development vb.net
Member Avatar for tinstaafl
0
258
Member Avatar for massivefermion

I'm using windows 8 and I wanna know can I cross compile a C++ program for symbian Belle?How? Thanks

Software Development c++
Member Avatar for massivefermion
0
129
Member Avatar for aravind326

Hi, I'll quickly explain what i am trying to do before telling the problem i am facing. **Requirement:** 1. Store the contents of a file into an object. 2. Send the object through HTTP socket to another client server. 3. Have the server fetch the file contents from the object. …

Member Avatar for JamesCherrill
0
216
Member Avatar for ganges

Hi, what are the essential steps have to be done before installing eclipse j2ee on ubuntu manually give me valuable tips, thanks for your time.

Software Development java ubuntu
Member Avatar for stultuske
0
155
Member Avatar for ram619

Hello......I have written a script in which I am telnetting from system1 to system2. There from system2 I am doing ssh to system3. This system3 is a Embedded Board running Linux. Here on system3 I am executing a code that gives me a CLI interface. In this CLI we have …

Software Development python
Member Avatar for ram619
0
181
Member Avatar for sameh.abdulah.1

Hello, I read a large file (>7GB) from disk. The file is as set of attributes like this: 0.2,0.3,0.5,0.6,0.8 0.5,0.7,0.2,0.2,0.5 . . I want to read only the first columns(i.e. 0.2, 0.5,...) into a vector. I do not need the other columns. The problem that when I use the fstream …

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
273
Member Avatar for chriswelborn

I'm no pro when it comes to BASH, but I have been known to shell-script my way out of a problem here and there. One of the useful things you can do is a for-loop, whether it be used on file names, script arguments, or just a string of words. …

Software Development shell-scripting
Member Avatar for chriswelborn
0
302
Member Avatar for chriswelborn

I'm no pro when it comes to BASH, but I have been known to shell-script my way out of a problem here and there. One of the useful things you can do is a for-loop, whether it be used on file names, script arguments, or just a string of words. …

Software Development shell-scripting
Member Avatar for chriswelborn
0
398
Member Avatar for GeoEqual

I want to put the total on the last row of the sheet regardless the number of the records. If 10 rows are populated, i want to put total on 11th row. If 12 rows are populated, i want to put total on 13th row. If I based the adjustment …

Software Development microsoft-office visual-basic
Member Avatar for demon916
0
359
Member Avatar for kay19

Well I have a question and not sure if it's right. Here's the question(Long one). Applications. Build a class called Precinct. The record for a voter will consist of aname (String) and a political party(Boolean)(Two party). The SignInQueue method takes two parameters, a voter name and a party, and places …

Software Development java queue
Member Avatar for kay19
0
303
Member Avatar for chriswelborn

This is another useful script I came across. It prints a color-code chart in your terminal. It can help you find the color-code you are looking for, or view the current color-scheme you are using (people use it on reddit/r/unixporn to show off their system's theme, I use it to …

Software Development shell-scripting
0
385
Member Avatar for chriswelborn

I didn't write this, the credits are in the code. It's a code-golf version, and I'm sorry about that. I am trying to 'decode' it but I don't have the skills, so the 'decoded' version doesn't have the right colors. This is an example of what you can do with …

0
1K
Member Avatar for vadimak

Hello i need to make a cash register but i dont know how to do it. i was thinking about to make it in loop but i dont know how to make its. i need to input a barcode of product each barcode has price an stock level. In the …

Software Development python
Member Avatar for vadimak
0
545
Member Avatar for aroojasif22

`Inline Code Example Here`Can anyone please give me the code for copy detection. OBJECTIVE: A program that detects copied codes.<o:p></o:p> Sometimes students tend to submit copied assignments and detecting copy cases manually can be very time-consuming. You are going to write a simple software that compares two files word-by-word and …

Software Development c++
Member Avatar for aroojasif22
0
161

The End.