bromba's Q&A profile
.NET Development Type conversion error
I have multiple projects that depend on SSPI.h (taken from MSDN code samples). However, during the conversion to the .NET 2.0 Framework, this file is generating a type conversion error and I am not sure how to fix it. This is the error where _ _const_Char_ptr is typedefined as System::Char* error C2440: '=' : cannot convert from '__const_Char_ptr' to 'wchar_t __pin *' This is the code snippit: &nbs ...Show All
Windows Forms BindingContext[...].Position not working
Hi, I am working on a window form app and have successfully bind the data to the controls with the following code Code: .... dsMail = new DataSet(); sqlDataAdapter.Fill(dsMail, "myTable") ; DataTable dt = dsMail.Tables["myTable"]; lstSub.DataSource&nbs ...Show All
.NET Development error with sytem.xml.dll following VB.net video tutorials
hey all. im not sure whats wrong here, as i've been following the RSS feed reader video tutorials on the microsoft site for VB express, and have come across an error i just can't seem to get rid of. I have got as far as the section on downloading the MSDN rss feed, and i'm getting an error on the line: rssDoc.Load(rssStream) The error helper tells me: '>' is an unexpected token. The expected token is '"' or '''. Line 3, posi ...Show All
Windows Forms User time out in Desktop Application
Hi, I want my user of desktop appliaction be logged out, if user do not press any key or click/move mouse for in last say 5minutes and be presented with a messagebox/login screen. basically i want to trap key events and mouse events at form level. I tried one logic having KeyPreview of form set to "true" and Form_KeyDwon can capture key down events on the form and on any control. The same way i want to capture mouse events wit ...Show All
Windows Forms I'm going nuts here...
Trying to find a control that will display nicely formatted text (preferably HTML) dynamically on a Windows form. Does anyone know or have experience with such a beast I have searched all over the Net and found lots of "browser" controls, but I don't want a Web browser - I just want to display nicely formatted text on a Windows form!! Like this: Dim sbText as New StringBuilder() With sbText .Append("<p><b>This is a ...Show All
SQL Server Problems with reporting
Hi, I am testing MS reporting on VS 2005 Beta2 with the report file (.rdlc) embedded in a Windows application (no server involved). Previewing the report works fine, but if I want to print it, I apparently must first click on the print preview icon in the viewer's toolbar and then click on the print icon. I believe that one should be able to print a report without showing the form containing the viewer; but is there at least a way of forcing the ...Show All
SQL Server How do I specify a "trusted connection"?
I'm trying to get a utility to run, and it's insisting on a user or trusted connection. I'm using SQL Server 2000 running locally. I've tried every login name, default, user I can think of but it rejects all of them. What should I use for "trusted connection" Is your SQL server running under Mixed Mode authentication or windows only Is this the error " Login failed for user 'sa'. Reason: N ...Show All
SQL Server Reporting Services 2005
Can I install and run Reporting Services 2005 on a SQL 2000 server currenly running RS 2000 Sorry, your original message wasn't clear enough, so I thought you wanted to run SSRS 2000 and 2005 at the same time on the same machine. Evidently, you just want to upgrade. Yes, 2000 reports can be published to 2005. They will be automatically updated so they work in 2005. Once updated, you cannnot round-trip them BACK to 2000, however. ...Show All
Windows Forms ClickOnce Possibly make Spyware just a little bit easier
I had done some work trying out ClickOnce deploy. What worries me is that what if trojan and viruses writers start deploying their software using ClickOnce. All the server security settings will not be relevant then. See the article at : http://www.cerberus-network.com/Home/tabid/63/ctl/Details/mid/397/ItemID/11/Default.aspx Just want some comments on what can be done to reduce the risk. You are right. ClickOnce ...Show All
.NET Development Problem with XMLSerializer in .NET 2.0
We use the XMLSerializer to serialize a class hierarchy. This works fine in .NET 1.1 but in .NET 2.0 beta 2 I am getting the following error message: "If one class in the class hierarchy uses explicit sequencing feature (Order), then its base class and all derived classes have to do the same." This message is actually from the most inner exception. The 15 or so nested "outer" exceptions reported the following. "System.InvalidOpera ...Show All
.NET Development Differences in WSDL between web service versions.
I have 2 versions of a C# 1.1 web service that emit different WSDL, and I would like to know what I may have done to cause this change, and what effect it might have on my client apps. The original verison's WSDL contains sections for each web service function by name appended with HttpGetIn, HttpGetOut, HttpPostIn, and HttpPostOut. For example, for the web service function " Init ", I have corresponding " InitHttpGetIn & ...Show All
Visual Studio Express Editions Visual C# Express connecting to .\MSSQLSERVER instance of SSE
All, I have been searching through the forums looking for any information about using any of the Visual Studio Express products with SQL Server Express using a standard instance instead of .\SQLExpress. I'm trying to use the Amazon-Enabled Movie Collection Starter Kit. I installed SSE as a standard instance on the same system that is running VSE C# edition. I have loaded the project, open the Database Explorer and select modify ...Show All
Windows Forms using dictionarybase...
Hi, I'm trying to build a collection, and I would like to be able to address a certain element in that collection not only by its index, but also by its key name... something like DataTables in DataSets: you can say dataSet.Tables[2] or dataSet ...Show All
SQL Server Problems when I install SQL Express SP1 (CTP)
Hi All, I have installed " SQL Server 2005 180 days evaluation " on Windows XP as default instance one month before. It runs fine. However, today I try to install " SQL Express SP1 (CTP) - SQLEXPR_ADV.EXE " as a new instance name " SQLExpress ", It prompt me that it could not install " SQL Server 2005 Management Studio Express " as existing "SQL Server 2005 Management Studio" already ...Show All
Windows Forms ActiveX control issues
i have an activex control developed in c++ (not managed c++) which is used in my windows forms application. the purpose of developing it in c++ is mainly for performance point of view. i have an experience in GDI+ and control development and what the said activex control does is just the same painting routines that i have been doing in .NET using the wrapper classes for graphics object, pens, brushes, etc. is there really a perfor ...Show All
