rtaiss's Q&A profile
SQL Server SQLServer 2005 JDBC Driver - Date rendered correctly on local environment(windows), but not on Websphere server (unix)
Hi, We are trying to move our application from SQL2005 to SQL2005, we are using 2005 jdbc driver 1.1. The problem we have is, when a date is retrieved from the database, only the year part got correctly, but the date is automatically set to January 1 of that year. The interesting thing is this problem doesn't occur on local development environment (developer's windows platform), it only happens when we deploy the application to production server (unix). Does anyone know what is going on, how to fix it Thanks. Cathie I have the SAME problem with using the SQLServer 2005 JDBC v1.1. The ResultSet.getDate() only returns the current year, for example (2006-01-01) for any dates in 2006. I verf ...Show All
SQL Server Problems (re)installing SQL Server 2005 in WinXP pro
I am attempting to install the Standard edition on a WinXP pro laptop that apparently had this installed before I got it. I Removed, thru Add/Remove, everything related to SQL Server. When I tried to do a fresh install of DB Services, Integration Services and Client tools, Setup Support and the Native Client seems to install ok, the directories get created and some files are put there. The installer stops and sez that the Databases Services and the Workstation Components are already installed, the Details button tells me that the only available option are thru the Add/Remove Programs. There are no entries for the Server or Client Tools on Add/Remove's list. When I try to start the server it fails with "can't find the Path" rep ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XN- What?
Ok so I have no idea what to do with XNA, I've tried tutorials but they just make it more confusing. I'm just a high school student who's very interested in game development, but has no idea what a 'loop' is or how to read any line of code. Is there an easy way to learn this stuff or is XNA only for C# experts Yes, it can be a bit confusing, but the last part's A :P. That aside, you will need to be familiar, not 100% brilliant (that sound like me), at writing C# code. With that out of the way, welcome to XNA it's safer here. t_p ...Show All
Visual C# why am i getting this error?!!
I have an application which monitors a database table and it works fine for more than 48hours sometime but then I will get this error on my desktop.. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject ...Show All
Windows Forms [c#]forgive me about the "million" post for dgv update database
I've looking around a lot. No examples were good for me (obviously for my non-capacity). I have a simple form, where user choose some item from a combobox. After this, a datagridview show the data related to values in combobox. I only need to make some changes in datagridview, and then update the database. I've try with sqlparameter, with the single "update" query, but still doesnt work. Very thx and hope somebody can help me. If you use a tableAdapter, you may try this this .Validate(); this .customersBindingSource.EndEdit(); this .customersTableAdapter.Update( this .northwindDataSet.Customers); Or sometinglike this CurrencyManager cm =( CurrencyManager ) this .BindingContex ...Show All
Visual Studio Strange error when adding CrystalReportViewer control
I have the latest July CTP installed. When I tried to drag and drop a CrystalReportViewer control to my form, I got the following error messagebox: --------------------------- Microsoft Visual Studio --------------------------- Failed to create component 'CrystalReportViewer'. The error message follows: 'System.TypeInitializationException: The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CrystalDecisions.Shared.SharedSys' threw an exception. ---> System.Configuration.ConfigurationErr ...Show All
Visual Studio Team System Change in Team Edition / Team System Direction??
I'm starting this thread because all of the threads regarding DB Source Control, being able to open DB Projects in other versions of VS and other questions have gotten me to thinking and researching what is actually the reasoning / usage of Team System It would seem to me that DataDude may have gotten off track compared to the other TS Editions. If we all think back to when TS was released, we were forced to make a choice as to what edition we would migrate to. Most of us probably chose Developer. More important, the original intent (as I understood it) was that ALL TS Versions would have - 1. the same development capabilities (all types of projects, all languages, all technologies (i.e. Windows Forms, ASPNET, Web Services, etc.) ...Show All
Visual Studio Tools for Office Error - Available resources - Excel VBA
I have a problem saving a xl file using VBA. The file which I am trying to save is about 2.35mb and has external links. When I try to save in VBA a error pops up 1. Excel cannot complete this tast with available resources . Choose less data or close other application. Have any experience this kind of problem Hi Helge This forum is specifically for questions concerning the VSTO technology - a .NET Framework-based substitute for VBA in Word and Excel documents. You really need to ask this question in a place where VBA and the Excel object model are the main topics: the excel.programming newsgroup . When you ask over there, be sure to mention the version of Excel you're working with. ...Show All
Windows Live Developer Forums Draggable Pushpins
Hi, I want to put a pushpin on the map. And this pushpin should be draggable. So that when user drag this pushpin, its shows the longitude & latitude of that point & as the pushpin drags from one point to another, respected longitude & latidude value get visible. How can I make this possible here; I didnt find any solution for this. Also I want to use my own images instead of the pushpins. Thank you using your own images is easy: new VEPushpin( pinID, new VELatLong(27.705937839, 85.31556487), './img/poi_viewer.gif', 'Kathmandu', '<img src="./img/Pict92.jpg"><br>'+ 'One of the many rainy days we had in Kath ...Show All
Visual Studio Express Editions Random numbers
I want that some variables have a random number. I used that code: var1 = Int(Rnd * 25) var2 = Int(Rnd * 25) Var3 = Int(Rnd * 25) But I'v got still a problem. The variables haven't a real random number. When I start my program then are var1, var2 en var3 = 17,14,13. Now there isn't a problem. It looks like it are random numbers. But when I quit the program and I restart it. var1, var2 and var3 are again 17,14 and 13!!! Is there a command that give me each time other values. So real random That's a bit risky, TickCount always starts at zero after you reboot your PC. Randomize() generates the seed from the current date+time so can never generate the same sequence. ...Show All
.NET Development displaying an image from the internet in a picture box / label?
Is there any way i can have a picture box and display an image in it that is hosted on the internet say for e.g. - picturebox1.image ( http://www.website.com/image.jpg ) any help or direction would be great, i would use web browser but i cant get rid of the boarders. It is possible and quite easy in fact, all you need to do is call the Load() or LoadAsync() method on the PictureBox in question and pass in the URL to the image. ...Show All
Smart Device Development Sms delivery report and CEMAPI
I have two questions concerning this subject: 1. How can I reliably distinguish an incoming sms from a delivery report On my Qtek S200 with russian WM2005 the delivery report looks just as an sms from "System Administrator" (" "). The easiest way to distinguish is to analyze sender property for containing symbols other then "0123456789+*#". But it looks a little unnatural and may result in errors if any special phone number is used. I searched for some property that could distinguish a delivery report from a normal sms but I didn't find any. Are there any way to solve this problem 2. On the sender side what property should I use to control delivery report request. By default the message created u ...Show All
Visual Studio Team System How can i map the Item Description field to a field in Microsoft Project Professional ?
I've been reading tutorials on MS on this but i couldn't find out which field to map to which - can anyone here help me - I need to map the Description field in VSTS to a field in MS Project Pro - the best would be the Notes field in Task Information Panel. 10x in advance ! See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=372366&SiteID=1 . <I'm afraid that is a limitation of the product. MS Project only supports fields with <= 255 characters, so we don't allow mapping fields that can contain more than 255 characters (Plaintext, HTML, and History are the unsupported field types).> ...Show All
SQL Server Codepage 932 is not supported by the Java environment.
I have a JDBC type 4 driver, connecting to a Japanese SQL Server 2000. The connection gives this SQL exception: SQLException: Codepage 932 is not supported by the Java environment. SQL State: null SQL Code: 0 This same software has been in use and working just fine for over 2 years with other servers. Does anyone know the solution to this problem Thanks! pds2 What JDBC driver are you using The exception "Codepage 932 is not supported by the Java environment." doesn't sound like it's coming from SQL Server so the driver is likely raising it based on server configuration. Try checking the database collation on SQL Server. That may have changed. If this new SQL Server is ...Show All
Smart Device Development Trafficing GSM
hI, I have huge data on my modem .When my application is running I am able to delete the sms from sim memory, but still when my modem is on and my application is off, my sim gets overloaded and fills completely . Suppose I run an application to delete all sms from sim before starting my whole application but during that duration numerous messages are coming ... and they do will the modem How can i solve this problem , may be (using two modem will work) Regards, Anil Dhiman When you start the application you can start the functionality to process(delete) all existing SMS messages. but when the app. is already started and the modem is connected you will receive a notification for every new arrived SMS and you can ...Show All
