Bartosz's Q&A profile
SQL Server Security Update for Microsoft Data Access Components (KB832483)
I recently reformatted my computer and am using Windows 2000 Professional. I enabled Automatic Update. This morning I noticed that the "Security Update for MS Data Access Components (KB832483)" kept showing up. My records indicate that it successfully installed (several times), but the same update keeps showing up to be installed. I finally disabled the Automatic Update function in order to keep it from constantly reappearing. Any ideas I wonder if you are running this on an old win 95 machine updated to 2000 with Ram increased from the original 32MB to 128, 8G hard drive added to the original 3G one and the old STB card replaced by Voodoo3 If not count yourself lucky! though it is fun. ...Show All
SQL Server How do you Load .JPG Files into a image datatype column
I have been fighting with this all day. If you can point me in the right direction I'd appreiciate it. I need to load about 500 jpg files into a table. The table has 3 columns an "ID" , "Filename" which has the filename of the jpg in it already, but not the unc path, and a ("Photo" Image Datatype) column which is not populated yet. I need to store the Image file in the photo field so that I can run reports in reporting services and so on and so forth. I am not sure how to complete this task. ...Show All
SQL Server Backup Master key, Cannot write into file 'c:\temp\master'. Verify that you have write permissions, that the file path is valid.
Hi, I tried to backup the master key by the following syntax : OPEN MASTER KEY DECRYPTION BY PASSWORD = 'mypassword' BACKUP MASTER KEY TO FILE = 'c:\temp\master' ENCRYPTION BY PASSWORD = 'mypassword' but it failed and i got the following message: Cannot write into file 'c:\temp\master'. Verify that you have write permissions, that the file path is valid, and that the file does not already exist. NB: I am using the "sa" user to execute this command. I know that we have a security permission issue , but where and how Regards, Tarek Ghazali SQL Server MVP Hi Raul, first Thanks for your reply. I tried that also but it did ...Show All
SQL Server Can Fact table link to more than 16 dimensions?
Hi, I am new to building cubes. I am trying to build a cube which includes: 7 database dimensions 22 cube dimensions (19 cube dimensions are liked to 4 table dimensions) The problem is when I try to make the PK of the fact table to include the 22 fields I receive an error that the PK cannot be more than 16 fields. What should I do Thanks in advance, Aref But these 6 columns are only part of the 22 dimension fields that I have. I am thinking of creating another table that holds all the possible combination of these multiple dimensions related to one database dimensions the use then use the PK of that combination as a single dimension field in my fact table then use a view to represent my fact table and ...Show All
Windows Forms Draw line in a user control...
Hi, I am trying to draw a line between two point in a usercontrol or panel, Here is the way I want the program to run: (1) user click some point in the control, and will be marked with a black rectangle. (2) then whenever user move the cursor inside the control I want to draw a line from the cursor back to the black rectangle, but it's not a fix line as while the cursor(mouse) is still moving the line will be too. I managed to do the first step, but I am stuck in figuring how to do (2). Can someone help me with this I hope I am posting in the right room... Thank you, Listen to the MouseMove event and invalidate the control and store the mouse location in the event handler. Then in your Paint event handler you dra ...Show All
Visual C++ How can I limit the no of lines in an EditBox
Hello, How can I limit the no of lines allowed in a multiline CEditBox Thanks and Regards Shibu Perhaps there is a solution to your problem, but in my opinion you should not limit the user’s relish to edit a text in a multi-line editor. She/He probably should be able to have an intermediate text longer then required, to freely copy and paste fragments etc. I would just check the number of lines later when the user finishes editing and presses OK. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. WPF and DirectX
We are building a CAD application that will target Windows XP and Windows Vista So we are using WPF for the interface The thing I want to know is how well WPF can integrate DirectX(Drect3D) content (if anybody tried that) and which are the limitations The only references that I found was about using HwndHost which can let you interop with win32, com, directx. Then you have already found the only way to get WPF and DirectX working together. ...Show All
Visual Studio Express Editions dates and null values
My column in sql is of a date data type. I have a textbox that a user can enter a date when certain parameters in the program are met. On occasion a date does not have to be entered in the textbox. This is where I have a problem. The column can accept null values but I am not sure how to program this part. I have a date variable = cdate(txtbox1.text). If nothing is entered in the textbox I get an error message of "can't convert "" to a date) Any help would be appreciated. ok cool thats great. Basically, if the textbox text is nothing (or length is 0) then set the date parameter to DBNull.Value - don't do any conversions at all, just set the parameter value to DBNull.Value and that should ...Show All
Visual C# Custom Attribute and it influencing all my controls.
Hi, I have a custom attribute in my library (OnOffAttribute, to turn off or on a property) and it's behaving a little oddly. Basically, all my controls use common classes for their drawing and such. I do not always need certain properties in these common classes, so i created an attribute (which is is used through ICustomTypeDescriptor and a custom TypeDescriptor) to do this based on (very vague) information found on the web. The thing is, that if i set, for example, my "DisplayBorder" property to be 'off', it is off for ALL controls that use the common border class instead of just the control i set it to be off for. The border class is always instantiated in each control using the 'new' command and as thus i figured it'd be off ...Show All
Windows Forms VS.net 2005 Installer: Not enough storage is available to complete this operation
Hi All, I have created a VS Deployment project in VS.NET 2005. I added 75 files. Some of which a re large (>600megs). The total project size is anticpated to to be 2.2 gigs for the setup file. Upon building the project, i get the "Not enough storage is available to complete this operation" error. I have 30 gigs of space on my computer and 1 gig of ram and the install will not come close this. I have checked through the other forums and didn't find anything other then an MS expert saying is a known bug with files over 400megs. That post is 3 years old. I am hoping there is a resolution to this problem. Anybody Thanks, Steve Sinclair Hi, Thanks for the response. There are n ...Show All
Visual Studio Tools for Office Cutomize File menu in Excel using VSTO 2005
Hi, I am customizing the file menu in excel 2003 using VSTO 2005. It's working fine when my computer's regional setting is in english. But it's not working if I set to "Denish". Actually it's not working if I set the 'language used in manus and dialogues' to 'Densk'. It gives problem when it tries to execute the following line of code: Office. CommandBarPopup fileMenu = (Office. CommandBarPopup )MenuBar.Controls[ "File" ]; I think this is because of in Denish the 'File' menu is replaced by menu named as "Filer". How can I globalised my code to execute independant of regional settings. Thanks Hi Manesh You can use the ID property for built-in controls, rather than the caption or the posit ...Show All
Visual Basic how can i do with " in vb
how can I do with " in vb , I want replace " to & email:huangzhixing@hteb.com Very funny, Ibrahim...your almost up for a 'droll statement of the year' award... Obviously, there is a difference, but what difference is significant Is it a speed issue, memory issue, different result, etc. The difference is that one uses the native, core library, function (String.Replace) and the other uses the Microsoft.VisualBasic Namespace, in the Visual Basic Runtime library DLL. I'm sure the VB library will always be present (in future versions of .net), and any given application may, or may not use that library. In which case, loading a DLL just to use this function may not be 'efficient' . Regardless, better ga ...Show All
SQL Server Displaying different text
I want text displayed as: some text here Somename another text here. How to do that if Somename is a value of a field and it's width changes As it can't be done with a single textbox, can it be done with a table Can a table have dynamical width The only dynamic sizing property in reporting services is the "CanGrow" property. However, this only applies to the height of objects. The width cannot be dynamically adjusted for larger values. ...Show All
Software Development for Windows Vista Windows Vista Home Premium but no Aero ?
Hello there .. I have some issues with my Windows Vista, i have the Home Premium package, but i dont have Aero IntelR PentiumR 4 CPU 3.20GHz 1,50 GB memory RADEON X800GT Graphic Card I have the latest driver for my Graphic Card yes ! Processor - 4,3 Memory - 4,5 Graphic - 5,9 Gaming Graphic - 4,9 Primary Hard Disc - 5,3 TOTAL: 4,3 i have the same problem, i'm about to install the old drivers. i cant say i'm not p***ed off, its not like its a bad graphics card. ...Show All
Smart Device Development SHIFT TO .net platform
Currently my company running PDA system and support up to 1500 user around the world. we want to make something clear that By using the .net product , .net compact framework 2.0 with sql server 2000. How many user can support it i refresh/download and update the data concurrently. How many user can access through the IIS in win server 2003. Guys please help and advice, and if can come out with a proven document then is better. 1. As many as your SQL Server 2000 can handle. Has nothing to do with NETCF. 2. As many as your IIS on Server 2003 can handle. Also has nothing to do with NETCF. As you could see from, say, www.microsoft.com , these numbers far exceed 1500. ...Show All
