132,726 Archived Topics
Remove Filter ![]() | |
hi all, I m new in vb.net but i know vb very well. Can anybody tell me what is the main difference between vb and vb.net except the difference that vb.net is object oriented language i know this difference. But i want to know what is the main difference between … | |
hey all i want to write a program to generate a random number from 0 to 100 but i don't know how to make the number be between 0 and 100 only another thing that when i write the following code the computer always choose the same random number which … Software Development c++ | |
Hi friends Plz help Me this is fist time that i sending the post if any mistake plz live it I send My form with manage attachment with the name of untitle my qurey was how to add column to datagrid which we select the item in dropdownlist([B]example[/B] in dropdown … Software Development vb.net | |
Hey guys Im writing a app to upload files to my webserver so when i save a file locally it will upload when i open the app. Ive searched the internet for uploading libraries but none of them seem to work can someone shed a little light on this for … Software Development c++ | |
Hi guys.. I have a question.. If i have 24 in AL, can i retrieve only the 2 ??? Software Development assembly | |
This is a 3DS max loader in Delphi6. The program always end with an access violation in memory, somwhere in the T3DObject.Create section, when it is called from an another class. (first occur in TChunk.Load3Data when AddObject is called) Why? How can it be solved? [ICODE]unit Unit3DS_11; interface uses Windows, … | |
Hi, Please have a look at my attachments... I wanted to know how this can be acheieved.... I want to bind some colums of my database table with various controls (ex. TextBoxes) and then some of the other colums to a LISTBOX or COMBOBOX..... I know that I can bind … Software Development vb.net | |
Hi I use the Mozilla Firefox web browser and I keep getting pop-ups that open in IE(Internet Explorer) I want to write a program that hides in the background and closes iexplorer.exe whenever the process tries to run. Is this possible, and if so can someone help me because I … Software Development c++ web-browser | |
Hi All, Can any of you please provide feedback to me on what operating system and programming language would be best suited for migrating from an industrial Human-Machine Interface (HMI) that presently is implemented in Quickbasic 4.5 running under DOS and must include the capability to communicate with external controllers … Software Development operating-system visual-basic | |
Hi i want to use create file to get a handle on my USB device so that i can stream from it. However i am having problems. To me i appear to have the syntax correct but i get errors returned in the form of "Undefinded symbol HANDLE" "statement is … Software Development c++ file-stream ios | |
Hi, I've recently started learning C++ using 'C++ Demystified' and I'm trying to make this function work. I've done the pointers chapter and I saw a little function that uses <cctype>, and I'm trying to get it to work. Heres the code: [CODE=c++]#include <iostream> #include <cctype> using namespace std; bool … Software Development c++ | |
Can any one look at the error message and give me an idea of how to begin to resolve it? Thanks Cannot add Jar dist/ContacApp.jar to this module as it is. Make a library wrapper module for it and add that as a dependency. I am using netbeans and adding … Software Development java | |
iam trying to write a C++ program for the MAC and IP addresses,,,but i need help on what exactly the program will do regarding those two addresses..if any body has a code which can help. thanks Software Development c++ | |
i am working on online railway reservation project in vb.net. i want to know after entering reservation details by user in a table where user can made only 6 person's reservation e.g train_no,source,destination,name,class,berth,age, senior citizen then how to calculate ticket price when button is clicked.please send me this code urgently. Software Development vb.net | |
HI all, I want to know the result of common dialog control. My code is : CommonDialog1.Flags = cdlCCFullOpen CommonDialog1.ShowColor Label1(0).BackColor = CommonDialog1.color But i want to assing CommonDialog1.color value to label1(0).backcolor only if user click ok button of commondialog control if user click cancel button then default color is … Software Development visual-basic | |
I can delete shapes as it's very simple, but deleting shapes that belong to a certain parent I cannot do. For example, deleting all TShape elements that share the parent "group". I'm unsure of how to do this, can anyone lead me in the right direction? or tell me its … Software Development c++ | |
Hello, I have some problem with os exception. In the traceback info I get only the errno without the description. for examplem when I write: [code=python] import os; os.listdir("no-exists-dir-name"); [/code] I get the exception: [code=python] Traceback (most recent call last): File "<interactive input>", line 1, in <module> WindowsError: [Error 3] … Software Development python | |
im trying to make a function that will fill an array with numbers but something seems to be wrong =\ its suppose to be cards.... sorry if my spelling is bad :P [code] #include<stdio.h> #include<conio.h> #include<stdlib.h> typedef struct{ int num,sute,joker,in_use,arr_place; } card; void set_deck(deck[]) { clrscr(); int i=0,j=0,counter=0; for(j=1;j<=4;j++) for(i=1;i<=13;i++) … Software Development c | |
Hi can anyone help me i get an illegal start of expression public static void main everytime i try to compile.My code is below. Thanks... public static void main (String []args){ PrylDialog pd=new PrylDialog(); System.out.println("Welcome!!!!! "); int option=0; do{ option=pd.kommando(); switch(option){ case 1:pd.skapaPerson(); break; case 2: pd.skapaPryl(); break; case 3: … Software Development java | |
Hello, I'm new to this and trying to understand how I should code this. I'm looking to be able to write a code where I have the string "test_this_" I'm looking to beable to add the date and time in secs at the end of the statement. Can someone help … Software Development c | |
Hi I want to read a pascal file a find a certain word in that file. Thanks Software Development pascal | |
Hello there, is there a way to convert a char[2] = '1', '2' kinda thing to an int ? Software Development c | |
hi I just want 2 know how you can display the first word from a list of words from a text file you have to see that word then it dissapears and you have to type that word than you go to the second word, it shows the word after … | |
I am very new to C++ and am wondering what the difference between the two bits of code below is,in terms of what it's really doing and if I should be using one, rather than the other. They both compile fine with no error messages, and have seen examples of … Software Development c++ | |
please, i need a java code that convert if statement to switch statement (Contrarily) and convert for statement to while statement (Contrarily). ( deal with nested statement) Software Development java | |
I have a simple function that I wish to perform in a .NET program. I am currently working in C# with .NET version 1.1, but any .NET language help would be useful. I want to be able to send a remote command to a UNIX or VxWorks computer form a … Software Development c# unix web-server windows-server | |
hello , I want to know what is the difference between passing by value and reference , and if you can put an example with simple out put . Software Development c++ | |
Hi I wanted to know how can I delete class object inside list. class Record: def __init__(self): self.list = [] def add(self): fname = raw_input("First Name:> ") lname = raw_input("Last Name:> ") street = raw_input("Street:> ") self.list.append( Person( fname, lname, street)) Now I have added my Person object into the … Software Development python | |
i want to check the pid for a newly created process. i asked somebody they told to check it in the java native interface. but i didnt get the clear solution for this problem. can anyone is there to clear my problem.. Software Development java | |
i have a little idea of how to make this, .ocx but i dnt know how to use them , i where to get them any1 here can help?? and sample of how to use them?? Software Development visual-basic | |
I want to learn python in my holiday!But I don't know which python's book is well.Who can recommend one good book to me! how to learn python! What is important part of python? I'd like to have your advice as to me. Thanks in advance. Any help is much appreciated. Software Development python | |
I'm hoping to create a program that allows a user to enter several points, their coordinates and their masses and then calculates, over a period of time, each points' new coordinates due to gravity. I've started a code to calculate position, and I'm trying to understand why DEV C++ keeps … Software Development c++ | |
I'm trying trying to use the Image.composite() function with the code below: [code=python] import Image im1 = Image.open("GetGif1.png") im2 = Image.open("GetGif2.png") im3 = Image.composite('im1','im2',"L") im.save('output.png') [/code] But I get this error: [code] Traceback (most recent call last): File "composite_images.py", line 11, in <module> im3 = Image.composite('im1','im2',"L") File "/usr/lib/python2.5/site-packages/PIL/Image.py", line 1960, … | |
Hi. How can I make transparent lable of RudioButton? Software Development visual-basic | |
I have a python script that will run a batch script. This batch script sets an environment variable say _BLDPATH. I want to grab this variable in the python script to use that variable later on. The problem is that even though the variable gets set properly when the batch … Software Development python | |
Hi it would be great help if anybody can guide me through this Question Problem: Find the least cost path between two nodes in a graph. The input for building the node graph for the problem will be in the format as below. Enter Nodes and Weight (Q to terminate): … Software Development java | |
I have written a calculater that gets an expression from the user and change it to polish form and then calculates the result it can calculate cos,sin,tan cot,+,-,*,/ the first part is very similar to a program i saw in web(function ReversePolish) it must be able to get () . … Software Development c | |
I cant get sleep(5) to work is there a special include i have to load? Software Development c++ | |
Hello, I'm a newbie to this, but I am determined. I wanted to test perl-based functionality on my PC (XPpro) "server." I have installed apache, php, mysql, cgi. All components and connections work [U]except perl to mysql[/U]. It is amazing after reading hundreds of posts on many sites, that apparently … | |
how to get output for this code. class a { public static void main(String args[]) { for (int i=0;i<args.Length();i++) System.out.println(args[i]); } } how can i give input for this code at netbean5.0 Software Development java | |
I am trying to write a program that goes system("dir"); the copies the results onto a text file. However I dont know how to get the results of system("dir"); to the text file. I am very new to c++ so any help would be appreciated. Software Development c++ | |
Hello everyone. Happy New Year. I've been going over last semester's book and have found that I've already allowed the basics to run away! We ended with classes, so I've gone back to just doing exercises with basic functions and I keep getting a linker on this one.: Takes input … Software Development c++ | |
whats wrong with the following code?? [code] int j[100] = {0}; int i = 0; for ( ; i < 10; i++ ) { puts( j[i]); } [/code] it keeps giving the warning [quote] warning: passing argument 1 of ‘puts’ makes pointer from integer without a cast [/quote] And when … Software Development c | |
Any direction someone could point me in for auto-sizing only the last (right-most) column in a jtable? I want the user to be able to set the size of columns and be allowed to set them beyond the scrollable viewing area, but if the viewing area is wider than the … Software Development java | |
Im creating a Lan messenger in java but seem to have some problems; first the elements of the GUI do not load when the window pops up (i have to strech the window for them to appear(frame size is not the problem)). moreover the program just hangs wen i try … | |
Hi all, I've been trying to paint an image to a JPanel with no success. Could someone help me figure this out? [code=java] mport javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.File; import java.util.Vector; import java.awt.image.*; public class PhoneInterface1 extends JFrame implements ActionListener { private JPanel imagePan = new JPanel(); private … Software Development image java java-swing | |
Hi again, Is it possible when throwing a custom exception to pause the program instead of just exiting? I have a throw customexception("error msg") in my main and I want to print the error msg and then press return to exit or something like that. Thanks Software Development c++ | |
The End.