132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Drycola

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
Member Avatar for bushman_222
0
133
Member Avatar for Gentile

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 …

Software Development algorithm c++
Member Avatar for vijayan121
0
119
Member Avatar for cglosser

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
Member Avatar for jlm699
0
85
Member Avatar for plike922

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
Member Avatar for Salem
0
363
Member Avatar for ravikiran032

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
Member Avatar for Ezzaral
0
131
Member Avatar for Acidburn

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
Member Avatar for Narue
0
107
Member Avatar for dani123webb

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 …

Software Development google vb.net
Member Avatar for santy555
0
331
Member Avatar for nerden

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
Member Avatar for nerden
0
103
Member Avatar for Gentile

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++
Member Avatar for Gentile
0
222
Member Avatar for Elmo_loves_you

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
Member Avatar for dickersonka
0
154
Member Avatar for marcosjp

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
Member Avatar for ArkM
0
243
Member Avatar for damyt01

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
Member Avatar for jlm699
0
110
Member Avatar for kerenLinux

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++
Member Avatar for kerenLinux
0
124
Member Avatar for hanzi_ru

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() …

Member Avatar for aktharshaik
0
2K
Member Avatar for ebok

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 …

Software Development java session
Member Avatar for ebok
0
135
Member Avatar for Doobie1

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
Member Avatar for aktharshaik
0
58
Member Avatar for Lil' Tripsturr

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
Member Avatar for aktharshaik
0
3K
Member Avatar for kevinpeterson22

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 …

Software Development java mysql
Member Avatar for stephen84s
0
283
Member Avatar for pardeep3dec

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
Member Avatar for aktharshaik
0
268
Member Avatar for leelingling630

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 …

Software Development c++ email
Member Avatar for ArkM
0
197
Member Avatar for i.linus

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
Member Avatar for Salem
0
174
Member Avatar for phillipeharris

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 …

Software Development c++ queue
Member Avatar for henpecked1
0
195
Member Avatar for henpecked1

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
Member Avatar for henpecked1
0
183
Member Avatar for phillipeharris

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.

Software Development c++ queue
Member Avatar for henpecked1
0
119
Member Avatar for abu taher

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
Member Avatar for aktharshaik
0
129
Member Avatar for prasannapower

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
Member Avatar for prasannapower
0
101
Member Avatar for johnnykenshien

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" …

Software Development sql vb.net vbscript xml
Member Avatar for johnnykenshien
0
178
Member Avatar for shamila08

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++
Member Avatar for shamila08
0
115
Member Avatar for bleh1318

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++
Member Avatar for ArkM
0
139
Member Avatar for Gaurav arora

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
Member Avatar for Gaurav arora
0
138
Member Avatar for vijaysoft1

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) …

Software Development apple c
Member Avatar for Narue
0
122
Member Avatar for Falkoner1

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
Member Avatar for Falkoner1
0
153
Member Avatar for vgould

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++
Member Avatar for vgould
0
128
Member Avatar for mammoth

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++
Member Avatar for William Hemsworth
0
79
Member Avatar for Alex Edwards

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
Member Avatar for Ezzaral
0
136
Member Avatar for scrypt3r
Member Avatar for scrypt3r
0
211
Member Avatar for joshmo

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
Member Avatar for joshmo
0
2K
Member Avatar for Annieken

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
Member Avatar for Annieken
0
1K
Member Avatar for echilon

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
Member Avatar for LizR
0
93
Member Avatar for wouldbe

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
Member Avatar for aktharshaik
0
321
Member Avatar for BattlingMaxo

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
Member Avatar for msk88
0
154
Member Avatar for dexter1984

[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++
Member Avatar for dexter1984
0
104
Member Avatar for Duki

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
Member Avatar for Duki
0
74
Member Avatar for dmanw100

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++
Member Avatar for l4z3r
0
159
Member Avatar for ravikiran032

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
Member Avatar for jack239
0
228
Member Avatar for Annieken

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
Member Avatar for LizR
0
158
Member Avatar for ceyesuma

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 …

Software Development java session
Member Avatar for ceyesuma
0
75
Member Avatar for Unrealx_

Hi..am totally new to vb.net and also designing forms... 1) is there a way you can change the main forms close button image,minimize,maximize 2) Ok I Made An About form..Now How do i link to it from the menu strip 3) i also made a splash but when i load …

Software Development vb.net
Member Avatar for iamthwee
0
100
Member Avatar for Nate11

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
Member Avatar for Nate11
0
132
Member Avatar for laxviji143

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
Member Avatar for laxviji143
0
111

The End.