seewan's Q&A profile
Windows Forms datagrid
hi i'm using vs 2003 and dot net framework 1.1 i have a datagrid with displayed in read-only mode. when i pass my grid in read-write modede, somme column have a combobox for fixing there value. when i use it, somme value at right (only) disapears until i reopen my window. is it a bug in dot net framework 1.1 can i resolve it why have u a similar experience thank's for youre help Exactly, it's designed as a basic datagrid but it's modified in execution mode and i'm not show it. now, i find this code and i try to correct it. some news in a few time, thank's for your help Ken ...Show All
Windows Forms Redirecting Console Standard Input
I am trying to redirect input from a textbox to a console FTP program. I wish to have the output remain in the native console window. The code below seems to hang, why using System; using System.Diagnostics; using System.Windows.Forms; using System.IO; namespace WindowsApplication { public class FTPForm : Form { private TextBox textBox = new System.Windows.Forms.TextBox(); private Process process; public FTPForm() { textBox.Multiline = true; textBox.Dock = DockStyle.Fill; textBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress); ClientSize = new System.Drawing.Size(500, 400); Controls.Add(this.textBox); Text = "Form"; pro ...Show All
Smart Device Development Keypress in Pocket PC 2003 sdk
Hello everyone, I'm developing an application for a PDA in Evc4 which takes readings from a motion sensor device and sends the data to a remote computer via socket connection. Now, along with the motion sensor readings, I want to add in a keypress event. But I'm not sure if there is any keypress event in the pocket pc 2003 sdk. It would be really great if someone could highlight me on this aspect. Please provide a link to where I can find some details in this keypress if possible. Thanks CrackWhiz Please post this question to to microsoft.public.pocketpc.developer forum Refer http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=481505&SiteID=1 Thanks, Achal VSD, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. how to build a 2D map
hello all. i am working on a 2D tank game. I just want to ask how to build the map for the game. Is it better to build a tile map or should I load a big texture (*.jpg) file what do you think thanks very helpful tut! however, is there any tuts out there that show how to make a map externally for the array so its a little easier than painting by numbers edit- sorry, found it on that same site! :) http://xnaresources.com/pages.asp pageid=24 ...Show All
Visual C# Three Dimentional array
Hi, I have created one three dimentional array,it contains some value.I want to create folder in following order C:\\DOWN\\MR\\MRDate1. C:\\DOWN\\MR\\MRDate2. C:\\DOWN\\CT\\CTDate1. C:\\DOWN\\CT\\CTDate1. that is C-->DOWN-->>MR and CT C-->DOWN-->MR-->MRDate1 and MRDate2 C-->DOWN-->CT-->CTDate1 and CTDate2 This is my three dimentional array string[,,] FolderArray=new string[2,2,2]{{{"MR","CT"},{"",""}},{{"MRDate1","MRDate2"},{"CTDate1","CTDate2"}}}; Please anyone help me.... regardsm justin Please NOTE: Whenever your one question gets resolved, please mark it as answered and mark ALL post as answers which has your ans ...Show All
SQL Server SSIS - how do I force a package to be in one trasaction?
Hi, I want to force a package to work as one transaction so that when one part or container fails, the whole package fails. Does someone know how to do this Thanks, Ishai. Set the package property TransactionOption='Required' More information here: http://www.sqlservercentral.com/columnists/jthomson/transactionsinsqlserver2005integrationservices.asp -Jamie ...Show All
Visual Studio How to disable the Parameter prompt for Crystal Report using VB.Net
I'm having a problem whereby I can't disable the parameter prompting in VB.Net with the following codes:- Dim crPDV As ParameterDiscreteValue Dim crPFD As ParameterFieldDefinitions Dim crPFL As ParameterFieldDefinition Dim crPV As ParameterValues crPFD = CR.DataDefinition.ParameterFields crPFL = crPFD.Item("paramterName") crPV = crPFL.CurrentValues crPDV = New CrystalDecisions.Shared.ParameterDiscreteValue crPDV.Value = valueToPass crPV.Add(crPDV) crPFL.ApplyCurrentValues(crPV) CrystalReportViewer1.ReportSource = Application.StartupPath & "\TheReport.rpt" CrystalReportViewer1.Show() Any error with the above codes OR do i need to add any additional code(s) that able for me to pass the parameter value direc ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Animation Component Released
I've released the alpha version of my animation component. It should work on both unskinned and skinned meshes, but currently requires shader 2.0 because of the skinning support (this will be changed in the future). Here is the link: http://www.codeplex.com/animationcomponents If you download it and try it on a model and it doesn't work (for now, I'm only referring to matrix key animations), please post on the website forums!! I'll help you get it to work, and if it's a bug, I'll fix it :) I've included a sample of how to use it to play a skinned animation in the User Forum. Non matrix keys will be implemented in the short future... And if you downloaded the DLL shortly after it was put up, I uploaded the wrong DLL so non skin ...Show All
SQL Server How to read the value of textbox in table1 of subreport
I have a report which has subreport in it. the textbox5 has a countrows() function hooked and i want to =sum(Subreport1.table1.textbox5.value), is it possible. subreport control is pointing to childreport.rdl childreport.rdl has - Table1 and textbox5 Thank you very much for the info. ...Show All
SQL Server How to run multiple script files
I have a number of script files that create various objects in my database, and to create a new DB from scratch I need to run them all in a certain sequence. Is it possible to create a master script file that calls the others in the desired sequence P.S. I am using SQL Server Management Studio Express to edit and run the scripts. Thanks for the advice, but I use a code generator and therefore need to have them in separate files. Anyway, I worked out how to do it. First you have to click the Query menu and choose SQLCMD Mode. Then you can enter the files like this: r: c:\myfiles\file1.sql r: c:\myfiles\file2.sql etc... My path is quite long so I use a variable as follows (I also added the se ...Show All
Visual Studio Express Editions Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
Hi, why do i keep getting (with my dataset): Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints. all over the place. I found an article at http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfSystemDataDataTableClassGetErrorsTopic.asp and come up with the following code: Dim myDataSet As New KIT Dim rowsInError() As Data.DataRow Dim myTable As Data.DataTable Dim i As Integer Dim myCol As Data.DataColumn For Each myTable In myDataSet.Tables ' Test if the table has errors. If not, skip it. If myTable.HasErrors Then ' Get an array of all rows with errors. rowsInError = myTabl ...Show All
SQL Server Batch Jobs
Is there a forum, documentation, link, or anything that talks about batch jobs, what they are, how to create them, run them, etc Basically, everything I need to know about batch jobs thx, Kat What do you mean by batch jobs Do you mean Jobs that are executed by SQL Server Agent If so, I would recommend to get a book about SQL Server administration which dives deeper into the sense and the functionality of SQL Server Agent. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server http://localhost/reportserver works but not http://servername/reportserver giving error
I am doing the following: http://localhost/reportserver works but when i do http://servername/reportserver i am getting an error 404 message. Can you please tell me how i can enable the report server to work via http://machinename/reportserver this is a public hosting dedicated server. Thank you very much for the information. Did you configure Reporting Services on the server yet ie. You will need to go thru Reporting Services Configuration. micro-geek ! ...Show All
Visual Studio Express Editions Can't detect EOF in console
Hi, I am trying to detect EOF in the console... control+D doesn't seem to want to work...neither does control + D followed by <enter>...could someone provide a suggestion I am trying to execute the following sample code; #include <stdio.h> main () { long nc; nc = 0; while (getchar () != EOF) ++nc; printf ("%ld", nc); } Thanks. ...Show All
Visual C++ Trace
What is the trace I found a class and a tool... but what for Is it a particular log file How can I use it That tool is useful to display tracing info generated by an MFC program with the TRACE macro . The Trace class is a managed .NET class, useful to generate tracing info in a C++/CLI program. Check the docs on how to use them... ...Show All
