132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for danrt

I'm trying to create a Desktop Recording Application. When I record the full screen, the program works as it is supposed to, but in some cases when I select a specific region from the desktop to record I get an error at: `int result = AVIStreamSetFormat(psCompress, 0, ref bi, (Int32)bi.biSize);` …

Software Development
Member Avatar for danrt
0
394
Member Avatar for speakon

Hello, I am working on a project and am in need of search function. How my system works: User enters details Stored into a text file writes a blank line at the end of the record when reading in the file, a new blank line = new record So for …

Software Development java seo
Member Avatar for speakon
0
389
Member Avatar for George_91

Hello. I need to simulate a button click with a Timer. That the action performed by the button, repeats every 60 seconds. I've never use timers, any help?

Software Development gui
Member Avatar for skatamatic
0
1K
Member Avatar for newprogrammer12

hi for my programming class we have to write an average calculator program in any langauge we want. I did mine in Java and im fairly new to programming. the problem with my code is how can I improve it to make sure user's incorrect input ruins program. for example …

Software Development java mathematics
Member Avatar for jackbauer24
0
220
Member Avatar for pritaeas

I found that there is a difference with the drawing of a custom bitmap brush, when I subclass TGraphicControl versus TCustomControl. The expected behaviour occurs when using the TCustomControl descendant. Each paint starts with the brush in the same position, no matter the location of the control (top-left). When using …

Software Development delphi pascal
Member Avatar for pritaeas
0
239
Member Avatar for vijaycare

Hi All, I am using vs2005 with access database. Developing a new application. I am the new one to the application development. This is what my situation which takes my time towards searching a reference but no where it is found: ***There is 2 tables named tblbill(contains VendorID & TruckID) …

Software Development vb.net
Member Avatar for vijaycare
0
201
Member Avatar for mansi sharma

Suppose I have items in combobox1 1) On button click event ,I want to copy all the items to combobox2 ? What is the coding for this?

Software Development vb.net
Member Avatar for somu1205
0
622
Member Avatar for tuputavieja

Hi to everyone, this is my first post in this site. I hope you'll be able to help me with mi little issue, as I've been trying to solve it for hours without results. The question is simple: I have a text file, and at the end of it there's …

Software Development c
Member Avatar for Sokurenko
0
121
Member Avatar for hanaac++

**how to build c++ compiler? please help me. **

Software Development c++
Member Avatar for hanaac++
0
99
Member Avatar for salman_hundekar

i want to creat crystal report in form of bulk and i want to use one 131 chqrqcter in that and at the end i want to use verticale bar

Software Development vb.net
Member Avatar for salman_hundekar
0
104
Member Avatar for xzero1

hi everyone. i just want to know that how can i fetch any paragraph/line written in "p" tag in any website. i want to recieve a complete article written in any website into my c# window appication.

Software Development c c# c++
Member Avatar for zid8ne
0
128
Member Avatar for wab9jon

Hello I cant figure out how to recive a boolean from a method in another class. public boolean arYatzy() { boolean yatzy = true; for (int i = 0; i < tarn.length - 1; i++) { yatzy = yatzy && (tarn[i] == tarn[i + 1]); } if (yatzy) { return …

Software Development java
Member Avatar for wab9jon
0
214
Member Avatar for gahhon

i need some proffesional helps... from yesterday night i have done a part of my practical and i saved to my pendrive... the folder name as <Chapter 3> and today i went to college computer lab continue to finish another part and i also saved to my pendrive, since i …

Software Development vb.net
Member Avatar for gahhon
0
136
Member Avatar for JasonWung

I`m sorry about the title. So, when i start my program i start to write everything in log.txt. The problem is when i start second instance of same program and they work at same time. Second program crash because log file is in use in this time ( by first …

Software Development
Member Avatar for skatamatic
0
540
Member Avatar for sriram_11

Hi... I converted a basic adding program from matlab .m function file into .c & .h file. When i try to include the header file function "add" into my main function in dev-c++ 4.9.9.2 --- [Linker error] undefined reference to `add' is the error message on compilation. Here is my …

Software Development c
Member Avatar for sriram_11
0
384
Member Avatar for Parloverde

So I'm currently making program for my year 12 IPT assignment. It's a maths game for Year 4's and 5's. I need to carry a variable throughout the entire project (across forms) so I can easily specify what level the user is playing and how many questions they want to …

Software Development visual-basic
Member Avatar for Parloverde
0
2K
Member Avatar for sunfutbol

str(name)=input('Enter a name\n') is there a better way than using raw_input() ?

Software Development python
Member Avatar for sunfutbol
0
202
Member Avatar for mujtabaaain

I need help in c# about file scanning in c#. I want to scan all files or from specific path in background if application is in running mode. Scanning should start after every 10 min.......

Software Development c# html-css
Member Avatar for skatamatic
0
358
Member Avatar for tiffanynguyen08

I want to make a trivia game in python. Let's say I have a set of 25 questions, how do I choose 10 random questions from that set without repeats?

Software Development gaming python
Member Avatar for vegaseat
0
5K
Member Avatar for Wolfenstein

Hey, i appreciate anybody who use up some of their own time to help me. I'n a newbie to python and i have a couple problems. First, the score NEVER gets updated. Second, i'm unable to select the same menu option twice in a row (eg select 'letterguess' first, complete …

Software Development python
Member Avatar for vegaseat
0
160
Member Avatar for Dasttann777

Hi again, I am working on a small project which sort of resembles a makeshift programming language, in which if the user types "print" and then a value, the console will write the value, and not the string, for example, if I write *Print "Hello"*, it will output the string …

Software Development c++
Member Avatar for m4ster_r0shi
0
169
Member Avatar for MrEARTHSHAcKER

Hi, There is short explanation of queue at cplusplus.com site which tells that queue should contain front() and back() functions. As I have tested in VC++, if I use queue from <queue> and call any of these functions for an empty queue, program crashes. Could this problem be solved by …

Software Development c++ queue
Member Avatar for MrEARTHSHAcKER
0
2K
Member Avatar for elackops

Hello everyone, Im new here and may i have answer to my question since i been looking for sutoliton a long time ago, I had a database looks like that user:pass (<IP>) user:pass (220.135.70.173:3128) that i need is to remove the text between ( and ) and the symbols too. …

Software Development vb.net
Member Avatar for Reverend Jim
0
158
Member Avatar for a2i2

I need help with this problem can you solve it for me ( write the program) -A password-protected security door can only be opened when a user inserts a valid 4-digit personal identification number (PIN). -The program starts by asking the user to enter a 4-digit PIN.If it is valid, …

Software Development c++
Member Avatar for a2i2
0
188
Member Avatar for singularity~

I have been trying to get my MVC C# code to connect to my sharepoint server. I have tried everything and I keep getting this error no matter what I try. The Web application at http://myserver/ could not be found. Verify that you have typed the URL correctly. If the …

Software Development sharepoint software-architecture
Member Avatar for singularity~
0
150
Member Avatar for reyesg

hello everyone i need help with an assignemnt that askes me to read from a file and count the number of occurence of each letter in the alphabet . im stuck trying to group each letter in an array. i think using a switch statement would be the easiest way …

Software Development c
Member Avatar for WaltP
0
109
Member Avatar for Behseini

Hi, Can you please help me to figure out how I can insert DataGridView values into a pre defined excel template (Into Specific Cells)? I have a DataGridView on my windows Form which is getting the values from user input. Now I would like to enable users to export the …

Software Development
Member Avatar for nmaillet
0
488
Member Avatar for Maymac

I am new to java programming. I am trying to create a GUI which includes JLabels, JPanels, JButton, text fields and labels. I am not using layout manager. Is there a particular structure in laying out the code that I should follow.? Thanks .

Software Development gui java
Member Avatar for JamesCherrill
0
117
Member Avatar for VB 2012

Hi i would like to know how i would extract text from a website especilly out of the (span class= ) area

Software Development vb.net
Member Avatar for VB 2012
0
102
Member Avatar for sanket044

I am having one projract EXE in vb6... and i have to create it again and needs to add some extra features in it... so is it posible the i can get the vb project of that exe again??? or can i attach new functionality to it directly without rewriting …

Software Development visual-basic
Member Avatar for debasisdas
0
107
Member Avatar for JohnBo

When you create a webbrowser it obviously uses Internet Explorer. Can you change this to Chrome? Cheers Phil

Software Development vb.net
Member Avatar for MilesGibson
0
72
Member Avatar for G_Waddell

Hi, I'm probably missing something really simple or trying too much at once but it's 16:30 on a Friday afternoon and my head is wrecked!! Basically, I'm trying to build an application that takes out put from a database query as XML and uses XSL to transform it into HTML …

Software Development html-css vb.net web-browser xml
Member Avatar for G_Waddell
0
2K
Member Avatar for elitely

Hello, I'm working on a webpage automation project. And I am very new in this. I want to use Webbrowser control to select an item in the dropdownlist. Now,how do I programmetically select an item from the HTML snippet below. I would like to select,say for example,"2009" from this HTML …

Software Development vb.net
Member Avatar for supriya anand
0
192
Member Avatar for hassan980

Hello, Im trying to make a program which basically performs unit conversion. I have basically made two text boxes, one for the S.I. Units and the other for British Units. The general idea is that when i input any number in the S.I. Unit text box, it should display the …

Software Development vb.net
Member Avatar for G_Waddell
0
161
Member Avatar for Rvjain99
Member Avatar for johndmingione

I'm having some trouble defining constants correctly. I know the format should be this: Const CONSTANT_NAME [As ConstantType] = value But I'm a little unclear of how to word it. So here is the Line I need to change into a Constant. Normally I would have a BAS file do …

Software Development visual-basic
Member Avatar for AndreRet
0
243
Member Avatar for awesomeriley

I am getting a crazy number of errors that i honestly do not know what is wrong. I am getting a syntax errot before the "int"s in the switch, and conflicting types of all the function names. Any help will be appreciated. #include <stdio.h> #include <stdlib.h> #define ARRAY_SIZE 241 void …

Software Development c
Member Avatar for deceptikon
0
183
Member Avatar for Cronicle8

Good afternoon, I'm having somee trouble with a functional application, the only thing missing is switching the motion regions with an image. Any help is higly appreciated. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Imaging; using System.Text; using System.Windows.Forms; using System.Threading; using AForge; using AForge.Imaging; using …

Software Development algorithm open-source
0
166
Member Avatar for carlakawill

Hi All, Can someone tell me how to set the selected text of a combobox on windows form with C#. If the combobox is unbound ie. has a static item list then combobox1.selected.text = "mtetxt"; works fine. However when the box is databound to a list from a database this …

Software Development
Member Avatar for ChrisHunter
0
199
Member Avatar for happygeek

A cyber weapon grade piece of malware, some twenty times the size of Stuxnet, has apparently been fired at a number of countries in the Middle East. This highly complex piece of code which takes screenshots of any open 'programs of interest' such as email or IM, records audio and …

Software Development c++ cybersecurity virus-malware
Member Avatar for happygeek
0
676
Member Avatar for velr

Hello! I am working on a server program that has a connection to a MySQL database. In one of my sql:s i need to use [URL="http://dev.mysql.com/doc/refman/5.0/en/user-variables.html"]User-Defined Variables[/URL] but i can't get it to work. The sql looks something like this: [ICODE]"SET @rank=0; SELECT id FROM (SELECT @rank:=@rank+1 AS rank ..."[/ICODE] …

Software Development java mysql
Member Avatar for JamesCherrill
0
2K
Member Avatar for shean1488

Hi everybody, Can you please help me to fix this error: For exit press 'q' Please enter name :Jack London For exit press 'q' Please enter name :C.S. Lewis For exit press 'q' Please enter name :q Traceback (most recent call last): File "/home/serg/python/First/start/Q1.py", line 28, in <module> print row[0], …

Software Development mysql python
Member Avatar for TrustyTony
0
267
Member Avatar for ChrisMackle

I get this error when compiling an sdl project i have please help me as i cant learn anything until i get my new compiler setup im using visual studi c++ 2010 the free edition i use to use code blocks but have upgraded heres my error: 1>------ Build started: …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
279
Member Avatar for _Brooksy

** Having trouble running this code as the compiler keeps having issues with the method 'public void mannipulate()', I'm new to java so forgive my ignorance, but I've been trying to rearrange everything in every which way to please this thing and its just not turning out right. I'm sure …

Software Development image java
Member Avatar for JamesCherrill
0
310
Member Avatar for Jaydenn

How exactly would I go about doing the following in C#? public class Test { public static void main(String[] args) { Test(new TestInterface() { @Override public void SomeMethod() { //create instance of the interface within parameters of a method. } }); } public static void Test(TestInterface _interface) { } } …

Software Development c# java
Member Avatar for Jaydenn
0
228
Member Avatar for robgeek

Hello everyone, I am sort of new in C programming and since I programmed mostly in C++, I may have some mix up on my program which is giving me some errors. I have written a small code , in modular fashion i.e. I have split the .h, definition.c , …

Software Development c
Member Avatar for WaltP
0
355
Member Avatar for Sendy Hipo

hello, im newbie in c++ and i have some newbie questions. erm here's the problem ive been thinking : #include <iostream> #include <fstream> using namespace std; struct Info { string name; int age; }; int main() { Info person1, person2; fstream writefile("output.txt", ios::out | ios::binary); person1.name = "sendy"; person1.age = …

Software Development c++ ios
Member Avatar for Sendy Hipo
0
199
Member Avatar for perly

I have two files: File1: M1U152S44906X14127_xu M1U7S112336U117688_xu File2 (tab delimited): T1X19S17508N179711_xu AAU_779 M1U152S44906X14127_xu xcup M1U7S112336U117688_xu mmna I want to search the content of File 2 using the content of File 1 and then display the output as follows: Date of search: The following matches were found in File 1: T1X19S17508N179711_xu …

Software Development file-system perl seo
Member Avatar for perly
0
206
Member Avatar for twistercool

I WAS CREATING AN INVENTORY SYSTEM USING VB 6 AND ADODC. HERE IS MY CODE [CODE]Private Sub Command1_Click() Dim temp2 As Integer Dim temp As Integer If Text1.Text = 0 Then error.Show Else If Text1.Text > 0 Then purchase.Show Form38.Hide Set rs = New ADODB.Recordset rs.Open "select *from purchasetable", cn, …

Software Development visual-basic
Member Avatar for twistercool
0
207
Member Avatar for Freedom*

i have 7 teams and i want with using the class random and the next method(a,b), i want to create and save the results randomly. i'll tell you what the program dowes so, you can understand what i want to do: firstly, when the program runs, it will ask for …

Software Development
Member Avatar for Mike Askew
0
144

The End.