Software Development Network Logo
  • Visual J#
  • Smart Device
  • Visual C#
  • Visual Studio
  • SQL Server
  • Windows Live
  • VS Express Editions
  • .NET Development
  • Microsoft ISV
  • Windows Forms
  • Visual FoxPro
  • Windows Vista
  • Architecture
  • VS Team System
  • Game Technologies

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

GregCost

Member List

LostStudent
Stanley_fu2000
Matt Lalonde
ShawMishrak
Tim Goldstein
D.KamalaKumar
T-BERK
DongL
ramyik
Roger Haight
Gangadhar_MSFT
Timothy John Peters
John Tompkinson
vpeh
RLewis
MubasherAbad
JimB001
foobar_78
Bubbinster
Arsalan Minhas
Only Title

GregCost's Q&A profile

  • Smart Device Development Real Time audio recording

    Hi, I've made a program using w32 API to record audio using eVC++ 4.0. Actually I need audio frames to be processed in real time and those frames must be 30ms long so I calculated the size of the buffer (dwBufferSize in WAVEHDR structures) to be that long (ie., at 8Khz,16bits,1channel, buffer size should be 480 bytes). I also use double-buffering and pick the ready buffers when my callback function is called with the WIM_DONE message. First of all I tried the audio recording code in my PC (compiling it with VC++ 6.0) and it worked perfectly...I made a rough measure of the time between arriving frames (ie, between two WIM_DONE me ...Show All

  • Visual Studio Team System TF command to switch TFS servers?

    Isn't there a way to connect to a different TFS Server via a TF command Yes we already have multiple TFVC servers. Anyway, it is not real easy to determine which server you are currently working against especially if your Workspace name (machine name in my case) is the same on both servers. And what is the point of tf status having a /server switch when it *always* tells me: Ignoring the /server option. That's very annoying since I really would like to check status on a specific server. I must admit that I was surprised that the same workspace just switched over to the new server. I figured worksapces somehow would be bound to a s ...Show All

  • Visual Basic Help me on this error.. =[

    Cross-thread operation not valid: Control 'lstAtendimento' accessed from a thread other than the thread it was created on. lstAtendimento is my Control ListView this my code... Private Sub _socketManager_onConnectionAccept( ByVal SocketID As String ) Handles _socketManager.onConnectionAccept Dim mItem As New ListViewItem With lstAtendimento .Items.Clear() mItem = .Items.Add(New ListViewItem) mItem.SubItems.Add(SocketID) mItem.SubItems.Add("teste") mItem.SubItems.Add("testesestes") End With AddToConnLog( "Connecting... " & SocketID) End Sub ...Show All

  • .NET Development .net and sync toy

    I have .net version 2.0 When trying to run sync toy it says I need version 1.1.4322. When I try to download that it tells me that I already have 2.0 How can I get sync toy to load with .net 2.0 Thanks i'm getting the same thing. i have 2.0 installed, but sync toy wants 1.1.4322. The original question is over 13 days old ! Will someone answer this for us Not Happy in Maryland ...Show All

  • Software Development for Windows Vista I am using Windows Vista 5270 and...

    I am trying to compile a simple program with VS 2005 professional. I set the option x64. It is compiled. but It can't be excuted... It show this message... Unable to start program 'c:\User\Vista\Document\Visual Studio 2005\Projrct\Test2\x64\debug\Test2.exe It is no problem in Windows XP64... Isn't beta version of the vista support x64      hwage wrote: I had used Longhorn on someone's other computer (he has too a x64 processor) and it didn't supported it (yet ). Don't blame me if I'm wrong. I could only see it. (btw he removed it from its computer becouse longhorn had an bug whitc ...Show All

  • SQL Server SqlServer2005 can support merge replication with SqlCe2.0??

    Hi guys, Correct me if I'm wrong. That's wat I was doing.. Try to perform a merge replication between the 2. But the following errors are wat I've got during the syncronization: Error Code: 80004005 Message : Run Minor Err.: 28557 Source : Microsoft SQL Server 2000 Windows CE Edition Err. Par. : ssce:database;password=mypassword;data source=Program Files\helloWorld\database.sdf; Error Code: 80040E14 Message : The OLE DB Execute method failed. The SQL statement is not valid. [,,,SQL statement,,] Minor Err.: 28560 Source : Microsoft SQL Server 2000 Windows CE Edition Error Code: 80040E14 Message : There was an error parsing the query. [Toke ...Show All

  • Visual Basic How to detect if app is in debug mode

    I know I saw this property somewhere . I want to detect if the app is being run in debug mode (or in the IDE). Any ideas. If System.Diagnostics.Debugger.IsAttached() Then ......... ...Show All

  • Visual C++ ShellExecute problem?

    I'm trying to use the ShellExecute API call to run a DOS command, and it doesn't seem to work properly. I have code which worked fine under VC6, and it either doesn't bring up the DOS window at all, or it runs the DOS command incorrectly so that no output is printed in the window. Is ShellExecute working properly in the latest VC2005B2 with latest PSDK Is it something I'm doing or is there a bug Hi, ShellExecute is Windows API and part of Platform SDK. VS2005 ships Windows Server 2003 SP2 PSDK and it is possible Shell team has changed how ShellExecute works in a period from VC6 till now. I would recommend you to do two things. First, a ...Show All

  • Windows Forms IExtenderProvider for DataGridViewColumn's doesn't work

    Hi, I'm trying to extend the DataGridViewColumn's dialog with some properties. It works fine with the DataGrid control and the table styles, respectively column styles. With .NET 2.0 and DataGridViewColumn the extending component's "CanExtend" is still called with the DataGridViewColumn instances and returns "true", but no properties are being displayed in the edit columns dialog of the grid. And now the question is: how can I extend the column properties using the IExtenderProvider-interface The extender component is shown below. using System; using System.ComponentModel; using System.Collections.Generic; using Sys ...Show All

  • Windows Forms Multiline Textboxes and new lines

    Trying to add an array of strings to a multiline textbox and I want each new string to be on a new line but C# doesn't want to acknowledge the /r and /n escape sequences. I agree with Nata1 that you should use Environment.NewLine.   As for why the escape sequences were not recognized, though... the escape character in C# is  ...Show All

  • Windows Forms TabControl: How To Capture Mouse Right-Click On Tab

    Hi, Is there a way to capture a right-mouse click on a tab and to determine which tab was right-clicked And, when I say tab I do not mean the tab page, but rather the thumb portion at the top of the tab control. My goal is to have a pop-up menu appear to allow the user to close tabs - like you can in the visual studio .NET environment. I've tried using a ContextMenuStrip on the TabControl itself, but I still have no way to determine which tab was right-clicked as right-clicking does not select the tab - only a left-click does that. I am using VS .NET 2005 (C#). Thanks, Andrew Hi, I don' ...Show All

  • .NET Development Threading issue

    I have a Windows Forms application in C # which communicates with a web service. If I put a communication function as a separate thread I don't see the feedback displayed on the screen in a textbox. Does anybody know the reasons why On what thread is the feedback written back to the textbox The textbox should only be accessed via the UI thread of the Form. ...Show All

  • Visual J# Visual J# 1.1 not loaded after installing .NET Framework 2.0

    Hi, I have a Microsoft Office Excel 2003 addin developed on .NET Framework 1.1 which uses Visual J# package. It works fine when Framework 1.1 and J# Redistributable 1.1 are installed. However, when I install Framework 2.0 along with Framework 1.1 , it gives me the following error: Could not load file or assembly "vjslib Version=1.0.3300.0, Culture=neutral,PublicKey Token=b03f5f7f11d50a3a" or one of its dependencies. The same error occurs even if I install Visual J# Redistributable Package 2.0 . Please reply asap. Regards, sameerbhise sameerbhise wrote: Hi, ...Show All

  • Visual C# Interesting Generics/Inheritance Problem

    Greetings all. I am trying to do something with generics and inheritance that seems it *should* work, but it just doesn't. I have 2 class, Child, and the class it inherits from, Parent I also have 2 collections, ChildCollection, and it's parent, ParentCollection I am trying to do a downcast of ParentCollection to ChildCollection, but it just won't work. The code: using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Parent { } class Child : Parent { } class ParentCollection<TParentType> where TParentType : Parent { } class Child ...Show All

  • Visual Basic How to encrypt connectionstring (my.settings) in Winform (VB2005)

    I'd like to encrypt/decrypt a connectionstring stored in my.settings. How can this be done (in a Windows Application) (I only can find solutions regarding web applications, but I need one for a Windows Application) Thanks in advance Leo Leys You coud use the built in RSACryptoServiceProvider. If you are struggling with the coding side just hit me up on ictjason@hotmal.com (MSN) and I can give you some samples we use. I believe we stack base64 on top of the RSA in case of places being stored like the registry or settings file. ...Show All

©2008 Software Development Network