Meauxmath's Q&A profile
Windows Forms databinding to table
Im trying to make a table using the dataGridView control. I would like it to display 4 columns, the 1st column a part name(read-only) and 3 more columns for x, y, and z coordinates. I have a class object that has a part name field and an array field that holds an array [x,y,z], so I sit here searching help and scratching my head wondering what to do. I've added data sources and drag and dropped them to a dataGridView control(I see no mentio ...Show All
Visual Studio 2008 (Pre-release) Modal Anything!
Hi, I know this is problably an over discussed topic, but really, when are we finally going to have a modal window dialog By that I mean a dialog that can be show modal and have nice rounded edges and so forth The .ShowDialog window is really ugly and I really need nice modal windows at this point, seeing as the MessageBox itsel is really ugly, I need to make my own MessageBoxes and create Modal Input windows. Please can anyone help me ...Show All
Visual Studio VS2005 errors when adding parameters to a report
As far as I can tell to add a parameter to a report in a VS project you should go to report menu / Report parameters. Here you can add the parameters. I am using the june ctp. When I go to the menu and select Report parameters i get an error 'Exception has been thrown by the target of an invocation'. Similarly if I try to open the parameters property of a subreport i get an error 'Object reference not set to an instance of an object', which admi ...Show All
Visual Studio Team System Project creation problem
OK I'm probably being dense here. Installation is a single server with reporting services, sharepoint, SQL all running. I can get to the relevant pages. The client can see the server and ping it over the network. Both are in a W2K3 domain and the DC is running SP1 as is the VSTF Server. tfssetup and tfsservice are both local admins and domain admins so should have all the necessary permissions. I'm logged in using the tfssetup account (tried als ...Show All
Smart Device Development Listbox name value pair
I'd like to assign a value with text in a listbox. Similar to: ListItem Item = new ListItem(); // Text and Value are swapped. Item.Text = ListBox1.SelectedItem.Value; Item.Value = ListBox1.SelectedItem.Text; ListBox2.Items.Add(Item); But I don't think this works in CF. Anyone got any ideas on how I can do this Thanks! I'm not sure if this is exactly what you're looking for, but have you considered using a ...Show All
.NET Development New System.Threading.Thread vs BeginInvoke
Hi! I'm having the following dilemma on how to handle multi threaded operations. I have to handle the case of multiple of calls per second that must be executed asynchronously. Creating a new Threading.Thread object is a simple solution, however I dont think its the best choise, since thread creation and destruction overhead would be too much. Creating a delegate sub and calling BeginInvoke also creates a new thread. My Question: 1) Is there a ...Show All
Visual Basic Socket Encoding and Decoding using Ascii Encoding
Hi All fairly new to VB .Net and have been trying to port code from vb6. I have picked up the sample application for sockets and my problem is I have a string which come come in with binary data packed as bytes i.e 10101010101001 and the bytes would appear as .>D.... .. .B..." compressed bitmap. It would now appear that I cannot see the full string I have some characters missing and when I read through the data and build a response I can ...Show All
Windows Forms Registry Permissions
If I tell ClickOnce that my application will be installed from the Internet, the 'registry' permission is unticked in the list of rights. Do partial-trust applications installed from the Internet have the right to write to HKCU Or should I remove all registry-related code from my application and use the local settings system instead Cheers, Matt Partial trust applications do not have Registry permissions. You ca ...Show All
Windows Forms Resize button !? (I have same problem pls help)
how i can resize button or any object in my form in run time not in Design time thanx You are vietnamese me too. Could you email me full source code of this example to dohoangtung@gmail.com thanks in advance ...Show All
Architecture Problem in Microsoft Word
I have problem in MS Word , whenever I open a Document which contains pictures, it suddenly disapears by scrolling down and shows white space in the picture place. But if I minimize the document and return it back .. the picture apears for a while but the problem comes again I hope you understand what I mean .. Please help me to fix the problem ...Show All
Visual C# Refactor -> Rename class
When I use the refactor tool to rename a class (aspx.cs), it changes the "CodeFile" attribute in the corresponding aspx page, but not the "Inherits" attribute. Jason - Where are you invoking the rename from Fom the editor in your aspx.cs file Unfortunately, the refactoring tool does not update references in markup -- you should see a warning dialog with this information when you applied your refactoring. Do you see th ...Show All
Visual Basic run program without logon windows
hi, I have a tray application ready to running when windows start but this only happens when a user logon windows. (adding to registry key) How can I start the program whitout user logon windows (when computer is locked) Thanks. If you are not against the idea of losing your tray icon (or having the tray icon be located in a separate application), you may want to look at building your core application ...Show All
Windows Forms Binding of dynamically created controls
hi, i have a form which creates in the loop i am creating them nicely here is my code for that Sub createcontrols() Dim i As Integer = 1 Dim j As Integer = 1 &nb ...Show All
SQL Server IMPORT DATA FROM XML SOURCE TO SQL
Hello, I'm trying to import data from a xml file (several tables inside) into sql tables. - In the xml source, I choose the xml and xsd files and I see all tables perfectly. - Drag the xml source output to Sql Destination input, choose one table to import and create the sql table - I execute the task and it concludes ok - In Execution Results window appears as warnings as fields of each one other tables (giving information abou ...Show All
Visual Studio VS EventWatcher Automation Example - How to watch work item events
Hi, I've been looking at the EventWatcher automation example. Is there any way that I can use this to monitor certain events that take place when working with Work Items in the IDE e.g. capture a control event inside the work item. Thanks If you mean the Work Items of the Team System editions, I don’t think they can be trapped from an add-in. The extensibility for Team System is done through the Visual ...Show All
