7,373 Topics

Member Avatar for
Member Avatar for trinath

Hi all, I have a problem in handling files through C. here is the problem im having: i will query the database (for instance consider employees table ) for empno,ename,job,salary fields.The query returns me some 100 of rows. now i need to place them in a file in row wise …

Member Avatar for jim mcnamara
0
121
Member Avatar for goplease

Hello, My problems started on this machine when I attempt to login either into Hotmail ([url]www.hotmail.com[/url]) or my bank accounts online or almost all login required sites. They do not fully load to either the login page or even thereafter the user/pass is entered I receive a blank page that …

Member Avatar for DMR
0
168
Member Avatar for mcmoe

Hello My girlfriends computer is really acting wierd. If it connects to the wireless internet, it terminates all computers connection within 1 minute. Support tells me to upgrade to XP SP2, but it cannot upgrade to XP servicepack2 (autorun file tries to start, but stops and I get the standard …

0
126
Member Avatar for masa

hi if you use [code] rewind( FILE *in); [/code] what you can use for [code] I/O stream library ifstream in(ff.txt); [/code]

Member Avatar for masa
0
130
Member Avatar for derekn

I have a folder that is selected under my profile to "Make folder private" and is not selected to share on the network. It has been inaccessible to programs and the like forever, which is how i want it. For example, a CGI program cannot access that directory. HOWEVER, I …

Member Avatar for derekn
0
70
Member Avatar for complete

In Visual Basic 6 I have written a program to read and write to a file. It works fine. Now I have to do the same for binary data since the information I write to the file has [i]end-of-line[/i] and [i]return[/i] characters. For instance, when I write to the file, …

Member Avatar for Comatose
0
149
Member Avatar for toBeOnoT toBe

Hi all, Hope u guys can help.Im having trouble of converting a html file containing javascript to aspx file. The display is ok in html extension but after ive converted it to aspx, the file is unreadable. There is only an error message saying that the `The active shcema does …

0
32
Member Avatar for bops

Hi, I am trying to get the file size of a .exe file in C, I have tried using the GetFileSize(); function using the CreateFile(); function to get a handle for it, but the value returned is a DWORD and doesnt seem to work when i output it. I want …

Member Avatar for Ancient Dragon
0
546
Member Avatar for tristan17

Hi, I am tryiny to write a program which will allow me to upload a image and after which i had uploaded the image, I will be able to calculate the RGB values of the image which i have uploaded. The code works this way: //user to upload image file …

Member Avatar for digital-ether
0
139
Member Avatar for Kali2005

[b][Moderator's note: post split from [url="http://www.daniweb.com/techtalkforums/thread33918.html"]this thread[/url]] [/b]Hi DMR, I have the same problem with the Hacktool.Rootkit virus, and tried to follow the directions you had provided in this thread but was unable to find the "Lockx.exe" file. Would you please view my startup log below, and advise on how …

Member Avatar for DMR
0
314
Member Avatar for quidditchwitch

Hi, I was looking for ways to delete the HackTool.Rootkit virus and came upon this forum, so i decided to join so that i could hopefully find someone that would help me :) I recieved the virus through AIM and it immediately started sending it to everyone on my buddy …

Member Avatar for DMR
0
977
Member Avatar for Jon182

Hey guys, I have the following code, but for some reason it does not work with bigger txt files is this because of the size of the array? And if so is there a simple way to solve the problem? Thanks in advance for any help. [code] char ch[1000]; int …

Member Avatar for Jon182
0
236
Member Avatar for tristan17

Hi, I had written a small program in php, which will allow a user to upload an image to the database. My question is whether can i locate the directory of the image from where it was uploaded from? this is part of the code for uploading: " // Do …

Member Avatar for RamiroS
0
105
Member Avatar for smokinsax1

hello. for sometime now i have been getting oinadserver and partypoker pop ups and can't seem to get rid of them. here is my htl. thanks. Logfile of HijackThis v1.99.1 Scan saved at 11:34:20 AM, on 12/9/2005 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running …

Member Avatar for DMR
0
239
Member Avatar for complete

How does one create the process where a user can open (select) a file to read from? In C++ there are already classes to inherit from. Do I have to make a file open form from scratch in VB?

Member Avatar for chopaface
0
214
Member Avatar for roshan.prakash

hi, i want in my website stor a XML file in sql server 2000 and also retrive that file and show it on my web page. and also i want to make a effective search on that xml file . i am using Vb.net in tier language with Asp.net. thanx …

0
157
Member Avatar for Jon182

Hey guys, the following code is part of a program I am working on and as a newbie to c++ I have come across a problem. As you can see when the case is J the int J is increased by 1 but how do I go about doing this …

Member Avatar for perniciosus
0
121
Member Avatar for darklord

What I am trying to do is to scan a text file word by word and find all words of 4 character or less then output these words to a file, but the problem is I don't know a unix command that can scan the file this way. The Grep …

Member Avatar for jim mcnamara
0
157
Member Avatar for paradox814

I am trying to open a mp3 to read the ID3 tag information, when the mp3 is opened in an ASCII editor I can see all the information I want, including spaces. But... When I try running the following chunk of code on that same mp3, I get the same …

Member Avatar for Ancient Dragon
0
161
Member Avatar for nabil1983

This program is almost the same as the one last i posted but here the bubble sort algorithm is not working, i get a compiler error saying:: size of cdRecords is not known and need explicit cast to convert I cant work out what the problem is because another program …

Member Avatar for nabil1983
1
216
Member Avatar for akshayabc

Plz answer to my C doubts:- 1) Why do prototypes of some predefined functions in ctype.h(ex- tolower(ch)) has 'int' as the data type for formal arguments? How will it matter if the formal arguments r of type 'char'? 2) Is there any command in DOS for viewing the non printable …

Member Avatar for Ancient Dragon
0
326
Member Avatar for akki_freak

help me with this....here i m trying to write into a file(which i have already created n saved in C:\ drive) from stdinput i.e. keyboard and then reading from that file and displaying on stdoutput....but its isn't working... :rolleyes: :rolleyes: tell me why????????? by the way i m using GCC …

Member Avatar for WolfPack
0
80
Member Avatar for Acidburn

I know I've asked but I'm now faced with a different problem. The last implementation went wrong since the number of chars on a given line is u known. ie [quote] John 15 nmmo short brown hair look young Andrew 22 young long bloack wavey hair with blue eyes. etc... …

Member Avatar for Ancient Dragon
0
119
Member Avatar for Acidburn

Hey guys and gals. I'm struggling yet again to get my file input working. I have a text file containing: John 19 smith 15 03 1986 Billy 15 Nomate 19 07 1990 ... etc I'm needing to get a line in at a time but also store the variables in …

Member Avatar for Acidburn
0
143
Member Avatar for marcvolta

here is my hijack this log, i would greatly appreciate any help!!! Logfile of HijackThis v1.99.1 Scan saved at 11:02:17 AM, on 12/1/2005 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\svchost.exe C:\WINDOWS\System32\svchost.exe C:\WINDOWS\system32\LEXBCES.EXE C:\WINDOWS\system32\LEXPPS.EXE C:\WINDOWS\system32\spoolsv.exe C:\Program Files\Common Files\Symantec Shared\ccProxy.exe …

Member Avatar for marcvolta
0
84
Member Avatar for pdt208

To whomever can help. I've been having all sorts of problems with my computer. I've been bogged by the tbps.exe and wintoolsA spyware/adware for ages and was just able to clean that up reading another forum. I have norton on my computer and it kept coming up with counter.exe as …

Member Avatar for DMR
0
287
Member Avatar for Acidburn

Hello, I've figured out how to transfere a full contents of file into a buffer. Nut now say if i wanted to do: Surname[20]; Firstname[20]; Age and its stored in: user.txt like: Chilver Jackson 25 How would I get the input stream to stop filling the surname up when it …

Member Avatar for Dave Sinkula
0
120
Member Avatar for Frank0051

I been working on this little program that would allow the user to reference this custom playlist file. The playlist file is a simple text file with a list of music files on a URL: [code] http://www.whatever.com/a.wav http://www.whatever.com/b.wav etc... [/code] Basically what the program would do is ask the user …

Member Avatar for Frank0051
0
186
Member Avatar for slobo7x

Hello all. I have a small homework problem to write, and I could use a little help, someone to guide me in the right direction. I need to write a program that asks the user to enter the filename, and then enter the string to search in that file. If …

Member Avatar for perniciosus
0
464
Member Avatar for actfray

I recently had a worm invade my computer. I ran a program called F-Prot, did a scan in safe mode with it, and it found 16,000 infections. I can still access the net, but I'm getting these annoying "Email scanner by proxy" with the Symmantec logo popping up every 5 …

Member Avatar for crunchie
0
167
Member Avatar for olly

Tried installing my usb controller,but i keep getting the above file misssing,and will not proceed to install,also says (code 28) with the same message. :( Any help to find and install this file will be appreciated, :) if not on my system,and chance of a web link to the file …

Member Avatar for olly
0
283
Member Avatar for systest

I am trying to find out how to stream a file so that if gives me back how many times a certain field label occurred. File example: Cat black 100 home lost Dog brown 632 street lost Dog black 839 home owned Pig pink 123 mud farm Dog white 345 …

Member Avatar for perniciosus
0
93
Member Avatar for Acidburn

[code] { cout <<" file found ..." << endl; while((ch = infile.get()) !=' ' ) { cout <<"\nRead value is : "<< ch<<endl; cout << "calling function : "; populateArray(ch, i); } } [/code] file contents : if ( a + b ) ; basically its taking the file pointer …

Member Avatar for WolfPack
0
84
Member Avatar for atrusmre

What is the best way to save to a file using a MFC Dialog based program? I need it to output mutipule data type (CString, int) to a file. I also need it to read the data from the file to update the controls (i.e. an options dialog). I've tried …

Member Avatar for Daishi
0
167
Member Avatar for cumadhu

Hi All, I am working on a web site project.<BR> And it has the following set up:<BR> web site name: [B]madhu[/B] and <BR> Local path: [B]C:\madhu\Folder1[/B](uses [B]web.config[/B] file which is in [B]Folder1[/B] only).<BR> But i have one file in [B]C:\madhu\FolderXYZ\FileABC.doc[/B].<BR> If i try to access the FileABC.doc(Try to open the …

Member Avatar for Paladine
0
671
Member Avatar for christyj5

I am trying to do an insertion sort that reads from a file it has it own class but i can not get the program to do anything it says no errors but crashes when i try to run [code]#include <string> using namespace std; class Student { public: string lastname; …

Member Avatar for jim mcnamara
0
253
Member Avatar for minicoop

Hi Guys, Please help me with this prob... thanks. Logfile of HijackThis v1.97.7 Scan saved at 11:22:51 PM, on 11/8/2005 Platform: Windows XP SP1 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP1 (6.00.2800.1106) Running processes: G:\WINDOWS\System32\smss.exe G:\WINDOWS\system32\winlogon.exe G:\WINDOWS\system32\services.exe G:\WINDOWS\system32\lsass.exe G:\WINDOWS\System32\Ati2evxx.exe G:\WINDOWS\system32\svchost.exe G:\WINDOWS\System32\svchost.exe G:\Program Files\Common Files\Symantec Shared\ccSetMgr.exe G:\Program Files\Common Files\Symantec Shared\ccEvtMgr.exe G:\WINDOWS\system32\spoolsv.exe …

Member Avatar for minicoop
0
265
Member Avatar for minicoop

Hi, Pls help with this, thanks. Logfile of HijackThis v1.99.1 Scan saved at 11:43:31 PM, on 11/9/2005 Platform: Windows XP SP1 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP1 (6.00.2800.1106) Running processes: G:\WINDOWS\System32\smss.exe G:\WINDOWS\system32\winlogon.exe G:\WINDOWS\system32\services.exe G:\WINDOWS\system32\lsass.exe G:\WINDOWS\System32\Ati2evxx.exe G:\WINDOWS\system32\svchost.exe G:\WINDOWS\System32\svchost.exe G:\Program Files\Common Files\Symantec Shared\ccSetMgr.exe G:\Program Files\Common Files\Symantec Shared\ccEvtMgr.exe G:\WINDOWS\system32\spoolsv.exe G:\Program Files\Symantec AntiVirus\DefWatch.exe …

Member Avatar for just_a_nobody
0
151
Member Avatar for Ancient Dragon

This is a simple example of how to use recursion to get a list of all the directories (folders) and file names within them. It also illustrates simple use if std::list, std::vector, std::string, std::cin and std::cout. It was compiled and tested with both VC++ 6.0 and Dev-C++ compilers on XP …

Member Avatar for Dani
0
240
Member Avatar for danizzil14

Ok I was wondering if anyone could help me with how to make a python program interact with files. Copying, pasting, moving, things like that, opening. If it cant really be discussed quicky are there any good tutorials? Mainly a organinzing python program.(looks for a certain file extention, then moves …

Member Avatar for vegaseat
0
217
Member Avatar for spidey

hi, actually, my question is about jmail in asp. i attached an image file in my email. i tried to make it appear in the email message but it does not. does anybody know how to display images in an email? i tried this code below but it only display …

Member Avatar for msaqib
0
146
Member Avatar for Yomet

Hi, I am programming an app that I will use to launch different applications depending on the file type specified. I have found, and know how to use, ShellExecute from VB and all I now need to know is how to get the default action specified by the user when …

Member Avatar for Yomet
0
268
Member Avatar for SelArom

hello! I tried posting this in another community forum and didn't get much success... is there no way to duplicate the >> operator functionality in C#? I have a file that is set up like this: 450 350 0 0 10 390 10 20 40 20 0 1 1 0 …

Member Avatar for SelArom
0
148
Member Avatar for plazmo

is there a way i can look at a file and see its type. i need to make a program that scans files and determins if the file extenstion is correct based on the actual file type. this, for example, would find a ".zip" file hidden with a ".jpg" extension …

Member Avatar for campkev
0
137
Member Avatar for bumsfeld

I want to creat file with each line having date + time + data so I can append more data as need be and know when it was added. What date+time function would be best?

Member Avatar for bumsfeld
0
160
Member Avatar for akmlance

Everytime I try to open the control panel, anywhich way, it sends an error and then reboots? windows. Here is the highjack this...please help Logfile of HijackThis v1.99.1 Scan saved at 6:38:45 PM, on 10/22/2005 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running processes: C:\WINDOWS\System32\smss.exe …

Member Avatar for DMR
0
88
Member Avatar for arlensz

I'm getting a bunch of pop-ups recently and I can't find the source. Logfile of HijackThis v1.99.1 Scan saved at 11:33:45 PM, on 10/21/2005 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\svchost.exe C:\WINDOWS\System32\svchost.exe C:\WINDOWS\system32\spoolsv.exe C:\WINDOWS\Explorer.EXE C:\Program Files\Intel\Modem Event Monitor\IntelMEM.exe …

Member Avatar for arlensz
0
87
Member Avatar for vcombs

I have a set of pages on my site that I want to connect with a tabbed navbar so that as each tab is clicked, the page reloads with the appropriate data. I also want the button clicked to be properly highlighted to show which page it currently selected. I …

Member Avatar for tgreer
0
74
Member Avatar for mahes_

I have a lab work on File input/output...I have to put in 12 names under the file name names.txt..and subdivide the names into small.txt(if the length of the name is below or equals to 5) and large.txt(if the length of the name is more then 5..)..I have done a source …

Member Avatar for mahes_
0
166
Member Avatar for dbl03

hi, my friends on AIM are getting these picture links sent to them from my screen name when i'm not signed on. i know that means i have a virus, but i don't know what to do, so i ran a log file, can you tell me what i need …

Member Avatar for dygital
0
193

The End.