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

Software Development Network >> Adam J Friedman's Q&A profile

Adam J Friedman

Member List

Peto_SVK
Boris Zakharin
Batikit
DrewM33
TBotnik
Kaos
SivaS
David Beavonn
vanu
ScooterBrown
Peter Lillevold
bmarcus
kenny125
Matt Lin
david2929
PaulSw
Dale17677
Pankaj11
Arunkjose
PatrickDonohue
Only Title

Adam J Friedman's Q&A profile

  • Commerce Server Non-Credit Card Orders

    Hi, I am using the latest starter site and I would like to allow a user to place an order with a Purchase Order # instead of a Credit Card. I have not been able to find out how to enable this functionality and not require a Credit Card to check out. Please Advise. There are a couple of things you need to do in order to enable this functionality in the Starter Site. It is on my list of things to blog about but I'll give you a few pointers right now. The main thing is you need to modify the PaymentControl.Payments property to return PurchaseOrderPayment types. You can either do this by returning a single PurchaseOrderPayment and allowing the user to modify the PurchaseOrderNumber, or you ...Show All

  • Visual Studio Express Editions combobox selectedIndex help

    Hi.. I am having problem having value selected in the combobox and show on datagrid. so far my combobox can fill data from access database when form loads but I dont know how can i select item from my combobox to show on datagrid or textbox as a result each time and I want to show results more than one. Please help me... As far as I understand your question, to get the selected item of a combobox you must get SelectedItem property, here is an example : Private Sub ComboBox1_SelectedIndexChanged( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged TextBox1.Text = Me .ComboBox1.SelectedItem End Sub ...Show All

  • SQL Server How can I programmatically tell if agents are running?

    Ideally I am looking for a procedure that I can call in T-SQL to verify that the Log Reader, Snapshot, and Sql Agents are all up and running on a given server. I found the undocumented sp_MSrepl_distributionagentstatussummary proc and got it to work for the distribution agent. I also found sp_MSrepl_agentstatusummary, but I've yet to get this to work. Overall, I'd really like to have a better way to do this. This absolutely must be something callable from the sqlcmd interface. It can not be through a UI nor anthing more complicated than standard T-SQL. Any suggestions Yup, this is a great example of what I was saying about the table not being a reliable indicator of the actual status of the agent. When I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Games within a IE brower

    Not real sure if this is a new thread or not, but is it possible to create a game (actually more of a simulation) using the XNA game studio that would run in a browser window Does not necessarily have to actually run from a online web server, just be browser based. Thanks So are we to understand that there is no synergy between XNA and WPF/E http://msdn2.microsoft.com/en-us/asp.net/bb187358.aspx ...Show All

  • Visual C# what is spyware signature and how to generate

    is anyone knows about the above said topic. please help help us in this regard A "spyware signature" is a short string of bytes that is unique to a particular spyware app. It's nothing "official", and is determined by an anti-spyware author who analyizes the hex dump of the spyware app. Using the same procedure, a signature could be found for any executable, and a single executable could provide several different signatures depending on whos looking for them, and how they go about it. (Since Anti-virus/anti-spyware authors talk to each other and trade signatures, you should allways be a bit suspisous about the number of virsuses/spyware a utility detects --- odds are, they are looking for several of them twice ...Show All

  • Visual Studio Express Editions fillby query using like

    I am attempting to fill a table based on using fillby as show: what am I missing the fillby returns no values even for a single letter in a DB with over 500 records Private Sub FillByNameToolStripButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FillByNameToolStripButton.Click ' Add search characters % Dim strname As String strname = "%" & Me .NameToolStripTextBox.Text & "%" Me .NameToolStripTextBox.Text = strname Try Me .CustomerTableAdapter.FillByName( Me .MaintenanceDataSet.Customer, NameToolStripTextBox.Text) Catch ex As System.Exception System.Windows.Forms.MessageBox.Show(ex.Message) End Try End Sub ...Show All

  • SQL Server Assigning extra information to all database table fields

    I'm an experienced desktop app programmer, but fairly new to database programming. I'm working with C#/SQL right now. I understand the concept of a lookup table, as in storing a two-character state (such as CA) in a field in one table, and then being able to get the full state name (such as California) from a second table: Table: Address AddressID int <PK> StateCode char(2) <FK> ... Table: State StateCode char(2) <PK> StateName varchar(25) My question: is there some similar way to be able to provide just about every field of every table with a means of holding common, extra information For instance, let's say I wanted to store, say, an extended name and some special code with every field in th ...Show All

  • Windows Forms DataGridView - Copy only selected text

    Hi there. I am having an annoying problem with a DataGridView not linked to any database; I save/load to/from a simple XML file. (Using VSNet 2005 release version - developping in VB.NET) When editing a cell's content, highlighting a portion of text and pressing CTRL-C, the complete cell content is copied to the clipboard. Is there an easy way to only have the selected text copied on CTRL-C I know that I can achieve this by right-clicking on the selection and selecting copy, but for speed, I would like to use the CTRL-C method. Also, why is that when I press SHIFT-SPACE, the complete line is selected Thanks for the help, Zolt I can't help but I would like to ask if the problem of ...Show All

  • Visual Studio Team System changing TFS server name

    Hi, I have a single server installation TFS with AD Authentication. The Server was defined as a test server for poc and trial. Now the team wants to change this server to be a production server. according to naming standarts, the team wants to change the server name. has anyone encountered a similar scenario and configured some best practices for that. I myself can think of 2 difirent scenarios: 1. ghost the server, change the server name, start troubleshooting any araising problems (not that good i suppose). 2. ghost the server, uninstall the tfs server, change the server name, install tfs from scratch. any ideas guys I can add one more scenario that I would like to do ...Show All

  • Visual Studio Team System Modifying Work Items and TFSWarehouse Impact?

    Good day all, I'm fairly new to my role as a TFS Administrator. In general I am looking for the correct approach for being able to identify and how to retrieve where data is stored for new fields created for work items. I am familiar with the commandline tools (witimport, glimport, etc..), modifying the xml files that drive TFS, and I am also familiar with the TFSWarehouse relational database schema and relevant tables(work item, current work item, person, etc). Just to be clear, haven't touched the TFSwarehouse OLAP database, didn't think I had to... But maybe that's also a problem Basically, prior to being our firm's administrator, my predecessor added a field that exists in current work item table, but it does ...Show All

  • Visual C++ How do I build binary with debug information?

    How do I build binary with debug information So that I can debug the program using the debugger That's strange. By default, debug builds should include debugging information for you. The options which control debugging information are /ZI (Project Properties -> C/C++ -> General -> Debug Information Format), the optimization switches (C/C++ -> Optimization -> Set to /Od preferably), the _DEBUG define, and linker debug (Linker -> Debugging -> Generate Debug Info / Generate Program Database File). This only works for EXEs/DLLs you create. It won't work for a DLL you did not write. ...Show All

  • Visual Basic [OTP]Could I use Excel.Application in the Excel library to control the Excel application in the ASP.Net?

    Could I use Excel.Application in the Excel library to control the Excel application in the ASP.Net Dim xl As New Excel.Application xl.UserControl = True Try xl.Workbooks.Add() xl.ActiveSheet.Name = sheetName 'xl.StatusBar = "Loading the DataSet...." Catch MsgBox("Error add new spreadsheet in the Excel", MsgBoxStyle.Exclamation) 'Reset to original region System.Threading.Thread.CurrentThread.CurrentCulture = oldCI Exit Sub End Try The answer to this is that in an ASP.NET application this will create a instance of Excel on the Server and NOT on the client which is what I am assuming you would probably want to achieve. This question is probably best asked on the forums related AS ...Show All

  • Visual Studio in VS2003 documentation we have 3 big modules

    1/ - Developing with Visual Studio .NET - Visual Basic and Visual C# - .NET Framework -And Finally the MSDN part When should I ise each of them to learn .Net. And what scenarios pls. I get confused between all those pieces of documentation. 2/ Also when is a good time to go to the Articles or periodicals and quickstarts Thank you Should Microsoft put this section in VB and C sharp languages then: Visual Studio   Language References For now, It s included in language references, in references in Developing with Visual Studio Thanks ...Show All

  • Visual Studio 2008 (Pre-release) Lots of ListView Items in my ListView = LAAAAGG....

    My program is quite simple really, but for some reason, when I have a lot of items in my ListView, the program hates my computer, and slows the whole thing down kinda. When I have just a few items in there, it works just fine. But, when I'm getting an array of files from GetFiles(path, searchpattern, alldirectories) or whatever, and am putting it in the ListView, where there's ALOT of files listed in there, which I might need in my program, it slows it down. There could be over a thousand files in that ListView. I really don't know how many songs I have. But, what could be the issue here I am using the latest .NET Framework 3 (downloaded like 2 days ago), Visual C# 2005 Express Edition, and I'm running on Windows XP SP2 (latest updates, e ...Show All

  • Windows Forms DataBinding , wrong values

    Hi! I make DataBindings in my app and don't work good, binding controls show erroneous values. I have two DataTables, PersonsDataTable with columns{"ID","NAME","LNAME","PHONE","LANG_ID"} , and LangsDataTable with columns {"ID", "LANG"}. I'm trying that when i change the value in cmb_Combo, all controls changes to the its respective new value, but altought all controls changes its values ... ALL VALUES ARE WRONG !! I don't why, and i don't know where obtain this values, but point to an erroneous register .... i'm desperated, because i thought that was a correct values, and today, by chance, i test the values with the SQLServer ... surprise! Please help. I stoped the code to see the DataTables content and is correct. ...Show All

©2008 Software Development Network