Juan C. Mendez's Q&A profile
Smart Device Development Net CF 2.0 , Is it Possible For me to Enable Voice Recording Feature From My Appliaction
HI , Please help me to find a way to enable voice recording feature in my .NET CF 2.0 Pocket PC application. Thanks , JayaKumar.A yes, it is, take a look at this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/WaveInOut.asp it is about recording and playing sound in .net CF juraj ...Show All
Visual Studio Team System Team Build with Multiple Team Projects
Are there any suggestions out there for performing a Team Build on projects that have cross Team Project, project dependencies (partial layout below) $+---+Company.Framework | |---+Company.Framework.sln | |---Comany.Framework.csproj | |---+Company.Framework.Security | |---+Company.Framework.Security.sln | |----Company.Framework.Security.csproj In this example Company.Framework.Security.csproj has a project dependency on Company.Framework.csproj and both projects are par ...Show All
Visual Basic DataSet Designer - Not able to use "GenerateDBDirectMethods" when using Stored Procedures problem
Hi! When using the dataset designer, I sometimes run into a relatively annoying problem. Scenario 1: I drop a datatable from the server explorer. In the wizard, I go back one step and tell it to generate the procedures for me. When I ge to the step where I can check "GenerateDBDirectMethods", I can do so. Everything works fine. Scenario 2: I have pre-prepared stored procedures. I drop a datatable from the server explorer. In the wizard I go back one step and tell it to use existing stored procedures. When I reach the step where I should be able to check "GenerateDBDirectMethods", I cannot. I also cannot set the property to True in the datas ...Show All
Windows Forms HELP - application blocks
Excuse me I am a total novice..I'm trying to make TaskVision work but visual studio returning an error when I try and open the solution "Unable to read Project 'Microsoft.ApplicationBlocks.Data.csproj' The system cannot find the path specified. Do I have to download these Application Blocks dlls separately from Microsoft I am really confused because I haven't used ...Show All
Visual C# Look for file in subdirectoy
I know that when you create a .txt file or open one, without specifying a directory, that a c# program will look in its Debug directory for that file, or whatever directory the .exe happens to be in.. i think. How do I tell it to look in a subdirectoy of that debug directory I do not want to specify an exact location like "c:\dirctory\sub-directory" I just want it to look in a subdirectory in the default directory. I tried tellin it to open the file like this "\subdirectory\file.txt" but that did not work. Any help thanks... try this: if (File.Exists("subdirectory\\file.txt")) {..} or FileInfo fi = ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I need some spiritual DirectX guidance.
I've been learning from a book titled Tricks of the Windows Game Programming Gurus by Andre' Lamothe. It's outdated using DirectX 7.0a SDK, and I believe his second volume creates software rasterization with DirectX 8.0 SDK. I really enjoy his books because it is very in depth and low leveled. My question is should I continue reading it if I'm geared on becoming a professional in graphics Since 60% of our life is maintaining and upgrading previous games/multimedia, especially MMORPG games that have a long life, you'd be working with older SDK versions, no matter if it's DirectX or not. The idea is to learn this now and migrate over to D ...Show All
Visual Studio 2008 (Pre-release) System.Servicemodel Problem
When I'm executing my application that I built in the January CTP I get the following error... System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for system.serviceModel/services: Could not load file or assembly 'System.ServiceModel, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 112) ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.ServiceModel, Version=2.0.0.0, Culture=neutral, PublicKe ...Show All
Visual C# Future C# string optimization directions
This is a topic of academic interest to me. Are there any plans to optimize code patterns such as: string results = ...; bool foundSomething = results.ToLower().Contains( "something" ) ) Here, I'm making a case-insensitive search and it seems that ToLower() is an unnecessary use of CPU cycles and memory accesses. One possible solution, which isn't very extensible, is for ToLower() to do a lazy-copy: it will first make a reference to the input string and add a "use-lower-case" bit. Contains() uses this bit to do the case-insensitive compare on the original string. Brian ...Show All
Visual Studio Express Editions C++ NO OUTPUT....??
I have started a file practice.cpp under an empty project. I just wanted to test and see if i could make my first program and display the words "hello world" to the screen here is what i wrote #include<iostream> using namespace std; int main() { cout<<"Hello World"<<endl; return 0; } now what happens is that it builds correct and when i hit F5 to run the program i get the error "UNABLE to start program C:\practice.exe the system cannot find the file specified" can anyone help Hi! Are you sure there was no build e ...Show All
.NET Development StreamWriter - get time from server
I am connection to a server via port 13. Yes, 13! I can connect via 80 and read simple pages easily. Now I want to connect and just get the time off the server. Having a little trouble with the line below that has the comment next to it. Have a few tries but not listed here. TcpClient connection = new TcpClient (" www.isp.com ", 13); NetworkStream stream = connection.GetStream(); StreamWriter sw = new StreamWriter (stream); StreamReader sr = new StreamReader (stream); sw.WriteLine("GET /index.htm. HTTP/1.0 \n\n"); // Need to get the time here sw.Flush(); string dataline = sr.R ...Show All
Visual Studio Team System Setting up Alerts
My install (single-server) of Team System was very smooth, except for a small glitch that I received when I inputted my smtp server. It stated that it could not connect to the smtp server, however, I was able to ping it without any problem. I thought it might correct itself, but when I try to set up the alerts, nothing ever gets sent. First of all, is there a place where I can update the smtp setting for Team System Also, if it tries to send an alert, but can't... does it save an error anywhere I would like to look at the error logs to see if anything is trying to send. Any other gotcha's on the alert functionality Thanks, ~sl ...Show All
Visual C++ CFileDialog.DoModal() Crashes When Hint box is about to appear.
I have a strange crashing problem in an application developed on Visual Studio 2005 Standard Edition. The crash comes during a function call to CFileDialog.DoModal(). The problem seems to relate to the "hint" box that appears if you let the mouse pointer linger over a file. If the mouse pointer registers over a file with an unregistered file type, then a hint box appears indicating the file type (e.g. ".slg file"). You then open the file with no problem. If you then go to open a file again using the same CFileDialog.DoModal() function and let the pointer linger over the file, then after a few seconds, just as the hint ...Show All
Visual Studio Tools for Office Getting Number of Charts and Setting Titles
In VS2005 B2, how can I get the amount of charts on a sheet and set the title for each in a loop I did figure it out, however, I am assuming with VS2005 B2, ONLY Office 2003 is supported thru the .net and anything below that is a com ref Or else Im not doing the setup correctly. ...Show All
Visual Studio Team System Making Targets conditional to Debug build
Hi, I am attempt to execute some targets only on my Debug build, but I want to build both Debug and Release. My attempt was to use target's Condition attribute with %(ConfigurationToBuild.FlavorToBuild) == 'Debug' eval'd. The result was the following error: TFSBuild.proj(188,31): error MSB4116: The condition "%(ConfigurationToBuild.FlavorToBuild) == 'Debug'" on the "UpdateSprocs" target has a reference to item metadata. References to item metadata are not allowed in target conditions unless they are part of an item transform. I can't come up with another approach and was hoping someone else had one. Thanks. ...Show All
Visual Studio Team System Web Site and solutions and source control
We are used to treat asp.net projects as any other projects - in terms of having a project file, association with source control, references / references paths, build options for files, etc. Now with the new and improved WebSite paradigm it's been succesfully dumbed down to the level of a collection of perl scripts, with apparent ugly workarounds like attempt to use a web.config file as a half-baeked project file to store references and stuff; hard-coded "special-purpose" directory names for resources, etc. BTW if someone knows how to defeat this bunch-of-files-in-directory approach please let us know. Now back to the issue at hand ...Show All
