ronfar's Q&A profile
Visual FoxPro Grid Resizing
Hello All, I have a query to do with resizing forms and grids in VFP. I have a grid on a form with 8 columns. In the resize event of the form I have put code to resize the grid at the same time so it matches the Width and Height of the form. However, I have come across a problem with resizing the columns within the grid. Ideally, I would like to adjust each columns width as the grid is being resized. (I.E. Columns will grow when the grid is made larger and shrink as the grid is made smaller.) Has anyone every handled this situation Cheers, Todd As with the resizing of any object, you need to know w ...Show All
Visual C# Datagridview from 2 tables ; one filling up combobox
Hi, I'm having a situation like this. I am using a datagridview which fills up Item details from a table, say Items. I am also adding a Datagridcomboboxcolumn to this datagrid whose datasource is table 'Category' from where it should show various category names in combo box for user to select one. I can see the datagridview being filled up with data from Items table.I can also see the combo box column being generated for each row.However, the combobox doesnot work and show any values from its datasource. How can I show rows from one table and combo box in each row from other table in a datagridviw here is the pseudocode : ...Show All
Visual Studio Reporting Services Add-in
I installed Reporting Services (SQL Server 2000 box), but have not been able to configure Visual Studio 2003 .NET so that I can create a project in "Business Intelligence Projects". Where am I missing the installer for Report Designer I didn't see anything on the VS 2003 disks. Thanks for any help, Steve Reporting Services was released long after VS.NET 2003. The Report Designer is in the RS installer, not the VS.NET 2003 installer. You need to install Reporting Services locally on your dev box from the Reporting Services install. (This means that you will also need SQL Server installed locally. ...Show All
SQL Server calculation on a Dataset
i have a dataset filled with mdb, wich contains ID, Name, Date und salary. so here is my problem: 1. how can I sum all those salaries together 2. how can i sum salaries according to Date for example sum salaries only for June. the answer will not be saved in database. can somebody help me please. thnx in advance 1. You can add a Sum on the salary at the report level to sum all the salaries. 2. You can create a group on Date, and add a sum at the group level. Check out this page for more information on using aggregate functions: http://msdn.microsoft.com/library/ ...Show All
Visual Basic Visual Studio Is Busy?
Pentium IV - Northwood 3.5 Ghz - I Gb of Ram. XP SP2 .. all current patches applied. VS2005 RTM Team Suite On occasion while debugging the IDE becomes nonresponsive and I receive a Bubble message informing me that "Visual Studio is busy waiting for an internal operation to complete - If you receive this message often, please inform Micorosoft" After I receive this message the IDE never recovers. All I can do is to delete the process and restart it. Any idea what's occurring I experience the same problem from time to time. No idea what causes it, but would like to know! VS2005 Pro Ed. Carl ReneeC ...Show All
Visual C# Printing an array in C#
Hello all! I'm writing a piece of tool that generates subsequent integers in a multi-dimensional array and I want know how to I can print(printing through a printer and not onto a screen) that array. My tool is currently able to print a string, an integer etc, basically a single value. Thanks! ok. I'd like to know how you would approach my problem. Please let me know. thanks! ...Show All
.NET Development Making fonts the same size
I'm trying to display all of the installed fonts in a control but I have a problem with the fonts ending up being different heights despite the fact that I create all my font objects with the same size parameter: Font f = new Font(myFontFamily,size); For example, I have Garamond and Haettenschweiler that come out really small whereas Gautami is much larger (and has a lot of whitespace below it). Does anybody know how I can adjust the size of the font so that they all come out at roughly the same height It looks silly when they all take up different amounts of vertical space (horizontal space is not a problem). Thanks ...Show All
Visual Basic Nullable Types In VB 2005
In one of the MSDN articles on the C# enhancements for the 2005 version, there is a mention of Nullable Types (see http://msdn.microsoft.com/vcsharp/2005/overview/language/nullabletypes/). Will Nullable Types be also available in VB 2005 I hope so, as Nullable Types is the only language feature that I find compelling enough to make me want to switch. A.K. No the differences don't go beyond syntax. You have the same support in VB, you just have fully write out the name of the Nullable type. ...Show All
Visual Studio Team System Error when creating new Team Project
I've worked through several resources onlnine to fix other errors in the project creation process and have just about got the New Team Project option working from Visula Studio, however I'm running into an error I can't find a solution for. In creating a project named Foo2, the creation process gets through the Currituck Module, handles some CSS and WorkItemType definitions and then throws an exception saying: ---begin Exception entry--- Time: 06/02/2005 08:36:59.706 Module: Engine Event Description: Task "Currituck.WITs" failed Exception Type: Microsoft.VisualStudio.Currituck.Package.CurrituckPcwFatalException Exception Message: Cannot fin ...Show All
Smart Device Development Problem of Barcode reader !!!
Hi all. Help me! I can't open laser of barcode reader, How to open laser I use barcode reader of symbol (sps 3000 http://www.scansmart.com/catalog/symbol_sps_3000.asp 1143315433000 ),pda (iPAQ h5400) and visual studio 2003. Why HP iPAQ h5400 not support visual studio 2005. Last I want code and how to for open laser of barcode reader. & ...Show All
Visual Studio vstemplate, iwizard
Is there a way to change one of the values in the project file in the ProjectFinishedGenerating method of the IWizard implementation class I can't use the replacementsDictionary.Add here since the project is finished loading. Thanks, Mike It depends on what you would like to change. ProjectFinishedGenerating passes you a EnvDTE.Project object, which can used to modify properties, ad/remove items from the project, and many other tasks. If you wish to manually moify the XML of the project file, you can unload the project, modify it, then reload it. Craig ...Show All
Visual Basic Is this supported in the IDE?
Hello. I have been playing arround with a project in vb.net for some time now, and i have a few things, that i dont know if already exists 1. Access codesnippets from intellisense! Its not fun to have to find my mouse, and press a few buttons, to just insert a simple for each snippet ;) 2. Access keywords from intellisense! This 2 small things, i think is very importment. Does this already exist Or is it possible to change For 1. you can access intellisense code snippets without using the mouse by typing followed by hitting the tab key. For 2 what sort of keywords are you looking for in intellisense Ting ...Show All
SQL Server Synchronize SQL Mobile 2005 using ActiveSync
I want to synchronize my database on Pocket PC / The Emulator that use WM5 and SQLCE3, but the synchronize is doesn't use IIS as the bridge, but i want to use ActiveSync as the synchronizer bridge. The rule like this. 1. Have database on Pocket PC. 2. Have application on Desktop PC. 3. When device or emulater placed on cradle, then the database automaticaly synchronized with database server on desktop pc. Why I want to use ActiveSync as synchronizer. 1. I have the Pocket PC cradle. So my device can synchronized using ActiveSync. 2. I have internet connection on Desktop PC. So why i must pay more for GPRS if i only need to synchronize my devi ...Show All
.NET Development Standard Person definition schema
Hi all, I've been working with several industry standards for vertical matters such as Human Resources, Accounting, Billing, etc... However, none of those standards seem to follow a standard definition to declare person information. Do not misunderstand myself, they do greatly the job and I couldn't found any missing information but they just use their own schema definitions. I'm right now working on a project which mainly focus on managing person information and I wondered if anyone of you would have heard of a standard schema to define persons I've been googling around but couldn't find any information about it. Thanks by ad ...Show All
Software Development for Windows Vista Vista
I have just become a member of Technet plus. I have installed Vista beta on my puter. I keep having this Windows Security pop-up everytime my anti-virus hiccups. Is there a way to stop this It is the pop-up to accept or deny permission for my anti-virus to run. silly1 wrote: I have just become a member of Technet plus. I have installed Vista beta on my puter. I keep having this Windows Security pop-up everytime my anti-virus hiccups. Is there a way to stop this It is the pop-up to accept or deny permission for my anti-virus to run. ...Show All
