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

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

Jarret

Member List

TheViewMaster
bluejay_2006
Tom_In_Dallas
Worf
Patrick Ma
MillBear
cgwaters
TheViewMaster
Jim Hudson
LostCoder
Pi314159
Ntc
KeeperMustDie
Raulsassaa
EmOneGarand
Dale17677
Ro0ke
maulikk
RAB36
mani_rt
Only Title

Jarret's Q&A profile

  • SQL Server Error 15401 Adding Domain Group to SQL Server

    I have tried rebooting the system, I have ran the script to look for duplicate sids and am still having the issue when trying to add a domain group to SQL. I get the Error 15401: Windows NT user or group'mi\Trust Legal' not found. Check the name again. Running SQL 2000 Std, with SP3a, and the collation is set to SQL_Latin1_General_CP850_BIN, which makes this instance case sensitive, and the group name is spelt right and am following the case sensitivity of the name as well. Neither actually: use IMCEXCLUSIVE exec sp_grantlogin 'MI\Trust Legal' since its a domain group, from what I read grantlogin was the proper SP to use, am I wrong ...Show All

  • Windows Forms listview question

    hi I added listview to my form now after clicking on different buttons I want listview to have different columns. This is my code: ListView1.Columns.Add( "File type" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Item Column" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 2" ,20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 3" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 4" , 20, HorizontalAlignment.Center) ListView1.Refresh() ListView1.Update() The problem is that after clicking the button nothing happens I don't see columns names! What should I change it is set to details ...Show All

  • Windows Forms Changing the column type at runtime

    Hi ! I have the requirement where I need to change the column type of a cell from a textbox to column depending upon a certain situation. The datagridview is unbound and I have set the cell types of the grid to text initially. Can I change one column to a different type , like one row will have column 2 as text box and the second row will have the same column2 as combo. Please let me know. Thanks in advance ! You cannot do this without creating a custom column type. See http://msdn2.microsoft.com/en-us/library/7fb61s43.aspx for examples of how to do this. ...Show All

  • Windows Forms TableAdapter Update Error

    I made a TableAdapter and use ObjectSource to bind it to GridView, when I insert new rows it works OK, but when I try to Update or Delete it gives me this error: ObjectDataSource 'RegionObject' could not find a non-generic method 'Update' that has parameters: RegionDescription, original_RegionID. Version Information:  Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44 Thanks Alaa Bhr Software Developer Dear David, Here are my process in details ( all the details ) 1-Create new web site 2-Add App_Code folder 3-Add new DataSet under the App_Code folder 4-Add new DataAdapter 5-Select Region table "from Northwind" 6-Select Create new SP 7-Check Create method to send updates directly to database 8-U ...Show All

  • Smart Device Development How to play an audio file (.wav) in WM 5.0 SP?

    Hello. In project Visual Studio 2005, Visual Basic, Windows Mobile 5.0 Smartphone, Device Application, I have added an audio file, for example, drumpad-crash.wav. On this forum, from Mr. Ilya Tumanov (posts 3313) there is the program, which in the given project I have written down in such kind: Public Enum PlaySoundFlags ... End Enum Public Declare Function PlaySound Lib "CoreDll.dll"( _ ByVal szSound As String, ByVal hMod As IntPtr, _ ByVal flags As PlaySoundFlags) As Integer In method Form1_Load, I have written down the next line: PlaySound("..\..\drumpad-crash.wav, IntPtr.Zero, _ PlaySoundFlags.SND_LOOP) At Start of the project, constantly (LOOP) sounds the signal, wich has been no ...Show All

  • .NET Development Get data from database

    i want to have a button and textbox on my form and when i type in a username and click the button i want a lable to show what the password is for that username. With the code you gave me it comes up with a blue underline under the reader and says that it is not declared Why is this and what do i have to do to get it to work ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Music loop

    I want to add the music to be the background music. But when I try to change the LoopEvent in xact it show an error "Object reference not set to an instance of the object". How can I solve this problem Please help me. thank you He's actually not writing any code. He's using Xact to setup his music bank. Looking in the Xact forums, it seems this has been a common error, that until recently the Microsoft team had been having trouble recreating. You can learn more about it in this thread here and they include the solution as well to get you going. I hope that helps! ...Show All

  • Visual C# Can we call windows application through windows service?

    hi Can any one help me on "how to call windows application from windows serice" Is it possible or not Regards In my opnion, you should not be able to do any UI thing from a windows service. Hence, I think you would not be able to have/call windows application from windows service. The service is supposed to run in background without any UI. ...Show All

  • Visual Studio Express Editions How can I get results from string formatted formula?

    How can I get results from string formatted formula EX)Dim ExampleFormula as string = "((6/2)*5)+2-3+1" Then how can I get results from that string formatted formula I've tried it manually by referencing Java Stack Calculator source, but it was much harder than what I'd thought. Is there any easier way to get it done (such like data parsing) or better example source based on VB Express If you just want to evaluate math forumulas, see http://mmofx.com/codedetails.aspx A=402 . ...Show All

  • Visual Studio Express Editions Retrieving variable data from a custom class.

    I have a set of textboxes that will be used to gather two dates: a start date and an end date. When the user presses the command button the validation for the two textboxes run. If there are no errors the next form opens and the current form closes. What I need is to access the "Date" form's button variables (sDate, eDate) to use in the custom class. Below is some of the code that I am using for the "Date" form. public partial class frmDateRange : Form { public frmDateRange() { InitializeComponent(); } private void txtStartDate_TextChanged(object sender, EventArgs e) { if (txtStartDate.Text != "") txtEndDate.Enabled = true; } private void txtEndDate_T ...Show All

  • SQL Server BIT-Wise Aggregation

    Hi, I have the following three tables : Account (Id int, AccountName nvarchar(25)) Role (id int, Rights int) AccountRole (AccountID, RoleID) In Role table - Rights Column is a bit map where in each bit would refer to access to a method. One account can be associated with multiple roles - AccountRole table is used for representing the N:N relation. I want to develop a store procedure - which would return all AccountName and their Consolidated Rights. Basically I want to do a BitWise OR operation for all the Rights in the Aggregation instead of the SUM as shown in the following statement. SELECT Account . Name , SUM ( Role . Rights ) FROM Account WITH ( NOLOCK ) JOIN RoleAccount ON RoleAccount . AccountID = Account ...Show All

  • Visual C++ How to read an ecxel file in C++?

    Can anyone give me the solution to give input in excel file as well as read it in C++ Hello Re: How to read an ecxel file in C++ I am going to mark this thread as answered since you have not followed up with any further information on your problem - I assume you solved the problem yourself. There was little activity on this question as it does not really belong in this Forum, this newsgroup may have been a better choice: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel.sdk&lang=en&cr=US OTP Thanks Damien ...Show All

  • Visual Studio Team System Can't Install SP1

    On a Windows Server 2003 machine with Team Suite installed (and the previous beta version of SP1) I tried to install the newly released SP1 but I got this message: "The installation source for this product is not available. Verify that the source exists and that you can access it." What's wrong I wonder Thank you, Sammy I just ran into the exact same problem. Based on this entry in the SP1 log file: No valid products found! shell out. I strongly suspect that SP1 Beta has to be removed first. Trying that now. ...Show All

  • SQL Server Generating Custom Messages to User

    Hello everyone, i'm using a foreach loop container to read a group of excel files and pass their information to a Sql Server database. The process runs well but sometimes there could be some excel files that may not be processed correctly so i'm using transacctions to continue to process on the other files, But i'd like to generate a message everytime an excel file is or not processed. I thought that i could generate a flat file to do it, but is there any other way to accomplish this I'm also generating a log file (on xml format), but It seems too much information for an end-user. any suggestions regards. Hello Jamie I'm actually using a log provider, so i get the log of the progress. My solution was to get into the log (which is a ...Show All

  • SQL Server Soft-Replication Problems seting up MSTDC on W2K

    Hello, A bit of a double question. We are setting up a new environment but this time we don't want to use the build-in replication. As we have a very changing environment these replications block us in modifying tables. (Was on W2K/Sql2000). To avoid this we would write a softreplication, now we are running on W2003AS/Sql2005Ent, but when trying to run a transaction to an older server this error pops up. " The transaction manager has disabled its support for remote/network transactions". I've found some articles on how to solve this but they all mention a buttin 'security config' on the MSDTC tab page of MyComp in CompServ. But i can't see that Button on a W2k. Any suggestions .. Or, 2nd question, is it still ...Show All

©2008 Software Development Network