Sri_Prad's Q&A profile
Windows Forms Where is SoundPlayer?
I have beta 2 of VB.NET 2005 Express but I don't see SoundPlayer in the Toolbox. Was that dropped from beta 2 If not, where is it I can't seem to find it. I <a href="http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.asp ...Show All
SQL Server Howto do totaling in column wide in matrix table
Hi Can some one help me please I am using matrix table and i need to do total column wide say example priority 1 priority 2 P 3 $ 100 $ 500 $ 200&nb ...Show All
Software Development for Windows Vista Compilation failed for Travel Demo
On compiling the Travel Application Demo , which I had downloaded from http://www.windowsworkflow.net/default.aspx tabindex=4&tabid=49 , the following error appears: Error 1 Compilation failed. Value cannot be null. Parameter name: name C:\Trav\TravelApplication 0 0 By double clicking this error a message box appears having the following message: Cannot open File 'C:\Trav\TravelApplication'. Verify that the file still exists and ...Show All
Visual C++ Problem with a program I am writing...
I am writing a simple program for a c++ course I am taking and can not seem to get my vector string to initialize correctly. Below is what my main looks like. void main(void) { double dblResult = 0; vector <string> strTestCase1; //****************************** //* TEST CASE ONE //****************************** strTestCase1 = {".....", ".....", "..B..", &nbs ...Show All
Visual Basic Project output path on network drive
Hello, I'm *trying to* transition to vb 2005 from vb6; All our current vb6 projects are on a network drive; However when in vb2005 i start a new project then the default path points to "C:\Documents and Settings\ava\Local Settings\Application Data\Temporary Projects\WindowsApplication1\bin" When i try to point to Z:\andreas\VB2005\ I get a message : "the output path is not trusted; the application may throw securuity exceptions when it ...Show All
Smart Device Development How to write/add Chinese chars in Smart Device CAB project?
when i modify the "Manufacturer" section to Chinese chars ,the project cannot pass through the Compile. the CAB project is P rimary output from a DLL project. How to It could be great if you can give me a clue on that. Thank you! Yes you are right. WCELoad is ANSI only. This is unfortunately a limitation. Amit ...Show All
.NET Development Updating Access from Data Table - slightly confused
I'm using vb2005 to create a front end to an access database. Being new to this I'm slightly confused over what the wizards will create automatically as opposed to what I have to code. I've used the table adapter configuration wizard and specified that I want it to create methods to update a table called 'Categories' in the database. This is a simple table with a text field for the category name and an autonumber field (CategoryID) as the primar ...Show All
Visual Studio Express Editions ShellExecute
Is there a C# alternative of C++ platform sdk function ShellExecute It's used to open a file in an associated program (among other uses). Hi Mike, Can we use the 'System.Diagnostics.Process.Start(info)' for elevated executable in Vista to support UAC Or we must use the ShellExecute() API as used in C++. My requirement is to break my existing exe into two saperate exe's as explained as "Admin Broker& ...Show All
.NET Development EventLog.WriteEntry - static or not?
I am using the simplest way to write to the event log: if(!EventLog.SourceExists(...)) {EventLog.CreateEventSource(...);} EventLog.WriteEntry(...); From the syntax, WriteEntry should be static, but in the documentation it is not. I am interested to find out why because this code will be called from different threads and only the static members of EventLog are thread-safe. Eventlog.WriteEntry has both static and non static members, chec ...Show All
.NET Development What happened to the ADO.NET 3.0 May CTP?
It was announced here http://bloggingabout.net/blogs/erwyn/archive/2006/05/11/12167.aspx and then within a few days was so completely removed from MSDN ...it was like it never existed. Why was all of the documentation for ADO.NET 3.0 removed from MSDN ...Show All
Visual Studio Express Editions Cannot get cd to autorun
I am using VB Express to create an application and am pulling my hair out trying to get the cd to autorun. Using Project->Properties->Publish and then Options... I have checked "For CD installations, automatically start Setup when CD is inserted" In the publish folder, it creates an Autorun.inf file that contains: [autorun] open = setup.exe icon = setup.exe,0 Then, using Iomega Hot Burn Pro I add all of the fil ...Show All
Windows Forms Problem with Databound DataGrid on a MDI Child form
Hello all, I have this problem with a databound datagrid in a MDI child form. When bounding an empty datatable ( filled by a query which doesn't contain any results) to the datagrid, I actually see 2 rows in the MDI child form. 1 of these rows is an empty row and 1 is a new row. (see code below) But the datagrid should only display 1 row (the new row), because the datatable doesn't contain any rows (results). Before bounding the datable ...Show All
Windows Forms no-touch deployment - speed of initial dll call
Hi, I've got a winforms app that uses 6 dlls. I've got this working wiith the no-touch deployment no prob. BUT The first time the .exe calls the dlls it takes 30 - 60 seconds to do it's thing. After this first time it runs fine. This happ ...Show All
Windows Forms TaskBar ContextMenu
hi ppl,, i have my main window with FormtBorderstyle ste to None... ok,,, and my app shows in the taskbar.. thats ok ,, i want it to be in taskbar.. but when i right click on the taskbar item of my window ,,i dont get any ContextMenu,, i think this is because i have no border in my form.. so i was wondering how can i set a ContextMenu for when the user right click the taskbar item it shows up mig16 sorry for my english hehe not my primary langu ...Show All
SQL Server stored procedures in SQL Mobile
Can you create user stored procedures in SQL Mobile thanks Bruce No. SQL Mobile does not support stored procedures (SP) or triggers. You can code the SP logic in .NETCF application on the device itself. The volume of data that needs to be manipulated is manageable without SP. What are the typical applications scenarios you have in mind for SP in SQL Mobile - thanks Durga ...Show All
