- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
45 Posted Topics
Hi all, I have a dell inspiron N5010 laptop, a day back it went off. I tried to restart and it just keeps on beeping. After a bit a looking aboud i figured it is a display error (failed LCD). So is figured if i remove the LCD cable from … | |
I have a main application (web application) that consumes various other project (directly and chain). One of the projects happens to be Project named Parser. Parser project contains a dll, which is not refered as it is native dll. Properties of the dll file says Build Action: Content and Copy … | |
Re: Going with what i have heard from a mysql dev friend you require a .net mysql connetor installed. And then use the connection/command classes provided by it. maybe that is what you are missing? maybe i am wrong, cant gather much from the OP. | |
Hi, I am working of a PDF to image converstion. I found ghostscriptsharp which is a c# wrapper written for ghostscript. I used it and developed my application. Most thing if not all worked fine when i was testing with my console application. After I integrated it into the webapp … | |
Hi, I am working on a application the requires some speech synthesis. After some reading around i decided festival and speech tools was the way to go. For recording in speech_tools, a executable program (na_record) is present. but when i use it i get the following error. ESD: record not … | |
Re: You could change Line 17 of your code to `System.out.println("*");` to add that '*' you want. | |
Re: [Tutorial](http://csharp.net-tutorials.com/xml/introduction/) to get you started. ![]() | |
Re: > it only returns 1 value Perhaps that is because you are overwriting the contents of the textbox. Try changing line: `textBox15.Text = reader["Totalprice"].ToString();` to `textBox15.Text = textBox15.Text + " - " reader["Totalprice"].ToString();` then it will show all the nultiple values seperated by "-". If u do this and still … | |
Hi, I have been getting this error when doing savechanges(). System.Data.SqlClient.SqlException: New transaction is not allowed because there are other threads running in the session. I read this issue in many places and most are fixed with a .ToList() .First() or similar methods (basically not changing the object while the … | |
Hi, I am developing a module that will download pdf files to a location. For downloading i have used streams to read and write to file. initially each download would happen in a thread, so for the sake of pausing and resuming i would just pause and resume the thread. … | |
Hi, I am working on a module that uses a lot of object creation (by lot i mean, really lots). So for obvious reasons i have seen Out of Memory exceptions. Now although the objects are being created are too many they go out of scope quickly as well. So … | |
Re: Few things here i cant seem to understand in ur code: -your pinon method takes only 1 argument of type int, but u seem to be passing 5 integer values. - pinoff method takes a argument and being used at all. It will be helpful if you could give a … | |
Hi, I have been working on a application that used sqlserver 2008 R2. we had used filestream that was there in 2008 r2. there was a decision to move from 2008 R2 to 2012 express. Now i understand that file table is a new addition to 2012 and will do … | |
Re: Now you are just directly taking ur records from the table. Instead what u want is to have your own query that will select only what you want. Use a DataAdapter to write and query and use a dataset to bind to crystal report. something like [this](http://www.codeproject.com/Articles/28899/Crystal-Report-with-DataSet-and-DataTable-using-C). | |
Hi, I am trying to explore PoDoFo for parsing PDF files. So I tried to build it on Visual studio following the procedure in the ReadMe.html that came with the package. So i used the following cmake command: cmake -G "Visual Studio 9 2008" -DCMAKE_INCLUDE_PATH="D:\PoDoFo_VS\CmakeRefer\ft245\freetype-2.4.5\include;D:\PoDoFo_VS\CmakeRefer\libjpeg\build\include;D:\PoDoFo_VS\CmakeRefer\libjpeg\build;D:\PoDoFo_VS\CmakeRefer\zlib\build\include" -DCMAKE_LIBRARY_PATH="D:\PoDoFo_VS\CmakeRefer\ft245\freetype-2.4.5\objs\win32\vc2013;D:\PoDoFo_VS\CmakeRefer\libjpeg\build\lib;D:\PoDoFo_VS\CmakeRefer\libjpeg\build;D:\PoDoFo_VS\CmakeRefer\zlib\build\lib" -DPODOFO_BUILD_SHARED:BOOL=FALSE -DFREETYPE_LIBRARY_NAMES_DEBUG=freetype245MT_D -DFREETYPE_LIBRARY_NAMES_RELEASE=freetype245MT .. … | |
Hi, I have been working on the entity framework for a short span of time. My question is regarding savechanges() or rather what exactly is hapening in this scenario. I have 3 tables: Container , subcontainer, innercontainer there is a 1-n relation between tables in the specified order. i have … | |
Re: From what i understood, when u generate a number you always want two numbers to be different. if i understood right this will work Dim ranGem As New Random Dim dblnum1 As Double Dim dblnum2 As Double dblnum1 = ranGem.Next(1, 7) Do dblnum2 = ranGem.Next(1, 7) Loop Until (dblnum2.Equals(dblnum1) = … | |
Re: First thing i see, there are functions within functions. That is not right, is it? Or is it something new that has come along with C++0x? | |
Hi, I have a filestream enabled DB and a table to store the files. Until now i used to get the path of the file that has to be saved to DB. But due to some changes this was changed and now i get a byte array. my question here … | |
Re: In SQL server you can use the bcp utility for the doing that. [See](https://msdn.microsoft.com/en-us/library/ms162802.aspx) | |
Re: You might want to search for game engines. there are quite a few of them and also supports a number of languages, so i am sure who will find a engine that has support for the languages you already know. Unity is a tool that lets you program in C# … | |
Re: It gives an error because tan(90) is undefined. See [this](http://mathinstructor.net/2012/08/values-of-trigonometric-ratios-for-0-30-45-60-and-90-degrees/) | |
I am trying to find out the bounding box of a bezier curve. I know that it can be done by getting all the points using de Casteljau's algorithm and then finding the minimum reactangle around the curve. But de Casteljau's algorithm will make my application too expensive, i feel. … | |
Re: Its very well explained in 'Introduction To Algorithms' by Coreman, Leiserson, Rivest and Stein. Its a good book. There are a number of ways for can find the complexity, few good methods are explained in there. Hope it would be help to you. | |
Re: This has happened for me more than once. I usually do delete all the files in the debug folders and run it again, it works everytime. "Clean solution" on visual studio will do this for you i think. | |
Re: You could do it by: 1. declaring the variables as global. 2. pass the variables by reference. | |
![]() | Re: I feel default access specifier of java is more inclined to the internal access specifier of c#. ![]() |
![]() | Re: This will make the do while loop to be looping till the sResponse becomes X // keep looping while the user's choice isn't X } while (sResponse != "X" ); |
Re: Line 24 of the code you posted `rand()%1000 + 1;` is generating random numbers. rand() function generates a random number, %1000+1 makes sure that you get a number not exceeding 1000. SO you get a random number not exceeding 1000 | |
Re: `string str = new string(create20spaces);` That should fix your problem, i reckon. | |
Re: If have a `ManualResetEvent` and you can initialize that to false (not signaled state). Then in the thread that opens the other form you can `waitone()` . Once all the statements in the first thread is done you can signal the state by setting ManualResetEvent to true, at this point … | |
Re: I tried something similar some time back and [this](http://www.codeproject.com/Tips/801032/Csharp-How-To-Read-xlsx-Excel-File-With-Lines-of) came in handy for me. Give it a look if u have not seen it yet. And if i am seeing ur problem right, you are getting the data from the xlsx to be displayed on textboxes in the form. For … | |
Re: Check this [Code Chef](http://www.codechef.com/problems/COINS) link. Its the same program. Many solutions are given. | |
Re: Why are you doing `first = p;` everytime you are adding a node. It has to happen only for the first node. After the first while loop first is pointing to the last element. Once you have done this, you need to traverse throught the list to print the first … | |
Re: Brian 14, perhaps u meant `smallest=array[i][k];` instead of `array[i][k] = smallest;` ? | |
Re: Class Person { string name; string sex; string Dog_name; } ..... ArrayList<Person> persons = new ArrayList<Person>(); Now if u iterate through this. you can get the object, it will ensure u wont get a wrong dog's name. | |
Re: It seems like you are trying to generate an ID, if i am guessing right. In that case wouldn't it be better if you used the `Auto_Increment` feature of the DBMS? | |
Re: If u are only keeping track of score then you only need a score variable that will be incremented after each roll of the dice (which is one ball). But there are limitations to this, you would not be avle to pull out statistics like avg runs per over, highest … | |
Re: Check this out. Not sure if u have already stumbled upon it, if u havent hope it helps. https://inputsimulator.codeplex.com/ | |
Hi all, i am working on pulling out text and its properties from a pdf file. iTextSharp library is used for this purpose. Initially i took the fontsize property directly from the tf operator. but then i stumbled on a scenario where tf said font size was 1. So i … | |
Hello all, I am working on a project and i need to basically copy a directory and its files to another location. I have figured out that xcopy comes in handy for what i want to do.but somehow when incorporated into my C code, it does not work. The code … | |
hello, I am working on a project that involves a bit of directory manipulation. Until now i only had to create create directories as per user input, so till now the commnad mkdir worked fine: mkdir("c:/test"); But now i have to do some manipulations on the string to get the … | |
Re: I am not sure of this, but i think it is because the stream is not cleared. add fflush(stdin); before the printf("\nAdd In Sale? Y/N: "); | |
Hi, I am trying to generate a sales report for a given date in the crystal report. In my table i have a billdate and other information. Now what i am trying to do is to get all the sales into my report when i specify a date. I have … | |
Re: [MSDN Link](https://msdn.microsoft.com/en-us/library/system.windows.forms.listbox.sort(v=vs.110).aspx) |