Fairy's Q&A profile
.NET Development Radio Buttons Population
I have 4 Radio buttons that I need to populate from a Datareader. The DataReader has 4 rows resulting from the SQL. I then attempt to populate the first RadioButton with the first returned record from the ListItem. It actually populates the first RadioButton with the last row in the DataReader. I have listed the code below. Can the ListItem accept a row to select the data from Or how can I approach this SqlCommand scSQLBPMKeywords = new ...Show All
Smart Device Development RESET POCKETPC
hi ; i have a problem : i must to make a soft reset of the my device in csharp; how can i make it thanks alessandro Please see this: http://www.danielmoth.com/Blog/2005/03/please-read-before-posting-to-ng.html And this: http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_frm/thread/fc11d051f1d376ed/aca91da047530175 q=soft+reset&rnum=7#aca91da047530175 ...Show All
Windows Forms definitively deleting a datarow from a datatable
I'm trying to delete a row from a datatable that is the datasource of a datagrid by using the following code : table.Rows.Remove(table.Rows(selec - 1)) table.AcceptChanges() But when I try to insert new row with the same id that had the deleted row  ...Show All
Visual C# Confused about some OOP concepts... good resources to learn?
(I am sorry if this isn't the right forum for this sort of question, but there doesn't seem to be a "General Programming questions" forum here... feel free to move it or delete as necessary) Anyways, I have a lot of programming and C# concepts down, but I'm having a devil of a time coming to grasps with object-oriented programming (I've watched the C# Express videos that deal with it, and the VB.NET ones, and the other ones from Lea ...Show All
Windows Forms Viewing web pages in a Windows application
I'm trying to put together a smart client app and need to display some web pages (html files). I can't seem to find a windows control that will allow me to easily accomplish this. Does anyone know of such a control (preferably free) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Thoughts about PC Gaming and its current problems
Hello to all, I’ve been thinking about windows game development and why with the flexibility and power that a PC offers is inferior to the consoles (sure, pc gaming is not dead, but is the business is dying when you compare it with the console business) and I came to the following problemas that affects pc gaming. 1. Performance. Let’s face it, in order to play the lastest games in a nice way (nice graphics, good f ...Show All
Visual C++ Global Functions do not have 'this' pointers
Hello Everyone, I get this Error C2673, what is the way around...I looked up MSDN it doesnt give me any solution... Sugestions, Help..Highly appreciated.. Thanks, Thanks for the honest answer...I'm not expert in OOP but trying too find my way out..... ...Show All
Visual C# What is a Hashtable?
Hi, Can anyoane explain to me what is a hashtable Thank you, Hashtable is a member of System.Collections which is a collection of key/value pairs that are organized based on the hash code of the key. Read more about it on MSDN: http://msdn2.microsoft.com/en-us/library/system.collections.hashtable(VS.80).aspx ...Show All
.NET Development Threading Problem
Hi, I have a callback function that gets called a few times in a second. Within that callback function I am writing to a shared resource that can be used by another thread for read/write at the same time. What would be the best way to make that shared resource threadsafe specially considering the fact that the callback function writing to the shared resource might get called again while its still not finished executing for the current cal ...Show All
Visual Studio Team System Anyone familiar with the web test in team systems?
Joined the Vancovuer Launch Event 2005, the guy demoed web test, to create a user then use validator to check the result is correct or not. How about this scenario In the web test demo of team system, how can we get the failed information automatically if the user was created twice If we test this manually, obviously we human can read the error message "This account has been exist!" and if it's not exist, "Your account is created successfully ...Show All
Visual Studio Having difficulties with CrystalReport XI Webservice
Here is a brief description of the scenario I’m using: Client : CR reports are displayed in a WinForms Client, exposed by Crystal Service(using the ServerFileReport ) . In the ServerFileReport I pass in the report path and URL to the webservice. The parameterfields and discrete values are passed to crystalviewer object. Server_Old : Crystal Services (IX). Server_New : There i ...Show All
Visual Basic Printing from datagridview
I'm sure this has probably been asked before, but I can't find it. I’m using a DataGridView to display data from a SQL database and I would like to be able to print it. How do I do that My problem is grabbing the data. I simply don’t know how to get the data from the DataGridView. The best thing would be if I could grab and print the entire table but anyway to grab the data and print it in a readable way would be great. Thanks ...Show All
Windows Forms Class Event triggering a method on a Form...
Hi all, i have a Class that handles Barcode scanning functionality, and a Windows Form that contains an instance of this Barcode class. One of the Properties of the Barcode Class is an Event, which is triggered when the user executes a successful barcode scan. What I want is to be able to somehow call a method belonging to the Form from within the handled event that sits in Barcode class. How can I do this The extremely watered down code is belo ...Show All
Visual Studio VSPackage Wizard for Tool Window: Why is MyMenuGroup added to .ctc?
I'm trying to learn how commands are added and modified in the IDE. I created a VSPackage using the wizard, selecting a Tool Window. I'm puzzled why the following is added to the NEWGROUPS section of the .ctc file: guidVsPackageDBConnStringBuilder2CmdSet:MyMenuGroup, guidSHLMainMenu:IDM_VS_MENU_TOOLS, 0x0600; This doesn't appear to be needed. When commented, the command to open my tool window appears in View ...Show All
Windows Forms to Mitch walker
the Program Manager of .NET Terrarium have told me that I have been chosen as one of the winners of the International Terrarium Contest in July last year , and I have send my mailing address to him in time, but until now, I havn't&nb ...Show All
