Paul Minnaar's Q&A profile
.NET Development DataSource and DataSourceView
The Beta2 sqlDataSource and sqlDataSourceView are great. But it would be real nice to get the data type of the column, like the DataColumn collection in the DataSet. Does anyone know if this functionality is likely to be added OK I have it figured it out, but it is not easy. I guess I could make my own control......... Dim args As New System.Web.UI.DataSourceSelectArguments("SomeSortExpression") Dim d As System.Web.UI.WebControls.SqlDataSource Dim v As System.Data.DataView = d.Select(args) Dim c As System.Data.DataColumnCollection = v.Table.Columns ...Show All
SQL Server need sample code in vb.net
Hi, I neew a small sample code in VB.NET to create a custom data flow component for SSIS. All the examples I was able to find it are in C#. Answer very apreciated. Go to http://msdn2.microsoft.com/en-US/library/ms136112.aspx Thanks, Loonysan http://mystutter.blogspot.com/ ...Show All
.NET Development Dataset serialization
I have an issue with the Dataset serialization. I have a class, say BaseDataSet which inherits from the Dataset. More classes inherit from BaseDataSet. I would like to pass on the object inherited from the BaseDataSet back to the client via a web service. Before passing on I cast the derived object to BaseDataSet type. On the client, I am not able to down cast the dataset back to the specific class which is the type of dataset passed across. Are you applying the serializable attribute to all your descendents [ Serializable ] public class BaseDataSet : System.Data. DataSet { } [ ...Show All
Windows Forms Handling Real time data in Windows.form.Datagrid Control
Hi Everybody, Can any body suggest me how to handle real time data in Windows Datagrid control . We are working on real time data (Exchange Rates), as and when the data changes, we need to do manipulation and update the same in the datagrid. Is there any way to access the datasource of datagrid which is changing dynamically . Any sort of help is  ...Show All
.NET Development XML Nested relations using Dataset WriteXMLSchema
Hi, I'm trying to generate an XML schema using the dataset method WriteXmlSchema. The dataset contains four tables and several relations as shown below. The CompanyDataTable is a parent table which has two child tables: CompanyAddressTable and CategoryDataTable. Whereas the relationship with the first child table is one-to-one, the relationship with the second table is one-to-many (a single category can be linke to multiple companies). Setting the nested property to true for the first relationship generates the XML schema with no problem, but enabling the nested property of the second relation pops up the following error: "A child ...Show All
Windows Forms How can I protect my compiled code from beeing reverse engineered?
. If you look <a href="http://windowsforms.com/Forums/ShowPost.aspx tabIndex=1&tabId=41&PostID=6202">here</a> there is a little more info. ...Show All
Smart Device Development Bluetooth Service Discovery Problem
hi all,i have a problem with Service Discovery Function WSALookupServiceBegin(),i get Bad Address error from WSAGetLastError(), i initilize queryset like this: WSAQUERYSET query; SecureZeroMemory(&query, sizeof (WSAQUERYSET)); query.dwNameSpace = NS_BTH; // query.lpBlob = NULL; query.lpServiceClassId = &rfcomm; query.dwNumberOfCsAddrs = 0; // query.lpszContext = (LPWSTR) converted_address; and then pass it to WSALookupServiceBegin()...if i comment out // query.dwNameSpace = NS_BTH; i get another error: WSASERVICE_NOT_FOUND...can someone tell me how i can fix this i bunched code together here: // de ...Show All
Windows Forms Event firing in DataGridView DataGridViewComboBoxCells
I have a DataViewGrid (virtual) to which I have added a row of DataGridViewComboBoxCells. My problem is that when one of the DataGridViewComboBoxCells is dropped downand you click on any of the other DataGridViewComboBoxCells in the same row then no event appears to fire. The drop down closes but the edit does not move to the combobox you clicked on. This problem only occurs if the first combobox is dropped down and you try to navigate with a mouse click. If the current box is not dropped down then the click navigates to the correct box. Navigating with the tab works whether the first box is dropped down or not. Can someone tell me what e ...Show All
Visual C++ Class inheritance in Visual C++ .NET
I was reading the following article in the December 2004 issue of MSDN Magazine, http://msdn.microsoft.com/msdnmag/issues/04/12/CustomFormsDesigner/default.aspx entitled, "Tailor Your Application by Building a Custom Forms Designer with .NET." It's pretty interesting stuff, and the code download is written in C#. There are several classes that inherit from numerous interfaces. I have the 2003 version of Visual Studio C++ .NET standard, in which when writing a class declaration, you can only inherit from one class or interface. I'm wondering if there is a way around this problem, as I would like to create a similar Windows Forms Designer in C ...Show All
Visual Studio Team System Do the source control features of TFS Beta 3 work with VS.NET 2003?
Does the TFS Beta 3 already include a source control provider for use with Visual Studio .NET 2003 or what is the status here Thanks, Neno That's correct. We are working on a MSSCCI provider. We will be releasing a evaluation one for VS6 shortly (within weeks) and one for VS2003 a little later (within a few months). Brian ...Show All
Smart Device Development Thread Issues
Hi, I’m working on a migration from a simple windows app to a PDA app with Threads. After to inspect a lot of code, i found that i have a problem with the inicialitation of a thread (the app just die with the "System.NotSupportedException was unhandled Message: An unhandled exception of type 'System.NotSupportedException' occurred in Unknown Module."). I identify the thread making sleep all the others threads form the app after invocation of start(). In that moment, when the scheduler gives execution time to the thread, the app dies. The code seems like this: // Creation time of the conflictive thread Connect(){ // Listen -> this is ...Show All
.NET Development Unable to view structure members
Hi, I am having a problem with viewing the list of my structure members. I declared a nested structure as shown below. When I tried to access the structure members in the page_load procedure, I was unable to see the list of members. What namespace do I need to import in order for ASP.Net show the list of the structure members thanks... Private Structure CEAHomeRates Private sHomeTerritoryCode As String Private sHomeBaserate As String Private sHomeAddBaseRate As String Private sHomeCoverageCRate As String Private sHomeCoverageDRate As String Private sHomeBldgUpgrdPremi ...Show All
Visual Studio Team System TestRun Deployment Issue - local assembly is not trusted
Hi there, I have a Unit Test for a web page (based upon the details at http://blogs.msdn.com/vstsqualitytools/archive/2005/08/02/446322.aspx . When I try to run the test I get the message: Test Run deployment issue: The location of the file or directory 'c:\...\ICSharpCode.SharpZipLib.dll' is not trusted. I have found other references to this message but they were all for assemblies on UNC shares or other remote locations. This asembly is on my local machine (and My Computer is set to Full Trust in the Framework Configuration). Do you know how I can get the test to run Thanks, Brendan Hi M ...Show All
.NET Development Prevent Assembly from being "Reflected" ??
Hello can we prevent assembly from being reflected by tools like "REFLECTOR" Can anybody help Regards Obfuscate your assembly. Visual Studio has one community edition obfuscator called dotfuscator, but if you want you can buy the full version from here: http://www.preemptive.com/products/dotfuscator Regards, -chris ...Show All
Software Development for Windows Vista BizTalk 2004 Migration to WFF
If I start with BizTalk 2004 today, is there a migration strategy for converting the workflows to WWF Hi, this is just my 2€cent thought: As I understand it , Biztalk will be build upon WWF one version after the comming 2006 version. I suppose a migration path from BTS 2004 to BTS 2006 will be available. I don't think there will be a migration from BTS 2004 to WWF : they are unrelated technologies. I would probably go for Biztalk 2004 if I need all the features of BTS like reliable messaging , adapters, scaling out/in, survival of process restart etc... Again just my 2cents. ...Show All
