132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for eprology

i have the same problem but nit that similer the other function works ok and no error only this function of ftp. pls help me [code]Private Sub Form_Unload(Cancel As Integer) Timer1.Enabled = False FtpHDB.CloseConnection FtpPDB.CloseConnection FtpPRD.CloseConnection FtpRDB.CloseConnection FtpMID.CloseConnection Set FtpHDB = Nothing Set FtpPDB = Nothing Set FtpPRD = Nothing …

Software Development visual-basic
Member Avatar for AndreRet
0
164
Member Avatar for Xjmaslord4

I want to make a countdown time that will basically let you click one of the buttons and the countdown will start. But I don’t want the countdown to be shown in seconds but rather in Hours/Minutes/Seconds. There will be multiple buttons that will trigger the countdown. The only hiccup …

Software Development visual-basic
Member Avatar for AndreRet
0
1K
Member Avatar for electrox73

I get the error in these lines: [CODE]infotxtbox->Text = ("Name: Peter Jaško "Rank: Main Tech Manager, Vice-Leader, "Donated: ?, "Exp: ?"); [/CODE] This code is entered in a header (Form1.h) of a Windows Form Project/Application in C++ in VC++ 2010 Regards

Software Development c++
Member Avatar for electrox73
0
704
Member Avatar for davydick

Hi I used VB6 to create an EXE file that uses MSComm1. The program runs OK in my XP computer and also in my Win7 computer (that has VBE installed). It would not run on my Vista laptop. I installed the VB runtime files (even though Microsoft says they are …

Software Development visual-basic
Member Avatar for AndreRet
0
306
Member Avatar for jaasaria

hello coder, could anybody can share an idea on making attachment files. on my cms software. i wanted to have an attachment portion. where my doc,jpg,xls files can be attach. im planing to stored it on my app.path by copying the files. but my problem is when opening on the …

Software Development cms visual-basic
Member Avatar for AndreRet
0
368
Member Avatar for dadam88

Just a little code I have been working on. New to programming and learned about rand. I applied it in this program. Like I said I'm new to programming and if there is a *easier and more effective way* to write some of my code, please tell me. The part …

Software Development c++
Member Avatar for frogboy77
0
438
Member Avatar for tyson.crouch

Hi Guys, Please find below a copy of my code for the issue that I'm having. So, before you have a look at the code and inevitably laugh at something silly that I've done (because I have a feeling that it would be), I should explain what my problem is. …

Software Development apache java
Member Avatar for quuba
0
232
Member Avatar for simply_viks

hoy to get the size of array all initialised to as char pste_msg[64]= {1,2,4,5,6,8,6,5}; memset(pste_msg,0,64); sizeof(pste_msg) is giving 64 any help???????? thanks.

Software Development c++
Member Avatar for hillstone_softw
0
190
Member Avatar for theurbanist

I'm trying to write a program that switches the "x" and "o" in a String, only using the replace method repeatedly. At the end of the day, the program should turn 'xxxooo' into 'oooxxx'. I understand why this isn't working, but I'm just completely out of ideas as to how …

Software Development java
Member Avatar for rapture
0
170
Member Avatar for DoctorGiraffe

I am trying to figure out a way to to make a webbrowser scroll to an html element and center the element, i don't have any code to show as i have desperatly looked everywhere after a solution but havent found anything.

Software Development html-css vb.net
Member Avatar for DoctorGiraffe
0
98
Member Avatar for chintan_1671

I have a byte array which looks something like 01 00 02 00 73 45 69 A5 So i have to read first 2 bytes and convert it into integer to get its value. Same for next 2 bytes and then next 4 bytes. Here the value for first 2 …

Software Development
Member Avatar for ddanbe
0
239
Member Avatar for sha11e

Hey, My codes asks for a number, if the user inputs something else it gives an error message and asked for a number again. If the user inputs a number, it should cout whatever number the user chose. But it doesn't work as intended... I get the error message the …

Software Development c c# c++
Member Avatar for subtracktor
0
152
Member Avatar for newgeekintown

Is there any way to combine two or more .exe files in one .exe files?????? Please help....!

Software Development java
Member Avatar for newgeekintown
0
48
Member Avatar for NewOrder

i dont fully understand when is it more effective to use a struct and when is it more effective to use a class? i read the explanation from Oriely's book "C# in a nutshell", but i still dont understand. [QUOTE] Because a struct is a value type, each instance doesnt …

Software Development
Member Avatar for Mitja Bonca
0
122
Member Avatar for JOSheaIV

Okay so I hope the title makes sense but I'll explain a litte more indepth. Right now i have an object that consists of multiple forms of data (strings, int, and a boolean array). The object array looks like this (sorry for all the clutter I had it looking nice, …

Software Development
Member Avatar for ddanbe
0
154
Member Avatar for sairakhalid

[CODE] #include<iostream> #include<time.h> #include<conio.h> using namespace std; class adclist { struct list { int data; list* next; }; public: void makelist(); }; void adclist::makelist() { list** table = new list* [10]; for(int j =0; j < 10 ; j++) table[j] = NULL; for ( int m =0; m < 10; …

Software Development c c# c++ linked-list
Member Avatar for sairakhalid
0
154
Member Avatar for dinesh.isuranga

I Have a Just Simple Question. But It Made me Confuse. I have a DataTable Which has bind to textBoxes and Other Items. therfore when I made a change through txtBox or Other Items it reflect to dataTable. what I have to do is Saving updated Datatable to Sql Table. …

Software Development sql
Member Avatar for dinesh.isuranga
0
5K
Member Avatar for moroccanplaya

can some one help me why its not copying the file ? [CODE] if(choice = 2) { puts("please open your archive\n"); scanf("%s",&archive); archive_pointer = fopen( archive, "r+b"); //opens the archive puts("please select the file you want to be copied into your archive\n"); scanf("%s",&original_file); open_pointer = fopen( original_file, "r+b"); //opens the …

Software Development c
Member Avatar for moroccanplaya
0
112
Member Avatar for Jayson83

I am trying to add a new record everytime i do my navigation gets all messed up I also need an update button... I would like so when i hit new record the record of will be(ex. If Im adding record number 30 it will say record 30 of 30, …

Software Development dataset vb.net
Member Avatar for kvprajapati
0
161
Member Avatar for mbouster

Dear all I need your guidlines with this project because I dodnt done nothin yet an i am terrified to admit that I am going to deliver this on Wednesday and in the midtime I have a final in another course. What I didn till now is the UML for …

Software Development gui java java-swing
Member Avatar for artche20
0
217
Member Avatar for shanki himanshu
Member Avatar for Narue
0
76
Member Avatar for localp

I wrote a C++ program that could sendKey. the code is as Follows; [CODE]s.SendKeys(_T("{Enter}"));s.SendKeys(_T("{Enter}"));[/CODE] this piece if code is inside a function. Now, i need to access this method from a C code. When i added the includes, i get alot of errors. Some says, that you can't access C++ …

Software Development c c# c++
Member Avatar for Narue
0
807
Member Avatar for Gazzmonkey

Hi all, I have a very annoying problem with adding new records to my Access Database, I'm not getting any syntax errors but there's obviously a symantic error of some kind causing this headache. I've been developing an RFID system for two months now and spent the last four weeks …

Member Avatar for Gazzmonkey
0
97
Member Avatar for bobyx

Hi,everybody.I wrote a program with mikroC for PIC PRO/2009/V2.50 ,to measure a DC voltage input using 16F877A.But it shows the input dc voltage wrongly and uncorrectly[COLOR="Red"];[ it shows 0.014v instead of correct form; 14v ].[/COLOR] I attached my program and its proteus.would you please tell me what is wrong with …

Software Development c display
Member Avatar for bobyx
0
112
Member Avatar for vigneshkbv

In my form have a text box...My requirement is... when is type characters in that box... before typing the 3rd character the space should come automatically or programmatically...the sturucture is look like 21 33 44 55..pls help me...Thanks in Advance.

Software Development c c# c++
Member Avatar for vigneshkbv
0
444
Member Avatar for muze

hello guys... im writing small application for TAPI. But this error... I dont know, how I am getting this error. Compiler is complaining that [B]----- ICommDlgBrowser2: base class undefined[/B] here is the code [CODE] EXTERN_C const IID IID_ICommDlgBrowser3; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("c8ad25a1-3294-41ee-8165-71174bd01c57") ICommDlgBrowser3 : public ICommDlgBrowser2 { public: virtual …

Software Development c++
Member Avatar for raf35
0
341
Member Avatar for erdinc27

i fill my datatable with DataReader and i tie up that table to my datagridview as dataSource..i want to add one image column but when i added it my first column cant be seen how i will add it as last column in my datagridview??

Software Development
Member Avatar for erdinc27
0
371
Member Avatar for Girum1

I create a simple data base table using Microfoft SQL Server 2005 and i want to display this simple table as a hole in my form.I use DataSet and DataAdapter to communicate with my SQL data base.i try to pull all the record at data base in to the DataSet …

Software Development c c# c++ dataset open-source user-interface
Member Avatar for kvprajapati
0
204
Member Avatar for r3bol

While googleing for an answer I came across this thread... [url]http://www.daniweb.com/forums/thread55451.html[/url] ...which is pretty much my question, but I would be doing it in web directories. Would I need to connect with something like urlib2 and then try the os and glob examples. Maybe an example please? :D Thanks.

Software Development python
Member Avatar for richieking
0
80
Member Avatar for steven8579

when i print the items in my listboxes it just keeps going and when it gets to the end of the page, it justs cuts off the rest. how do i get it to go to the next page. This is the code i have [CODE] private void docPrint_PrintPage(object sender, …

Software Development printer
Member Avatar for kvprajapati
0
211
Member Avatar for MasterGberry

Ok, I have this function that was provided by you guys, and it works, but I needed to tweak it a bit, and I can't seem to get it tweaked right. Trying to make it so it takes a 3rd parameter which takes an integer which will determine how many …

Software Development c c# c++
Member Avatar for ravenous
0
199
Member Avatar for Krstevski

Hello friends, I have a small problem with integers... I want to get the seconds of the time in format HHMMSS. My code is: [CODE=cpp] int get_seconds( int time ) { cout << time << endl; int sec = time % 100; time /= 100; cout << time << endl; …

Software Development c++
Member Avatar for WaltP
0
183
Member Avatar for somshridhar

I have following text file input.txt Ram Shaym Rahul Radha Madhuri Sita I want to read this file and create new file from this file showing following change output.txt Ram Shyam Rahul Radha Sridevi Sita I want to replace Madhuri by Sridevi and send output in output.txt Can anyone please …

Software Development c++ file-system
Member Avatar for jonsca
0
253
Member Avatar for OcarinaSensei

[url]http://img200.imageshack.us/i/screenshot20110111at115.png/[/url] Thanks in advance fellow geeks!

Software Development java matrix-multiplication
Member Avatar for masijade
0
574
Member Avatar for manish250

hello all i m writing a script in which i am trying to set classpath using this export CLASSPATH=$CLASSPATH:/usr/java and then i run the script But nothing is added in the bash_profile

Software Development shell-scripting
Member Avatar for griswolf
0
809
Member Avatar for _neo_

I have string like: 'par1=val1,par2=val2,par3="some text, again some text, again some text",par4="some text",par5=val5' I have to split it to parts like: par1=val1 par2=val2 par3="some text, again some text, again some text" par4="some text" par5=val5' I use this code: [CODE] a = 'par1=val1,par2=val2,par3="some text1, again some text2, again some text3",par4="some text",par5=val5'.split(',') …

Software Development python
Member Avatar for Gribouillis
0
10K
Member Avatar for thelostboy

Hi all, I am currently studying for my degree in software development and have just started using java. In an effort to get ahead of the game I have bought some books on c++ and can happily report I have ubderstood everything up until the part about bitwise opertaors I …

Software Development c c# c++
Member Avatar for thelostboy
0
146
Member Avatar for wewehalim

Hi, i am developing a software using microsoft visual studio basic 2010. I used a datagridviewcontrol to display a list of data from product table. What I want to do (actually i am not sure how to do it, or is there a way to do it), when i choose …

Software Development vb.net visual-basic visual-studio
Member Avatar for wewehalim
0
166
Member Avatar for Victoryy

HI All, I want to give the height and width to crystal report... How can i do that?? can we give user defined height and width to crystal report

Software Development
Member Avatar for Victoryy
0
109
Member Avatar for templersstorms

Basically, I am trying to grab data from an XML file, and set it as a var or int. I cannot for the life of me get it to work. It seems to be copying a string of "System.IEnumerated..." or something like that instead of what the actual value of …

Software Development xml
Member Avatar for kvprajapati
0
113
Member Avatar for bangor_boy

What is a better way to write the code, [CODE] public void showFeelings(int howManyGoals) { switch (howManyGoals) { case 0: System.out.println("Oh dear, not very good"); break; case 1: System.out.println("Oh dear, not very good"); break; case 2: System.out.println("Oh dear, not very good"); break; case 3: System.out.println("Ive seen donkeys shoot better"); break; …

Software Development java programming-construct
Member Avatar for JKP()
0
183
Member Avatar for Slyvr

I have a program with 2 panels, each with it's own class. LeftPanel and RightPanel. Whenever I click a button that does some calculations (like calculating total assets amount) in one of the panels, it doesn't update that info for the other panel. For example....I have this seperate class that …

Software Development java
Member Avatar for Slyvr
0
113
Member Avatar for gerard4143

I have a simple question about objects and exception handling. What happens to an object after its thrown? Does the implementation take of cleaning up that object or should I be aware of any situations that may require extra care...I've read this from - Inside The C++ Object Model by …

Software Development c++
Member Avatar for gerard4143
0
129
Member Avatar for vinujohnpanicke

My source code is being altered by itself after executing once or when a copy of the source code file is made. If i try to execute the source code the 2nd time it wont work. There will be some error as there are some unwanted ASCII characters like rectangle,smiley...etc …

Software Development c
Member Avatar for emilo35
0
129
Member Avatar for boshu

Hi all, I am in fruit industry and dealing with stock inventory of fruits. I got 2 files, one file got fruit names (fruit.txt) and other file got the inventory status (status.txt). Task for me was to check the fruit list and update the inventory status: Contents of the files: …

Software Development apple file-system perl xml
Member Avatar for boshu
0
405
Member Avatar for lulzy

Hello everyone, I've got an interesting situation. There are three classes [named "A", "B" and "C"], all derived from a abstract base class [named "base"]. However, in my program, I need to sort a vector of "base" object in a way such that objects of type A are less than …

Software Development c++ oop
Member Avatar for Red Goose
0
218
Member Avatar for MasterGberry

Getting this error code, is there something about std::remove() that I am not understanding here? 1>AoE2Wide.cpp(337): error C2664: 'strcpy' : cannot convert parameter 1 from 'std::string' to 'char *' I tried using '=' instead of strcpy() too, no luck. [CODE] class Item { public: int Pos; int ReferenceValue; std::string Type; …

Software Development c++
Member Avatar for MasterGberry
0
221
Member Avatar for vbx_wx

I am getting this error when compiling in Eclipse Indigo in windows: [code] mingw32-make all 'Building file: ../src/testing.cpp' 'Invoking: GCC C++ Compiler' g++ -I"c:\MinGW\lib\gcc\mingw32\4.5.0\include\c++\tr1\" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/testing.d" -MT"src/testing.d" -o "src/testing.o" "../src/testing.cpp" g++: no input files mingw32-make: *** [src/testing.o] Error 1 [/code] Can someone help me …

Software Development c++
Member Avatar for vbx_wx
0
123
Member Avatar for lionconqueror

Hi everyone. I have a very simple question about converting strings(in hex) into signed integer number. I use strtol, but it does not work at all. char code[]="FFFFFFFF"; int m; m=strtol(code,NULL,16); printf("%d\n",m); but the result is not -1 How can I manage this in C? Best regards.

Software Development c
Member Avatar for lionconqueror
0
100
Member Avatar for divyakrishnan

Hi.. I want to encrypt and decrypt a password using c#.net.If any body knows please help me.

Software Development encryption
Member Avatar for AlBars
0
1K

The End.