aquaseal's Q&A profile
Visual C++ Problem with Visual C++
Hi, I installed Visual Studio 2005 and it was working perfect till yesterday. I installed another SW Development (DevCpp) to study the differences. The problem is that now when I try to create a project with Visual C++ it hangs I can’t do anything. I tried to uninstall both and reinstall Visual Studio 2005 only, but still same problem. Anyone can help Thanks, regards I'm having a hard time understanding why a DevCpp-install should mess up the VS project generation. It sounds to me like a common dialog problem (or similar), more so than an issue with VS. Have you got any problems with other parts of Windows ...Show All
SQL Server AdventureWorks Database not showing up management studio express
After installing the Adventure works database samples they do NOT show up in Management Studio Express I have done a clean install of SQL Server Express 2005 SP1 with Advanced services. The database samples only install as physical files, they are not attached to the SQL Server process. If you want to use them, go in the SSMS and right click on the Database node, choose All Tasks and click Attach database.. Locate the MDF File and the LDF File and click Apply (or OK). SQL Server will attach the databases to the SQL Server process and you can access the data. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server Data Flow inside For Each loop - error handling
Hopefully this is an easy question: Inside of a for each loop (looping through an ADO record set of objects to import) I have a data flow task (along with many other processes).... if the dataflow task suceeds I log success in a table. If it errors I want it to fail the dataflow task (which will fire off my Event Handler for that data flow and log the failure, email etc) BUT I want it to continue the loop - I can't seem to figure out how to get the data flow object not to fail the whole loop. If any other objects inside the foreach, other than the data flow, fail I would like the whole loop to fail. Also if possible (but not a requirement) I would like it to have a threshold where if the data flow fails X variable times it will fail the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where is the download?
It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D It's just about 12:30 AM, my guess is you'll still have to wait several more hours, probably at least 8 and a half since the workday starts for most people in the US around 9 AM. Even then I don't expect to see it until later in the afternoon Pacific time. ...Show All
Visual Basic Exporting Excel to an access table
Hi, I have an access db called TablePeople. This table has the following fields: PeopleID FirstName LastName UserName I have an excel spreadsheet called People.xls that has the same fields as TablePeople. What I want to do is to import all the data in the excel spreadsheet to TablePeople using VBA that is shipped with access. Can somebody point out what are the steps I need to take in order to automate this process Thanks hi, It is easy to do this with Excel, just record a macro then add it to the button click event with a bit of tidying, Access does not have a record function mores the pity. Found a useful piece that someone else did on: Code Forum ...Show All
Smart Device Development Audio indication problem
Hi, I'm developing a Windows Mobile application for a mobile computer. I'm trying to play a 100 msec duration single tone wave file in my application using PlaySound. When I use the PlaySound function with SND_SYNC flag, everything works fine. However, if I use it with the SND_ASYNC flag, after a few minutes (not constant), the file starts getting played repeatedly, so I hear continuous beeps. It can only be stopped by suspending the computer and switching it on again. Sometimes this causes the audio of the computer (not just the application) to stop functioning. Is there any specific requirement that I should be taking care of when I use the SND_ASYNC flag Thanks, Niral. This ...Show All
Windows Forms ListView, ListViewItemSorter, and Groups
I'm using C# in Visual Studio 2005 w/ .NET 2.0 (obviously). I've got a ListView control with 3 columns, and I'm using the grouping mechanism (i.e., the ListView's Groups collection) to segregate the data into more logical units. I'm trying to implement the sorting mechanism based on the ColumnClick event. I want the behavior to mimic that of Windows Explorer, e.g., click a column header once, and it sorts the data in ascending order; click the column headers again, and it sorts the data in descending order. To do this, I understand that I need to create a custom class that implements the IComparer interface and set the ListView's ListViewItemSorter property to an instance of that class. My implementation of this custom class maintain ...Show All
Windows Forms Timer in Visual Studio 2005
I have a old VB6 program that used a clock at at a certian time very day it would fire an event that transfered some files to different servers and such. So now I am rewriting it using the Visual Basic 2005. Is the new Timer going to provide the same functionality that that old VB6 clock did Anyone have any idea or suggestions for using something else Thanks Nikki well you would place a timer on the form, set the interval (interval measured in milliseconds) and implement the timer tick event. In here, this will tick when that interval has been reached. In here you could check for the current date/time and then perform your action. Does this help ...Show All
Visual Basic Send phone text messages
Hi, Some body know how I can send text messages (phone) throw Visual Basic Take a look at this article on MSDN http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/ReceivingSMSMessages.asp Also check out this previous forum discussion. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=195610&SiteID=1 Also I'd do a search in the forums on SMS and a websearch on VB.NET + SMS ...Show All
Microsoft ISV Community Center Forums Global Variable not Persisting
Hi there, i seem to have hit a BIG problem! Im building a new system for users at work and the functionality of the system so far is good. However a lot of the functionality is based on permissions applied to the user after they have logged in - there is a global variable that stores every users login name 'loginname'. However at some point, (although not always) if the user is doing a lot of work in the system by entering activity, creating companies, contacts etc then they will receive a message stating 'Error 94: Invalid use of null' and when I go to debug it will highlight a line of code that inevitably depends on the 'loginname' global variable. I have a little text box that holds the loginname after the user has logged in and it will ...Show All
Visual J# Convert Java code with generics
I have a Java project that I would like to convert to C#. However, it uses generics extensively, and the JLCA 3.0 is choking on them. Is there any tool to automagically convert this code Is there a new version of JLCA coming out to support this scenario I've converted some of it by hand, and once you get past the syntax differences, the C# generics work fine. Hi JLCA 3.0 does not support generic programming conversion.The supported features of JLCA 3.0 can be found here . As of now we dont have any plans to support generic programming.The manual conversion will be helpful. Thanks, Natarajan. ...Show All
Visual Studio Express Editions Breaking a long code line?
How can I break a long code line all you need to do is terminate each line with " _". For example: Dim newConnection As System.Data.SqlClient.SqlConnection = _ New System.Data.SqlClient.SqlConnection( _ "some connection string here") ...Show All
Visual Studio 2008 (Pre-release) Not able to get "A Visual" from VisualCollection object, although it exists
I am drawing lots of custom visuals; some using custom geometry objects using streamgeometry and some are drawn using plain vanila draweclipse using drawingContext. Once all of the above objects are created and displayed on the form,On hit testing I am not able to reference back any of the objects created by the streamgeometry. None of this working ... _currentVisualCollection.IndexOf((Visual)_hitResultsList ) _currentVisualCollection.Contains(((Visual)_hitResultsList ) Using VisualTreeHelper .GetDrawing(visual), i do get the visual back but I cannot do anything if I cannot locate the same visual in the visualCollection and remove it as I need to update the layout. Any leads.. Hopefully this post will catch any M ...Show All
.NET Development Partial File Downloading
I want to download file from 3,221,225,472 bytes (3 Gb) to 3,328,599,654 bytes (3.1 Gb) for example Windows Vista Beta ISO if I use HttpWebRequest.AddRange Method (Int32, Int32) occure exception: "System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: The From or To parameter cannot be less than 0. at System.Net.HttpWebRequest.AddRange(String rangeSpecifier, Int32 from,Int32 to)" because 3,221,225,472 > MAX(Int32)=2,147,483,648 How can I download from 3,221,225,472 bytes (3 Gb) to 3,328,599,654 bytes (3.1 Gb) This is what I used, it seems to be faster: public delegate void _AddRange(HttpWebRequest httpWebRequest, string rangeSp ...Show All
Smart Device Development Could the smart device get data from the external device?
Hi, all, I am a beginner for the programming in smart device. I want to use the smart device (ppc or smartphone) to get 8-bits data from an external device (MCU). Could anyone tell me it is possible and give me some reference Thanks. Regards, Wilson YU Hi, Ilya Thank for giving the aspect. I have done some search and found several wireless communication methods like infraRed and bluetooth. However, what I want is to connect a wired cable from pocket PC to the MCU. Is there any examples / functions for me to control the port Thanks again. Regards, Wilson YU ...Show All
