Paul Shmakov's Q&A profile
Windows Forms Datagridview and checkbox
Hi all. I have bound a datatable to a datagrid. One of the columns is named "Select" and is a boolean. When i bound this to the grid it is displaying a CheckBox. Nice :-) But if i try to build the datagrid before it is bound to the datatable the column "Select" is not displayed as a CheckBox. Why What do i have to do to get the "Select" displayed as a CheckBox */Code when datagrid is buildt */ column = this .dgvContrprodProduct.Columns.Add( "Select" , "Select" ); this .dgvContrprodProduct.Columns[column].DataPropertyName = "Select" ; this .dgvContrprodProduct.Columns[column].ValueType = typeof ( DataGridViewCheckBoxColumn ); this .dgvContrprodProduct.Columns[col ...Show All
SQL Server major difference between sp and trigger
hi stored procedure and trigger which runs on serverside and which runs on client side. Dear Kanthk, Have a look at this : http://www.sqlservercentral.com/columnists/gvijayakumar/storedprocedurevstriggers.asp HTH, Suprotim Agarwal ...Show All
SQL Server HELP Publishing a site with password protection
I am new to Visual Web Developer 2005 Express. I have created a web site containing a login control. It works great on my local machine, but when I copy it to the server, I get the following error when I try to login to the website: Server Error in '/mrallensclass' Application. Hi, tkae a look at the screencast on my site, which shows you a walkthrough how to enable that setting. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Integrating DirectX into Visual Studio
Hi, I recently downloaded the directX SDK. I also downloaded the headers of the platform SDK. I used the 'integrate into visual studio' program, and it integrated the windows platform sdk into Visual Studio C++ Express edition. It also seemed to integrate some of the directX SDK too (D3D9.H works) . But some headers, such as D3DX9.H and DXERR9.H don't work - instead of going: #include <d3dx9.h> I have to do: #include <C:\Program Files\Microsoft DirectX SDK\include\d3dx9.h> Surely, there muist be another way. So does anyone know how to fully integrate the directX SDK into Visual Studio C++ Express edition Yes. It is quite simple actually. Since you are using VS, all you have to do is go t ...Show All
Windows Forms Make sure you are not dividing by zero.
I am getting this message at this statement: g . DrawLine ( p , xPos + offset , yPos1 , xPos + offset , yPos2 ); g is an instance of the Graphics Class. It is not my code. I am trying to adapt NPlot package to my main application. The whole thing works well when NPlot uses an XML file (DataSet) that comes with NPlot. I copied the schema to another file and input my own data into the dataset and this error sprang up. I do not understand what the difference really is since I tried to copy everything slavishly. There are no dividions in the set of parameters. I cannot figure out why this message is appearing. Thanks. Yep, two other integer variables appeared to be off the wall. I could not figure out how they ge ...Show All
Visual Studio Express Editions Error message "non-generic method" using ObjectDataSource and GridView
Here is my process: (all with visual web developer 2005 Express, April version.) 1. create new dataset in the app_code folder, called interaction.xsd. (right-click on the app_code directory and select new...) a. Step through the TableAdapter Configuration Wizard. b. Select the data connection (ManagementConnection String (Web.config) c. Create new stored procedures d. sql statement "SELECT Interaction.* FROM Interaction e. new stored procedure names: InteractionSelect_sp, InteractionInsert_sp, InteractionUpdate_sp, InteractionDelete_sp f. Fill method: FillInteraction, Get method: GetInteraction g. Checked Create methods to send updates directly... h. I now have Interac ...Show All
Visual C++ How to block a web site, block downloading and block p2p in vc++. please help
Hi I am trying to make an application in vc++.Net. to block a web site,downloading and p2p data sharing. how it is possiable in vc++.net. please help me to make this possiable. 1. block websites 2. block downloading 3. block p2p how these thing are make in vc++.Net Thanks Hello Re: How to block a web site, block downloading and block p2p in vc++. please help Such questions are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 For such issues please use the newsgroups at http://msdn.microsoft.com/newsgroups . OTP Thanks Damie ...Show All
SQL Server Expression-based Data Source + subscription = No-go?
Set up reports to use expression-based data sources and everything works fine as far as executing and viewing the reports. The ConnectionString expression includes the credentials, and the "No credentials required" option is selected. Unfortunately, am getting this when trying to create a subscription for same report. WTF eportingServicesService!processing!3!12/20/2006-12:20:07:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'XXXData'., ; Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'XXXData'. ---> System.InvalidOperationException: The ConnectionString property h ...Show All
Visual FoxPro Adding two reports togather
Dear friends, I am having two reports how can I print them togather i:e print report 1 at the end of this report 1, continuing in the same page the next report report 2. thanks for ur help satish thanks Dannible, I have already tried "Nopageeject" this will only give us one spool output for the multiple reports but getting togather two reports in the same page otherwise we will say that just after the end of the first report it should continue the next in the same page. Anyhow thanks for ur help, incase if there is a solution please help me regards satish ...Show All
SQL Server Is it reasonable that a table has 240 fields
Hi, I have 240 sensors to sample one time per second,then store the data in sql server. Is it reasonable that the table has 240 fields If do,it will generate about 70,000 records every day.One month records will be 2,100,000. If I divide the 240 sampling data into 10 records,every record has 24 fields.Then every day 700,000 records will generate.One month the record number is 21,000,000.It is terrible. Which method is better,or who can give me another better method or some suggestions. I need your help.Thank a lot. Actually if all 240 fields will be filled, it may not be a bad way of doing it. If one is only filling a small fraction of the total, then the answer would be an easy no. The question though , is not necess ...Show All
Visual Studio Not able to compile the C# code in VS2005 with crystal report included in the project.
Hello, I create a new project and add a new item to it which is a crystal report. Then when I compile , I get the following error without adding a single word of code: Error 1 Assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' uses 'CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' which has a higher version than referenced assembly 'CrystalDecisions.Enterprise.InfoStore, Version=9.2.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' c:\Program Files\Common Files\Business Objects\2.7\Managed\CrystalDecisions.CrystalReports.Engine.dll WindowsApplication2 Warning 2 Reference to type 'CrystalDecisio ...Show All
Visual Basic CheckBox Service control (VB, VS 05)
I decided to try and expand my project, I now wish to have the (current, I'm adding more as I find out which aren't required ) two processes here's a brief on what stage the additions are at. I have added 4 check boxes named; SpoolCheck1 SpoolCheck2 MDMCheck1 MDMCheck2 (more will be added as I find out more that can be stopped) and two command buttons named; StopCheckedButton StartCheckedButton I would like to 'link' the check boxes to the command buttons, but the checkboxes job (when checked, then clicking the start/stop command buttons) is to start/stop the selected program/process, in this case spool and mdm. I have these codes for starting and stopping the processes and return a message if there is a problem. ...Show All
.NET Development How doesThreadPool really work?
Dear folks, I wonder how to use properly the pool multithread that Framework bring us with the 2.0 version. My goal is to reach three threads running at the same time (as a maximum) and when comes the four one whether are running the previous ones, do a sleep until find a place for that. My schema is the following: If icont > 3 Then If Thread.CurrentThread.IsAlive Then **** This is a four one T_GestorHILOS.QueueUserWorkItem( New WaitCallback( AddressOf PruebaVarios), objeto) ****I wonder about this suspension.. It affects the third or fourth Thread.CurrentThread.Join() icont = 1 End If ...Show All
Visual C++ VS2K5 SP1 Beta bugs!!!???
I installed the beta to get around a merge problem with TFS and it worked. However, I create the installer for our product on that machine. When I released daily installer the code started breaking because the actual code was compiled with RTM VS2K5(this is expected) However, our previously released products running on MFC 8.0 all started breaking after installing the daily build. Why would already installed products on a system break if a product installed with the beta MFC merge modules start to break Is this what will happen when the SP ships And more importantly, how do I scrape the unwanted SP1 Beta DLLs from these now "infected" test machines Thanks, This bug is already reported on connect.microso ...Show All
.NET Development wrap the data in the gridview
Hi all, i need to wrap the data in the column of a grid view if the data size exceeds the column size. That is say if the size of the column is 20 characters and if the data size is 30 characters, then the excees 10 characters should be broken to another line. Also there is another doubt. I need to display scroll bar only if the num,ber of rows is greater than 1. Thanks in advance. ...Show All
