Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~6K People Reached
Favorite Tags
c++ x 25
java x 13
php x 2
Member Avatar for sheennave

Hye all; I want dataReader to read int values into integer variables. Which conversion do i need. Please help?? [CODE] while(reader->Read()) { temp_string = reader["ID_varchar"]->ToString(); // OK } [/CODE] What about code below ? [CODE] while(reader->Read()) { temp_int = reader["ID_int"]->GetInt32(); // ERROR } [/CODE]

Member Avatar for thines01
0
45
Member Avatar for anamoblu56

I am a beginner and I am using Visual Studio 2008. My code is good and output is: Day 1, "Enter Temperature 1: Day 1, "Enter Temperature 2: and so on until Day 7. What I want it to read is: Day 1, "Enter High Temerature 1: (for column [0]) …

Member Avatar for anamoblu56
0
82
Member Avatar for sheennave

Hello all, In a desktop database application i encountered a really interesting situation. I write a double value into a textbox as usual. Then i convert the value into double to use in a calculation but the original value is lost ! double doubleVal = 0.0 ; doubleVal = Convert::ToDouble(textBox3->Text) …

Member Avatar for mandeepx81
0
142
Member Avatar for sheennave

Hello all, Visual Studio 2010 SP1 is running on a XP SP3 pc. Its C++/CLI IntelliSense support is enabled according to default configurations. However it also gives the message Intellisense unavailable. Do smb know how can this issue can be fixed ? Do i need to install an update, patch …

Member Avatar for cahitburak
0
107
Member Avatar for sheennave

[CODE] System::String ^name_string; SqlCeConnection ^sqlConnection = gcnew SqlCeConnection("Data Source=Northwind.sdf"); sqlConnection->Open(); SqlCeCommand comSelect = gcnew SqlCeCommand("SELECT * FROM tablo WHERE id = 33 ", sqlConnection); SqlCeDataReader ^reader = comSelect->ExecuteReader(); name_string = reader["name"]->ToString(); sqlConnection->Close(); [/CODE] What's the mistake on the code above ? :?:

Member Avatar for sheennave
0
126
Member Avatar for sheennave

Hi! I am new in hibernate annotations so i am practising it on the console. In here i am using hibernate3.jar(came with Hibernate 3.5.1), hibernate-annotations-3.4.0.GA.jar etc. However when i run the main the application didn't start and following errors were generated. Any idea,please help.. !?? 0 [main] INFO org.hibernate.cfg.annotations.Version - …

Member Avatar for sheennave
0
992
Member Avatar for sheennave

Hi ! I've been trying to use hibernate with spring framework for a week by using hibernate annotations. I am using hibernate-distribution 3.6.5 final and Spring framework 3.0.5 in the application. Error log and code is here :[URL="http://www.daniweb.com/software-development/java/threads/378043"]http://www.daniweb.com/software-development/java/threads/378043[/URL] I wait for some suggestions. Please hlp !

0
71
Member Avatar for sheennave

Hi ! I've been trying to integrate hibernate with spring framework for a week by using hibernate annotations. I am using hibernate-distribution 3.6.5 final and Spring framework 3.0.5 in the application. Error log looks like as below which troubles me a lot. Any piece of idea will be appreciated, please …

0
219
Member Avatar for sheennave

Hi all, I'm using Hibernate, HSQL and Spring. But i have the following ugly errors. I don't know what to do. Any help will be appreciated. [code=text]org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySessionFactory' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate …

Member Avatar for sheennave
0
410
Member Avatar for sheennave

Hi all , I have collected php shell scripts on various sites on web. However the only script which works is this : $ php helloWorld.php [CODE] <?php $var = "honey"; print "hello $var"; echo "world"; ?> [/CODE] Any other script which has different commands doesn't work on the system …

Member Avatar for sheennave
0
115
Member Avatar for sheennave

I seem to have a problem refreshing the data within my JTable. I know the code is being run through. I have a JTable which is populated from a selection in a combo box, on first click within the combo box the table displays the correct data. So basically the …

Member Avatar for sheennave
0
2K
Member Avatar for sheennave

[CODE] Rectangle ^ClientResolution = gcnew Rectangle(); ClientResolution = Screen::GetBounds(); float CurrentWidth = 1366 ; float CurrentHeight = 768; float RatioWidth = ((float)ClientResolution->Width / (float)CurrentWidth ); float RatioHeight =((float)ClientResolution->Height / (float)CurrentHeight); this->Scale(RatioWidth,RatioHeight); [/CODE] error C2661: 'System::Windows::Forms:: Screen::GetBounds' : no overloaded function takes 0 arguments Any help would be much appreciated.

Member Avatar for sheennave
0
205
Member Avatar for sheennave

The application has a screen size and resolution problem . What should be done since it looks very funny on desktops .

Member Avatar for sheennave
0
100
Member Avatar for sheennave

I have read countless exception examples on the web but i could not find "item not found exception " . Before it drives me nut, please hlp

Member Avatar for sheennave
0
203
Member Avatar for zehraIOI

Hi gang ; The code below works fine but a more flexible one would be better. For example what am looking for an original try-throw-cath block which throws the exception "Item not found" message itself. try { SQLiteConnection ^connection = gcnew SQLiteConnection(); connection->ConnectionString = "Data Source = atbdn3.db3"; connection->Open(); System::String …

Member Avatar for sheennave
0
128
Member Avatar for sheennave

When i insert value into table row (data type float), smt rounds decimal values into zeros. Here is the dramatically simplified code in order to see the situation.Interestingly, assigning a single array value into a variable (as usual) doesn't work here ! Is this a SQLite bug ??

Member Avatar for sheennave
0
290
Member Avatar for sheennave

We have been working to solve the issue early in the morning. This is a sample code to clearly show the situation. There are also more than 100 tables are waiting to get their records to calculate the results . Any idea ? conn.h #include "stdafx.h" static double global ; …

Member Avatar for sheennave
0
90