kwilk's Q&A profile
Windows Forms Resizing
I am performing some fairly lengthy recalculations within my SizeChanged event. Everything works fine until I turn on the Windows Effect "Show window contents while dragging". With that feature enabled the SizeChanged event fires multiple times while you drag the window frame to a larger size. This is murder on my SizeChanged event as these long&nbs ...Show All
Visual Studio Express Editions Drop Down List in a Details View Update
Hi I am new to asp.net and visual web developer and was wondering if somebody could give me some help. I have a details view with an update and insert facility. When the update button is clicked textboxes appear, for the user to enter data into. Instead of having textboxes for all fields I would like a number of fields to appear as drop down lists that are populated from a database. How easy is this to do I would like the value in the field used in the dropdown to be the value initially selected in the drop down list box. Additionally, is it possible to use the required field validator on these fields I would be really greatful for an help ...Show All
Visual Studio Team System Missing 'Business Intelligence Project' type in the New Project dialog
Hello, I just watched a demo of creating test reports in Team System where they talk about a project type called ‘Business Intelligence Project’. But in the version of VS I have, when I go to File -> New -> Project, I don’t see Business Intelligence Projects in the New Project dialog box. I think I have the latest version of Team System in my machine ( Visual Studio Team Suite, RET - 50727.21 ). Any ideas here What verison do I need and where can I get it from Thanks in advance for any direction I can get, -ven You shoudl be using "Sql Server Business Intelligence IDE" inst ...Show All
Windows Forms Converting Word document into xml?
Hi I have this WORD document with some text, formatting and images. Now, I want to save the content of that document into an xml. If it were a simple text document then I know how to approach it. Since, image is also involved in it, I am not sure how to go about. How can I read the entire content of WORD document (including text, fo ...Show All
Visual C++ Trouble trying to initialize an unsized string
I am getting "Access violation writing location 0x00000000" when trying the following m_pstrName = new char [strlen(n)]; the variable m_pstrName is declared like this char * m_pstrName What is going on. Hi, Oops, sorry my bad, actually strlen(NULL) is generating the problem. Max ...Show All
Visual C++ Bitmap -> blob
I have an object of type Bitmap that I'd like to save in an SQL server (type blob), and then retrieve it. I can find a few examples of how to do this using MFC, but I'm not using MFC. :) I can't find anything in the documentation about this. Ok, I guess you have a handle (HBITMAP) with your image so the next step is make a call to GetDIBits to obtain raw bytes. Here is some code I extracted and prepared for you! void SendBitmapToSQLServer(HDC hDC, HBITMAP hBmp) { BITMAP bmp; LPBYTE lpBits; // memory pointer PBITMAPINFO pbmi; WORD cClrBits; // Retrieve the bitmap color format, ...Show All
Windows Forms transparent labels
I have a control with a graphic. I put some labels over it, and set the background to transparent. This doesn't mean the graphic shows through, it means the background color shows through. Do you know how to get a truly transparent background on a label I've tried using graphics drawstring() but it doesn't look as smooth and it's much more of a&n ...Show All
SQL Server Is SSIS slower than DTS????!!!!!!
I am new to SSIS and probably doing some mistake while transferring data from oracle source to oracle destination. Please guide me.. In our project we need to transfer nearly 80 GB data from old system (Oracle 9i) to new system (Oracle 10 G Release 2). To do this exercise we are testing and comparing performance and cost effectiveness between different tools like SSIS, DTS and SQL * Loader (oracle built in tool). We have selected one table, which is having 40 fields with 3 million records. The destination table is also having same structure. Surprisingly SSIS is giving slower performance ...Show All
SQL Server Very Lost while trying to Configure “Web Service Identity”
Very Lost and very Frustrated Hello all, I am going to try to keep it short. Been banging my head with this SQL 2005 Reporting System. My system configuration is as follow: Windows 2000 server – (all services packs install) Microsoft SQL Server Management Studio 9.00.1399.00 Microsoft Analysis Services Client Tools 2005.090.1399.00 Microsoft Data Access Components (MDAC) 2000.085.1117.00 built by: (_sqlbld) Microsoft MSXML 3.0 5.0 6.0 Microsoft Internet Explorer 6.0.2800.1106 Microsoft .NET Framework 2.0.50727 ...Show All
Visual Studio Team System Pulling info. from db into headers and footers
Hello, Is pulling information from the database (sql server) and putting it into the headers and footers even possible I have heard there some kind of work around to achieve this but I am not sure how to go about it. Any ideas thanks ahead. Basically i want to be able to pull names from my sql server database to insert into the report page header. This would be easy to do in the body of the report, but i want this information in the header of my report. I am working with sql reporting services. I hope this makes things a lil more clear. ...Show All
.NET Development Binding Business Object Properties to RDBMS Tables
(I'm asking this from a newbie knowledge base --- here goes:) What is the general solution in .NET for binding business object properties (and perhaps complicated structures, like a collection of collections) to RDBMS tables 1) I see the value of ObjectDataSource for automagically binding buisness object properties to databound controls...is there something analogous to binding business object properties to DB tables 2) Or must this be done "manually": first bind the DB table to a dataset, then move the dataset into the business object data structure, using custom code par ...Show All
.NET Development My Datasource object could not find My Data access layer function
I am exercising the demo at http://beta.asp.net/GuidedTour/ . Following the same procedure I came accross with the following problem. At the topic Configuring the Object Data Source my datasource object do not show the name of the function that is defined at data access layer while configuring the data source object. Please tell me any possible mistake i have made. I am also having same problem. Step 2 says In the ObjectDataSource Tasks menu click Configure Data Source . In the Configure Data Source wizard, uncheck Show only data components . For Choose your business object select DataAccess and then click Next . But I ...Show All
SQL Server Page number doubt in RS2000
Hi, I have created a report which has a Table of Contents and two other sections say Sec1 and Sec2. Sec1 and Sec2 have tables which are populated from the database. The page numbers of Sec1 and Sec2 are not known at design time. In the Table of Contents, I need to show the page numbers where Sec1 and Sec2 start. How can this be accomplished Regards, Asim. Were you able to find a solution I am also looking to solve this issue for my reports. ...Show All
Visual C++ Wizard Migration to VS .NET
Is it possible to use a VC++ wizard, (*.awx) in VS .NET I got the wizard from an author of a book. If so, how Thanks, VF If you are talking about a Visual C++ 6.0 wizard, then the answer is no. The entire add in model changed between the 6.0 and 2002 versions. Ronald Laeremans VIsual C++ team ...Show All
Smart Device Development how to play and stop wave
Hi, Could anyone give the source code in embedded vc++(mfc) for playing,stopping,rewinding,forwarding a wave file.Please make this urgent Hope the below link helps. http://www.pocketpcdn.com/articles/multiplewaves.html ...Show All
