132,726 Archived Topics
Remove Filter ![]() | |
Hi everyone, I have problem accessing directories with LONG names, I simply get 'Path not found' error. Is there any fix for that? Software Development visual-basic | |
I am trying to come up with a good class design to deal with asynchronous data to be stored and analyzed over multiple time frames. I obtain data elements from an asynchronous data source (i.e. the data arrives at irregular time intervals) and wish to place them in a container … | |
Greetings all! I'm a new python programmer working for a physics lab. I've got 11 numbered .txt files, all laid out in the exact same format shown below: ITEM: TIMESTEP 0 ITEM: NUMBER OF ATOMS 55 ITEM: BOX BOUNDS 0 20.4 0 20.4 -0.0001 20.4001 ITEM: ATOMS 0.883194 0.969209 -1.02474 … Software Development python | |
I cant find whats wrong to this program... im new to C... Please help. [CODE]#include <stdio.h> #include "genlib.h" #include "simpio.h" #define size 5 #define size2 3 void getArray (int numbers[][]); void checkArray (int numbers[][],int space[][]); int main() { int numbers[size][size], i, c, x, y; bool space[size][size]; for (i=1; i<size; i++) … Software Development c visual-studio | |
I was being troubled by the concept of abstract class.i can't understand that let us take an example abstact class "InputStream" .we can implement method read(byte[]) with it's reference. how does this method is being refferred by it's abstract class as there will be no instantiation to this abstact class. Software Development java | |
Whats wrong with this syntax? I can't figure it out for the life of me! [code] String str = ((String)result[i][1] ? (String)result[i][1] : ""); [/code] [quote] Error 7 Cannot implicitly convert type 'string' to 'bool' [/quote] its doing me trunk in :p Software Development | |
![]() | Hello, Sorry if this has already ben posted elsewhere, ive tried looking for it but no luck. I have done a project in VB 6 and got an exe from it. Im trying to put the exe in a web page, and make it run permanently from there. I cant … |
i've written a program and i want to start it minimised using a switch like myexe.exe -minimized and i cant seem to find anything that works, im using VB.net 2008 btw Software Development vb.net | |
I have two unrelated types of data elements (objects) which I want to hold in two related types of containers, one for each element type. But this seems contradictory - for consistency, it seems that either (a) the containers should be unrelated through inheritance, or (b) the elements should be … Software Development c++ | |
Hi I have just been informed by a few work collegues that the database system that I have created should now be set to use Server Username and Password. Is it a big deal to change this without disrupting the current relationship of the database stored procedures and application code? … Software Development | |
Hello there! I've built a simple server and a simple client in C (Linux). Among other tasks, I need the server to send the timestamp (using time.h) to the client. Then I need the client to change the system time based on the timestamp received from the server. What would … Software Development c client-server | |
hey all... really in need of help, please! any feedback welcome!!! i want to replace one keyword with multiple words. i.e replacement words = ['wholegrain loaf','loaf'] 'I went to the bakery to pick up the KEYWORD. When I got home I cut up the KEYWORD and gave some to the … Software Development python | |
Hello. I have a linking error when using 'static const int'; My code 1.class A 2.{ 3. static const int b= 5; 4.}; 5. const int A::b; The code is compile, but i receive a linking error: multiple definitions of A::b. if I remove the definition of b outside the … Software Development c++ | |
i need to update new records to the database. i created a button and typed the below mentioned code But an error saying,"Current recordset does not support updating. this may be a limitation of the provider, or of the selected loc type" appears. Could you please help Private Sub Command3_Click() … Software Development microsoft-office open-source visual-basic | |
hi everyone, im trying to run a linux script in java where it ask the user to input a password,then when suucessfully executed it prompts the user to enter the same password for verification,how can i do this in java,im using trilead to remotely access and execute command,im having problem … | |
Hello, I am working on a VB script to delete files from the OLK directories on my Citrix server. I am new with VBS and I need to know how to use the below command line in a VB script. c:\del "C:\Documents and Settings\%Username%\Local Settings\Temporary Internet Files\OLK*" Can someone help … Software Development visual-basic | |
Gday i already asked for help in the vb.net forum,im new so im guessing i was in the wrong forum as i didnt receive much help.ive posted all the original text from the thread below. G day ,im a parent from Australia. My child is 7 turning 8 and i … Software Development vb.net visual-basic | |
here is the code.. but it is not working.. why? [code=java] import java.sql.*; public class Connect{ public static void main (String[] args){ Connection conn = null; try{ String userName ="testuser"; String password ="testpass"; String url = "jdbc:mysql:/localhost:3306/test"; Class.forName("com.mysql.jdbc.Driver").newInstance(); conn = DriverManager.getConnection (url,userName,password); System.out.println ("Database connection established"); } catch(Exception e){ System.err.println("Cannot … | |
Hi Friends, I have a Access table with [B]S.No.,Name,Department,Status [/B]fields and some data attached with this mail. when i used query [B]"select * from emp where status='Yes';"[/B] and when i put textboxes named [B]s.no.[/B] of command button of dataenvironment->connection1 then it always give there correspondence value i.e. only that record … Software Development visual-basic | |
Hello: I am writting a simulation code on Random Early Detection (RED) and when i run the simulation , the average delay is too high. Does anybody have some idea on it.I really can't get along with it now withouth any help . :cry: Please help me!!!!!!!!!!!!! I have upload … | |
Guys, I am new to shell script, and want to learn more about it. i have got one script to report on status of ADSL connection. i can understand half of it (or less then half). can you guys please help me out in this. Here is the script, ------------------------------------------------------------------------------------- … Software Development shell-scripting | |
Well I dont know where I am going wrong.... I and trying to do this queue with out the STL I am having issues with my enqueue () How do I get the contritor Info into the enqueue. I am trying to do it as simle as possible and I … | |
I'm having trouble getting my delete function to work for a singly linked list. If I try to delete anything other than the entire list, it deletes everything up to that node. I know there is something wrong with it, but I can't tell what it is. I would like … Software Development c++ linked-list | |
well I am back with the code agin. I am trying to print the whole queueu. I can cout the front and rear but I can get the PrintQ() to work. | |
I saw a project where was a (like) combo box. when it was click a mini calendar show and today date is marked with a red oval. Please tell me how i make it. Software Development visual-basic | |
Hi I m new to Vb.net. i need to Know anout the ConnectionString Details,. For eg. First Name Last Name PH Number Use this 3 datas to save Sql. plz give me the Coding for this ... Software Development vb.net | |
hello to all, Im trying to load xml file to sql server but I dont have enough knowledge how to create schema xml, as of now im using vbscript program to upload my xml, here is my vbscript codings, Set objBL = CreateObject("SQLXMLBulkLoad.SQLXMLBulkLoad") objBL.ConnectionString = "provider=SQLOLEDB.1;data source=codevelopment;database=Johnny;uid=restorer;pwd=" objBL.ErrorLogFile = "c:\error.log" … | |
Hi all.... i have problem with number: example: 1234 is equivalent to 1432 ( based on maths concept), then erase/delete 1432 2143 is equivalent to 2341, then erase/ delete 2341, and so on How to program it in C++ Software Development c++ | |
Hi Guys, I'm getting a segmentation fault in my code and I'm not sure how to fix it. I know where it's occurring, and I know it has something to do with the way I'm using a double pointer, but just have been stuck on what to do. The program … Software Development c++ | |
Hi all I just want to add some functionality in my project. I simply need that when a user enters some details then based on some specific column values if the value entered by user already exists in the database then message should be displayed. if i use primary key … Software Development | |
i am trying to take a input from user , suppose if user types "a bat and a ball and stick" if my array is [ICODE]data[10][20][30] = { {"a","and","apple"}, {"bat","ball"} };[/ICODE] from the sentence how i can count occurrence of "a" in the sentence ( ie , from users input) … | |
Okay, I have many questions, mainly about subjects that haven't been discussed well in my school class, although I also have a few questions pertaining to a RPG I've been working on. 1. Threads. I've tried to search for a good tutorial on their basics, but I can't seem to … Software Development c++ java-swing | |
Hello, I've created a macro using AutoHotkey to automate a particularly boring task I have to repeat hundreds of times each day. The task requires me to get info from a web page, move to an application where I paste info from the web page and process an order, then … Software Development c++ | |
hello, im trying to get the following code work: [code] #include <iostream.h> #include <string> using namespace std; int main() { string c; string a ("start "); string b ("http://images.google.com/images?q="); cin >> c; string d (a+b+c); system(d); } [/code] It gives me the error [code] cannot convert `std::string' to `const char*' … Software Development c++ | |
I've always wondered how GObjects had such significantly improved pixel-rendering over objects sketched out by the Graphics object in paint and paintComponent methods. What approach should I take to receive the same effect for big images that are say 1024x960, when using simple Graphics? Is there some way to traverse … Software Development java | |
Hey all..am quite new to Java and I have encoutered a problem with my program. I am getting the error message "cannot find symbol constructor". I have tried to figure it out but I have failed. I have read around that adding an empty constructor would help but this is … Software Development java | |
![]() | Hi I've got a listbox which has a datasource. Now, when someone press on a button 'delete'. I want that the last created object is deleted. And then you return to the panel with the listbox. You always see the object you deleted. This I want to remove. [code] public … Software Development ![]() |
I'm trying to create an HTML editing control in C# using the technique at [url]http://www.codeproject.com/KB/IP/WYSIWYG_netHTML2.aspx[/url] . The control works fine, but there's a nagging thing I'd like it to do. Usually in a text editor, when you change the selection, if the selected text is bold or underlined, the bold/underline … Software Development | |
HI EVERYONE CAN SOMMEONE HELP ME PLEASE I'M STRUGGLING WITH THIS CODE TO SEARCH THROUGH MY DATABASE IN ACCESS BUT WHEN I TRY TO RUN IT DISPLAY A MESSAGE "OBJECT REQUIRED " WHAT CAN I DO? Private Sub cmdSearch_Click() Dim Searchit As String, Founder As Boolean Searchit = UCase(InputBox("Enter Item … Software Development visual-basic | |
Microsoft Visual C++ 2008 Express is giving this compiler away FREE unlike the commercial Visual Studio Professional 2005, it does not have MFC, ATL, a Win32 resource editor, a macro assembler, source code control integration, etc What are MFC, ATL, etc? BattlingMaxo Software Development c++ microsoft visual-studio | |
[CODE=cpp]void choiceSelect() { int choice; char exitconfirm[100]; printmenu(); cin >> choice; if (isdigit(choice)) { if (choice == 7) { cout << "Exiting program. Enter yes to confirm.\n"; cin.ignore(); cin.getline (exitconfirm, 100, '\n'); if (strcmp ("yes", exitconfirm) == 0) { exit (1); } else { choiceSelect(); } } while (choice != … Software Development c++ | |
Hey everyone, is this the most efficient way to round a decimal number to two decimal places? [code] txtXaxis.Text = String.Format("{0:F2}", A); //show 2 decimal places txtYaxis.Text = String.Format("{0:F2}", V); //show 2 decimal places[/code] thanks! Software Development | |
I'm having trouble getting fstream to function properly. I cannot open a text file while using any of the available parameters. My program calls mainprog() and functions correctly if I compile it as follows: [CODE]fstream openfile; openfile("my_file.txt"); if(openfile.fail()) { cout<<"Error opening file."; } else { mainprog(); }[/CODE] But if I … Software Development c++ | |
hey i am beginner in java. i am not able to resolve differences in interface and with abstract class. do abstract class have methods defined??does those methods have body?? if so for abstract classes do not create objects, how they r invoked?? Software Development java | |
![]() | Hi I've made a graphic simulation with a timer. But now I want to stop the simulation (but not disappear) only freeze the simulation. I've already tried to use a do-while-loop but then the application crashes. I've also tried to use a if-loop and in the loop set the length … Software Development |
I know it is a rookie question but how do I get the system to print what is in personList? [code] private void buildPersonOptions() { List<Person> personList = null; try { Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = session.beginTransaction(); Query q = session.createQuery("from Person"); personList = (List<Person>) q.list(); } catch … | |
Hi there. i am trying to create an java class dealing with arrays though i am only new to programming. i have created a class with a char array field though i am not sure how to initialise it in the constructor. i am also trying to implement a few … Software Development java | |
Hi, i want to disable the tabs in the tabcontrol except the selected tab in the C# windows application..Can u please help me ..I dont find any properties to disable the tab pages Software Development |
The End.