JFJ's Q&A profile
Windows Forms Menu Designer not visible
I've created a base form with its own designer and an unfortunate side-effect is that a Menu control's designer will not show up when you drag a menu onto the form. From the MainMenu1 component in the "tray" you can right click and choose "Edit Menu" but it gets the error message... "Object reference not set to an instance..." ...Show All
SQL Server backwards compatibility of the MDF file 2000 and 2005
I'm looking for information on if the SQL Database files are compatable between SQL 2000 and SQL 2005. I know I can take a mdf from SQL 2000 and attach it to a SQL Server 2005 server and everyting works. So the real quesiton is : Can I take a SQL Server database that started in SQL 2000, attach it to SQL Server 2005 and work with it, (including schema changes) and then attach it to a SQL Server 2000 server . In the above scenario I'm keeping the compatability level at 8 (2000). Does MS have any articals on this subject. I need to know the limitations since the products I'm working on have to support both versions and so do ou ...Show All
Smart Device Development How to call netcf from flash?
Hi, In my application i am using flash for UI design. When i click a flash button it should execute netcf coding.For windows application there is some third part Components like ShockwaveFlashObjects.So how can i achive it in ppc. I don't think there is any simple way of doing it. You can host an flash object inside a webbrowser control. See this link for more details on that http://blog.opennetcf.org/ayakhnin/PermaLink.aspx guid=dac61ddb-0d50-4bfc-8e11-8fc2bada35d2 You can also try and use the XMLSocket object in flash to communicate with your Compact Framework application. I h ...Show All
Visual Studio Express Editions System fonts
Hi, Is there a way I can display all the system fonts within a combo box for user selection any help would be appreciated. Ron Thanks Yes I agree Just what I need. ...Show All
Windows Forms Can we add window form to class library in .Net?
Getting unspecified error... Sure. You can add a Windows Form to any project. You don't necessarily want to display such a form in any project but for Windows apps it'll work just fine. Class libraries often contain UI elements that provide some functionality (like .NET itself or any of the third-party components available online). Could you post the error you're getting so we have a better idea of what your problem is Thanks, Michael Taylor - 10/19/05 ...Show All
.NET Development error try project only build - 2005 beta , build type x64
receving the dreaded "operation could not be complete - unspecified error" message box . I see that another user has the same problem and is reporting it in the Microsoft Technical Forums Visual C++ Visual C++ General VC2005 Beta2 Crashes I'm going to cross reference my issue to that one as I have done here . Maybe someont at MS can help ...Show All
Visual Basic compile questions, help needed
How to fix the errors. Thank you. F:\>vbc upload.vb Microsoft (R) Visual Basic .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322.2032 Copyright (C) Microsoft Corporation 1987-2002. All rights reserved. F:\upload.vb(5) : error BC30002: Type 'Scripting.FileSystemObject' is not define d. Dim fsoSaveFile As New Scripting.FileSystemObject ~~~~~~~~~~~~~~~~~~~~~~~~~~ F:\upload.vb(6) : error BC30002: Type 'Scripting.TextStream' is not defined. Dim tsSaveFile As Scripting.TextStream ~~~~~~~~~~~~~~~~~~~~ F:\upload.vb(8) : error BC30807: 'Let' and 'Set' assignment statements a ...Show All
Visual C++ how to format a two or one digits number in a two char string?
Ok, maybe this is a very stupid question but wich is the cleanest way to convert an int to a System::String with always at least 2 chars... Now, I do this: String* convertTo2CharString(int num){ if(num<10) return String::Concat(S"0", Convert::ToString(int)); else return Convert::ToString(int); } I suppose that with the String::Format, I can do it with one line of code but I don't know how. Tnx. Here's a good place to start for information on all the new stuff that's coming in Visual C++ 2005. http://msdn.microsoft.com/visualc/whidbey/ ...Show All
Visual Studio Problem with Conditional Import inside VS
Hello I have a .targets file that supports multiple platforms, and has 3 elements like this: <Import Condition=" '$(Platform)' == '...' " Project="..."> When I build using msbuild.exe and specify /p:Platform=... it works ok for all platforms. When inside VS, it always imports the first one, regardless what Platform I choose. I also have a dummy Platform called "BuildAllPlatforms" that invokes the msbuild task for all platforms, and that works ok in VS. If instead of the import, I literally replace the import, and add the condition to every target, propertygroup and itemgroup, it all works ok. Is this a bug in VS I'm using RC1. Regards, ...Show All
Visual Basic Method POST to send Data from windows form to ASP web page and get response
Hi Friends over here, I'm using httpwebrequest and httpwebresponse to send and recieve data between windows form in my project and web page (ASP) using GET method, what I need is how to send same thing Using POST I found some example in MSDN but it was not clear for me and not working !!! Please help me as soon as possible. Hi there, The main differences between POST and GET methods is the quantity of data that can be sent and security, so if you'r sending a simple form (Like registertation form or editing database record) you can just use GET method. For more complex missions (Sending Files, Long Paragraphs) ...Show All
Windows Forms Hide the first Column
Is it possible to hide the first Column in a DataGrid Let me explain a few things first. The DataSource for the DataGrid is like so; DataSet DSAccountVenueRooms = new DataSet(); DSAccountVenueRooms = DataAccess.GetAccountVenueRooms(MainMenu.AccountID); this .dgAccountVenueRoom.DataSource = DSAccountVenueRooms.Tables[0]; The first Column in this DataGrid is a RoomID Value that I get to execute the next Stored Procedure to get the Data for that Room. So I need the first Column called RoomID but I do not need to show the user this Column as it means nothing to them! Can this be done Mark, I have had a lo ...Show All
Windows Forms Error when attempting to Close a form
I get the following error: ************** An unhandled exception of type 'System.InvalidOperationException' occurred in system.windows.forms.dll Additional information: Cannot call Close() while doing CreateHandle(). ************** When executing the following code after frm2 opens and the user simply presses the Cancel button to close the dialog form which also should close the calling form (frmAssembly). In other& ...Show All
Visual Basic Cursor in a textbox window
I have a complex class full of controls including a Rich Text box and a regular textbook. The class is designed as a tab page to be added once or multiple time to a tab control. This class inherits Windows.Forms.Form. When the page is added, I want the cursor to be in the ordinary text box. It isn’t. There is a prescribed way to do this: To programmatically click the right mouse button 1. Create a MouseEventArgs whose Button property is set to the System.Windows.Forms.MouseButtons.Right value. 2. &n ...Show All
Visual Studio Team System Implementing MS Team System in place of Rational Tools
Hi, I know that some of the questions that exist below have been posed and answered before. However, every time I go through these answers and through the MS web site I get more confused! We are a development company that develops software based on Microsoft development tools particularly VB.Net (VST.Net 2003). We are a Microsoft Certified Partner . We have been using Rational Tools for the last 5 years for our development cycle/ process including: Source control, requirements and features handling, design, architecture and QA. Currently, we are in the process of adopting VST2005 and MS Team System. I highly ap ...Show All
Visual Studio Express Editions How to use Speech SDK 5.1 with Visual Basic 2005?
I have both, and I want to be able to use the speech recognition and text to speech functions in my programs. I know my way around it, but I'm not an expert with Visual Basic, so the more detail, the better. Thanks. I dont know about speech recognition but here is how you can do it with SpeechLib. 1. Add a reference to your app from the "com" tab called "Microsoft.SpeechLib" 2. Add an imports statment to your code. "imports speechlib" 3. Declare a variable "Private Voice as new SpVoice" 4. In your normal subs all you will have to do is simply type Voice.Speak("Te ...Show All
