CaveMike's Q&A profile
SQL Server Storing and retrieving image (about 300 MB of each file, which is stored on a remote network directory)
I have more than 10,000 files in my remote network with a size of 300 MB each file (raster file). My question, what is the right way to store 300 MB file I meant to say how much performance it would be if i store the image file through SQL Server 2005, compared to storing over the remoted network Any help would be appreciated... thanks - Benoy I would suggest storing the data on a network share, and the appropiate link / reference i ...Show All
Windows Forms Progressbar on a different thread
Hi all, Im kinda stuck here. Let me tell you some background info. Users can create a shift, but within that shift they can create a recurrence pattern. Now, those recurrence patterns can be long, like from 1 january till 1 february. What the program does is it create's a copy of the orginal shift, change's the dates and inserts it into the database. This take's some seconds and i want to popup a progressbar. The shift saving stuff all occu ...Show All
Visual Basic date y/yyyy to dd/mm/yyyy
Hi, I want convert a date y/yyyy to yy/mm/yyyy. the Format function convert a date yy/mm/yyyy to y/yyyy but not y/yyyy to yy/mm/yyyy. exemple : 111/2006 --> 21/04/2006 example : 111/2006 --> 21/04/2006 1/2006 --> 01/01/2006 y/yyyy --> dd/mm/yyyy y = Day of the year (1-366) yyyy = year dd = day of the month mm = month of the year ...Show All
Visual C++ Beginner in C++ Need Help
Hi everyBody I'm in my first year in faculty of engineering I love programming and I begin with VB 6 but after I've reach 2 APIs I hate it and at this moment I was in my way 2 game programming ,So I transfer 2 C++ and I'm learning it From Books and Internet forums ( OOP by Robert & How 2 program & Teach urself C++ in 21 days) I learned Looping & Descision making & Functions & Structures & Classes & Pointer ...Show All
Windows Forms accessing app.config file in class library
Hi, I have a app.config file which resides in the windows application. I am trying to access the AppSettings of this config file in a class library project but I get null values. Windows application is using .NET remoting to make calls to this this class library (which is a data access layer). I would appreciate any help on this. Thanks Does this hold true in .NET 2. ...Show All
Software Development for Windows Vista Using data objects from database for holding Workflow/Activity-Properties
Hello, we are building a end-userfriendly workflow engine (with own designer) (see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=265499&SiteID=1 ) I have only on question (at the moment). Our activities have some properties, all workflows are derived from our own base workflow (with some properties, for example a workflow object which is sent through the whole workflow). The workflow object is used in IfElseActivities. ...Show All
SQL Server Meta Data Services SQL 2000 "msdb database could not be opened"
Hello anyone / everyone, If you are having trouble accessing Meta Data Services on W2k3 and SQL 2000 and get the error that the "msdb database could not be opened" I found that hot fix 912812 on the operating system is the culprit. Remove it and Meta Data goes back to working, although I am being asked to approve the ActiveX control every time the page refreshes. Hope this helps somebody, to took me long enough to track it do ...Show All
Visual Studio Tools for Office Error occurred when undo (Ctrl+Z) operation done
Hi, We are working on Word Customization using VSTO, in the some of the XML tags we are inserting label control inorder to show some read only content for understanding pupose. If user deletes the XML Tag and does undo operation (Ctrl+z) the following errors come one after the another, 1. System.ArgumentException crossed a native/managed boundary Message="cookie" Source="Microsoft.VisualStudio.OfficeTools.Controls.Co ...Show All
Windows Forms Tip: use Reflector!
Hi all, I wanted to share another great tool with all of you. I'm sure many of you use it already, but I have also seen quite a few people that are not familiar with it yet: Reflector ! It is my number one .NET tool, especially when using WinForms. Using Reflector you can disassemble executables and DLLs. It does a very good job and comes up with readable Delphi, C# or Visual Basic code (and IL, but I doubt whether IL code is readable for ...Show All
Windows Forms Help with Windows Service Exception in AfterInstall Event
I am using the code below in AftferInstall even in a windows service project.I have cretaed a setup and when i install the project i get an exception "An exception occured in OnAfterInstall event handler of System.ServiceProcess.ServiceInstaller. - > Not found" when the remove the code below then the service installs fine.So there is some problem with code below.Here serviceController is the component that i placed from toolbox Connecti ...Show All
SQL Server Missing data with SSAS cube as a report data source
I've got a report that is using a cube as a data source and I can't get the report to show all the data. Only data at the lowest level of the cube is displayed. The problem is that most of the data I'm concerned with is at higher levels. There's no problem with the MDX. I get the correct results when I run the query. I'm using a table to show the results. I've also tried a matrix, but I get the same results. I'm using SSRS 2005 and SSAS 2000 ...Show All
SQL Server Setting DTS DataType on added column: codepage.
When writing custom component, and and adding a column to the output, the DTS DataType must be set using SetDataTypeProperties. One parameter is codepage (int). What value(s) can I enter there Where can I find this information It will really depend on where the data originates, but I should say it would be a good bet for most situations, as people normally work in one codepage accross most ...Show All
Visual Studio 2008 (Pre-release) type inference
What is the Linq team's current thinking on type inference With the preview, type inference seemed somewhat... constrained, in that the inference process seemed to flow into function calls but not out of them. For example: foo<P,Q>(P x, Q y) { return new { X = x, Y = y }; } What is the type of this function Even if the type is known, how can the caller 'receive' that type. With the current bits, the only way to infer T is to call ...Show All
Visual Basic VS 2005 project migration
I have inherited a vb.Net project done in VS 2002. I have got VS 2005 installed on my PC. When I try to open the project, a project migration wizard pops up. Does anybody know that there are issues involved with this Regards, Kamal Hi Kamal, The migration wizard you are seeing when you open a VB 2002 or VB 2003 project will simply convert the project file to the new 2005 format. It will a ...Show All
Visual C# checkedlistbox
c#: how uncheck the previous box when a new one is checked selectionMode is one and i have only one selected but more than one checked. CheckedItems is not updatable. I think i have to use ItemCheck event. Thx Just walktrough all items and uncheck them. You can optimize this by caching the last checked item and only unset that one. private void checkedListBox1_ItemCheck( object sender, ItemCheckEventArgs e) { if ( e.NewValue ...Show All
