199,114 Archived Topics
Remove Filter ![]() | |
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 | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hi How can I set the include path in C++ using command line Regards Karan | |
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 … | |
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 … | |
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 … | |
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 … | |
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). | |
what is the reason why Python doesn't have switch statement ? | |
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 … | |
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> … | |
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. | |
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 … | |
if i want to check that wether the entered character is char type or int type,how can i do that? | |
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 … | |
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 | |
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 | |
| |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 … | |
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 … | |
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 | |
hi all, i search in google, i didt get any solu.so raised ? here.if anybody know plz let me know thnks | |
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 … | |
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 | |
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 | |
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 |
The End.