199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
[B]Hello sir.. I want to know that if there is any difference between Parameter and Argument of a function[/B]....? | |
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 , … | |
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 … | |
So i had to do the following assignment in GWT: 1.Implement a selection/de-selection component as described below: The selected item in the first list goes into the second list and is removed from the first list when the >> button is pressed. The selected item in the second list goes … | |
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 … | |
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 … | |
[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] | |
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 … | |
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 … | |
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... | |
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 … | |
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 … | |
Could someone please explain why the following code works: [code=php] <html> <head> <script type="text/javascript"> function test(){ phpTest = "<?php echo 'hello'; ?>"; document.getElementById("php_code").innerHTML = phpTest; } </script> </head> <body> <a href="#" onclick="test(); return false;"> test </a> <span id="php_code"> </span> </body> <html> [/code] while this code doesn't: [code=php] <html> <head> <script … | |
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, … | |
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 … | |
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 … | |
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 | |
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 … | |
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. … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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; } … ![]() | |
[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, … | |
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 ).... … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
I have made some tables and created relationship from phpmyadmin. Relationship is as below [IMG]http://img295.imageshack.us/img295/2411/relationship.jpg[/IMG] Problem is that requisition table allow [B]material id[/B] which is not in [B]material table[/B]. what is the problem. How can I solve this. Simply Foreign key can not be such value which is not in … | |
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. :) | |
I need to assign a variable based on its value. ie: $variable = 'value' (if value != "Session['value']" My brain is not really working atm I know there has to be a simple way to do this. I am selecting a random file from a directory and do not want … | |
Does anybody know anything about click functions? I need ur help guys. what I wanted is that there will be 3 choices and once I clicked one of those choices it will be automatically displayed to a table in html. please help me cause google can't help me or i … ![]() | |
hi all will it affect my applications speed if i'll set more than 10 attribute in the session thanks in advance! | |
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, … | |
Hi all, I am implementing a dropdown list that finds people from a "State" and "City". The states and cities are stored in the DB when a user registers. Since there are several times "California" exists in the DB, how can I display "California" in my dropdown list once and … ![]() | |
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 … | |
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): … | |
Hi i need help in changing a character case for exaple i have a textbox i want that when i write a word it should change case by character to character like : if i write " case " then text box should display " cAsE " | |
Hi There, I've got a membership script and a login using PHP and MySQL databases however when it logs in it simply displays a PHP page - the same one for all users. I want to be able to customise the members page so it says things like: Hello, <username>. … ![]() | |
Hello guys, I'm really stumped on this assignment. What I need to do is make a triangle's height based on the number entered by the user. So if the user enteres 4, the output would be this: $ $$ $$$ $$$$ And I can't figure out how to do that. … | |
Hey, ive been creating this number guessing game, it works perfectly but I need to add a limit to the amount of turns a user can have. Any help would be greatly appreciated. [CODE]Module Module1 Sub Main() 'This program plays a simple number guessing game. Dim RandNum As Integer Dim … | |
Can windows programming be implemented on turbo c.If it can be then please tell me how.. advanced thanx to all | |
Ahoy Sailors! So I'm scripting a socket based project in PHP, And now I've got to the stage where I'm needing to start accepting user input, What worries me is that PHP can't do two things & once (I.E Spawning & waiting for input from an interface & listening for … ![]() |
The End.