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

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

DerekForsbloom

Member List

Jocchan
DamsDev2007
Anthony Sneed
connect2sandeep
Yoramkr
zhang_honggang
dinh xuan dung
R.Tutus
harveyk
Crazy Engineer Kid
c699976
Ceres629
EsteemDE
James_Steven
Andy_Aldium
MrJP
Greg.B
Gravy
Barry333
kidwidahair
Only Title

DerekForsbloom's Q&A profile

  • Windows Forms Problem with DataMember of DataGridView

    Hello, I am having some problem with flitering a dataset and setting the same data set as the source of a datagridView. customer_list.Tables[0].DefaultView.RowFilter = "Surname like '" + textBox1.Text + "%'" ; this .dataGridView1.DataSource = customer_list.Tables[0].DefaultView.ToTable(); this .dataGridView1.DataMember = "customer_list" ; But it is not working. In my earlier projects the same code worked fine with dataGrid, well, i did not have to specify the datamember in that case to see the data. Can anybody please tell me, how do i simply show the data of a DataSet(thats been flitered) in a dataGridview well there may not be any records to show with your criteria search. t ...Show All

  • Visual Studio Express Editions How do I select rows in DataGrid with values

    Hi, How can I select all rows on tableviewgrid However, I don't want to select a new row i.e: colunm1 | column2 ------------------------------ 1 | 'xxx' 2 | 'ddd' * null | null -> new row When I use selectall(), new row is always selected, but I don't want. How do I select rows with values cheers, SelectAll will of course select all the rows, even if no data is there/new row. why dont you, when processing the selected cells, check to see if the last row contains data and if not then skip it and do the rest of your process request i will see what I can come up with - not thinking the usual self at the moment!   ...Show All

  • Visual Studio Tools for Office Custom Dictionary Problem

    Hi Guys, I am a sri Lankan. I want to plug a sinhala Dictionary and validate the spellings, written in sinhala. So when user right click on the spesific word the word i select from the data base has to be shown in the spellin list insead of english. if you have any code or resource which can help me to do this please tell me. Tharindu (Sri Lanka) Hi Guys, Need to know how to plug a Custom Dictionary to Office word using C#. We need to plug Sinhala(Lanuage of Sri Lanaka) Dictionary. Also need a way to disable the word or close it when its in Visible= False state. Thanks Tharindu ...Show All

  • Windows Forms Listening to key events in a picturebox

    According to http://msdn2.microsoft.com/en-us/library/z89a4506.aspx there should be key stroke events to listen to from a picturebox. But when i try to use them they are not there in Visual studio Any suggestions as to why Your user would want to correct typing mistakes. And see a caret. And use the Home, End and arrow keys. Perhaps use copy and paste. Use a TextBox. ...Show All

  • SQL Server How to upgrade SQL 2000 standard to SQL 2000 Enterprize?

    I don't need 2005 obulay@hotmail.com From BOL (Books Online): How to perform an edition upgrade within SQL Server 2000 (Setup) To upgrade a SQL Server 2000 installation to a different edition of SQL Server 2000 1. Insert the MicrosoftR SQL Server 2000T compact disc for the edition you want to install into your CD-ROM drive. If the compact disc does not autorun, double-click Autorun.exe in the root directory of the compact disc. 2. Select SQL Server 2000 Components, select Install Database Server, and then setup prepares the SQL Server Installation Wizard. At the Welcome screen, click Next. 3. In Computer Name dialog box, select Local Computer or Remote computer. 4. In the Installation Selection dialog box, click Upgrade ...Show All

  • SQL Server how to do this "between dates" query?

    Hi, I have a query as follows: SELECT SUM(Total) AS WeekRetailTotal, COUNT(*) AS MonthRetailOrderNo, DATEPART(wk, OrderDate) AS SalesWeek, YEAR(OrderDate) AS SalesYear FROM dbo.Orders_Retail WHERE (account = @Account) AND (OrderStatus <> 'Deleted') AND (PayStatus <> 'Pending') AND (OrderStatus <> 'Refunded') GROUP BY YEAR(OrderDate), DATEPART(wk, OrderDate) ORDER BY YEAR(OrderDate), DATEPART(wk, OrderDate) the results look like this WeekRetailTotal MonthRetailOrderNo SalesWeek SalesYear £397.55 8 3 2002 etc etc for each week in a year and then it goes onto the next year. What I would like to do, is feed the query a variable as the start week a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Need HELP reading a sprite file!

    I've got an old game from 1996, it's really simple. Has great sprites I want to pop into an XNA project, but I'm unsure how to read the file because it's in a strange format. The file extension is .AR I know the .AR files contain multiple frames of sprite animation, and you can see the internal sprite names with a hex editor. I was thinking maybe it's a unix archive but I doubt it. Anyway, how do you recommend I read these Thanks, Glenn. I did actually send an email to the project manager for the game, we'll see if I get a response. In the meantime, I think I can video capture the animations I want and make my own sprites. Are there any design patterns for sprite animation The XNA kit prob ...Show All

  • Windows Search Technologies WDS not indexing new folders

    Thanks for your time. I'm using WDS 3.0 with the unc/fat patch to index a network folder.  It appears as though my installation of WDS isn't indexing newly added folders.  There are folders that are over 3 days old that don't appear to be indexed - if I search for files contained within these folders, the search doesn't produce any results.  I've verified that the index now option is enabled.  If I rebuild the index, the files in the newly created folder appear in the index and search results.  I've verified that the new folder appears in the list of Included Locations, and is checked. Any ideas   Can you check if an application with the name uncfa ...Show All

  • .NET Development Create table access database?

    I have access database,one table Table1 and I wont to create another table but with the same structure as the table Table1 (columns: Broj iksice,Prezime,Ime,Broj indeksa,Broj pohadjanja). I used this code: Dim veza As OleDb.OleDbConnection = New OleDb.OleDbConnection(Global.Diplomski1.My.MySettings.Default.Studenti1Connection) Dim comm As OleDb.OleDbCommand = New OleDb.OleDbCommand("CREATE TABLE Marko ([Broj iksice] DOUBLE PRIMARY KEY UNIQUE, Prezime TEXT(30) NOT NULL, Ime TEXT(30) NOT NULL, [Broj indeksa] TEXT(20), [Broj pohadjanja] INTEGER)", veza) comm.ExecuteNonQuery() for creating table in the database. Code for creating table in the dataset Studenti1Data Private Sub Button6_Click(B ...Show All

  • Visual Studio 2008 (Pre-release) "Render loop", performance

    Hi, I have a little scene with 517 diffuse polygons that I animate in a Page using: protected override void OnRender(DrawingContext drawingContext) { //...create rotateXform this._modelGroup.Transform = rotateXform; base.OnRender(drawingContext); this.InvalidateVisual(); } I get terrible framerate, about 4 fps, and I've seen more complex scenes (like http://thewpfblog.com/ p=36 ) perform at least 20 times better. Is the render loop above bad or is it probable that it's something else in my setup I can post code tomorrow if needed. Thanks, Jonas The answer was to use the VisualTarget.Rendering event. It doesn't give a very steady framerate, and there seems to ...Show All

  • Visual Studio Team System Same Word can appear in multiple dictionaries - related to rule CA1704 - Recognized Word 'Num'

    One of our projects requires the word 'Num' to be a recognized word. I implemented an xml custom dictionary and added 'Num' to the <Recognized> words section. FXCop (1.35rc1) still reported it as a violation of Rule 'CA1704' in class IdentifiersShouldBeSpelledCorrectly. After examining RuleUtilities.ReloadCustomDictionaries, IdentifiersShouldBeSpelledCorrectly.IsSpelledCorrectly, and IdentifiersShouldBeSpelledCorrectly.Check it looks like 'Num' is added to the unrecognized words by default via a resource file (Microsoft.FxCop.Sdk.Resources.Unrecognized.txt) and then added to the recognized words via my custom dictionary in the ReloadAdditionalCustomDictionaries method. The problem is that the word is in 2 dictionaries (unrecognize ...Show All

  • Visual Studio Express Editions How do I make a custom Control?

    Okay, hopefully I'm phrasing this question correctly. I'm writing a sort of black jack game. I have, in my project, a card class. One of the properties of the object contains the image of the card, which I can use to pass the image to a picture box on a form. This works okay. But what I want to do is actually place the card object itself on the form. How do i create a class from which I can instantiate an object that has a visual element that I can actually drop on a windows form, and possibly add events and so forth... ala a custom control If someone could maybe point me to the correct article. I've been searching, but i don't think I'm phrasing my question correctly. Thank you and best regards ...Show All

  • .NET Development sorting by teamID

    Hello, i have a Access database and am trying to create an aspx page from "lis_per" table which should be sortable by TeamID. I have written the following code and when i run it , it gives me "oledbexception was unhandled by usercode" pointing to the statement " dgrdpersons.DataSource = cmdselect.ExecuteReader()" in code. says syntax error in ORDER BY clause System.Data.OleDb.OleDbException was unhandled by user code ErrorCode=-2147217900 Message="Syntax error in ORDER BY clause." Source="Microsoft JET Database Engine" StackTrace: at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForS ...Show All

  • Visual Studio VS2005 Include Folder configuration madness

    Hiya, We're in the process of testing one of our add-ins against VS2005 Pro RTM, and along the way we are encountering some very, very odd behaviour. The latest to surface relates to the Visual C++ include folder configuration. In VS2002 and VS2003 you can simply grab a VCPlatform object directly from EnvDTE::Properties:Item(L"Platforms") and use it irrespective of whether a solution is open. Unfortunately, the Platforms property has gone in VS2005, to be replaced by "IncludeDirectories", which contains the raw (i.e. including macros) include folder configuration. So far, so good...except that we still need a VCPlatform object (or something related to it; VCProject or VCProjectEngine should do just as well) to expand the mac ...Show All

  • Visual Studio 2008 (Pre-release) UserControl call window method

    I need a UserControl to call a method on its parent window. What are my options Can I bind a method on the usercontrol to the parent Or is there some other way Brian I'm not sure if I understand your scenario. Do you mean that you have a UserControl that is shown in a Window. Lets call this window as Window2. Window2 has an owner Window, Window1. Now, from the UserControl, you want to call an API on Window1 ...Show All

©2008 Software Development Network