132,726 Archived Topics
Remove Filter ![]() | |
I cant figure out how make the Button visible proccessing WM_PAINT myself, it just get visible after pressing it.. [code=cplusplus] //THE WM_PAINT message: case WM_PAINT:{ RECT myrect; //get the device contest for the current window------------------- gsp_hdc = GetDC( hWnd ); if( !gsp_hdc ){ MessageBox( NULL, TEXT(" Error Getting DC!"), TEXT(" … Software Development c++ | |
Hello, I'm learning C++ and i want to know how i can build a program written in C++ that can execute other programs, like firefox. Thanks, Nathan Paulino Canpos Software Development c++ | |
Hi all, I'm going to attempt to create middleware in C# and i need some advice. What I'm looking to do is have an open socket, then when our VB app connects to it, it makes another socket and keep the newly connected one open. It then has to get … Software Development vb.net | |
Hi I want to show a crystal report in my windows application.In my Access DataBase I have a column called Payment type and its type is number.(ie data in that column is stored as 0 or 1).If payment type is 0 I want to show it as a string called … Software Development | |
Hello, I'm learning C++ and i want to build a simple program that copy files, remember that i want a program that copy all types of files, not only *.txt or only binary files. Thanks, Nathan Paulino Campos Software Development c++ | |
Hello all, I'm working on a C# application using MS Visual Studio 2008, and I want to make an installer for this project, so I used VS2008 to add a Deployment Project and chose Installer Wizard. The Wizard proceeded great and all, but when I try to build the Setup … Software Development visual-studio | |
I have a vector which i wish to fill with char's, so that each char is then a pointer to a vector. vector<char> list; list[0] = 'A'; list[1] = 'B'; How do I make 'A' and 'B' pointers to other vectors? [CODE] void Create_Pointers(char pointer_name) { pointer_name = new vector<char … Software Development c++ | |
Hello, I'm building a cp like program and here is the code of the file copy, i'm in the beginning, i'm going to put the error messages when i be in some good state of the program: [code]#include <iostream> #include <fstream> using namespace std; int main( int argc, char* argv[] … Software Development c++ | |
I can't get this code to work... [code=c++] typedef bool (* ProcessCallback)(DWORD ProcessId, DWORD ParentProcessId, TCHAR * Path, void * ImageBase, DWORD ImageSize); bool EnumProcesses(ProcessCallback Callback); // --------- class cProcessList { public: struct sProcess { DWORD ProcessId; TCHAR Path[MAX_PATH]; }; std::vector<sProcess> List; bool operator()(DWORD ProcessId, DWORD ParentProcessId, TCHAR * Path, … | |
Hello All :) i have an IP : 93.93.165.125 and my friend has an IP : 96.156.25.125. and i want to send file(200KB) . what can i do? sory for my english.:) Software Development python socket-programming | |
Can anyone give me a solution for this? the program should output how can the chemical equation be balanced (which are the coefficients) 28th ACM International Collegiate Programming Contest, 2003-2004 Asia Region, Tehran Site Balanced Chemical Equations Sample Input 3 HCl+CaO2H2=CaCl2+H2O HCl+H2SO4=NaCl HCl+NaOH=NaCl+H2O Sample Output 2 1 1 2 IMPOSSIBLE … Software Development pascal | |
[code=java]//their is an error in my program... and i dont know what it is... //and i need to make two columns how can i do that? import java.awt.event.*; import javax.swing.*; import java.awt.*; import java.util.EventListener; public class Assign_1 extends JFrame { private JLabel quizOneL,quizTwoL,quizThreeL,quizFourL,AverageScoreL; private JTextField quizOneTF,quizTwoTF,quizThreeTF,quizFourTF,AverageScoreTF; private JButton calculateB, exitB; … Software Development java java-swing | |
Hello Vb Experts, I want to know how to convert vb software into exe i have made software and want to convert into exe so plz. tell me all the steps. Thank You Software Development visual-basic | |
Hi all, I want to know how i can decrement the value of quantity in stock in my data base. This would be based on how times an item is purchased. So every time an item is clicked, i want to show the quantity has decreased in the database. I … Software Development visual-basic | |
i am making a report of server utilisation./now there are many servers and for each server there is a txt file in a certain dir loc of that server. user will call the server by the name and the text file will be called from its respective location how to … Software Development visual-basic | |
I'm seeing if it is possible to write a pong game only using standard C with maximum portability. I've worked out everything except user input. When the game is playing, If the user has no key pressed down, the paddle does not move but the ball should keep moving. I … Software Development c | |
Hi, I've written a program that uses two objects that look like the ones below, and I was wondering why i would need an assignment operator and copy constructor for either of these classes. Are strings like[ICODE] char*[/ICODE] (dynamic memory)? It would not be difficult to write these methods, I'm … Software Development c++ | |
There is a pure virtual const function declared like wayyyy up the inheritance hierarchy that I need to override, but I would like to override it with a non-const function. I tried and it just complained that the pure virtual const function const was not implemented. I got around it … Software Development c++ | |
Greetings, I've just got 2 python books that are a few years old, they talk about python 2.3. My question is if they would still be useful to learn python? Or if python 2.3 is really that different from 2.6 are they worthless? Thank you. Software Development python | |
Can any one please give me C implementation of the problem immediately if possible: In a field there are four animals, a dog, a snake, a mouse, a mongoose..dogs kill mongoose mongoose kills snakes and snakes kill mice.. The speeds of the mouse snake mongoose and dog are respectively 8, … Software Development c | |
How do I make a line of code such as this possible? [code] LTEXT spnV,IDC_STATIC,57,10,200,8 [/code] Software Development c++ | |
OK, this might be a bit too difficult to explain on the forum but I thought I would give it a shot. I have an excel sheet which has 3 columns, The first and second columns contain different figures and the third column has a figure which could be a … Software Development microsoft visual-basic | |
Suppose I have two exes WindowsApplication1.exe WindowsApplication2.exe..On the form load of WindowsApplication2.exe,I m calling WindowsApplication1.exe & sending the command line arguements..I copy the WindowsApplication1.exe into the debug folder of WindowsApplication2.exe. WindowsApplication2.exe [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Process.Start(Application.StartupPath & "\" & "WindowsApplication1.exe", "one" … Software Development vb.net | |
input qty while qty > 0 input size call Calculate Scrap using 10 to get scrap 10, qty needed for 10 call Calculate Scrap using 25 to get scrap 25, qty needed for 25 call Calculate Scrap using 40 to get scrap 40, qty needed for 40 if scrap 10 … Software Development c++ encryption | |
Is there any naming convention for C++ which is widely used and accepted? Software Development c++ | |
Hi, I need help with gridview? actually the gridview is supposed to show a view(aka join) consisting of two tables . In my case I have (userid) , (money depositted) fields in table 1; userid can also be left as null. I have another table I have first_name, last_name,phone numbers( … Software Development | |
Greeting everyone.. This is my very first thread. I'm a final year student doing my thesis. I want to develop a software of Java that can encrypt an image so that it can be transformed to unreadable form. My idea is to transform the image file (i.e JPG, BMP) to … Software Development encryption image java puzzle | |
Is there a good way to access browser like IE and run an HTML file from within Python code? Software Development python | |
i tried to read integer values from a file but it didnt work. fscanf could only read strings.. why? or am i not doing sumfin ryt?? here's my code: int a=0; FILE *p; p = fopen("Customer_Records.txt", "r"); while(x==a); { fscanf(p, " %[^\n]", profile[a].name); printf("\n %s", profile[a].name); fscanf(p, " %[^\n]", profile[a].phone); … Software Development c | |
Hi, I have a small doubt in C++ assignment. I have been assigned to do seat reservation in a certain foodcourt. I have already done the seat reservation thing using basic array and function. But my program can only do manual seat reservation. Which means the user gets to choose … Software Development c++ | |
see my code pls Imports System.Data.SqlClient Inherits System.Windows.Forms.Form Dim myConnection As SqlConnection Dim myCommand As SqlCommand Dim dr As SqlDataReader ' the database we'll be connecting to myConnection= New SqlConnection("Data Source=MSALAMEEN;Initial Catalog=Biometric;Integrated Security=True") I am having declaration in the last line above(myConnection) Software Development vb.net | |
Goodday All. I have imported data from an MS excel spreadsheet into MS Access. All goes well unit I try to populate a MSFlexgrid with an open recordset. In my code it shows me that each and every field is found except when it gets to empty field it see's … Software Development visual-basic | |
We need a good open source issue tracking program which is compatible with SVN and windows platform. We are developing programs with VS 2005. Do you have any suggestions? Thanks. Software Development c++ open-source | |
question 1 : I know that c++ could write/ read excel file by changing it into csv format. however, if the content of a cell has a "," inside, then we may have problem when we are reading it as the content may be split into two parts. So how … Software Development c++ file-system | |
[CODE] Dim SchemaTable As DataTable Try NewFaceOptions.comboselecttable.Items.Clear() SchemaTable = createConnection.GetOleDbSchemaTable(System.Data.OleDb.OleDbSchemaGuid.Tables, _ New Object() {Nothing, Nothing, Nothing, Nothing}) Dim int As Integer For int = 0 To SchemaTable.Rows.Count - 1 If SchemaTable.Rows(int)!TABLE_TYPE.ToString = "TABLE" Then 'Add items to list box NewFaceOptions.comboselecttable.Items.Add(SchemaTable.Rows(int)!TABLE_NAME.ToString()) End If Next Catch ex As Exception MessageBox.Show(ex.Message.ToString(), "Data Load … Software Development vb.net | |
I want to now who create instance of my class For example at constructer I look who create me , and do something according to caller application / class Thanks Software Development | |
Hi everyone, Ive just got a bit of a problem with a program i am currently writing. Basically i have got a csv file with a load of flight info in it, i need to parse that and add it to a dictionary so thati can search through it easily. … Software Development python | |
i have a file which contains some block of lines like - define host { use linux-box host_name node001 alias node001 address 192.168.36.133 } define host { use linux-box host_name node002 alias node002 address 192.168.73.19 } can anyone help me in getting a script which takes <node001> and <192.168.36.133> as … Software Development python | |
hellow everyone, i need to know any way to allowpaging in datagridview or datagrid in windowsformapplication any help would be appreciated:) Software Development | |
Hi all, Following is a piece of code which tries to open an image using Tkinter, the root window opens but I am not able to see the image. I don't know what is wrong with my implementation. Could you please have a look at the code & see if … | |
Dear Sir, Could you tell me what is (are) wrong of the following answer:- Question:- Create the first half of a game of rock, paper, scissors. Ask the user for R, P or S. Get the computer to generate 0,1or 2. Now convert the computer’s number to R, P or … Software Development pascal | |
Hello My task is to writ a function that takes in a char array & the array size as its parameters & reverses the array contents. I cannot use another array to reverse the contents. I am using insert & erase function to reverse the array,[B] although I dont know … Software Development c++ | |
In visual c++, what is the difference between these three: WindowClass.style = CS_HREDRAW | CS_VREDRAW; //Found in winmain() UpdateWindow(hWnd); // Also found in winmain() WM_PAINT //It is a switch case in funtion winproc() I unerstand that all three of them does something like to draw/redraw the client window/window. But can … Software Development c++ | |
I've developed function which allows to skip to a desired line number within a text file (see function). However, what I would like to do is develop a function which takes me to the beginning of the file (i.e. line 0) after calling the navigateForwardToLine function. However, I can't seem … Software Development java | |
Hi all I am working on a project with Python tk GUI and trying to make a scrollbar that scrolls more than one canvas horizontally tried to approach it as option command = ~~ and ~~ but it seems not working does anyone have any idea on this issue?? | |
Hi:) I have a problem about DB navigator usage in SQl with borland c++ builder ? How can I use C++ codes with sql? | |
Hi, I wrote a program which runs a .bat file using os.system like: 'os.system(pathToBatFile)' and everything was good. Then I decided to turn my program into a service as opposed to being run with the command prompt showing. When my program became a service, I noticed that the os.system command … Software Development python | |
Well, i really got stuck into this problem. In my project i wish the user to be able to select a database using an open file dialog box. I am unable to connect with this database. i used the code.. [CODE] createConnection.ConnectionString = _ "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Tostring(ofdselectdatabase.FileName)" [/CODE] and [CODE] createConnection.ConnectionString … Software Development open-source vb.net | |
[B]ColrMatrix[/B] is fast way to change the image. but the color matrix apply on whole image. is there any way to apply color matrix only a part of image rather than whole image?? Software Development image |
The End.