Joel S Lyons's Q&A profile
SQL Server SQLExpress Intermittent Login Errors
This is very strange... After installing the Advanced Services package, I started getting errors connecting to a database (.MDF) that I've been using for weeks/months. The error was something like "login failed for machine\user". After twiddling with the connection string and starting and stopping the SQLEXPRESS service it started working again. Did some more work, everything was fine, shutdown and went to bed. This morning, I am unable to connect to the database - nor any other database, it seems. This time I'm getting "cannot find the physical file" type errors. Any leads on solving this would be much app ...Show All
Visual C++ help with 2 express beta products install
i have vb.net express 2005 beta on my machine but i want to install visual c++ beta 2005 along side it... is this possible and how do i do it without breaking vb.net Yes, all the diffent Express Editions install side by side. Just install The Visual C++ Express Edition. Nothing specifal is needed. Ronald Laeremans Visual C++ team ...Show All
Visual Studio Team System Go-Live Licence for VSTS Beta3.
Hi, According to Buck Hodges blog http://blogs.msdn.com/buckh/archive/2005/09/21/472618.aspx mentioning that we can go for Go-Live License for Team Foundation Beta3. Please kindly provide us the information about to get the Go-Live License for TFS Beta3. Thanks. What updates would you like You can find a summary of "what's new in Beta 3" on my blog at http://blogs.msdn.com/bharry We'll let everyone know when the Beta 3 refresh is ready but there aren't going to be very many differences with it. It is primarily being done to fix localization issues and to match the released version of VS and SQLServer. ...Show All
Visual Basic Xmlreader - Drawing a Blank...
Hi all, Im really hopeing some one has come across this same problem, or can help me in some way. my problem is sending an xml document to sql server using the XmlReader fucntion. I have tested the xmlReader using a messagebox and the output is successful, so i know the reader is taking the xml value of the file, however once sent to the data base there is just blank row. Im using VB 2005, and sqs 2005 - the database is set up to allow remote connections and the column is XML (data type). Im able to load the file into the database using a insert statement from the server, so at least i know it accepts what im trying to complete. ...Show All
Visual Studio Express Editions Convert BitArray to byte[]
A question for those that, for one reason or another, have ever had to deal with binary on a Commercial Project. Converting a Byte into its Binary representation is done as follows: BitArray Name = new BitArray (byteobject); The BitArray can then be indexed to work with the data and process it. However when trying to put the data BACK INTO THE FILE, a problem arises. BinaryWriter Streams only accept bytes and other data to be written to the data stream; Converter Class DOES NOT have any method which accepts a BitArray; BitConverter Class also DOES NOT have any method which accepts a BitArray; So, if one wante ...Show All
.NET Development USB Classes for simple byte oriented serial communication
I am using Visual C++ 2005 Express Edition to develop a .NET managed application. I want to communicate over Serial Port or USB to a custom Atmel AVR microcontroller embedded application. I have already coded (but not tested) my app. using the System::IO::Ports::SerialPort class. I don't see any USB classes (like there is the SerialPort class in my VC++ 2005 installation. How do I communicate over USB using .NET managed classes for simple serial byte oriented communications Any sample code would be much appreciated. Thanks, David Harrison Hello David, Unfortunately the .NET Framework does ...Show All
Visual C++ user defined types
I was wondering if someone could break down the the pharse "user defined types"...i am kind of leary on exactly what that is..... Ok that makes sense i am trying to access some data using these multisets in a database but the function object i am trying to create is going to be incorporated with some user defined types, But if i understand you correctly user defined types as your basic types that have more features and capabilities that the user adds ! ...Show All
.NET Development Populating A Combobox
Well, what should be a simple task is turning out to be a nightmare. I have a simple combobox on my form. I have a simple database with a table in it and some data. All I want to do is populate this combobox, but nothing works. I setup a dataset, the bindingsource, and tableadapter, in preview data comes back, but when the project is run the combo box is always empty. I've tried a bunch of other stuff, but the results are the same. I've searched and searched for a simple tutorial on this, but can't find anything specific to this problem. I'm using Visual Studio 2005 Beta 2. Any help would be greatly appreciated. ...Show All
Visual C++ OOP and Visual C++.NET
Hi, Im a Visual Studio 2003.NET user (hoping to get VS 2005 when it reaches the UK) and when i can afford it. I really VS 2003.NET, just one question reguarding Visual C++.NET. In Visual C++.NET and Visual C++ 6, Virtual Inheritance had to used to stop a class from inheriting from two parent classes. This was done by using the "Virtual" keyword before the parent class name. How is this achieved in Visual C++.NET or has it being removed Thanks Tom Hi Tom, This behavior is part of the C++ standard so you can continue to use virtual inheritance in all versions of Visual C++. Here's an example: class& ...Show All
Visual C++ Open a word file in Word using my application
I'm a novice so please give me a break. I'm builduig a little MFC program for my little entreprise wich will open a word document on the clic of a button. I want want my program to open the word program wich will load my .doc file. How do I do that, i've search and all I can find is the CFile class::open wich does not help me at all. Thank you Eric Use GetModuleFileNameEx to get the current path. You'd have to remove the executable's name and replace that with the name of the word doc. Then you can ShellExecute that. ...Show All
Visual Studio Team System Reporting Services fails after upgrading B3R to RC
After upgrading Team Foundation Server from B3R to RC I connected to a Team Foundation Server and opened a Team Project. When trying to read the report 'Work Items' in the Team Explorer I received the following error: An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'dsStateParam'. (rsErrorExecutingCommand) For more information about this error navigate to the report server on the local server machine, or enable remote errors Opening the 'Scenario Details' report for instance works, but no report can be generated in Team Explorer because the 'iteration' and ...Show All
Visual J# How to access Java Language Conversion Assistant
I'm trying use JLCA tool, but don't know how to access it from VS2005. I've look into the help, it says go to File->Open->Convert, but when I go to File, I can't fine a Open menu, there is just Open Project, Open File menu available. Anyone have an idea on this Thanks. Lennie Hi, If you are working on J# express, then you are right. You can't find Convert there as JLCA is not supported on J# express. If you are not on J# express, then can you please download JLCA from one of the links given above. Please post back if you face any issues further. Thanks. ...Show All
Windows Forms ToWords() in crystal report, Help !!!
hello ! Anyone know how to convert the currency to words by using in crystal report for example: $123.45 convert to --> one hundred and twenty three and cents fourty-five. I know that it will using the ToWords() funuction. But it will convert the $123.45 --> one hundred and twenty three and 45/1000 . So , if anyone have complete code or solution pls r ...Show All
Software Development for Windows Vista Multiple conditions for a signle rule
I'm working with the External Ruleset Example (great sample!) and the Ruleset Editor. The Ruleset sample executes rules I create using the Ruleset Editor except when a rule has multiple conditions. For example, I have a rule that's something like this: Condition: this.Color.isGreen && this.Shape.isRound && this.is3DObject Action: this.Helper.AddItem("This is a green ball") The problem is that the action fires when any of the three boolean "is" properties are true. Using the && operator, I want the Action to fire when all of the properties are true. I tried the following: * Converted the && operators ...Show All
SQL Server Report Builder load failure on WAN-side of firewall
All, Can anyone shed some light on this problem: Using the same laptop and credentials I can successfully load Report Builder ONLY from the LAN-side of the firewall. However, if I reconnect using my Sprint AirCard I cannot load Report Builder; I get the now infamous "The remote server returned an error: (401) Unauthorized." What ports are used by Reporting Service Thanks, Brian I'm not sure what's up with the AirCard connection, but I think I can explain the WAN/LAN difference. On the LAN side your default Windows credentials are sufficient to access the Report Builder files at http ...Show All
