Dennis Mayores's Q&A profile
Visual Studio Express Editions UPDATING THIS VWD 2005 from the Beta
I understood that I had until this fall to update the Beta version and this morning I've been locked out of my program VWD 2006 which says I have to remove my beta version from the server I'm using In middle of a busiest season and have worked on this project for over a year and NOW in the middle of it I have to remove the program and reinstall it! If I am going to have to reinstall this program in the middle of a full schedule and a project programs in progress then I will need some guidance in how to do this and support in case of the failure of doing so. I can't believe that Microsoft is so desparate that they need to alienate their c ...Show All
Visual Studio Express Editions Using the platform sdk
Hello, I tried to follow the instructions for using the platform sdk but I am unable to accomplish step 3: Step 3. Update the the Visual C++ Directories in the Projects and Solutions section in the Options dialog box. In that section, you'll want to add the paths to the appropriate subsection: Executable files - C:\Program Files\Microsoft SDK\Bin Include files - C:\Program Files\Microsoft SDK\include Library files - C:\Program Files\Microsoft SDK\lib In that dialog box there are two options: 1. Platform (this is set to the only option Win32) 2. Show directories for (there are many options here but changing them has no effect) ...Show All
Visual Studio 2008 (Pre-release) Determining Text Size
Is there a way to determine the size of a text string in WPF I'd like to take a given string, and have WPF calculate the size needed to render that string using a given font, style, etc. Thanks. Bruce Bukovics Author of .NET 2.0 Interoperability Recipes http://www.apress.com/book/bookDisplay.html bID=10116 My solution: public static float MeasureString( string text, Font fontInfo) { Bitmap bitmap = ( Bitmap )ResourcesManager.GetObject( "some_image" ); IntPtr ptr = bitmap.GetHbitmap( Color .White); Image image = Image .FromHbitmap(ptr); Graphics g = Grap ...Show All
Visual J# J# noob :-p, How 2 submit a form
Hi ! I'm new to J# and now i have a question. I've made a form with some textfields en some buttons below it. Now I would like to have that with a click on a butten it submits the information into my database. What is de code behind the button TNX ! Willem Following is the sample; add it to button click event handler by replacing the highlighted with appropriate values private void button1_Click(Object sender, System.EventArgs e) { String connectString = "Data Source=< DBServer_name >;Initial Catalog=< DBName >;Integrated Security=True"); SqlConnection objSqlConnection = n ...Show All
Visual Studio Team System Problems with Performance tools
Im having a few problems with the performance tools I created a performance session that uses sampling - that seemed to work ok When I create one using instrumentation, when I launch it, I get the message that "A project with an Output Type of Class Library cannot be started directly". Well its not a class library project - its the same one that worked for sampling! Once I get this error I cannot find anyway of getting the Launch button to be enabled again - the only way I could get it to be enabled again was to restart Visual Studio And how do you delete a performance session from the treeview Andrew ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Reccomend me books please!
Ok im looking for some books to get me started on creating games using C#, Managed DirectX and Winsock. Can anyone reccommend me books they have used that will cover what I need to know to get started on making great games Have a llok at the following forum, I have a list of books, and comments on them. These books include both of Tom Millers "Managed DirectX Kickstart, and Beginning 3d game programming" as well as others. http://www.ircomm.net/forums/21/ShowForum.aspx The ZMan also has a list on his site www.thezbuffer.com . ...Show All
Windows Forms Installing 2 versions of the same application on the same machine with ClickOnce.
Hi, Is it possible to install 2 different versions of the same application on the same machine with ClickOnce I would like to have the possibility to have a production version and a dev/test version of my app on the same machine, for obviuos reasons. I was hoping to achieve that by changing 'Publishing Location' and 'Product Name' in the Publish Option of ClickOnce, but doing that still installs one version on top of the other, it just changes the app name :( The only way I could find, using ClickOnce, was to change the output name of my application...for example: MyAppLive and MyAppTest. But I would rather avoid that...Is there ...Show All
Visual C# delete blank rows in csv
hello, I import a csv file into a mssql database. It seems that operates good. But there is a problem. The file includes blank rows in irregular order. How can I delete such rows thx dabro Hi, can you show your sqlString You can set your sqlString so that it take only non-zero value to account Abongs ...Show All
Visual Studio Express Editions I forgot my registration code!
I registered basic 2005 express but I forgot to document it for future needs just incase I decide to reformat and reinstall. Is there a way to get my registration code again ...Show All
Windows Forms How to add Controls to a DataGrid....
Hi, Is it possible to get a DataGrid cell to display (contain) other Windows controls (say a drop down list). I'm familiar with System.Web.UI.WebControls.DataGrid but not with the SystemWindows.Forms.DataGrid version. Is there an equivalent of a "Template Column" or do you place controls inside a DataGrid using some other method Has anyone seen any good posted examples or&nbs ...Show All
Visual C++ Negtive zero valid?
Hello, I hope I am in correct forum. I am testing Visual Studio 8 RC1, and found a negative zero. Here is a C example: { double val = 0.0; val = -val; printf("%g\n", val); } Output is: -0 The result is "0" with .net 2003 version. Is this a expected behavior If this is expected, could somebody point me to the documents describing new double behaviors. Thanks! Thanks for the repy Eugene, Yep, I accept that, but end users don't understand -0.0 So having printf generate it is just painfull. I know from looking at the Microsoft C runtime ...Show All
Visual Studio 2008 (Pre-release) ToList() and ToArray() not found
I'm trying to execute the following sample code var q = from c in db.Customers where c.City == "London" select c; // Execute once using ToList() or ToArray() var list = q.ToList(); I'm getting a compiler error: "Error 43 'System.Data.DLinq.Query<Customer>' does not contain a definition for 'ToList' " I get similar error when I try to use ToArray() method. The query works fine when I loop through the results in a foreach statement. Any ideas Make sure you have imported the System.Query namespace with the using clause. Otherwise, the compi ...Show All
Windows Forms datagridtablestyles
Good Day to you. :) I have a datagrid and 3 different datagrid styles that I would like to use depending on which button is clicked. It all works fine except when I click on a button that has already been clicked on. From there an error is raised that states the style is already loaded. How can this be Isn't the style overwritten when&n ...Show All
Architecture Serviced component architecture issues (State management/ OOD).
I've seen serviced components abused and misused due to inherent limitations in how COM operates and now I’m looking to architect a web based, OO, n-tier system and wish to avoid the same mistakes. In my system there are two architectural problems: Much of the data is common across users, complex and potentially quite large, which leads to a large number of objects when using standard OOD (not so good for COM as I understand). Some (but not all) update requests need to be processed in serial, all others concurrently. I’m considering a windows service application that can hold all the user independent dat ...Show All
Visual Basic XML to Pipe Delimited or .tab in VB?
XML to Pipe Delimited OR .tab in VB Does anyone know how I can import a xml file & export into a Pipe Delimited or .tab file in VB Having a hard time finding any documentation on this... any help is greatly appreciated...... thanks... mniccole jacksonville beach, fl Can you verify what the correct reference to system.data is thanks so much for your help, I've totally confused myself... haven't written any vb in quite a while... ...Show All
