jockofett's Q&A profile
Windows Forms Sorting unbound column of numerics in datagridview
Been stuck on this for a while... I have a datagridview on a windows form that is not bound - not bound to a database. The user is able to click on each column header to sort the rows by that column using SortMode = Automatic. However, when a column contains right justified numerics, the rows still sorted left-justified. How can I get the Automatic SortMode to sort the rows right justified in a column contatining simple text bo ...Show All
SQL Server Problem with creating a merge publication
Help!!! This is really frustrating me down! I was trying to follow the MS official tutorial "Creating a mobile application with SQL server mobile" could be found in this link http://msdn2.microsoft.com/en-us/library/ms171908.aspx In the step of creating a merge publication, as I noticed, the snapshot agent is started sucessfully. But very soon later (few seconds), it was shut down with an error message. I checked in the error histo ...Show All
Visual C# Help please
Hi, I am currently trying to create an application that uses the RTC API to communicate Voice via IP address of the other client and not SIP server. I am experiencing problems with the code i wrote. Just on this one line: _session.Answer(); With the prints out i get, alot of session state change happens and when it goes into the INCOMING, it doesn't run the _session.Answer(); at all. but the application does not hang. However in the immediate Wi ...Show All
Visual C++ How to initialize an independent display using CreateDC
I am trying to initialise a second display as an independent display on my machine using: CreateDC("\\\\.\\DISPLAY2", NULL, NULL, &demode); but I keep getting error code 0x709. The "\\\\.\\DISPLAY2" is the string returned from EnumDisplayDevices The devmode structure has been initiailised with basic information about the display (height, width, freq, color depth) which I know works with ChangeDisplaySettings if I extend ...Show All
SQL Server using AJAX
Hi, For a particular application in mind I intend using AJAX to directly access a SQL procedure/ web-service preferably bypassing IIS (since it may act only as a pass-thru) using XMLhttp. Two questions, Does SQL2005 provide access to procedures over http (I read it somewhere) w/o IIS Can I store some of my javascript logic in a BLOB and access it over http to rewrite part of a page any info will help. thanks, R ...Show All
SQL Server Potential workaround for SP1 failure
SQL Server installation fails with the message: "A recently applied update, KB913090 failed to install" The last executed task was: Integration Service The last installation message was: Checking for lock files via Windows installer sqlrun_tolls.msp It's not immediately obvious what went wrong. Please post a description of your configuration and a link to your SQL Server install logs. Thanks, Paul ...Show All
Visual Basic How to maintain security on server with socket applications
Hello everybody I donot know weather its a right place to this question or not but if this is not a right forum for this question then please let me know My concern is that lets say i have a server that is running a VB.Net application and this application has sockets that listens 24 hours for the connection made from remote sites using TCP/IP. My server is connected on internet Can somebody tells me how I protect my application form being ...Show All
Windows Forms AppUpdater Component
Hi, I have had success using the AppUpdater component from a Win2000 server. However, I fail from a WinXP server with the following error. "Download of a new update from 'Http://localhost/temp/2.0.0.0/' failed with teh network error: The remote server return ...Show All
Visual Studio 2008 (Pre-release) complexity
Hi, Why do you make things so complex and hard to understand even to read. Things like : /* query example */ DEFINE QUERY myQuery FOR EACH customer WHERE cust-num > 100 NO-LOCK. OPEN QUERY myQuery. GET FIRST myQuery. IF AVAILABLE customer THEN DISPLAY customer.cust-name. DO WHILE NOT QUERY-OFF_END(myQuery) : GET NEXT myQuery. DISPLAY END. /* more comple query example */ DEFINE QUERY myQuery FOR EACH customer WHERE ...Show All
Visual Studio Team System When I get a specific version why does the contents of Source Explorer change?
The objective of the Source Control Explorer is to display the contents of the TFS repository; is that correct Therefore the folders pane should show the current folders in the repository for my Team Project and when I select one of these folders the right pane should show the current contents of that folder in the repository. By 'current' I mean 'latest version'. Given the above, I find the following behaviour strange... I copy a ...Show All
SQL Server How To Avoid Table Scan
Hello All, Is their any way I can avoid a Table Scan by modifying the follow WHERE clause WHERE tbl_mis_Dashboard.loan_active_flg = 1 AND [tbl_mis_Dashboard].[loan_create_dt] between DATEADD(dd, DATEDIFF(dd,0,dateadd(mm,-13,getdate())), 0) And getdate() The field loan_create_dt is indexed on the table tbl_mis_Dashboard. The query returns approximately 256K records which is appropriate and necessary. Thanks all, Orlanzo First, ...Show All
Visual Studio URGENT: Error with Microsoft.Reporting.WebForms.LocalReport.InternalRender
Brian We are experiencing some internal errors with the reporting services engine in the local mode. It seems to be working fine on all our dev boxes but seems to blow up in our production sites. Here are some messages found in the System Event log. Let us know if something pops up as you see the message. Basically, the code does the report render is given below. Call me stupid, i must have put a try/catch around the render method as it is ...Show All
Software Development for Windows Vista Determine correct activity instance during Activity Tracking
I have written a custom persistence and tracking service. When I track that a new activity instance has been initialized, I write a new record a database. What I want to do is add the record ID as User Data to the activity so it can be used during processing. I know the root activity, the context guid and the qualified name for the current activity. But how do I use this information to get the correct activity instance Any help would be gr ...Show All
.NET Development Writing to a custom sink
Hi all, I'm using a modified version of Stephen Toub's secure channel to add compression to the sink along with encryption. Thanks to Stephen I have a very good base to build my sink on and I had no problem adding compression to the sink. Now I want to have compression feature enabled only if the user asks for it. I did'nt know how to send client request to the server. I know that I should write the boolean to ...Show All
Visual Studio Team System Work Item field is not shown in datawearhous database
We add couple of new fields to Work Item type definition. Those fields are marked reportable. After Work Item Type import new fields are not added to BisDWDB database (LatestWorkItemRev_Fact table). Reportable fields from original WIT are present in BisDWDB. What can we check Could it be some synchronization problem Thanks in Advance, Leon You can also kick off the warehouse manually. See the second part of this blog post: http://blo ...Show All
