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

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

elkadeem

Member List

MDesigner
2007CRXI
vic07
Exclude
Marc Jones
Colin T.
alphonso
dunger
spelger
Yassi
Wout
Charlie Audritsh
Terry Hannah
Skiperr
sha_in
InvestorDrew
Satya vani
jackwc
Bruce M
nelpasa
Only Title

elkadeem's Q&A profile

  • Audio and Video Development New HD DVD players

    Toshiba recently announced new HD DVD players, the cheapest one is $499. But unfortunately True HD tv's are still very expensive. BTW anyone knows if they support persistent storage, or do all hd dvd players have this as default and how much http://www.hardwarezone.com/news/view.php id=5455&cid=5 I think he is living in europe =) Here you get tons of different 'HD ready' devices pretty cheap, but 'HD ready' only means min. 720p.. 1080 devices ( i talk about 'real' TVs not no-name stuff) are starting arround 2500-3000€ (~ 3200 - 3800 US $). But the price drops month by month so i hope that first 1080 displays below 2000€ are availabe until christmas :) ...Show All

  • Visual C# why the format is not uniform

    private void port_DataReceived(object sender, SerialDataReceivedEventArgs e) { comport.ReadTimeout = 300; String s = comport.ReadExisting(); using (StreamWriter sw = new StreamWriter(@"C:\test.txt",true)) { sw.Write(DateTime.Now.ToShortTimeString() +" "+ s); sw.Flush(); sw.Close(); } } The above method is used to write data from the SerialPort to a text file. Below is the result I get in the test.txt: 4:22 PM 1 4:22 PM 2 3 4 5 6 4:22 PM 7 4:22 PM 8 4:22 PM 9 a 4:22 PM b 4:22 PM c 4:22 PM d 4:22 PM e 4:22 PM f Why for "3,4,5,6" there are no time ahead I was lost and could no find the reason.... ...Show All

  • Windows Forms Problem removing column

    I would like to remove an autogenerated column, so I wrote some code similar to the following dataGridView1.AutoGenerateColumns = true ; dataGridView1.DataSource = customersDataSet; dataGridView1.Columns.Remove("Fax"); Unfortunately, an exception thrown because the Columns collection is empty. If I don't remove the column, the whole table is displayed as usual. It seems that the Columns collection had not been populated at the time the Remove method was invoked. Can anyone tell me how to resolve this problem Thanks! Reference: http://msdn2.microsoft.com/en-us/library/hbtwc35f.aspx The code was in the constructor of the form. I have tried moving it to the load event handler after reading your suggestion and no exception was ...Show All

  • SQL Server ClusterDistance() of Zero for All Cases

    I recently added a nested table to a model that I had been using for a while. I noticed that after I added the nested table that the ClusterDistance() function returned 0 for every case. I went ahead and changed some of the keys for the nested table records so that the values would show up as missing and now the cases with a missing value have a non-zero ClusterDistance() value. Can anyone help me understand why this may be happening Thanks. How many clusters were in the model And what is the result of the Cluster() function for each case Can you post the cluster content (SELECT FLATTENED * FROM ModelName.CONTENT) Thanks -Jamie ...Show All

  • SQL Server WQL Query - Where Cluase

    Hi, I am trying to collect windows event log in a raw format. I need to collect this data everyday for the past day but somehow I can't use the date criteria. Please Guide. The following query also brings data for 20061104 too. Is there a date function or Left function which I apply to get data only for specified date. SELECT ComputerName, Logfile, RecordNumber, Category, CategoryString, EventCode, EventIdentifier, EventType, Message, SourceName, TimeGenerated, TimeWritten, Type, User FROM Win32_NTLogEvent Where LogFile = 'System' and TimeGenerated >= '20061105' and TimeGenerated < '20061106' Yes, I want to get data for 2006-11-05, Date Format for Timegenerated is 20061101185842.000000-300. My server date format is ...Show All

  • Visual C++ Where can i find all the description for all the system lib such as Winmm.lib ,Wsock32.lib

    Where can i find all the description for all the system lib such as Winmm.lib Wsock32.lib Vfw32.lib Wininet.lib MSIMG32.lib I mean from the description, i can know how to use the lib Thanks Look up the description of the API function you want to use in the library. At the bottom of the page, it shows which library you need to link. Here's an example ... ...Show All

  • Visual Studio Express Editions Auto scroll

    Hi, I have information coming into a listbox and would like to know if there is anyway to have it automatically scroll down to the newest information received. Ken Just set the SelectedIndex either to the end of the list (if that's where you are adding the new items) or to the index where you have inserted the item. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ListBox1.Items.Add("This is a new item") ListBox1.SelectedIndex = ListBox1.Items.Count - 1 End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click ListBox1.Items.Insert(56, " ...Show All

  • .NET Development Exception: An established connection was aborted by the software in your host machine

    I get following exception each time i try communicate: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine I have very simple flow: 1. Send synchronized HTTP request 2. Call WEB service API in block mode 3. Send asynchronous HTTP request. The third request always fails no matter what i do. All requests are sent to same host though different servlets. Host machine is running Tomcat WEB service within J ...Show All

  • .NET Development System.ComponentModel.Win32Exception:Incorrect Function error in Windows Service using a FileSytemWatcher

    Hello! I have a windows service which monitors a UNC share path for any incoming files and moves them to a new loaction on the same UNC path. The problem is that the windows service is not monitoring the folder( \\AA-11\Infofiles ) for changes but is able to write the changes to another folder on the machine( \\AA-11\Infonewfiles ) when I change the path to monitor as another UNC( \\BB-12\FolderfilesToMonitor ) or local folder(C:\Myfolder). I wrote an eventlog EventLog.WriteEntry("FSWError detected error: " & e.GetException.ToString) in the FSW_Error sub routine and when I checked the eventViewer it had the following entry. "FSWError detected error: System.ComponentModel.Win32Exception:Incorrect Function" I'm not su ...Show All

  • Windows Live Developer Forums New Web and Sidebar Gadget Forums.

    The Gadget Forums on MicrosoftGadgets.com have been moved to MSDN. This change allows us to offer more features and better support. For reading or posting messages, go to the new Gadget group on MSDN forums . The following two gadget forums have initially been added to the Gadget group: Sidebar Gadget Development Web Gadgets Development For details, visit the Gadgets blog . ...Show All

  • Visual C# Executing sql command in C# problem string literals

    hi! I need an extra qoute in sql command to execute correctly but how do we execute through c#. This is what i do>>>>> string scriptTaskConnectST = @"Data Source=SE413695\AASQL2005;Initial Catalog=TestDB;Integrated Security=SSPI;"; executing this through c# code jobCommand = new SqlCommand("xp_cmdshell 'dtexec /f \"" + path + "\" /Set \\package.Variables[User::ArchivePackageName].Properties[Value];\"" + name + "\" /Set \\package.Variables[User::ScriptTaskConnectST].Properties[Value];\"" + scriptTaskConnectST + "\" When i check i resulting vaue i get this for scriptTaskConnectST as /"......\" \" Data Source=S ...Show All

  • Smart Device Development RTC API -> Windows Mobile 5.0 for SmartPhone -> C#

    Hi! I'm facing another problem. I need to migrate a VoIP application from a normal Windows application to a Smartphone. This application makes use of the RTC API but I think that for the WM5.0 platform I need to make some changes on the API. Anyone know if it's possible to use a RTC API, in C#, with a SmartPhone Thanks It's amazing how can Microsoft launch, for example, Microsoft Office Communicator Mobile and it works perfectly on Windows Mobile 5.0. No one can use a RTC API on Windows Mobile except for Microsoft... Why they don't launch a public API like they do for the desktop Windows version ...Show All

  • Visual Basic Inernet Browser

    How can I make it that the current page you are on in a internet browser will show up in the address bar ...Show All

  • Visual Basic If function

    i have a code to search a datagrid to find the text i typed in the textbox. when the wordt isn't found , or there is no text in the text box , i want a msgbox to open. can somebody help me whit the code Dim strcolumn, strsearchvalue As String strcolumn = CataloogDataSet2.boltype.Columns(0).ColumnName strsearchvalue = toolstriptextbox1.Text Me .BoltypeBindingSource.Position = Me .BoltypeBindingSource.Find(strcolumn, strsearchvalue) oh, i didn't notice that condition... here goes... Dim index As int = -1 if strsearchvalue.Length > 0 Then index = Me .BoltypeBindingSource.Find(strcolumn, strsearchvalue) End If If index >= 0 Then Me ...Show All

  • Windows Forms OnBeforeInstall and installing EXE side by side with previous version

    I have a Studio 2005 Windows Installer setup project to install my app. Our customers require 6-10 months to validate each release of software (due to FDA rules) so my installer must preserve the existing EXE while also installing the new EXE. This way they can test the new EXE while still getting work done with the old validated one. When I used InstallShield, I could run a script that executed before any files were installed/upgraded to look for an existing EXE and move it to a safe place so it would not be overwritten. I would also create a shortcut to it in its new location. In Studio setup projects, it seemed like using a custom action DLL was the solution. I wrote handlers for the Install and Uninstall events, and most importantly I ...Show All

©2008 Software Development Network