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

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

nhaas

Member List

CPedersen
minority80
Rafael (Live Butterfly)
mme0927
Chardiot
ElectricBliss
bryanedds
Hery Susanto WR
SharePointing
LORD ORION
Julia Semenova
Courtney Goodin
kettch
Varix
DanMeyers
RagsIyer
Raoul_BennetH
Asday
pnp
Hockey Nut
Only Title

nhaas's Q&A profile

  • Software Development for Windows Vista Windows Media - Live Broadcasting.

    Hello, I'm using windows media encoder SDK to broadcast live video from a capture card (Osprey).  But the live video is 6 to 12 seconds delayed.  Please let me know if you have a solution to reduce the delay or any other technology, which gives live video without delay. All I'm looking for is to broadcast video LIVE from a capture card with zero delay. Thanks in advance. In addition to the compression delay, the WME buffers some amount of video to smooth out tranmission delays. It seems to me you would reduce the delay, but you can't eliminate it. If up-to-the-instant is a requirement, you may need to look at creating your own solution (not a simple task). ...Show All

  • Visual Studio Express Editions How can I converte a file type into a .swf

    Hey does anyone know how to make a video converter into a .swf. I don't want to make money off of this. I just want to make a simple converter so people can submit it to one of my new programs(witch is a flash program). This may help...it's on Adobe's Website. http://www.adobe.com/products/flashplayer_sdk/ ahmedilyas is correct (of course ;) ).  SDKs from the company that created the technology you wish to use are the only way, unless you can successfully reverse engineer their technology. Which, most of the time,  is illegal. ...Show All

  • Windows Forms RichTextBox help needed!

    Hello, I am writing a fully featured text editor. How can I code this: When the user clicks Save, it saves any changes to the current open file. If the file has not been saved yet, it launches the Save As code. Also, when the program exits, how can I make the program check if there are any unsaved changes, and ask the user if he/she would like to save the file. Matt How can I detirmine wether to save a file or to save as a file. I got save as working just fine. Now I need to determine weather a file has been opened or save as. How can I do that Matt ...Show All

  • Visual C# How to write to Excel file?

    I am using Visual Studio 2005 standard verison。 And I want to save data from SerialPort to an Excel file since the TXT file is not powerful... Is there any related material about realizing this I do not have the VSTO and there are few examples using Visual Studio C#... Thanks! Add Reference to Microsoft Excell 11.00 Object Modell Excel.Application exApp = new Excel.AppLication(); Excel.Workbook wrk = exApp.Workbooks.Add(Type.Mising); Excel.Range rng = (Excel.Range) exApp.Cells[1,1] rng.Value2 = "Test A1 Cell" rng = exApp.Cells[2,1] rng.Value2 = "Test A2 Cell" It depends of your version Excel COM wrapper, but If you don't see Excel namespace that should be Microsoft.Office.Interop.Excel   ...Show All

  • SQL Server Question about OUTPUT clause

    In the past when inserting a record into a table with an identity column, to return the new identity value I used one of SCOPE_IDENTITY, IDENT_CURRENT, and @@IDENTITY. Question: will this sql 2005 approach also provide the newly added identity value insert into TestTable -- ID column of testtable is an Identity field output inserted . id , inserted . col1 into @insertedRecords values ( 'row 20' ) select ID from @insertedRecords TIA, Barkingdog . Sure can. Did your attempts not work Here is a script to demo: create table testTable ( testTableId int identity primary key, value varchar(10) unique ) go declare @insertedRows table ( t ...Show All

  • .NET Development Little help with closing socket

    Hi, im sending bytes over a socket form pocket PC to desktop Pc. Sending is working ok. Now I wish to close the socket on PocketPC side, so I use the following on pocket PC: handler.Shutdown(SocketShutdown.Both); handler.Close(); handler = null; But on the desktop side the socket is not closing Heres what I have on desktop side: private void startListenThread() { writeLine("Starting Service..."); while (true) { allDone.Reset(); socket.BeginAccept( new AsyncCallback(acceptCallback), socket); allDone.WaitOne(); } } public void acceptCallback(IAsyncResult ar) { allDone.Set(); // receive Socket lis ...Show All

  • SQL Server I need to know the data changes in some table on a row level

    Hello Guys I have a table, contains some fileds When update statment runs, I need to know which columns has been changed and to know the old and the new data for each row simply i need to do the following in a trigger: For each row ROW in tbl_Table for each col COL in ROW Save COL.oldValue and COL.newValue I don't know how to do it by cursors and I don't want to use Cursors If any one can help or provide a good advice, please help Thanks and have a great day Hi It is very simply. From Books Online: "DML trigger statements use two special tables: the deleted table and the inserted tables. SQL Server 2005 automatically creates and manages these tables. You can use these temporary, memory-resident ta ...Show All

  • Visual C++ C2027 Error: Full class declaration required: Bug?

    Hi, This may touch on some obscure corners of the C++ standard, but I believe the example below should compile as is, without the full declaration of class Atom. Comments Thanks. Stuart ____________________ // Shows VC++ 2005 Bug Requiring Full Class Declaration Where Forward Declaration Should Suffice // Compile: cl /EHsc forward.VC.bug.cc (other options didn't make a difference) // Error: error C2027: use of undefined type 'rosetta::conformation::Atom' // Compiles without warning on: GCC 3.4 and 4.0, and Intel C++ 9.1 // Compiles if: // . Full Atom.hh header is included // , std::vector is used instead of vector1, // . vector1 dtor is made non-virtual // . typedef for Atoms_Iterator is removed // Something about the vector class hierarc ...Show All

  • Visual Studio Express Editions progressbar color

    in the property section it has back color and fore color.... but they dont seem to work.....when I change the colors it still just shows green on white... why is this...is it a fault with vb express thanks thank you dave I never thought of that....I just dont understand why the options are in the property section if they dont work.... anyway....I will consider your advice later and make my own...... at the moment I got teddy bear troubles.......lol cheers cheyenne ...Show All

  • SQL Server Copy of standby/readonly DB into a read/write DB

    Any idea to copy a standby/readonly database. We a have a standby/readonly DB from logshipping for hot standby and we would like to make a copy of this standby/readonly DB into a read/write DB in the same server for daily testing. Thanks in advance! If you're log shipping you must have a copy of the database there already - just create a job to restore another copy under a new name. ...Show All

  • Visual Basic Out of Memory Error - Framework 1.1

    I have a VB.NET 2003 application that cycles through images and videos on a timer event. After a few hours of operation it 'bombs' with a 'out of memory ' error... ANY HELP would be appreciated. I attach the relevant code sections ---- Source Code ---- Private Sub InitVideoPlayback() Dim appPath As String appPath = Application.StartupPath appPath += "\video" Try Dim dir As New System.IO.DirectoryInfo(appPath) ImgVideoFiles = dir.GetFiles() NextVideo() Catch e As Exception MsgBox("Could not load video " + appPath + ". " + e.Message, MsgBoxStyle.OKOnly) End Try End Sub ...Show All

  • Internet Explorer Development IE7 Bug: min-width input

    It appears as though IE7 applies the min-width value as width on input elements with type attribute values of button , reset , and submit . Example : http://steve.ganz.name/examples/Forms/min-width-input.html According to the CSS 2.1 specification , min-width can be applied to all elements but non-replaced inline elements, table rows, and row groups . As far as I can tell, the input element is a replaced element so min-width should apply. ...Show All

  • Visual Studio Express Editions Detect event for Windows logout/shutdown

    Hi, I use VB2005 and i need to develop an application that start by itself when a user log in and launch a last command when the user log out or shutdown windows. To start the application it's ok and fine but i'm not able to find in any documentation how in a console application you can create a addhandler command that will be triggered when the user leave windows or shut it down ... Any help would be greatly appreciated! Thanks, N. i tried that but it doesn't do anything, i still see my form >< Is there a specific sub/function to use this command ...Show All

  • Windows Forms Control dynamically added to panel is not generating events

    I have a splitter container (SC) that has 2 adjacent panels (P1) and (P2). P1 has a DeviceTreeView control that generates events that are handled by the top level easily.However, in P2 I want to dynamically create different views so I create panels (Px) dynamically that I can switch back and forth from (works fine - events to change panels are triggered from the tree in P1).The problem arises when I put controls into the different panels, Px. The controls are not handling events that they have been configured for. The events are being handled at the container level and never get to Px.This is a windows application written in c#. The events for the controls are being associated with handlers that are in Px and are added (+=) directly after ...Show All

  • Windows Forms How to set the forecolor/backcolor in the row/col headers in a Data Grid View?

    This code in a form's constructor: Controls.Add( new DataGridView ()); DataGridView newDataGrid = ( DataGridView )Controls[0]; newDataGrid.Dock = DockStyle .Fill; DataTable Moose = new DataTable (); Moose.Columns.Add( "Col1" , typeof ( String )); Moose.Columns.Add( "Col2" , typeof ( Int32 )); Moose.Rows.Add( new object [] { "Value1" , 1}); Moose.Rows.Add( new object [] { "Value2" , 2}); Moose.Rows.Add( new object [] { "Value3" , 3}); newDataGrid.DataSource = Moose; newDataGrid.DefaultCellStyle.ForeColor = Color .Green; newDataGrid.DefaultCellStyle.SelectionForeColor = Color .Green; newDataGrid.DefaultCellStyle.BackColor = Color ...Show All

©2008 Software Development Network