odul's Q&A profile
Visual Studio ADO.NET (XML) Datasource Missing
After I installed SQL 2005 Express I lost the ADO.NET (XML) datasource option, I am using Crystal Reports v9. Does anyone know how I can get it back I have tried unistalling SQL 2005 Express, Crystal Reports, and Visual Studio(2003), and then reistalling Crystal Reports and Visual Studio. Thanks I found out this is caused by the .NET Framework 2.0. Once that was unistalled the ADO.NET (XML) Datasource was restored in Crystal Reports 9. ...Show All
Smart Device Development Problem in using OpenNetCF soundplayer class
please help me. i want to play a .wav file added to my solution's resources (file name is "start.wav" ). i used the following code-- private void button1_Click(object sender, EventArgs e) { System.IO.Stream mystream = Properties.Resources.start; OpenNETCF.Media.SoundPlayer myplayer = new OpenNETCF.Media.SoundPlayer(); myplayer.Stream = mystream; myplayer.Play(); } but error messase i get is " Cannot implicitly convert type 'byte[]' to 'System.IO.Stream" . is there any method to play a resource sound file. please help I can guess that "start" variable is a byte array, and you are trying to assign a ...Show All
SQL Server Converting Paradox 7 to SQL 2005
Hello I am begining to work on migrating my Paradox 7 databases to SQL 2005 and have begun looking into which method would work best. If anyone has any ideas and/or suggestions they would be appreciated. Thanks Chris I am looking into using the Server Intergration service to move my data but I am having trouble finding a Data Flow Source to hook to my Paradox connection which I created as a ODBC Provider. Any Ideas Thanks Chris ...Show All
Windows Forms Linking MonthCalendar control to DataGridView control (won't clear)
Hello, I'm a newbie C# developer using VS.NET 2005 and can't seem to control the DataGridView object by a MonthCalendar object using ADO. I figured all I would need to do is use the DateChanged event to call a function that refreshes the database. This "refresh" function is called once the form loads and invokes a simple SELECT statement with the current date. I noticed that the more dates that I click on, the more contents would appear on the DGV control. So I then figured I would need to clear the rows each time; however, this causes an exception and I'm not sure why. Here's the function that's called on the DateChanged event: [ ...Show All
SQL Server Problem to install SQL Server 2005 CTP June edition...
Hi When I tried to install, I kept getting the following problem with System Configuration Check: A previous installation required a reboot of the machine for changes to take effect. To proceed, restart your computer and then run SQL Server Setup again. I've rebooted many times (with AntiVirus turned off) and yet the above problem remains. Anyone has a solution to the above problem Thanks. Rgds OngCF ACtually worked it out and if anyone comes across this then: 1. Hit Start > Run type SQLServerManager.msc or if you have the shortcut on your start menu feel free to use that. 2. Expand SQL Native Client Conf ...Show All
Software Development for Windows Vista Getting audio files' extended attributes
Hi everyone... I hope I'm posting in the right forum for this question. I origianlly posted this in the VB.NET development forum, as that's the platform I'm using (original post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=230192&SiteID=1). But it's really a Windows API question... I have a couple of applications that find all the .WAV and .MP3 files in a folder (and its subfolders), reads their headers, and reports their sample rates, lengths, and number of channels. They run on XP and 2003 Server. I'd like to extend this to .WMA and .AIF files, and I'm starting to think that an easier way of accom ...Show All
Software Development for Windows Vista Customizing work flow
Hi, I have a requirement where I should be able to define a workflow for approval process (ASP.NET). However, it should be possible to configure the workflow for different client needs. For example, my workflow has 10 steps. First client might go through all 10 steps of the workflow but the second client might not require a couple of steps inside that workflow. Is it possible to configure the workflow like that In that case, what kind of workflow should I define to cater this need Is it possible to configure the workflow steps on a parameter (e.g. per client) I don't want to define different workflows for different clients. Any he ...Show All
Visual J# COM object that has been separated from its underlying RCW cannot be used exception within threads
Hi, We are having code in which we start a new thread and set it as STA. This new thread initializes IHTMLWindow2 object and then starts another thread. But, in that second thread if we try to access the IHTMLWindow2 which is initialized in the first thread we are getting this exception "COM object that has been separated from its underlying RCW cannot be used". If we do not set the first thread to STA, we coudn't access the windows in that thread itself, so it needs to be in STA. So how can we access the window initialized in the first thread Please give any suggestions. I am giving the code here. Class1.java: import ...Show All
.NET Development How C# performs sql procedure?
Assume there are three tables in one database created by MSDE, and they are related by using "id", for example: the structure of these three tables are as below: table A: a_id, name, date table B: b_id, a_id, message table C: c_id, b_id, position what I want to know is how to use C# to delete one row in table A and delete related rows in table B and C at the same time Must I delete related rows in other tables one by one or is it C# supports procedure like Sql Server to achieve this action and how thanks for help........ thanks Eisa, could you give me more details about how to set the properties that enable cascade d ...Show All
SQL Server Connection managers - OLE DB
Hi There Quick question.In DTS when you had multiples tasks connecting to the same Database, it was reccomended that you create multiple connections for the same database and let each task use a different connection, thereby making a new connection for each one. In SSIS if i define 1 OLE DB connection to a database, but i have say 6 tasks using that connection that run simultaneously, does eachone open a new connection to the database to make it more efficient Or do i still need to define multiple connections to the same database and assign each task a different connection Thanx Did you have retain same connection set to true I don't h ...Show All
Smart Device Development CE.Net 4.2 and Compact Framework 2.0
Hi, I'm hoping someone can help understand why those of us that work with Industrial Handhelds (and therefore CE.Net) got the short end of the stick. We have equipment that was just purchased this year with CE.Net 4.2 and Microsoft is not supporting it with VS2005. It's not like 4.2 was a down-level version, it was the latest version of that build. Our only options are: 1) Pray the vendor certifies on the new version, pay additional licensing fees for the OS upgrades, pay to have almost 100 units shipped to Corporate to rebuild and all of this after spending thousands of dollars regression testing CE.Net 5.0 against o ...Show All
Visual C++ Browse info and build
When I turn off "BscMake tool" in the Tool Build Order dialog box, the browse info is indeed not updated, but Visual Studio always thinks that the project is not up to date, each time I try to launch the program it prompts me to build it, and when I say yes it doesn't build anything as the bscmake step is skipped. Is there a way to tell the IDE to ignore that the browse info is not updated Thanks, Flavio. P.S.: disabling bscmake is recommended in the docs to shorten build times, so that one can choose to update the browse info only once every few builds: From ms-help://MS.VSCC.v80/MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.VisualStudio.v80.en/dv ...Show All
Smart Device Development No Hello World template in VS2005...
I have been using eVC4.0 for native win32 coding. But recently I moved on to VS 2005 for Smartphone 2003 development. And to my surprise, there was no Hello World Application template here. Even the sample codes with the SDK do not provide VS2005 solutions. They offer vcw files to use wid eVC. Its not very good news for ppl like me thinking to move on to VS2005. I m involved in making dlls and totest them i need to make very light HelloWorld like apps. Pls let me know if theres a way out or if there isnt. Any sort of comments wud be appreciated. Vishal I believe it's now called "Console Application" template – you would se ...Show All
Smart Device Development device programming
I had been using eVC4 to develop for Windows mobile. Just downloaded VC++ express edition. How do I get device programming features integrated -Praveen Hi Praveen The Visual Studio 2005 Express Editions do not suppot Mobile Device development. You need at least the Visual Studio 2005 Standard Edition. More details can be found here: http://msdn.microsoft.com/vstudio/products/compare/default.aspx Michael ...Show All
Visual Studio VS2005 on XP 64 bit Itanium
I am stuck here. I have a Windows Server 2003 Itanium server and a Windows XP 64 bit Itanium backup workstation. VS2005 requires SP1 before it will install. Windows Server 2003 SP1 is installed, so all OK. However, I cannot find the service pack for the workstation. Does anybody know where it is Thanks There's a workaround which you can do to update the setup data files to avoid the check. Please send me mail from my blog http://blogs.msdn.com/quanto and I'll walk you through this offline. Note - moving forward, VS design time will not longer support the Itanium processors. We will suppose ...Show All
