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

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

jjsan

Member List

Dentreader
zenkick
Jonesie
RamyaP
Ronan PB 2006
PatrickBrynhowel
Bryan Kardisco
Bill Bassler
Dave U.
Paul Tew
Dietz
ZAKSDG
smithmx
J. Bennett
GreenStone90
Indinfer at Baltimore Med Sys
Pirringer
Nick Winters
BrettDerry
John Källén
Only Title

jjsan's Q&A profile

  • Windows Forms Finding edited rows in DataGridView

    Hi, In my windows application I am using DataGridView as my grid control. I populated let's say 10 rows of data and modified 3 random rows. How can I trap those 3 modified rows without going through the whole row set The DataSource of my grid is a DataView which I create it programmatically. I tried this event: void GridView_CellValueChanged( object sender, DataGridViewCellEventArgs e) { int col = e.ColumnIndex; DataGridViewCell cell = _form.GridView[col, e.RowIndex]; DataGridViewRow row = cell.OwningRow; DataRowView originalRow = ( DataRowView )row.DataBoundItem; // if the fifth column was edited if (col == 4) { if (originalRow.Row.ItemArray[0] != cell.Value) { // save the change ...Show All

  • Visual C# Library help: a set class needed

    Hi I need som tips about finding a library that is implements som sort of a set datatype. That is a collection where all members are unique. Something like the Java languages Hashset implementation: http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashSet.html Thanks Regards .Net Framework have HashTable Class you can look at it http://msdn2.microsoft.com/en-us/library/system.collections.hashtable.aspx ...Show All

  • .NET Development System.OutOfMemoryException when creating a new Thread

    I have got a exception: Exception of type System.OutOfMemoryException was thrown. ---------- The program was thrown the same exception at the same time when i am creating a thread process. Howevert the process is call one time only, why it will thrown the same exception so many times at the one call The problem is occur one time only until now. Normally, the program is running successful. However, I don't knwo why the execption will thrown so many time.... I cannot see any looping or logic problem from the program. Just don't know why the execption will thrown so many time even there is really out of memory... ...Show All

  • Visual C# idle detection ...

    I am developing an application with multiple forms and user controls embedded in panels. After an idle time interval – by that I mean an interval of time when the user does not interact with the application - I would like to launch a form. The stupid way of doing this would be to create a method to manually restart the timer time interval and then explicitly call that method from all “click-handlers” of all form components of all forms and user controls …. I don’t want to do it that way. What is the nice way of doing it, what message/event should I capture to restart the timer interval only from one place Thanks for your help, Dom. Check out Application.Idle , it raises "when the appl ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What games or applications are allowed?

    Hellos I have a few questions regarding the content of the games: Is it allowed to put out advergames sponsored by 3rd party commmercial companies (Either games that feature sponsored splash screens in menu etc or even product placement in the game) Then what about adult content Like how much Blood, Gore, Drugs, Nudity is allowed Do games have to be politically correct cheers Nils Jim Perry wrote: Why does it have to be about money MS releases a lot of stuff free. Gimme a break! A big corporation like Microsoft never does anything out of the goodness of its "heart," aside from giving charitable donations ... and oftentimes even THOSE are government-mandated or beneficial for tax re ...Show All

  • SQL Server Calcuate Min/Max for the data subset

    Hi, I want a measure that calcuates a Min/Max value for a data subset. e.g ProductId SubCategoryId CategoryId UnitCost 1 1 A 10 2 1 B 15 3 2 A 20 4 1 B 5 So when i Analyse the cube I should get Min Max 5 20 Categoryid Min Max A 10 20 B 5 15 But When i go level deep Categoryid SubCategoryId Min Max A 1 10 10 A 2 20 20 B 1 5 15 Please let me know if this is possible using derived memebers or any other way that this can be achived. I am using Analysis server 2000. Thanks Pun ...Show All

  • Smart Device Development Transparent listbox

    hi all, Is there any way to have transparent list box coz i want to implement gradient style in that according to the theme selected.please help needed Hi No, not using the standard .NET CF controls provided out of the box. The OpenNETCF.org SDF provides 'owner draw' capable list box controls. By using these controls you should be able to implement your transparent list box. Michael ...Show All

  • Software Development for Windows Vista Runtime heavy CPU Load

    I want to have a single runtime which will be able to run several workflows here I thought on a remoting server I start my runtime once and attach several workflows to that runtime instance. But the Problem for me it seems that the runtime is always producing 100% CPU load Can anybody tell me if my idea is wrong, may be suggest better one. Or do I have some config problem I create a workflow runtime like this: runtime = New WorkflowRuntime() runtime.StartRuntime() Console.Write( "Workflow started" ) Console.ReadLine() than I see my machine utilization is 100% without staring a workflow instance. ( using 2.2) thanks Wolfram Read this : http://forums.micros ...Show All

  • Software Development for Windows Vista TextBox in Aero Glass Margin??

    Hello, i'd developed an application in Visual Basic .NET Express and there i have a code, which makes a big margin in aero glass ( DwmExtendFrameIntoClientArea), so... ... now if i have there an textbox or an label or anything that's forecolor or backcolor is black, i cannot see the text, because for this margin, windows means, that black is the full glass effect and white is white and so on... how can i solve this problem, how can i make an label or textbox where my text is really black. Please, how did you make the glass in VB.net ! ! ! I have only got it to work in C#. Please reply, softwarejaeger. ...Show All

  • Windows Forms allow user to select which files to install

    Hello, I need to create a setup and deployment in vs2005 that will allow the user to select which executables (I have 4 executables) to install. Can anyone help me get started. Thanks, Michael If you go to the User Interface view, right click Start under Install you can add a Dialog. The one you want is CheckBoxes (B) I think, because it has 4 checkboxes. Add your text, then when the user checks one of them the property CHECKBOXB1 (or CHECKBOXB2 and so on) will have a value of 1, so install a file with the condition CHECKBOXB1=1, CHECKBOXB2=1 for the other file etc. ...Show All

  • SQL Server checking the database existence in sql server

    hi to everybody i'm new member to this site and i don't know where can be a good place for creating this topic pardon me for probable mistake. i need to attach and detach the database in/from sql server in vb.net with hard-code .i can do this without using stored procedure and with SQL-DMO But i can't checking The database Existence for attaching it.now, how can i check the database existense for preventing the attach operation. please help me thanks a lot       But a non-sql server, right Or is it just a file which was named with the extension dbf instead of mdf or ndf Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio MORE INFO - Reportviewer "report is being generated" can't display report - VB 2005 program

    I have a VS2005 Windows application that displays a reportviewer (SQL 2005) report in a tab control, then displays a second report in a second tab with reportviewer, and so on. The really strange thing is that I had this application working for about 3 months. I even had up to 30 reports in 30 tabs at one point. BUT, for some reason now all I get is the first report and the second, third, etc. tabs show a reportviewer with "Report being generated" that never displays the report. Even worse, another user is able to run this application and DOES get all the reports displayed. So what could have been updated on my PC that is causing this problem Thanks in advance. P.S. I also posted this on the SQL Server 2005 forum, b ...Show All

  • Visual Studio Express Editions Does Edit and Continue work in VS2005?

    Hi all, I imported a VC6 project into VS2005, and I cannot get E&C to work - whenever I hit a breakpoint, the menu option is always greyed out. I have the following compiler settings: /Od /D "_DEBUG" /D "_WIN32_WINNT=0x0500" /D "WINVER=0x0500" /D "WIN32" /D "_WINDOWS" /D "_VC80_UPGRADE=0x0600" /D "_AFXDLL" /D "_MBCS" /Gm /EHsc /RTC1 /MDd /Gy /Yu"stdafx.h" /W3 /nologo /c /ZI /TP /GR /errorReport:prompt and linker settings: /NOLOGO /MANIFEST:NO /DEBUG /SUBSYSTEM:WINDOWS /MACHINE:X86 /ERRORREPORT:PROMPT WS2_32.lib Version.lib Winspool.lib Kernel32.lib and, Tools->Options->Debugging: Edit and Continue -> Enabled. ...Show All

  • Visual Studio Tools for Office Problem with locking documents.

    I am trying to automate some letters. For example, I have a drop down box used to select the type of document I want. The document will then load, with tags where customer information can be added. By entering a customer number, a DB is searched and returns and fills in all of the information. There is then an option to create an image of the final document. All of this works fine, except in one instance. If I were to select one type of document, complete and image it, and switch to a new type of document, and image it, the image becomes locked and will not unlock. This is not a problem if I do not switch between different letters. Anyone have any ideas Given this isn't a VSTO specific question you'll pro ...Show All

  • SQL Server How to get Remote Backup

    Is there any way that i can get backup from other(Remote) location on LAN Thanks   ************** Exception Text ************** Microsoft.SqlServer.Management.Smo.FailedOperationException: Backup failed for Server 'xyz,1433'. ---> Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> System.Data.SqlClient.SqlException: Cannot open backup device 'C:\Program Files\abcd\Setup1\Backup\asdasd.bak'. Operating system error 3(The system cannot find the path specified.). BACKUP DATABASE is terminating abnormally. ...Show All

©2008 Software Development Network