Cris V's Q&A profile
Windows Forms Trigger fill dataset from other form
Hellow, This is the situation: I have one form (form1) and another form (form2). Form1 is the standard form that opens on application run. In form1, there's one datagrid, bound to a dataset (members of form1). When I click on a button "new row" in form1, form2 opens. In form2, there are several textboxes to fill in (the columns of form1). When I click " ...Show All
Windows Forms Method to set datagridview row background color
Hi all, I had a datagridview. May I know how to set the particular row color of a datagridview to yellow Please help. Thanks Yes you can do this by using the following code snippet int RowIndex = 0; this .dataGridView1.Rows[ RowIndex ].DefaultCellStyle.BackColor = Color .Yellow; ...Show All
SQL Server Using Datasets
Can we use ado.net datasets to populate the reports There are several options: Do you know about the reportviewer winform and asp.net controls that report off ADO.NET DataTables http://msdn2.microsoft.com/en-us/library/ms251671.aspx If you want to add an ADO.NET dataset as a report data source, you would need to implement your own data processing extension. There's an example for a simple implementation documented here in "Using an ADO.NET DataSet as a Reporting Services Data Source" (published a couple of years ago, but you can still upgrade the code files in Visual Studio 2005 and compile and run this): http://msdn.m ...Show All
Smart Device Development [C#][Smarthone 2003 Deployement] How to deploy an app on a smartphone
Hi, I can test my app on the smartphone emulator but i'm can't download my app on my smartphone. The first thing i try is to browse into my smatphone (like embeded c++ tool : File View) First step i n try to connect to device using the tool menu tool>>conect to device>>smartphone 2003 device But i got an error "Connection failed : the version of activsync is not supported" My version is 3.8 i think it is the latest... And my emVC++ 4.0 tools can browse the smartphone, so embeded c++ tools can do the work but not visual studio 2005. Is there a stuff like C:\Program Files\Windows CE Tools\wce420\SMARTPHONE 2003\Tools\spdps.exe /c ...Show All
Visual C# Omg how to take a screenshot?
I can't find a function http://www.developerfusion.co.uk/show/4630/ ...Show All
Visual Studio Team System Error!SQL Server 2005 Report Server Web site is not running!
When I installer TFS bete 3,I according to installer guide's content operation,but when installer TFS beta 3 ,System occur error!pls reference below: Warning Description Physical memory does not meet recommendations Workaround / Remedy The physical memory (RAM) in this computer does not meet the recommendations for installing this product. If you continue with installation, you may experience performance or scalability issues More information For additional information and help please refer to: http://go.microsoft.com/fwlink/ LinkId=52502 Block Description SQL Server 200 ...Show All
Visual Studio Express Editions SQL Express Local and Remote database
did anyone try... are there any samples.. for this.. i would create aplication with local database, but in code on runtime it should change connection string and connect to remote database.... is this possible The Data Sources generated by the wizard are hard-wired to the connection strings in config file. I don't know whether you can change this programmatically at run time. At least it isn't obvious. This is also why I hate using data sources generated through the designer. I think the way to go is to create a new data source for your BindingSource when your app is not running locally. I'll see if I can locate a code example. ...Show All
SQL Server How insert more then 4000 characters?
I need insert many dates from tables to XML file, I use T-SQL, everything is OK, but in one step I can insert maximally 4000 character in uni-code. Is there another way Thanks' a lot. I use such sequence T-SQL: Declare @doc XML , @ixml nvarchar ( 4000 ) SELECT @ixml =( SELECT * FROM SAMPLE "d:SAMPLE" for XML AUTO ) SET @ixml = 'SET @Doc.modify('' declare namespace dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"; declare namespace d="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields"; insert (' + @ixml + ') into (dfs:myFields/dfs:dataFields)[1] ...Show All
Smart Device Development The Specified program requires a newer version of Windows on the device
I can build a very basic application and run it on Pocket PC 2003 SE emulator. But when I try to deploy it to an older View Sonic Pocket PC 2003 (Version 3.0.11171) I get an “The Specified program requires a newer version of Windows on the device.” Error. I have been unsuccessful in finding documentation that states for or against being able to deploy to the Pocket PC 2003. Does anyone have information or know of a website that will help solve my problem The build number you mention (3.0.11171) indicates that your device is running the Pocket PC 2002 Operating System. Visual Studio 2005 r ...Show All
Visual Studio Combining GAT and CABpract
Hi Everybody, I am writing GAT package to generate a CAB project. This CAB project includes Shell application and CAB Modules. Project generates Shell project properly. And I want that whenever I add a module to project, it should add a reference of module in ProfileCatalog.xml file of shell. I have used the same "CreateModule" recipe from GuidanceAutomation package of Smartclient Baseline Architecture Toolkit. Below is the recipe. My problem is whenever I add module it doesn't generate value for any argument. It gives me error that "The following arguments are required and don't have values: ShellProjectGuid, CommonProjec ...Show All
Visual Studio Express Editions string will be truncated by tableadapter insert command ??!!
Has anybody an idea to the following problem: When i send an insert over the TableAdapter then my strings will be truncated. Here is the following code Products: Visual Basic 2005 Express, SQL Server 2005 Express Dim LPTA As New BSC.BSCDataSetTableAdapters.LoginProtokollTableAdapter LPTA.Insert(Login, "123456789123456789" , "123456789123456789" ) The datas in the Database Tables are then truncated to 10 characters e.g. 1234567891 When i do the query manually to the database then there is no problem e.g. INSERT INTO LoginProtokoll (Login, Workstation, IPAdress) VALUES ( ...Show All
Visual Studio Express Editions numeric data from database always displays as a date???
Hi, I was wondering if anyone can shed any light on the followong (not sure if it's an Access or Vb problem). I am using an Access database with a field with numbers in in the format 00:00.0 (i.e 01:32.46 ) When I add this field to my form ( I have tried textbox, masked textbox set to 00:00.0, datetimepicker, datagridview) I get a date of 30/12/1899 00:01 displayed all the time. Also when I preview data it displays the same. I've also tried changing the data type(from the data source window, right clicking on the field and customise, then setting data type to various types) but this seems to default back to "date time" all ...Show All
Visual Studio Team System Identifying 'using' (C#)
I'm trying to write a rule to check a certain object type is always used as part of a 'using' code block. I get the impression that the only way to do this is by doing some source walking - I find no 'VisitUsing' method. Looking at my source in ILDASM, it appears that using blocks are compiled to try --> finally blocks, with object initialisation before the try. I assume, therefore, that there is no explicit way to identify this in FxCop Sorry Michael, when I said source walking I meant looking at the IL... I was just checking there wasn't an easy way to get at this code pattern from the FxCop analysis. N ...Show All
Windows Forms Flash button not work in WebBrowser component using Framework 2.0
Hi for all, I compiled a application in Visual studio 2005 beta 2, using webbrowser component. It work perflectly with Framework 2.0 beta (v2.0.50215), but not work with Framework 2.0 (v2.0.50727). When i access a flash page with button, i cannot execute the click event. I tryed compile the application in Visual Studio 2005 non-beta, but the error continued. Help me please. Hi, It's a bug... look here and vote to push for solution here ...Show All
Visual Basic Code for letting the user change the color and font for whole application
I am making a application program in vb.net 2005. I want the user to select the font and the color which he/she wants for the application. Once the user select the color changes should occur to the whole application. or if possible the list come from the display property and user can select from scheme which is in apperance. Please help....... Hi Puneet Create one Labelfont variable with global access. Public lblAppFont As New Label Whenever user changing somesetting update the changes into the font variable. lblAppFont.Font = New System.Drawing.Font( "Arial" , 9.75!, System.Drawing.FontStyle.Bold, System.D ...Show All
