Software Development Network Logo
  • SQL Server
  • Windows Vista
  • Visual Basic
  • Visual C++
  • Visual FoxPro
  • Microsoft ISV
  • Game Technologies
  • Audio and Video
  • Visual Studio
  • VS Team System
  • IE Development
  • SharePoint Products
  • Visual C#
  • .NET Development
  • Windows Forms

Software Development Network >> cpurick's Q&A profile

cpurick

Member List

yyz2112
Maxwellvz
ReLoad
John Lockhart
Muder
MS ISV Buddy Team
holthaus
chakravarthy_b
Duckboy
Santor
Saiboro
popit
Barry-ELX
arpan_1234
AksaiGora
Thomaschr
Umer Khan
Holm76
Josh117
Binary
Only Title

cpurick's Q&A profile

  • Visual C# Storing the row content in local variable.

    How I can store the data from the DataGridView to a variable in another form Form1 form=sender as Form1 ; System.Windows.Forms. DataGridViewRow row; row = form.dataGridView1..........; I was thinking something like this. Can anyone help me I don't understand! I get this code in Form1 And then what to type in Form2 And what I need to return from the dataGridView1 Becuse I cant just return the row. A answer is god, but can you little deeper show me the thing Ok everything is working except the line: return this .OrderuTabula; The error is:Error 1 Cannot implicitly convert type 'System.Windows.Forms.DataGridView' to 'System.Windows.Forms.DataGridViewRow' What I n ...Show All

  • SQL Server Dynamic Date Parameter in Report Manager

    Hi all, I was wondering if there's a way to override the default date parameter of a report to a dynamic value such as Today(), Now(), DateAdd(),... through Report Manager. I know this can be done in Report Designer, but never been successful when I try to change the date parameter value in Report Manager. I've tried to change the date parameter value by clicking on the Override Default button in the report's properties page from Report Manager, error like the one below will be shown after I entered Now() in the Default Value field and clicked Apply: The value provided for the report parameter 'StartDate' is not valid for its type. (rsReportParameterTypeMismatch) Thanks in advance. Does anyone have a solution to the ori ...Show All

  • Windows Forms Error in populating ComboBox and ListView Control...

    hai frendz, I tried the below prog, but cant get the reason for error.The ERROR is System.FormatException: Index(zero based) must be greater than or equal to zero or less than the size of the argument list. Line number :152 and the other is, the ListView control is also not getting properly as needed. In this prog, I used 2 tables StudentsDetails & StudentsMarks. Anybody pls help me to come out with this problem... The code is, using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Data.OleDb; namespace DBApps { /// <summary> /// Summary description for Form1. /// </summary> public class StudentsForm : S ...Show All

  • Visual Studio Team System High SQLServer Memory Usage in LoadTest

    Hi, I am executing a load test with 8 webtests and 4 web test plugins, 1 for 2 webtests. In each of the plugin, I am pulling data from the SQL Server with select statement like "Select top 20000 from tablename"; and in the post webtest method in plugin, I am deleting the row which was used for webtests. While executing the loadtest I am seeing hight memory usage for SQL Server in taskmanager and in turn causing my system to be damn slow. How could I get around this problem Does my select and delete statements causing high sql activity Thanks. I am doing the select top 20000 because the tables are very huge (500 MB each) for binding them directly. Each table has nearly 3 ...Show All

  • .NET Development dataset row delete problem

    im trying to delete a few rows using a foreach statment but after the first deleted row it throws a error here is the code foreach(dataset.Table1Row row in ds.Table1.Rows) { if (row.Type == i) row.Delete(); } the error has to do with the modification of the dataset in a loop the only other thing I can think of is to save the row index into a array then loop using a for statment and delete that way but cant figure out how to get the row index number thanks j The standard way to do this is using a down-counting for loop: for(int i = ds.Table1.Rows.Count - 1; i >= 0; i--) { dataset.Table1Row row = ( dataset.Table1Row) ds.Table1.Rows ; if(row.Type == x) row.Delete(); ...Show All

  • Commerce Server Installation pre-reqs

    In the installation and configuration doc at http://go.microsoft.com/fwlink/ LinkID=57268 the section "software prerequisites" refers to "Microsoft ADO.Net Hotfix" and "Microsoft .Net Framework 2.0 update". I can't find these downloads - can anyone point me in the right direction please Thanks. Hi there... As Jeff mentioned, the locations are listed in the document at this link http://download.microsoft.com/download/3/a/4/3a46267f-9640-4623-86a1-c63bbfea9e1d/Installation%20and%20Configuration%20Guide%20for%20Microsoft%20Commerce%20Server%202007.html#Install_Additional_SW The .NET framework update is installed through the Cab that Commerce Server 2007 can automaticall ...Show All

  • .NET Development Client not returning server cookie

    Hi friends, During my server's communication with client, I add a cookie to the HTTP response. I also set the "Expires" property of cookie using cookie.Expires = DateTime .Now.AddDays(1); This used to work earlier but today I have seen that my client has stopped sending the cookie back to me in the same (TCP and HTTP) session. I saw that in the HTTP response from my server, the Max-Age info about the cookie was missing. Does that mean that the way I set the Expires property of cookie did not work I can't seem to figure whats the problem. Can anybody point out what could the possible problem be How can I ensure that I get the cookie back from client Thanks n Regards, Kunal Have you tried to exami ...Show All

  • Windows Forms Publish ClickOnce project with Team Build?

    Does anyone have any examples of how to create a Team Build BuildType that publishes the project similiar to the way you manually do it in visual studio I already have the BuildType created and working (it gets kicked off on a schedule). I've also created a BeforeDropBuild task that does GenerateApplicationManifest and GenerateDeploymentManifest that also works. This was a bit confusing -- when the BuildType is run not through the GUI many of the properties don't exist and most of the examples appear to assume they would. Anyway, these steps work in that the build does not fail. Somehow I need to publish the manifest I suppose, but I can't find any examples of how to do it. I'm not even sure I know the right questions to ask. Any help w ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Breaking changes from MDX?

    Hello there, I have a question: when will we learn what kind of breaking changes will XNA bring if compared to MDX Also, what will be the extent of those changes Will they mostly be refactoring changes or will there be serious changes in the coding way compared to MDX Also I read soomewhere that XNA will have font and UI features. What kind of UI features are we talking about :) Widgets and the like Thanks in advance! From what I've seen, most of the Mesh stuff is gone. This includes loading X files from disk, and the entire animation subsystem. The XNA content development framework/pipeline is said to be able to import X files, but exactly how that works remains to be seen. There's apparently the knowledge of "models" an ...Show All

  • Windows Forms Help please with richTextControl

    hi im using c#, I have 2 richTextBoxes box1 & box2 if I go: box1.Rtf.ToString(); i get a string like: {\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}} {\colortbl ;\red255\green0\blue0;} \viewkind4\uc1\pard\cf1\f0\fs36 Hello, this is a test\cf0\fs17\par } how do i append this text to box2 kepping the textes font and size ect Thanks. I tried box2.AppendText(theString) but it appends the code of the text, not the text. box1.copy box2.paste or Dim a a = Box1.Rtf Box2.Rtf = a --Carl ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to deploy on the Xbox at many developpers

    Hello, I'm a student and I'm developping on XNA with my teamates. We have a Xbox 360 and develop on our personnal laptop. When we have tested our project on the Xbox, we can't deploy from each laptops to the Xbox. Does a solution to deploy from several computer exist Thank you for your help. O.C Sharing the key doesn't actually work, because the Xbox and PC negotiate an internal more secure key the first time they connect to each other. That is stored on the PC that did the negotiation, so other PCs will be unable to connect once this has happened. To share an Xbox between multiple PCs, you will have to re-create a new key each time you want to switch from one PC to another. ...Show All

  • SQL Server .net and Sql Express

    Hi all, I have written a simple .net class to call sql functions like create subscription and sync replication. I am using merge replication. My Question is this:-- my class calls Microsoft.SqlServer.Replication.dll. On a machine that has SQL Express loaded it works but on a machine that does not have sql express it fails. I have made a setup project and deployed my "service". I added all references into the project and all works well on a machine that has sql express. We are running a network with 1 machine that has sql express and other machines that plug into this sql express. Is there a sql express runtime setup or do I have to load sql express on each machine. OR Am I deploying my class wrong. my setup project has the Micros ...Show All

  • Community Chat hola

    hola minombre es sahady y quiusiera que me dieran pasos en espanol para entrar a los foros sahady enter here: http://forums.microsoft.com/MSDN-ES/ OMG comspy very fun translate xDDDDDDDDDDDDDDDDDD ...Show All

  • Visual C++ Unhandled exeption

    Hello, I'm getting crazy with all of these error in my codes. this time a faced with a unhandeled exception. code: hr = g_pJoystick11->SetDataFormat(&c_dfDIJoystick2); definition of ( c_dfDIJoystick2 ) in the dinput.h : : const DIDATAFORMAT c_dfDIJoystick2 Error: An unhandled exception of type 'System.NullReferenceException' occurred in tre.exe Additional information: Object reference not set to an instance of an object. I am really confused with these errors. please give me a way to escape from my codes errors !!!!!!! Thank You, Hanif System.NullReferenceException is something you'd get with managed code. VC++6 doesn't support managed code, so you seem t ...Show All

  • SQL Server call a UDF from another server <> Authentication

    Hello I'm trying to call a UDF from another server with the following command: select i from openquery ( [10.0.10.240] , '[survey].[dbo].[ufnGetAxis_Ana] as i' ) error: [OLE/DB provider returned message: Invalid authorization specification] OLE DB error trace [OLE/DB Provider 'SQLOLEDB' IDBInitialize::Initialize returned 0x80040e4d: Authentication failed.]. Msg 7399, Level 16, State 1, Line 3 OLE DB provider 'SQLOLEDB' reported an error. Authentication failed. Can someone give me some advice on how to pass username and password to access an object on another server Many thanks! hi try this select i FROM openquery ( ha9 , 'select pubs.dbo.myFunction() as i' ) t ...Show All

©2008 Software Development Network