bigblockfw's Q&A profile
SQL Server Full RecordSet not Received from SQL Server ??
My IT dept and I are completely stumped on this problem, and if there is a better forum to post this question to, please let me know. Thanks! I have an ASP web-site connecting to an Access db, and everything works fine. I ported the Access db to SQL Server 2005 Express and on only 1 page, when I request a recordset, I do not get all the fields returned. Some of the fields are "blank" (not NULL). When I test for NULL (Not IsNull), the answer is True, but the field does not contain the numeric value that I can see in the SQL db. The page is identicle from the Access based site to the SQL Server based site, so I'm really conf ...Show All
SQL Server Need better workaround for hidden prompt without read-only behavior
I have many reports that have a parameter in them which I want to default to NULL and not show (plus other parameters I do want to show). If I leave the prompt field empty, I get the read-only error. The workaround has been to have the prompt field contain a single space, which works well as far as producing the behavior I want. However, every time you open the report in the designer, it automatically removes the space. What is a better solution You would need to write in your iinstallation script that published the report to clear out the prompt string. The call is SetRepo ...Show All
SQL Server Problem attaching a database
Hello, I have made a database in SQL Server 2005 Developer edition. I tried to attach it to a SQL Server 2005 Express Edition but I coundn't. I can attach and dettach it to the developer edition but I cannot do it to the express edition. When I am running the store procedure: exec sys.sp_attach_single_file_db @dbname = 'LinGS', @physname = 'c:\LinGS.mdf' I receive the following error: File activation failure. The physical file name "C:\Documents and Settings\Kekakos Elias\My Documents\Visual Studio 2005\Projects\LinGS\LinGS_log.ldf" may be incorrect. .Net SqlClient Data Provider: Msg 5123, Level 16, Stat ...Show All
.NET Development Passing User Defined Data type/ Oracle & .net
Hi, Can any one help me with how to pass an user defined type in Oracle, which is used as an input parameter to a stored procedure, using .net. First is it even possible if yes then how if some body has a link to an example that would be best. I have seen example at msdn "http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnadonet/html/advoracledataaccess.asp" where they are passing values to the Oracle database using dynamic query string. how would i pass the Oracle user-defined data type through .net to the stored procedure. Hope to get the answer. Amit If you want to work with an actual type in your .NET co ...Show All
Visual C++ error occur when develop in Visual C++ 6 and compile in Visual Studio 2005
The code wrote in VC++ 6 (no error when compile) but now I have to move them to the Visual Studio 2005 version and try to compile it again it give me the error ==> fatal error LNK1104: cannot open file 'LIBC.lib'. Please help I'm still so new with Microsoft Visual Studio 2005. Are they so much differences. Thanks for your help in advance, Akiwa You need to change all calls to these functions to use the new, safe ones, or turn off the warning, as explained in that link. If you want your code to work in VC6 AND Vc2005 and call the new methods, you need to create a class that wraps this. If you just want to upgrade, you sho ...Show All
Visual Studio Express Editions PrintPreviewDialog problem
I asked this over in the Visual Basic General Forum but received no response so I'm trying here. I'd like to disable or even remove the Print button from the PrintPreviewDialog. Is it possible Or is it possible to capture the click event of the print button ...Show All
SQL Server Does the June CTP qualify for the GoLive Now program?
I would like to use the latest build, but the April CTP is listed, not the June CTP. Is this an oversight, or intentional Fernando, I am in the process of following up with MS Sales. We are moving forward with SQL 2000, but would like to implement SQL2005 EE. ...Show All
Windows Forms Databinding vs. Model-View-Controller (MVC)
Hello all, I'm trying to get to grips with the finer points of Model View Controller. I (think I) understand the theory behind it, but when it comes to the dirty work I find myself challenged. I have a lot of experience with databinding, both in windows forms and web forms. I keep having the feeling that Databinding and MVC are sort of mutually exclusive. My reasoning behind this is thus: one of the points of MVC is that all changes to the model are made by the controller rather than the view. Databinding on the other hand (at least in Windows Forms) is a two-way binding, where changes in the datasource are reflected in the view (good for MV ...Show All
Windows Forms taskvision client
I have downloaded the taskvision client, but have trouble when i install to local network drive i have given the localintranet with zone full thrust, but i still get system which removed the secutity error. But i still get a system security exception error. Can anyone help. /rkri ...Show All
SQL Server Script databsae does not compatible with SQL2000
I've created a databse on SQL2005, and I did not use any new data type for columns. I script the database, and select SQL2000 for "Script for Server version", howvever, the script generated cannot be run on SQL2000, it can be only run on SQL2005. The script generated by SQL2005 is not backward compatible like SQL2000 can generated script compatible wtih SQL7. CREATE TABLE [dbo].[Table1]( [Col1] [nvarchar](16) NOT NULL, [Col2] [nvarchar](100) NOT NULL, [Col3] [nvarchar](10) NULL, [Col4] [datetime] NULL, [Col5] [nvarchar](10) NULL, [Col6] [datetime] NULL, ...Show All
.NET Development .Net 2.0 release version breaks VS 2005b2?
I have just upgraded my .Net frameworks to 2.0 release version, and in the process, I had to uninstall the previous beta version and also some other stuff like the compact framework. Now, Visual Studio beta2 is not launching anymore. Is this a known issue With kind regards. Two things. One, ClickOnce docs tell you all about how it downloads the most recent version of the .net framework. Yea it feels like *** when you run into that problem but remember, you are beta testing. You are suppost to be telling them bugs and helping with the overall release... which brings me to the next thing. They can, and did (y ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting rendered graphics (quickly) from the card
I had a thread about thins some days back, but for some reason I can not write into it now. I am faced with the task of rendering some graphics with directx and then copying that graphics into another card which generates a video signal. I need to feed it a new frame 25 times a second. The size is 720*576 The rendering does not have to be any faster that this. I have tried two methods of geting the pixels, and both are much too slow. One takes 500ms for a frame and the other 1800ms. I need a time below 40 for this to work. I post the two methods below. Perhaps someone can provide input as to what I need to do. I might add that ot ...Show All
Windows Forms Standalone Form Designer application
I am currently creating a Form Designer Application, that makes heavy use of the Features introduced with .net 2.0 ( DesignSurface ,...) Currently i am trying to implement Copy,Cut,Paste and Undo/Redo. I am using the the CodeDomComponentSerializationService Implementation of ComponentSerializationService to get serialized objects. For the copy command i tried to attach a new EventHandler to StandardCommands.CopyCommand. Currently i put a serialization store to the clipboard. But i think this is not the right way to copy serialized objects to the clipboard. What would be the proper way to implement such feature PS: For the undo/redo functi ...Show All
Visual Studio 2008 (Pre-release) How to add window to tabitem dynamically
I am trying to add a window ( ) dynamically to a tabitem dynamically. I added a page using vs, so it has a class with xaml and code behind. Then in a event handler I create a tabitem, to add to a tabcontrol, and then add to it the window I created like so: FamilyUpdate familyUpdate = new FamilyUpdate (); TabItem familyUpdateTab = new TabItem (); familyUpdateTab.Header = "Family Update" ; familyUpdateTab.Content = familyUpdate; // Contents is the tab control Contents.Items.Add( familyUpdateTab ); The window is based on the page class (not sure which class is appropriate). I am new to this and would li ...Show All
Windows Forms howto create 32bit color ICON?
please help how to create a 32bit color ICON from a bitmap,jpg,gif file Well, I have to admit that I have very little artistic skill... VS works well for me cause I typically capture a screen shot of an app with an icon I like, use a photo editor to paste the screen shot, and then create a 16x16 or 32x32 (or&nbs ...Show All
