Our Software Development forum encompasses topics related to native application programming design and development.

43,484 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for wingers1290

Hi, Is it at all possible to detect if a user has inputed text into a text box for example. [code] if (textbox1.Text == ("detect if text is in textbox") { // do something } [/code]

Software Development .net:c# web-design
Member Avatar for wingers1290
0
294
Member Avatar for metdos

I want to add my header file as #include <vcinpl.h> instead of #include "vcinpl.h" how can I manage this? Thanks.

Software Development c++
Member Avatar for metdos
0
194
Member Avatar for _dragonwolf_

I have tried different things to modify the following code and have been unsuccessful. The following code is to get the julian date number. I need to alter it to make it return the day number (between 1 - 366) within a given year. Can anybody help? (fyi - this …

Software Development c++
Member Avatar for _dragonwolf_
0
265
Member Avatar for pltndragon

This program should accept array of integers and integers that indicate the number of elements in the array. the function should then determine the median of the array. Using pointer notation. I did research to see if someone had similar problem like me, but their was only other one, it …

Software Development c++ python
Member Avatar for pltndragon
0
3K
Member Avatar for Jammie

Hi, Could someone tell me if there's a better way of doing this? I was asked this question in an interview and I wrote a piece of code of O(n2). // This function returns a new string of the common alphabets found in a and b char* intersection(char*a, char* b) …

Software Development c
Member Avatar for Jammie
0
896
Member Avatar for hughesadam_87

Hey guys, Say I had the following list: [1, 2, 2, 2, 3, 4,4] Let's assume that the list will always be integers. Does python have a built in feature which would take a sorted list, and then return the frequency that each element occurred. For example: 1 -> 1 …

Software Development python
Member Avatar for jlm699
0
165
Member Avatar for bigbadbag33

hi; I am trying to create a program that will return information stored as long as the word stop is not entered for the employee name, I cant get the program to work can some one help me with this. this what I have so far. // payroll program upgrade …

Software Development java
Member Avatar for bigbadbag33
0
114
Member Avatar for papanyquiL

I've made an extremely basic program on my WinXP (x86) SP3 comp. All the program does is convert feet to meters, etc... I put it on my buddies computer that has vista (x86) installed on it, and it says 'the program has stopped working, windows is checking for a solution.' …

Software Development .net:c# microsoft:windows-vista-7-8
Member Avatar for serkan sendur
0
435
Member Avatar for Member #531174

Hey guys... I was recently working on a program, which opens a music file using Windows Media Player...so I tried: [CODE]subprocess.call("C:\Program Files\Windows Media Player\mplayer2.exe",loc) # Where 'loc' is the location of the file[/CODE] But then I got to know that it won't work and that I have to use: [CODE] …

Software Development python
Member Avatar for zachabesh
0
128
Member Avatar for pluring

Hi! I'm trying to search a html site for a spefic word and print the result thats x rows after that word. If the html page looks like: "Hello welcome to daniweb" I want to search for welcome and look for what the next word is ("to" should be the …

Software Development python
Member Avatar for pluring
0
111
Member Avatar for pythonbegginer

I have a lot of directories that start with "td." for example i have: td.10000 td.11102 td.00384 td.35454 td.32356 Is there a way in which i can tell python to remove all directories that start with "td." ? If so, how?

Software Development python
Member Avatar for pythonbegginer
0
198
Member Avatar for serkan sendur

how do you sort dictionary in c#? the key will be string, the value will be listviewitem. i want to sort by the key. i cant use sorted dictionary. give a complete working example please, preferably attach full project for me :) Thanks in advance.

Software Development .net:c# listview
Member Avatar for serkan sendur
0
159
Member Avatar for poeticinsanity

So I feel rather foolish for this, but I haven't used command line often. I'm using sys.argv to gather arguments from the command line. I'm saving one in particular to a variable called test. It is suppose to be a boolean; however, passing in True or False still renders if(test): …

Software Development python shell-scripting
Member Avatar for poeticinsanity
0
6K
Member Avatar for sonia sardana

I drag Tabcontrol.& add two tab pages. I have contextmenu Strip, dat i bound to tabcontrol.I select the ContextMenuStrip & set it to ContextMenuStrip1 Now i right click on tab headers.Suppose i right click on tabpage1,contextmenu is displayed.I want that when i right click on tabpage..I want to get the …

Software Development .net:vb.net
Member Avatar for sonia sardana
0
3K
Member Avatar for walter clark

We use Windows Form1.h to interface an existing C++ program. The existing program is changed by other people and I have to update the interface. To do that I copy all folders of the older project to a different place and then introduce the changes there. The problem is, that …

Software Development c++ microsoft:visual-studio
Member Avatar for walter clark
0
104
Member Avatar for slatk3y

Hello, I have a problem when I try to double the length of the array if it is already full. For example, array arr has length 5, and I want to insert 7 elements in it. This is what should I get: arr = [1, 2, 3, 4, 5, 6, …

Software Development c++
Member Avatar for slatk3y
0
120
Member Avatar for lost_scotsman

Hello all, I have what at first glance seems like a very simple problem but I have been getting bogged down with it for the last few days now and would appreciate some help. I have a series of text files to read in, and wish to convert them to …

Software Development c++ file-system
Member Avatar for lost_scotsman
3
1K
Member Avatar for walter clark

I've copied an entire project/solution to another folder so I could create a different version. I made some changes in the source code that is unrelated to the Windows user I/O stuff. I've done that before, but this time, it found errors in a... form1.h instead of Form1.h Where did …

Software Development c++ visual-basic
Member Avatar for walter clark
0
170
Member Avatar for exzibit23

how can i connect SQL(local server) to VB6?? Please give me the STEP BY STEP PROCEDURE.. i dont really have idea on how to connect SQl to Vb6

Software Development microsoft:sql-server visual-basic
Member Avatar for vb5prgrmr
0
97
Member Avatar for tdeck

I'm probably going about this in the wrong way, but I have a stack of Objects, and some of these can be ArrayLists. I want to be able to pop an object that is actually an ArrayList off the stack, unbox it, add something, and then pop it back on. …

Software Development .net:c# data-structure
Member Avatar for tdeck
0
160
Member Avatar for goody11

I can't figure out how to make my save function append to the txt file it always overwrites. Also, I'm trying to figure out how to make each set of words on a newline in the text file. Here is the function: [code] BOOL SaveTextFileFromEdit(HWND hEdit, HWND hEdit2, HWND hEdit3, …

Software Development api c++ microsoft:windows-api-win32
Member Avatar for bdusablon
0
136
Member Avatar for Yaserk88

Hello! I am trying to open this CSV file separated by semicolons. I know how to open a text file and I tried searching the way to open a CSV, but most methods seemed extremly complicated. Does any one have a simple suggestion that would work with what I already …

Software Development c++
Member Avatar for Ancient Dragon
0
4K
Member Avatar for auhuman

Hi, i searched a lot in JAVA documentation, but couldn't find a buffer API 1) can grow dynamically. 2) the existing content must shift right if i insert a new element in the existing content index

Software Development api java
Member Avatar for auhuman
0
99
Member Avatar for Stals

Im using [code]For Each foundFile As String In My.Computer.FileSystem.GetFiles( _ My.Computer.FileSystem.SpecialDirectories.MyDocuments, _ FileIO.SearchOption.SearchAllSubDirectories, "*element.txt") ListBox1.Items.Add(foundFile) [/code] to get file paths. There are 3 elements for example. And i need them to become variables. (a,b,c) And show in labels [code] Label1.text= a Label2.Text =b Label3.Text =c [/code] Label1 will show the …

Software Development .net:vb.net
Member Avatar for steve11
0
119
Member Avatar for babbu

i have a datagrid view. i am using data table to display data [code] oledbcon.Open() m_daDataAdapter = New OleDb.OleDbDataAdapter("Select * from Customer", oledbcon) m_daDataAdapter.Fill(m_dtCustomer) m_cbCommandBuilder = New OleDb.OleDbCommandBuilder(m_daDataAdapter) m_rowPosition = m_dtCustomer.Rows.Count dataGridView1.DataSource = m_dtCustomer oledbcon.Close() [/code] this works great. later i want to display only those records tht the user …

Software Development .net:vb.net
Member Avatar for g@sha
0
2K
Member Avatar for Piya27

Hi All, I have recently installed Visual Studio 2005 after system recovery... and now when I start debugging any program, it shows me the following error : [b]"Error while trying to run project : Unable to start debugging. The Binding handle is invalid."[/b] Please Help.

Software Development .net:vb.net microsoft:visual-studio
Member Avatar for Piya27
0
63
Member Avatar for alski

Hi people. I have a time and attendance module in VB6 which saves transactions (ADO) in MS-SQL if there is a LAN connection, and save it locally (MS Access) when offline. The trigger is when someone logged in. This is what I did: [Code] Set cn = New ADODB.Connection cn.Open …

Software Development microsoft:sql-server visual-basic
Member Avatar for alski
0
126
Member Avatar for firoz.raj

simple want when user click on close form button.all the form should close except Mdi form.but MDI Form also get close.Kindly let me know. any help would be Highly appreciated.here is the code what i have written. [code=vb] Private Sub FrmClose_Click() Dim frm As Form For Each frm In Forms …

Software Development visual-basic
Member Avatar for firoz.raj
0
108
Member Avatar for StuartMillner

I am writing a program that reads paragraphs from a word document and puts them between XML tags. I have a class which handles the loading and reading of the word document. The document loads fine, and the program can read all the words into the program, but not on …

Software Development .net:vb.net xml
Member Avatar for StuartMillner
0
981
Member Avatar for Whilliam

Hello. Im new to Java. I don't know much about Java's codes but I have a good background in C. Im using NetBeans 6.7. I have this code: [code=java] package javaapplication1; public class Main { public int x = 3; public int test(){ x += 4; return x; } public …

Software Development java:netbeans
Member Avatar for kvprajapati
0
138
Member Avatar for laghaterohan

hello , here is my code below to unzip a file and list only the file names contend in that folder in the listbox below , the code is working properly however am unable to get only the file name in the list box. In the listbox i get entire …

Software Development .net:c# .net:winforms
Member Avatar for laghaterohan
0
128
Member Avatar for abu taher

at 1st: class name entry in a text box (by add new button). access file is store it. then in a another form (when a student admitt) enter all data of this student (in few text box) without class name. when I want to entry the class name then I …

Software Development database-design visual-basic
Member Avatar for abu taher
0
173
Member Avatar for laghaterohan

hello, Below is the C# code. When i run it i get an error saying cannot convert char to string in the foreach statement. Please help me out...am unable to figure out whts the problem! awating replies..... [CODE] private void DisplayFiles(string DirPath) { string Root = null; Root = txtdestination.Text; …

Software Development .net:c#
Member Avatar for laghaterohan
0
159
Member Avatar for Lensva

its supposed to zip folder content recursively, which it does until it encounters a folder with both an empty folder and a non-empty. or so i think. i used the following structure to zip: [URL="http://img291.imageshack.us/img291/6120/84976017.jpg"]http://img291.imageshack.us/img291/6120/84976017.jpg[/URL] if untitled folder is removed it works. any tips would be much appreciated. [code=java] import …

Software Development java
Member Avatar for kvprajapati
0
115
Member Avatar for ShawnH

I'm currently using the old SetWindowRgn method to create a form with rounded corners but the edges of the corners produced are horribly pixelated. Is there any way to have a form with rounded corners that are smooth?

Software Development pascal
Member Avatar for ShawnH
0
288
Member Avatar for AssaultM16

I was wondering. Is there any function like strtok to split into tokens a string, which is c++ standard? Also is there a way to store those tokens into separate char arrays? Thank You

Software Development c++
Member Avatar for AssaultM16
0
175
Member Avatar for Member #574706

I'm trying to allow a user to find a specific string within a DataGridView column and replace it with another string.....not necessarily requiring them to replace the whole string but to change a word within the string. for example: Find What: GLAND it searchs the column and finds GLAND STEAM …

Software Development .net:vb.net
Member Avatar for kvprajapati
0
178
Member Avatar for iamnoangel26

I am planning on making a biometrics attendance system. I have the hardware and planning on creating a software. My question is Whis VB to use. VB.Net or VB 6.0? Or other language to suggest? I am a Intermediate user when it comes to VB 6.0 and C++. Thanks in …

Software Development .net:vb.net c++ visual-basic
Member Avatar for iamnoangel26
0
232
Member Avatar for Morika

Hi, I'm a newbie to python and I need to extract numbers from a path name. A path name such as: /grups.google.com/grup/cmp.lng.pythn/browse_thread/thread/8_ee63e_[B]17[/B]del_0c12d And I'm trying to get it to take out the 17. I thought I could just do: [ICODE]det file = /grups.google.com/grup/cmp.lng.pythn/browse_thread/thread/8_ee63e_[B]17del[/B]_0c12d index = det_file.find('del') dent = det_file[index[-2]][/ICODE] This …

Software Development python
Member Avatar for Morika
0
153
Member Avatar for mzprog

Hi all, I has to develop a utility GUI using java, as it is very tedious doing programmitically. Anyone knows of a good free tool or plug-in for eclips for building java-based GUI, which can be editable programmatically. i know of Netbeans Desktop application but it generates horrible code. plz …

Software Development java user-interface:gui
Member Avatar for StuartMillner
0
203
Member Avatar for Uttumi

Hi, This is a very simple question, but I just couldn't figure out any set of keywords that would point to an obvious answer. So here we go. Code example: int array [size] ; Size is, for example, given as an argument. Is this array initialization static or dynamic? It …

Software Development c++
Member Avatar for John A
0
263
Member Avatar for Lethys

Hi.I'm trying to make a program that blocks speed programs like speedgear. I'm currently blocking it with this code block [code] ProcessMemoryReader pReader = new ProcessMemoryReader(); pReader.ReadProcess = p; pReader.OpenProcess(); byte[] NewVal = x; int store = 0; IntPtr BaseAddress; BaseAddress = new IntPtr(0x0043B382); x = pReader.ReadProcessMemory(BaseAddress, 6, out store); …

Software Development .net:c# software-architecture
Member Avatar for sknake
0
99
Member Avatar for xiikryssiix

hello. here i go again... were learning Arrays this week, and after a lot of trial/error, ive finally created a program that actually runs and compiles. my issue of the matter now is being able to put the user's 4 numerical inputs in order from low to high. if anyone …

Software Development c++
Member Avatar for xiikryssiix
0
213
Member Avatar for ebi1

Hi all., I want to make a small and simple game for kids, where they need to compare between different shapes of polygons. So in this game, there will be a button, loading different Polygons, with transparent background. i REALLY preffer it will be with the Animated GIF of RxLib, …

Software Development multimedia pascal
Member Avatar for ebi1
0
222
Member Avatar for ChrisPaul

Hello, I have a question. How can i determine if an email address is in the correct format. I use the System.Net.Mail.MailMessage to send my messages. I am getting my To email addresses from the database but when the address is not in the correct email format the program stops …

Software Development .net:vb.net email
Member Avatar for ChrisPaul
0
363
Member Avatar for ryancfc

Hi, I have been doing c++ for about a month and a half and have done 26 tutorials on Youtube and I feel rather proud of learning something I have wanted to do since I was 13 (I'm 20 now) and that is to program. Back to the point. I …

Software Development c++
Member Avatar for ryancfc
0
156
Member Avatar for adarshcu

I saw this small code of a program to print HI without a semicolon in the program. I don understand how it works. [code] int main() { while(printf("HI")-2) {} } [/code] Any help would be appreciated.

Software Development c
Member Avatar for adarshcu
0
118
Member Avatar for maestermoo

Hey, so I'm trying to make a program that sorts user inputted "pancake sizes" and then outputs the result after a selection sort. My problem is that with an input of 12.3, 14.2, 15.2 etc(doubles) the program won't work, and I have no idea what to do for the parameters …

Software Development c++
Member Avatar for Ancient Dragon
0
152
Member Avatar for rahulsundar_007

hi can anyone help me out in detecting broken/corrupt images (jpeg, gif, png) using c# code. - rahul

Software Development .net:c# graphics:image
Member Avatar for sknake
0
2K
Member Avatar for Creator07

Hello, This is a general question, so, I don't think code is necessary. I have a basic question about buttons in Win32 API... (Solution in MFC is also OK!). I was doing some experiments in push buttons, using MFC... I can enable/disable a button as I wish, but, there is …

Software Development api c++
Member Avatar for Creator07
0
190

The End.