pgorbas's Q&A profile
SQL Server Uniqueidentifier or autoincrement?
Hello, Can somebody explain me the difference between both When to use each uniqueidentifier is a 128-bit integer (16 bytes) and has a unique value across all networks/computers. An IDENTITY is a property that allows you to auto-increment an integer-type column (int, bigint, smallint, etc.). ...Show All
Windows Forms How to change the keys in the config file
Hi, We are using the ClickOnce technology in Visual Studio 2005 to deploy the C# Windows applications. Here we are getting the problem in the clint site when we need to change the configuration settings. The files in the server deploy with the extention .deploy, when we open the app.exe.cong.deploy file with the notepad and change the keys and save, it is loosing some of the keys. When we try to connect to server and install the applicatio ...Show All
Visual Studio Express Editions Massive iostream errors
Hey, i'm kinda new to Visual C++ Express and i'm having a problem when I include iostream. I've installed Platform SDK and this is what I compile: #include <iostream> using namespace std; int main(){ cout << "Hello" ; return 0; } I get tons of errors from this: ------ Build started: Project: empty_project, Configuration: Debug Win32 ------ Compiling... 2.cpp C:\Progra ...Show All
SQL Server Client Printing Hangs
We are accessing SSRS reports using web service. We call the Render the reports using http://<server>/ReportServer/Pages/ReportViewer.aspx reportName&rs:Command=Render All reports render fine. However for one particular report when we click the print button on the report viewer in IE, Active-x pops up a message "Printing Now" and hangs eternally. The error occurs even when I am logged in with Admin privileges to the mac ...Show All
SQL Server Preferably, I wish to uninstall all existing instance of SQL Server, and install the Community Technology Preview as the default
Upon installing .NET Framework 2.0 Redistributable Package Beta 2 (x86) and Software Development Kit (SDK) Beta 2 x86, SQL Server 2005 Beta 2 stopped accepting client connection requests. I uninstalled SQL Server Beta 2 and installed Microsoft SQL Server Express Manager - Community Technology Preview April 2005. SQLServerManager.msc's error message is MMC Snap-in failed to initialize. Name: SQL Computer Manager. CLSID: {68 ...Show All
Visual Basic Iterating through a DataGridView
As the topic says, I am iterating through a datagrid view : For Each row As DataGridViewRow In Me .DataGridView.Rows If row.Cells( "Status" ).Value.ToString.Trim = "HOLD" Then MsgBox(row.Cells( "Status" ).Value) HoldCount = HoldCount + 1 MsgBox(HoldCount) End If Next There are three records in the view, everything seems to work fine until it hits the new record in the ...Show All
Windows Forms DataBinding to a ListBox at runtime?
Is there a way to change the <i>displayed</i> data in a ListBox at runtime, say thru a button click I have a ListBox which I load with 200 records from a database on Form_Load. On a button click, I want to retrieve the next 20 ...Show All
.NET Development Porting ActiveX control to x64
hi, i'm ever. i'm porting my ATL ActiveX control to 64-bit Windows XP. i'm using VS2005 beta2 + 64-bit Windows XP + Dell workstation precision 670. i can build my control successfully at VS2005 beta2 for x64 platform and it can be registered by REGSVR32.EXE. BUT when i open the ActiveX Control Test Container and insert it, i can't find it in the Control List Box. moreover, if i copy my control to Windows\System32 directory and register it in ts ...Show All
SQL Server how large is 4 GB
Hi, All. New to SQL. Just downloaded SQL server Express 2005, Web doc says its max limit is 4GB, Need to know how large a 4GB can hold. The data shall be like holding company info, say: company names, locations, line of business, phone, etc. It needs full-text search on it. Is this Express is the choice to go 4 GB is a LOT. First of all, it's 4294967296 characters. But it's compressed in the databa ...Show All
Visual Basic Frustrated at data source updates...
I have been programming in VB6 and MS Access for about 3 years now and decided to move to VB2005. The walkthroughs are a great help especially with regards to data access. However, I found out that my changes are lost when I send my updates to the data source. Has anyone experienced this I even tried the MyMovieCollection Startup kit and it also doesn't update the DVDs table. Hello Rick, If you post the code ...Show All
Software Development for Windows Vista Execute method on Sequence is never called.
Hi. I have an activity that inherits from Sequence, and I'm needing to run some code in the sequence just before the activities within it are called. (It would be the "Execute" method, but it is never called.) I tried to inherit from CompositeActivity and implementing a SequenceDesigner on it, and the "Execute" method works fine, but it doesn't call the inner activities... I'm using the Beta 1. Any clues No ...Show All
Windows Forms MDI Child scroll bars?
I am making a pricing application for work which has a MDI parent and several MDI children. What has me puzzled is why the child forms do not have scroll bar properties while the parent does Is there anyway to have scroll bars  ...Show All
Visual C# test for null: This works, but is there another way?
I've got a DataGridView with a date type "ReportDate" as first field. When entering row, if the row is empty, then set the readonly to false (allow edits). (This test actually takes the length of the date for the test - not a warm fuzzy feeling. )Otherwise set it to true (don't want pesky fingers tinkering with good data). The rule is that if anything in the row is populated, all fields are, so can test for any one field being prese ...Show All
Windows Forms Form Flashing aint too flash.
Just wondering what happened to Form.Flash and Form.StopFlash in Beta2 Thanks, Michael Weinhardt We removed the Flash API because it was too simplistic and failed to address the core scenario which is Messenger's use of flash. You could stop and start it, but you couldn't control duration, end state and several other aspects. We just had to pull the plug on this vs. making an investment we weren't sure woul ...Show All
Windows Forms Requesting a computation to wait
This concerns a windows application in which I want to do a short computation, display a message based on the result, and then go into a longer computation. However, the second computation apparently pushes the message off the queue, so that it does not appear until the second computation is finished. If I don't start the second computation until I click a button, everything works fine, but that's not the way I want to do it. Can I somehow tell ...Show All
