199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for karang

Hi I have a value of emdash — First of all I want to know Is this — a unicode If Yes How to convert unicode i.e. — into -- using code in VC++ Regards Karan

Member Avatar for ArkM
0
378
Member Avatar for brechtjah

Hi, I'm trying to create an expandable content box for forum purpose, however the code I've come up doesn't work in IE, but it is valid HTML 4.01 Strict. Anyway, if I'm handling this problem the wrong way, please tell me how I should do it then. I have an …

Member Avatar for essential
0
161
Member Avatar for Ragupathiyuva

Hi Can anybody tell me What is the usage of Static functions and where we can use what is the advantage of Static functions over Normal functions Advance Thanks for helping

Member Avatar for Ragupathiyuva
0
102
Member Avatar for shouvik.d

Hi, I am using a scheduled task that runs every night to take backup of important files. This task creates a folder in the following format Backup_DD_MM_YY where DD_MM_YY denotes the date when the backup was taken. Now everytime this scheduler runs I need to remove the older directory and …

Member Avatar for eggi
0
345
Member Avatar for Shinedevil

I have no idea how to make somthing like this, and i'm kind of new with file I/O. How would you start somthing like this? O.k. here is what I have to save, I have roughly 56+ variables that need to be counted in this. But what I am having …

Member Avatar for MosaicFuneral
0
128
Member Avatar for murderotica

Hello there, I've been busy nowadays with file manipulation and I've so far I've encountered a small problem in appending the contents of a file to another file. This is what I did: [CODE] string filename = @"C:\Temp.txt"; string body = null; StreamReader sr = File.OpenText(files); body = sr.ReadToEnd(); StreamWriter …

Member Avatar for murderotica
0
283
Member Avatar for Lukezzz

In Visual C++ Express Edition you can insert button controls on a form. These buttons has a rectangular form. You can even do them like a square. Is it possible to do Round Buttons in C++, like this letter: [COLOR="Red"]O ? [/COLOR] (It is important that the area where you …

Member Avatar for Liszt
0
3K
Member Avatar for jrobw

hi, i alreday posted under [URL="http://forums.sun.com/thread.jspa?threadID=5355743&tstart=30"]http://forums.sun.com/thread.jspa?threadID=5355743&tstart=30[/URL] yesterday, but no one helped me. it's an assignment for university, i have only few hours left to complete it, any hints would really be great!! here my post: I have to write a frame with two componenents of squared size (i chose 450 …

Member Avatar for neilcoffey
0
193
Member Avatar for cVz

hey there lovely people, i am trying to make an application that makes database backups, now obviously i need to add the file / filegroup backup option too , which is not a problem except for this one little problem... How can i get the application to display a list …

Member Avatar for peter_budo
0
75
Member Avatar for Typewriter

Hi, I'm pretty new to using C# and have come across a problem that I thought would be pretty simple, and it probably is but I'm stuck. I'm trying to get a user to select a file using a file dialog box and once that has been selected to get …

Member Avatar for hieuuk
0
205
Member Avatar for Lukezzz

I have a project that consist of 2 Forms. I am trying to open Form2 with this code but when I compile the project I have this compile error and wonder what this meens and why it doesn´t work. cannot convert from 'System::Windows::Forms::Form ^' to 'Form1::Form2 ^ 1> No user-defined-conversion …

Member Avatar for Lukezzz
0
105
Member Avatar for Now Then

Hi, I hope someone can help me with a few things that are holding me up now. Please feel free if you can answer just one query - any help is greatly appreciated ! 1) Can I implement a dynamic tooltip when hovering over a dynamically created control? What is …

Member Avatar for hieuuk
0
120
Member Avatar for dnmoore

Attached your will find my completed files, I only have one question about the parent class which is called GoeSolids it has to be a generic geometric solid and i dont think I did that quite right. will someone be able to help me fix it? import java.util.Scanner; import java.text.DecimalFormat; …

Member Avatar for dnmoore
0
119
Member Avatar for amgupt01

Hi guys, I am a beginner to Java (I'm only a freshman in high school) and I'm working on a project which involves the need for me to be able to store 11 different strings as a text file. I have it storing the strings with multiple lines so I …

Member Avatar for gprest
0
176
Member Avatar for Roebuc

I have an AJAX script that works fine the first time in IE. For example, if you go through the form and never change your mind, everything updates like normal. However, if you decide that where you checked yes you shold have checked no, the objects do not update. The …

Member Avatar for Roebuc
0
83
Member Avatar for Shinedevil

I have no idea how to make somthing like this, and i'm kind of new with file I/O. How would you start somthing like this? O.k. here is what I have to save, I have roughly 56+ variables that need to be counted in this. But what I am having …

Member Avatar for daviddoria
0
140
Member Avatar for GadiK

Hey, I'm having a problem reading from a device attached to my serial port. I have a big application which uses a thread to read from the serial device and writes the data to a log file. The device is set to transmit data at 500Hz, which means that my …

Member Avatar for GadiK
0
2K
Member Avatar for sumzilla

Hi everyone! I am a beginner python user and have a final project due for the class. I am doing blackjack since it's my favorite card game. I am terrible at python but busted out code for the game itself. I was thinking of making it into a GUI, but …

Member Avatar for Stefano Mtangoo
0
357
Member Avatar for Filipe11

Good staff ... I'm doing a program in which I have a class (pharmacies) in which it has a list of medications (List <Medications>), but the medications class has 3 sub ... When I insert an object in the list, everything works fine .... insert such an object from a …

Member Avatar for rapture
0
88
Member Avatar for dominic23jones

I am creating a jar file which when run displays an image the image path is hardcoded ie the whole path is written. So whenever the jar file is run on a different computer to my own the image is not shown. So my question is how is it possible …

Member Avatar for PoovenM
0
158
Member Avatar for srs_grp

i want to write a code for big endian and little endian represntation of message.The msg is trading message.How can i do it with core java? also how can i check data type validity of input given by user and data type is also provided by user. Both Data type …

Member Avatar for AlbertPi
0
230
Member Avatar for karang
Member Avatar for serkan sendur
0
145
Member Avatar for rawmode

hello our pro asked us to do some application using C# , he said it is simple , but im not pretty good at C# , so i wrote most of the program but after all i came to a dead end , when building/running the project i get 4 …

Member Avatar for LizR
0
154
Member Avatar for dextrew

create a program that includes two functions named calcavg() and ariance(). The calcavg() function should calculate and return the average of the values stored in an array named testvals. The array should be declared in main() and include the values 89,95,72,83,99,54,86,75,92,73,79,75,82,73. the variance() function should calculate and return the variance …

Member Avatar for William Hemsworth
0
195
Member Avatar for Lukezzz

I try to find an event for if you rightclick and leftclick a buttoncontrol in a Form application. Simply, to detect if it is the left or right button on the mouse that is clicked. What I want to do is that if I rightclick a button I want the …

Member Avatar for Lukezzz
0
992
Member Avatar for singoi

Hallo friends, need help for following problem. i have a form where i get the details of particular Combobox. Pic 2.jpg attached. here on right side i got few textboxes say txt1..txt2 .... txt7. on left side of this jpg i got the details of a particular project number. when …

Member Avatar for singoi
0
90
Member Avatar for savola28

I have an web application, which can produce SVG-format charts, but I can't rely on that my clients have browsers that can display SVG-format. Therefore I wonder if there is any web script available, that can convert SVG format charts to GIF format images (or to other image-formats).

Member Avatar for jbennet
0
48
Member Avatar for Rejinacm
Member Avatar for sneekula
0
137
Member Avatar for preethi_ga

Hi Everyone, Im using ASP.NET and SQL Server. I have Insert , delete data working well. but if i update a particular record it just all the records are updated with the same value. for example if i have 3 records with 3 different values, if i display the second …

Member Avatar for binoj_daniel
0
145
Member Avatar for mrinal.s2008

Hi, I'm writing a template class as below. Trying to add a funtion to browse all the elements of an instance, that needs a vector iterator. When I compile the code getting a list of errors. Two of them typically draw my attention. The Error reads [B][COLOR="Red"]error:[/COLOR][/B] dependent-name ` std::vector<T,std::allocator<_CharT> …

Member Avatar for mrinal.s2008
0
211
Member Avatar for Manutebecker

I've been reading up on templates and they just seem like so much hastle for so little reward. I can't find anyway to effectively use it over vectors. I am just having a lot of trouble learning them because the concept seems so weird.

Member Avatar for ~s.o.s~
0
142
Member Avatar for -mk-

Hi, I want to create a web application that have messaging feature, thus the message inbox will be similar to typical email inbox where you can tick the checkboxes to select which email to be deleted or moved. Just like the below picture : [url]http://img209.imageshack.us/img209/7720/chkboxrj0.jpg[/url] How do i create the …

Member Avatar for binoj_daniel
0
482
Member Avatar for nida afaq

if i want to check that wether the entered character is char type or int type,how can i do that?

Member Avatar for Narue
0
112
Member Avatar for arunkish

Hi All, Hope I'm now at the right place. Well.... I have a numeric field and I want to format the field as follows in the select statement. How should I do it?? For eg. 9000 - 9,000 10000 - 10,000 120200 - 1,20,200 etc.... Simply an indian format. How …

Member Avatar for sierrainfo
0
135
Member Avatar for ajithraj

I dont know how to solve this..Can anyone help me.. The project is an Intranet aplication... how can a client upload a file/image.... Uploaded file/image should be to the server... Thanks

Member Avatar for peter_budo
0
363
Member Avatar for karang

Hi I want the format of the date like Fri, Dec 12, 2008 Earlier I used CTime today = CTime::GetCurrentTime(); CString chdpl = today.Format("%A, %B %d, %Y" ); for Friday, December 12,2008 But I don't know how to specify Fri in format Regards Karan

0
106
Member Avatar for ajithraj
Member Avatar for ajithraj

haii I have a requirement in which i want to read a file from another machine in the network. I want to know how to set the URL Thanks in advance

Member Avatar for masijade
0
309
Member Avatar for 4ukh

I've a form like newform1 and a table newtbl1... in form I've a unbound checkbox "chkbx1" and in the newtbl1 i have a field name chk_stat which is a checkbox (yes/no) now i want to link this chkbx1 with the chk_stat. mean when i check/uncheck checkbox1 same thing happen in …

Member Avatar for aktharshaik
0
93
Member Avatar for karang

Hi How to get WeekdayName in VC++ I have searched on net and found the use of CTime::GetCurrentTime(); But this is the lengthy method Is there any shorter one. Kindly advice Regards Karan

Member Avatar for Freaky_Chris
0
191
Member Avatar for Dannielf

I'm doing a program that shows which tickets have been sold for an auditorium. I am a beginner to c++ so I am not sure how I can do the following: a) Allocate an input with a character (e.g. when I enter 'A10' .. how do I allocate 'A' to …

Member Avatar for mrinal.s2008
0
92
Member Avatar for lulusweety

I got a code. But it is not working compilation error is - undefined symbol try , throw , catch. I am using C++ compler version 3.0. Is this version not enough. Or any header file is to be included for exception handling. Please help me

Member Avatar for Freaky_Chris
0
167
Member Avatar for karang

Hi I am using the code to get the current date CTime aNow = CTime::GetCurrentTime(); char month[3]; char day[3]; char year[6]; char todaysdate[30]; itoa(aNow.GetMonth(), month, 10); itoa(aNow.GetYear(), year, 10); itoa(aNow.GetDay(), day, 10); strcat(todaysdate,month); I am getting value of month but apart from that I am also getting an unexpected character …

Member Avatar for cikara21
0
145
Member Avatar for abcd_nima

hai there!am a beginner in java.am familiar with c,c++ and object oriented programming principles.someone please suggest me a book or a student friendly site(online materials preffered) that i can refer to ,and improve my java skills.as a beginner i would also like to know the basic differences b/n c++ that …

Member Avatar for peter_budo
0
96
Member Avatar for wookinhung

Dear Sir(s) I currently have problems with VB6. My problem is: I want to link data in one form with another. For example: If someone inputs an information in a textbox in Form1, I want Form2 to be able to get the inputted information and process it. Thanks wookinhung

Member Avatar for wookinhung
0
93
Member Avatar for Renukavani

hi all, i search in google, i didt get any solu.so raised ? here.if anybody know plz let me know thnks

Member Avatar for Aneesh_Argent
0
169
Member Avatar for akmed

I am doing C++ assignment, it invols designing a program where the user can put binary numbers and gets a word in result. I have done the first part of the program but i am strugling to do the the last to tasks. Here is what i have done so …

Member Avatar for AHUazhu
0
127
Member Avatar for firoz.raj

Sir , when i remove distinct keyword it also hang find attachment also rs.Open " SELECT ITEM_CODE, PRODUCTNAME, UNIT FROM PARTDETAIL ORDER BY UCASE(LEFT(TRIM(ITEM_CODE),1)), VAL(MID(TRIM(ITEM_CODE),2,10)) ", con, adOpenDynamic, adLockOptimistic

Member Avatar for firoz.raj
0
239
Member Avatar for karang

Hi I am using Itoa function to convert int to string. CTime aNow = CTime::GetCurrentTime(); char* month; itoa(aNow.GetMonth(), month, 10); But I am getting error Unhandled exception at 0x00573deb in App_Name.exe: 0xC0000005: Access violation reading location 0x0000323d. Am I missing something Regards Karan

Member Avatar for karang
0
104
Member Avatar for codedhands

Hi,am trying to search and extract the text [CODE]href="http://www.yahoo.com"[/CODE] from a string <a href="http://www.yahoo.com" id="link1">.Here is my code: [CODE=python] import re p=re.compile(r'\b(href="(.*)"){1}\b') m=p.search('<a href="live.net" link="go2">') print m.group() #Prints: href="live.net" link=" [/CODE] The code above [CODE]Prints: href="live.net" link="[/CODE],but i want to the href="live.net" I need help on this please

Member Avatar for jice
0
126

The End.