ShyamN's Q&A profile
Windows Forms Messaging in Windows forms
Hi there all! I'm a newbie to this forum, my first question is I'm building a windows app where I want the user to be able to fill out a form and click a button and have the forms contents saved on sql server and instantly receiv ...Show All
Visual C# Synthesis of pure tones
Hi I'm an Audiologist (hearing scientist) who has been using Labview to create some basic frequency discrimination training and gap detection programs for various studies. I am looking to migrate these programs to C# which I am learning. That is I'm a beginner slowly working my way through C# tutorials having done a Java101 course in my undergrad about 5 years ago! My question is how would people go about 1. synthesising a puretone wh ...Show All
Visual Studio Team System Opening WI Attachments Requires Username/Password
When attempting to open a work item attachment, we get prompted for credentials each time. Is this expected or something not set correctly Is there some permissions setting that will prevent this All the users involved are in the project's contributors group in VSTF, in the contributors group of the sharepoint portal, and are browsers of the reporting services. Hi What is the OS where the client is i ...Show All
Windows Forms Walkthrough: Using a Custom Action to Create a Database at Installation
I am studying the Walkthrough about Using a Custom Action to Create a Database at Installation in ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_deploy/html/2527c071-bf97-4f66-8e64-10e9b67a0569.htm There are codes: Private Sub ExecuteSql(ByVal DatabaseName As String, ByVal Sql As String) Dim Command As New SqlClient.SqlCommand(Sql, sqlConnection1) ..... End Sub I can't figure out how the variable sqlConnection1 co ...Show All
Visual C++ timeval struct incorrect
Hi, A question, according to the opengroup the timeval struct should store tv_sec as time_t, not as long as MS now does. Some API's return time_t, on 64bit we now get warnings. Shouldn't timeval be updated See http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/time.h.html Johnny This question you may want to ask Windows SDK folks. http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=121&SiteID=1 Thanks, Nikola &nbs ...Show All
Visual Studio 2008 (Pre-release) Integration with MSMQ on .NET Compact Framework 2.0
Hi, I want to explore the possibility of integration between MSMQ on .NET CF 2.0 and Indigo. First I want to test sending messages from Pocket PC to Indigo. MSMQ on Pocket PC doesn't have authentication, encryption or transaction notions, has xml formatter only, and MSMQ is installed in workgroup mode on the desktop computer. This is the configuration file: <services> <service ...Show All
Visual Basic Counting Letters in a string
Hello, I am trying to get VB to count how many A's B's C's D's E's etc... that are in a declared string, can someone tell me how to do this. thanks Ray RFeather[AT][NOSPAM]chstaffing.com Just in case you need it. . . sorted list add this function to CharacterCount: ============== Private Function Sort() As Dictionary(Of Char, Int32) &nbs ...Show All
Visual Studio Express Editions VC# Exit Sub Equivalent
In VB if I want to exit out of a procedure I call "Exit Sub". What is the equivalent of doing so in VC# in a class library project in a procedure Thanks, Ryan Ryan, Similar to VB.NET, C# uses return, for example: VB Sub Equivalent: public void WriteLine( string value) { if (value == null || value.Length == 0) &n ...Show All
Visual C++ When I build, I get no exe
Ok when I build my project, I get no exe, but I do get a build log, and other files. Any clue Ah crud, I was checking the wrong directory for the file. Whoops... Thanks :) ...Show All
Visual Studio Express Editions Can't download Express registration benefits
Hi everyone. I'm trying to access the free downloads that come with registration, but I only see the Web Developer downloads listed. I don't see the icons, components, or book that come with C#. I assume they would all be listed on one page, but they aren't there. How can I find them Thanks, John Salerno P.S. I don't understand how to download what *is* there either. The link to the Web Developer book says it's a pdf, but when you download it ...Show All
Visual C++ PRJ0003 : Error spawning 'cl.exe' and resulting error question
After trying to be fancy and installing the Platform SDK update from the CD image (5.2.3790.1830.15.PlatformSDK_Svr2003SP1_rtm.img) for my VS.NET 2003 all hell broke loose and none of my projects in VC++ will compile. It just gives me the error “error PRJ0003 : Error spawning 'cl.exe'.”. I tried to fix is as the KB say by repairing/reinstalling VS.NET, But it still fails. I came across a blog stating that the paths went coocoo. I tried best I ...Show All
Visual Studio Team System Test that an event has been wired to a handler?
I have a class that exposes a public event named StatusChanged. public event StatusChangedDelegate StatusChanged; The class that creates this class is supposed to wire this event to appropriate handlers. I'm trying to write a simple test that verifies this has occurred. However, the following line in a test: Assert .IsTrue(target.StatusChanged != null ); returns this error: "Error 8 The event 'NewDaw ...Show All
SQL Server SSAS 2005 can't release memory
SSAS occupy about 75M when starting SSAS. After processing or making several MDX query, I found that SSAS occupy 400M memory. And SSAS always occupy 400M memory until restarting SSAS. It causes SSAS working slowly. Is there anyway for SSAS release memory automatically thanks! Thank for Dave's reply. The guide is SQL 2000. Does the memory management of SSAS 2005 work same as 2000 Thanks! ...Show All
Visual Basic passing data to a thread from a form
Instead of using a class/method/delegate to pass data from a form to a thread... why not pass the data to a thread "ByRef" comments please thanks The problem is that a thread must be started with a function that has no parameters, so data is not being passed "ByVal" or "ByRef". That is why you will see the examples that will create a class to hold data used by the thread. ...Show All
Windows Forms Bonehead question
I have a MDI Parent form. I just want to change the background color (it defaulted to a control and controltext). Why can't I change it I mean I can change the forecolor and backcolor properties, but they have no effect. &nb ...Show All
