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

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

Jubber

Member List

DarthCoder
JavaBoy
m.schlestein
JRQ
dabd
Noldona
stephane - Montpellier
BigBro
Worf
chaza
CodeJingle
drugshrink
Jmedeira
Paps
AnnNeedsHelp
Demonslayer
tiomeg
Michael Collins
Clinton Chau
meFox
Only Title

Jubber's Q&A profile

  • Visual Studio Team System Listing all files that changed between build (x) and build (y)

    Hello-- one of our customers has the following question: Given five incremental builds within a given time period, how do you list all the files that changed between build (1) and build (4) Is this possible With tf command line tool I think you will be able, check it here the refernece http://msdn2.microsoft.com/en-us/library/cc31bk2e.aspx And here you have a sample on how to get differences between two labels: tf diff $/SourceFolder /r /version:label1~label2 ...Show All

  • .NET Development Receiving Data From PDA and Read its data error.. pls help

    I am currently creating a project for which my PDA will send its mouse event over to the remote PC and the program at the remote PC will read its data. but i am currently get a "ArgumentException was unhandled" : "Argument Length must be greater or equal to zero" in the function Private Sub SerialPort1_DataReceived( ByVal sender As Object , ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived txtreceive.Invoke( New myDelegate( AddressOf updateTextBox), New Object () {}) End Sub my full program belows: Public Sub updateTextBox() txtreceive.Text = "" With txtreceive .AppendText(SerialPort1.ReadExisting) ' & vbCrLf) ...Show All

  • Visual C++ c1xx attempting to compile first preprocessor directive.

    Yesterday I didn't notice any problems with my project, but today whenever I change a file, it compiles the changed file, and then attempts to compile the first preprocessor directive I've defined (in my case WIN32). The exact error reads as follows: WIN32 c1xx : fatal error C1083: Cannot open source file: 'WIN32': No such file or directory After I get this error once, I can recompile again, and since the changed file has now been compiled, it goes directly to linking and doesn't spit this error out again. I'm using VS2005 Standard Edition. What can I do to fix this or to get more information on what's happening I'd added an environment variable which had now been removed, thus cr ...Show All

  • SQL Server Unload tape after backup maintenance plan

    I have used google and searched these forums but haven't found an answer. Here is my problem: I have MS SQL 2005 DB I need to backup to tape daily. I want the tape to eject (or unload) when it is complete. I know how to do it with a manual backup (simply check off the option), but there aren't any options I can see with a Maintenance Plan backup. I would rather not do a manual backup EVERY DAY. I really don't understand why MS makes this so complicated...why would the option be in another area when you use a maintenance plan Thanks for replys!!! In order to have that level of control over the backup task, you need to take control of the T-SQL yourself. The best way to do that is to create a new TSQL ...Show All

  • Windows Forms Databinding question

    I have a table that is a child of a parent table. Meaning the child table has a column containing the ID of the parent. I'd like to know if its possible via bindingSource to be able to get information of the parent via the ID in the child table without programming anything. I know that a parent-child is possible via bindingsource pointing on the relation. but i'd like to do the reverse. getting information of the parent with an ID present in the child table. Thanks, Getting information of the parent with an ID present in the child table maybe can achieved by T-SQL. SELECT ParentTbl.* FROM ParentTbl inner join ChildTbl on ParentTbl.ID=ChildTbl.ID WHERE ChildID = ...Show All

  • Audio and Video Development How to use fullscreeen mode?

    Hi. I'm trying to use Full screen mode in my player. I called IMFVideoDisplayControl::SetFullscreen(TRUE) while playback was running, but it will blackout screen and doesn't show any picture. My player creats topology below. source->decoderMFT->EVR decoderMFT uses DXVA2.0 and MFT_OUTPUT_STREAM_PROVIDES_SAMPLES flag on. What should I do to show picture on full screen Thanks. kasumi. I have same problem about fullscreen mode. Could you teach me when the problem will be solved And would you mind giving us details on your video card I want to try at the same environment. My best regards. ...Show All

  • Visual C# How can I retrieve advanced file information?

    ...Like the Title of a song, the Bitrate, Album, etc. Thanks, absolutely - I did it in VB.NET since the post was in the VB forums But anyway: FileStream theFileStream = New FileStream (PathToFile , FileMode.Open); Byte[] theByteBuff = new Byte[128]; theFileStream.Seek(-128, SeekOrigin. End ); theFileStream.Read(theByteBuff, 0, 128); theFileStream.Close(); System.Text.ASCIIEncoding theEncoding = New System.Text.ASCIIEncoding(); string theTagInfo = theEncoding.GetString(theByteBuff); If (theTagInfo.Contains( "TAG" )) { string theTitle = theTagInfo.Substring(3, 30).Trim() ; string theArtist = theTagInfo.Substring(33, 30).Trim(); string theAlbum = theTagInfo.Substring ...Show All

  • SQL Server How do you backup a database using sql server 2005 express???

    I know there isn't a backup feature but I was wondering if there was a way to back up a database Thanks!!! why not just write a windows service using VS2005 templates and run the service on the server The service could execute a SP that backs up the database. That sounds like the most reliable way (and very simple) to emulate the sql server agent backup functionality. -Andy ...Show All

  • Windows Forms DataGridView contextmenu strip issue

    I have a dataGridView whose columns have a contextmenu strip. When a cell is being edited I don't want to display a context menu on right click. I am using contextMenuStrip_opening event to set the options on contextmenu depending on the row that is clicked. Suggestions will be very much appreciated. for for my DGV contextmenustrip, I use the event: dataGridView1.CellMouseDown+=new DataGridViewCellMouseEventHandler(dataGridView1_CellMouseDown); then in that function I determine if it was a right click and where the click was. So you can easily check to see if that cell is in edit mode and then set the DGV's contextMenuStrip: private void dataGridView1_CellMouseDown(object sender, DataGridView ...Show All

  • Visual Studio Automatic removal of unused variables?

    I have migrated my project from VS2003 to VS2005 and now getting lot of warnings such as unused variables.So is there any tool or utility which can remove such warnings --Deepak Hi Deepak, Gabriel is right - using ReSharper Quick Fixes functionality you can delete unused variables one by one, which is not very convenient if you have plenty of them. However, you can easily write a plug-in for ReSharper which does removal of unused variables automatically. ...Show All

  • Visual C++ C++ "interface" and "abstract" keywords

    I'm a bit confused about the above keywords. The documentation doesn't expressly answer my questions: 1) Are these MS CLR specific or also included in the C++ standard 2) When do you use "interface" and when do you use "abstract" I am familiar with their syntax, but its not clear which to use to declare a managed base class with a few pure virtual functions. The class is to be used as an interface class (as in Java), and will be inheritted by subclasses. The objective is to call functions of subclasses with an object pointer to their base class. [code] //----------File Iconfig.h using namespace System; ref class IConfig abstract { public: IConfig(void){}; //"=0" makes pure virtual method that subclass MUST ...Show All

  • SQL Server SetDefaultInitFields fails for a Column using ExtendedProperties

    Hi, Using SetDefaultInitFields fails for a Column when specifying "ExtendedProperties" as a field. note: SetDefaultInitFields seems to be ok with "DataType" as a field. The exception is "unknown property ExtendedProperties". Thoughts on what might be the issue with loading the ExtendedProperties Thanks, Andy B Following is a snapshot of the test code: System.Data.SqlClient. SqlConnection dbConnection1 = new System.Data.SqlClient. SqlConnection (); dbConnection1.ConnectionString = "Data Source=.\\SQLExpress;Integrated Security=SSPI" ; dbConnection1.Open(); Microsoft.SqlServer.Management.Common. ServerConnection serverConnection1 = new Microsoft.SqlServer. ...Show All

  • Smart Device Development Datatable refuses to go out of US date time format C#

    This C# does not seem to work: newTable.Locale = new CultureInfo ( "sv-SE" ); // newTable is a Datatable  It's still in US datetime format. I've tried lots of different constructs. I working in Windows CE 5.0 I just do a regular fill on the DataTable: try { StringBuilder selCmd = new StringBuilder (); selCmd.Append( "select * from " ); selCmd.Append(tableName); mimerDataAdapter = new MimerDataAdapter (selCmd.ToString(), mimerConnection); table1.Clear(); mimerDataAdapter.Fill(table1); dataGrid.CaptionText = tableName; dataGrid.DataSource = table1; } catch ( Exception ex) ...Show All

  • SQL Server SP_SPACEUSED

    Hi all I guess sp_spaceused is the widely used stored procedure to monitor the space usage. I have found some interesting things recently in the stored procedure. If you compare the SQLServer2000 and SQLServer2005 implementations there is a dfiference in the way that the various calculations are made. In 2000 , sp_spaceused excludes all the non-clustered indexes with the filter-- where indid in(0,1,255). The 2005 implementation of the stored procedure includes the non-clustered indexes also(there is no filter-where clause), but it has a comment line saying that /* ** Now calculate the summary data. ** reserved: sum(reserved) where indid in (0, 1, 255) this is really strange. It makes perfect sense to include the ...Show All

  • SQL Server SQL CE and SQL Server 2005

    I have seen some referrences to this on this forum, but nothing specifically dealing with our question. We would like to use SQL Server 2005 on the server side, but need to keep using the SQL CE version on our mobile due to the OS. I'm assuming this is possible, but seem to be unable to find this discussed in any of the publications. Can anyone point me to the appropriate articles Thanks. yes, this is a supported scenario for both RDA and merge replication. See row #4 in the matrix included here: http://www.microsoft.com/sql/editions/sqlmobile/connectivity-tools.mspx -Darren ...Show All

©2008 Software Development Network