karthik123's Q&A profile
Windows Forms How can I transfer data between two forms like Visual Basic ?
I'm writing an application by C# but I don't know how to transfer data between two forms or more. Example : I want to get data from a textbox on another form to display on this form. Please tell me about that. Thanks in advandce ! On the receiving form, implement a public method that takes a string as a parameter. In that method, assign the incoming parameter to the Text property of a TextBox control. Now the sending form can invoke the met ...Show All
.NET Development WSE 3.0 and ASP.NET 2.0 Membership
Hi, In the past I have used a custom UserNameTokenManager class to authenticate username / password combinations is WSE 2.0. Is there a way to tie into the ASP.NET 2.0 Membership provider for authentication and authorization using WSE 2.0 without writing custom code for WSE 3.0 Or do I still have to manually write the custom UserNameTokenManager Thanks, Jon OK, I just found a docume ...Show All
Visual Basic copy file through unc path with services
I have a windows service running under localsystem account and need access shared folder ( \\192.168.1.1\folder\filecopy.exe - it's shared with everyone permissions) to copy a file in background and without logon but gives me error. I need do something in services to can access shared folder (two computers are in same domain) Thanks. Hello. I suspect your windows service is set to run using th ...Show All
Visual Studio Express Editions How can I do reports with my visual Basic Express Edition?
I would like to do charts reports with my visual basic Express edition. I'm seeing a number of issues like this. I wonder if the user community is not forgetting the intent of Visual Basic Express It's intended for hobbyists and people who are learning computing. It is not intended for production use. ...Show All
Visual Studio Display string function not working
So I'm using VB.net and Crystal Report viewier to display a report. On the report I have display string codes to interpret numbers as text. But when I run my program all it shows is the numbers within the viewer itself. How do I make it so it processess the display string function even in crystal report viewer. I am setting up the connection information in vb itself. Thanks Mau, Sorry but I don't think your question is understood. ...Show All
Windows Forms How to select multiple rows in datagridview by using datagridviewCheckBox?
The datagridview is already binded to table. I need add a new checkbox column in the datagridview. How to make rows selected when user check each checkbox. No databinding for checkbox. Any idea would be appreciated. In response to the CellContentClick event for the check box column, set the row's Selected property to true using the RowIndex provided in the CellContentClick event. -mark DataGridView Program Manager ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rotating TransformedTextured Vertices around a specific point? (MDX, C#)
Hello everyone! What I am trying to do, is to draw a textured 2d square using on-screen coordinates (therefore using TransformedTextured, and not PositionTextured), using vertices, and rotating the square around a specific point in the z axis, however after a good hour of googling, I can only seem to find examples of doing this with PositionTextured vertices, I am beginning to wonder if I am actually looking in the wrong direction. Is there any ...Show All
Windows Forms how to pass variable back
i have form which is opening new one. i need to pass some variables back to the first one. If Form1 is opening Form2, you should be able to access those variables at that time through the instance you just created(providing th ...Show All
SQL Server Running Total cursor
I have two tables. ID table that has these fields Code_id,YearPeriod, ReachedDate fields. And table Amount that has Code_id,Amount,Date fields. What I need to do is write a cursor that when the amount.Amount adds up to $100.00 it Updates the ReachedDate in the ID table to the amount.date fields value of that record. Any help would be greatly appreciated. Yeah, right. And freeze the server like magic! The best and faster solution its using ...Show All
Visual Studio Express Editions AutoscrollMargin & dyn. add elements
Hello, I've an mdiParent with children. A child has the option Me.Autoscroll = True The autoscrollmargin width = 0 and height = 50. In design mode, I added elements. In the runtime, I add dynamically elements. Dim intHeight As Integer = 603 ' 603 = y-position of lowest element + 15px The first dynamically added element has an y-position of intHeight. In this situation, the y-position becomes + 50 of the scrollmargin. If I use ...Show All
.NET Development VERY slow binary serialization of strings coming from SQL
Please help! This is probably the weirdest issue I've ever encountered. I'm trying, in C#, to binary serialize an array of strings that come from a SQL Server 2000 database. Problem is, this takes orders of magnitude longer than if the strings don't come from the database. The EXACT same 35000-length array of strings takes 0.1 seconds to serialize if the strings don't come from the database, and 40(!) seconds to serialize if they do. So ...Show All
Windows Forms data grid
i am trying to populate a data grid control from another control. the first user control populates a drop down cmb of customers id's , from the selected id i am trying to populate the 2nd control a datagrid with that customers orders. i am having trouble getting the two too comunicate. ...Show All
Smart Device Development Strange linker warning... can I ignore it?
Hi, I'm using the VS2005 Team System Eval on a PC that previously had VS2005 B1 and B2. Both were uninstalled prior to installing the RTM. I created a simple Smart Device dialog app to be built for a custom CE 5 platform. If I build the solution without changing it, the following warning happens: MSVCRTD.lib(chandler4.obj) : warning LNK4099: PDB 'libbmtd.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 8\ ...Show All
Visual Studio Team System Customize Work Item to block few groups from being seen on some field
Hi, There is a way to customize the work item to block some group from being seen on some field inside the work item. For example: <FIELD refname="System.AssignedTo"> <REQUIRED for="[Project]\Project Administrators" not="[Global]\Team Foundation Administrators" /> </FIELD> But, there is a way to block few groups too Thanks in advance, Shmulik. ...Show All
SQL Server Script Task TimeOut
Anybody knows how to change the TimeOut of a Script Task Thanks! The task call one asp page that makes some updates in a remote sql server. If I call the asp page without SSIS the proces finish ok, but if I call the asp page with Script Task, the task returns a TimeOut error. I need that the Script Task wait until the asp work finish. ...Show All
