132,726 Archived Topics
Remove Filter ![]() | |
Hello. I'm creating a program with dialog editor. How can i set bitmap on button? I set bitmap at properties to True. I tried to search on google but i could only find how to set bitmap on button created with CButton. Thank you | |
hi guys...when we have used Sleep() function, then how can we get out of this Sleep() function....Lets suppose we have used Sleep() for 10 minutes and I want to terminate the prog after 2 mins, here is the situation im using [code=c] someFunc(); printf("\nProg will not terminate for next 5 … Software Development c++ | |
Hey there folks, So I am working on an assignment for class and I have gotten a considerable amount done thus far. I am having some issues with the final important aspect though. The assignment asks that we read a .txt file with a bunch of records of cars sold … Software Development java | |
Hi all. I'm writing a simple GUI to display some text and update the text as I receive data from a multicast address. What I have is a Frame, and then a wxScrolledWindow that is using the Frame as its parent window. The scrolled window contains a vertical box sizer … | |
Hi, i'm a beginner to vb and i'm doing a school project on equipment reservation. I have some question that i've been having problem for weeks. 1. How do i disallow user from booking booked equipment? So far my only solution is just to check and compare the date,equipment,start and … Software Development visual-basic | |
Well, I've recently been getting into developing drivers, so I thought I should make a class to programmatically start services. But of course, I ran into some trouble on the way, as usual. I'm using StartService to start it, but for some reason it just hangs, I've done some research … Software Development c++ | |
Hi, I am new in vb.net 2008. I am developing windows application in that i am generating PDF report using iTextsharp. Problem is that how to display rtf data in pdf. | |
hello people! i need some help in making a date in date out in my program and it really gives me a "real-time" headache. the problem is, it is possible to put some warning if for example the "client" has already overstayed it accomodations. and i really have no idea … Software Development visual-basic | |
hi all, Im a beginner in C. Can you please help me in explaining the function of ## in the below program. #define f(g,g2) g##g2 main() { int var12=100; printf("%d",f(var,12)); } what does #define f(g,g2) g##g2 mean? Software Development c | |
My professor has given me the code and I wanna run it. I use Visual Studio2008. Code contains data structure "queue". He defines one queue as "queue<int> Q;" But my compiler gives an error and says "error C2065: 'queue' : undeclared identifier" Do we need any separate header file to … Software Development c++ data-structure queue | |
Hi,i'm buliding an application which accepts new password when their exists a default password [code] savedPassword = (Application.UserAppDataRegistry.GetValue("newpassword")) ? Application.UserAppDataRegistry.GetValue("newpassword").ToString() : "defaultPassword"; [/code] but i'm getting an error it says cannnot convert objet to bool..i think theirs something wrong in ternary operator. Thanx.:) Software Development | |
Hi All, I am developing a window form where in my form, i have 3 buttons, insert, delete and update, a SAVE menutoolstripbutton and a datagrid to display the data get from database. now I want is for example whenever a user want to insert a new data (click the … Software Development vb.net | |
Hi I am using windows application vb.net 2008 . In that i am open an ms paint. When i am drawing something and clicking on save changes yes then it will require for save file. I want this drawing directly comes to the selected Richtextbox . Can anybody help me … | |
Hi all, I want to know the last event in log ; in other words , when I use this code below : [code] telephone.incoming_call() # waits for an incoming call telephone.call_state(handle_call) [/code] it calls the handle_call function when there is (Answering - Missed - Dialing - Ringing) events , … Software Development python | |
Help!How to generate a crystal report from gridview data! i ady can get data in gridview through the code below! How can i generate a crystal report from this??? [CODE] Dim sColList, sTableName As String Dim DT_Data As New RS_UtilityService.dsSDFSystem.sp_DynamicSQLDataTable Dim ds As New DataSet Dim table1 As New DataTable … | |
I am needing help figuring out how to get this program to function correctly. The program is developed in order for a user to type in any number and it will tell if the number is prime or not. This works, however, I cannot figure out how to get it … Software Development c++ | |
hi, Does anyone know how to accumulate total in sql.I have made a function to add a amount to sql.i wants the amount which i have add to be accumulated in total column in sql.How do i make it work. please help [CODE] Public Function Update_TotalBalance() As Boolean Dim myConnection … | |
My form fields will populate an Excel workbook. No problems there. My question is how do I call it to enter the data into an Excel template I have already created? The location of the template sits in my C drive- C:\DailyLogs\DailyLog.xlsx Here's my code so far: [CODE]# ' Here … Software Development vb.net | |
[B]hello sir.. I am not being able to make a program that accepts any number and displays it in words.... for example: when user enter 3456 then output should be three thousand four hundred fifty six.... 12 then print twelve.....9 then print nine...and so on....[/B] Software Development c | |
Hello, I'm trying to make a program that will multiply 2 matrices using shmget() and fork(). For example, I would need to multiply a 64 x 64 matrix using 4 processes or 16 processes, and the multi-processes will be created using fork. Each process will calculate a partition of the … Software Development c | |
Hi I am trying to execute this vb.net code which is given below however it gives an invalid operation exception. I not very good in vb and am trying this for the first time. Please help me in resolving this issue. [code] Imports System.ExecutionEngineException Imports System.InvalidOperationException Imports System.Data.CommandBehavior Imports System.Data … Software Development vb.net | |
i have a combobox on the form and a datagrid viewer .no i want to display the table which selected on combo box...i am newer to vb.net so plz explain me detailed manner with code.. very very very much thanks for any help... Software Development vb.net | |
First I apologizeif the answer to my question is somewhere in the hundreds of posts listed. I am new to java and basically clueless. I am suppose to pass an array to a method and then sort the array. I get an "illegal start of expression error when attempting to … Software Development java | |
Hi every one! i want to make a drawing programm in c# like ms paint in windows. I want to draw line, rectangle, square, ellipse and other objects on mouse move and mouse up events and fill them with colour. To do this from where i have to start? any … Software Development | |
Ok, Here is the problem in the book; You are developing a database of measured meteorological data for use in weather and climate research. Define a structure type measured_data_t (which I have done) with components site_id_num (a four digit integer), wind_speed, day_of_month, and temperature. Each site measures its data daily, … Software Development c data-structure engineering | |
hi guys thanks for all your help previously,i am having a problem displaying the grand total.this is the scenario: i have several buttons which are used to compute various taxes e.g D1, D2,D3....subtotal i would like when i compute using D1 i get the total displayed,if i press d2 i … Software Development visual-basic | |
I am studying further about C++ and come across a topic which describe method to avoid multiple inclusion of header file, which may cause compilational problem. But I never seen such problem, I've tried to mimic the situation with the below files in Visual C++ 2008 express, no error prompted … Software Development c++ | |
Hi, I am working on a program for one of my courses. The program requires the use of a command line argument. I am using JCreator and as such my code does not work. Is it not possible to run a program with a command line prompt from JCreator? Thanks Software Development java | |
hi...again...i have a problem, here it is, when i wrote my code this error came up [CODE] Public Property currentbrowser As browser Get Return cb End Get Set(ByVal value As browser.browser) cb = value End Set End Property Public Shared Sub Navigate(ByVal URL As String) cb.Navigate(URL) End Sub [/CODE] inside … Software Development vb.net | |
Hello fellas, I have a slight problem. I have created an application where I am using linklabels to refer to a website, this works with no problem at all, however the problem that I do have is I cant work out the command to refer to a file or document. … Software Development pdf vb.net visual-basic | |
[B]I m doing some problems regarding Return type in java.I m facing some problem . could any help plz.[/B] 1. class Plant { 2. String getName() { return "plant"; } 3. Plant getType() { return this; } [B]// what mean 'return this' here [/B] 4. } 5. class Flower extends … Software Development java | |
I am new to python n developing scripts as a part of my project.I need help regarding HOW THE OUTPUT OF THE SCRIPT CAN BE REDIRECTED TO A TEXT FILE(FOR MAINTAINING ERROR LOG), WHILE ALSO PRINTING IT ON CONSOLE?? Thanks for all the help in advance and I am looking … Software Development python | |
regarding with islower() argument, I tried to make a script when I enter the letter with lower case, program detects it and told me that but how i used if else loop but something is wrong, error is seen on islower? my program [CODE]#include cstdlib #include iostream #include conio.h #include … Software Development c++ | |
Hi, I have a UI built in Tkinter. The user can type in some inputs and hit "Run" When the "Run" occurs, a program executes that could take 30 seconds or more! The problem is that this blocks the graphics updating. At the beginning, I set a Label to "Running … | |
Hello, I am trying to run a program that uses raw file as an input file and then use a function that requires input file data into uint8_t array type argument. The problem is that when I use the sample input raw file, it works perfect but when I use … Software Development c++ data-structure file-system | |
Hi i am new user of Dot net and i want to show table data into a textbox from data reader but i dont know how to asing value to textbox. plzzzzzzzzzzzz help me Software Development vb.net | |
public class HealthProfile { private String healthfirstName; private String healthlastName; private String gender; private Float birthday; private Float weight; private Float height; private Double maximumheartrate; private Double targetheartrate; private Double bmi; //starter public void setHealthfirstname( String name ) { healthfirstName = firstname; } public String getHealthfirstname() { return healthfirstName; } … Software Development java ![]() | |
[CODE]import math import random choices=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,\ 37, 38, 39, 40, 41, 42, 43, 44, 45, … Software Development python | |
hello to each and everyone..can you help me,.. can you help me on how to add a VB code on my button...what i want to happen is that when i click the button(" Vote ").. the choosen candidate in the the combo box will increment by 1 ( +1 ).... … Software Development vb.net | |
Hi, I wrote a code to solve the knapsack 0-1 problem by dynamic programming. At a certain point, around 30 max capacity, the code stops adding new values based on the incrementing max capacity and item values. I have no idea why, it finds the correct solution until the max … Software Development java | |
Last year there was this one kid in another programming class, but all the time he would brag about how he "broke" java. I glanced over his code and it was a mess. But it seemed to be correct. Even our instructor traced it and found no errors. However, whenever … Software Development java | |
Hello. I'm kinda new to C++ and want to play two beeps through the system speaker (PC) (Using Beep() of course) at the same time for a song I'm working on. I heard about multithreading, but, as i am only slightly experienced in c++, am having trouble understanding it. Could … Software Development c++ multithreading | |
i was able to make an add functin for a binary tree. in my code, i am able to add a string for the name, university and and int value for an id. now, i need help being able to search the binary tree for a specified id, then return … Software Development c++ | |
helo! can anyone help me in automatically saving files with fixed filename in python? the OUTPUT would be like this: FILE- A01.txt FILE- A02.txt FILE- B01.txt File- B02.txt i was hoping that i could save a file automatically after making some changes in the older version. Thank you, Gene Software Development file-system python | |
hi guys, need your help. got this code from this site: [url]http://www.vbdotnetheaven.com/UploadFile/prvn_131971/mailvb11172005000829AM/mailvb.aspx[/url] [code] public static void Send(String from, String to, String subject, String messageText). SmtpMail.Send("mcb@mindcracker.com", "webmaster@mindcracker.com", "Subject", "Message body"). [/code] just need your help guys, what's the equivalent code of this in vb express 2010. Thanks. :) Software Development vb.net | |
Hello I have a code here. it generates random 2d array [B]kMean[2][3][/B] and then this program calculates the distance between random generated [B]kMean[2][3][/B]s and [B]data[][][/B]. but the problem is, when the random kMean is 1, then it calculates the distance, but when the number or kMean becomes more than one, … Software Development java | |
I need to write a mortgage calculator program that will find the amount of a monthly mortgage payment for a loan. [CODE] # Get information from user print 'CALCULATOR FOR MORTGAGE LOANS' loan_str = raw_input ("Amount of loan:") loan = eval(loan_str) years_str = raw_input("Number of years:") years = eval(years_str) rate_str … Software Development python | |
Program 1 [CODE]import math class Vectory2(object): def __init__(self, x = 0.0, y = 0.0): self.x = x self.y = y def __str__(self): return "(%s, %s)" % (self.x, self.y) @classmethod def from_points(cls, P1, P2): return cls( P2[0] - P1[0], P2[1] - P1[1] ) def get_magnitude(self): return math.sqrt(self.x**2 + self.y**2) def normalize(self): … Software Development python |
The End.