exal's Q&A profile
Smart Device Development I want to have a button navigating to My Documents
I want to have Buttons in a VB Form navigating to places like,My Documents, Network Places, My Pictures etc. Does anone know code for me to be able to do this... Thanks And it promised to " take you to the folder " Could you please post help URL ...Show All
SQL Server Four-Part Name Requirements for OLE DB Providers
Could any one pls Explain about the Four-Part Name Requirement for OLE DB Provider. Thanks -Sivaraman Latchapathi DO you need an explanation on the for part name or any insights of the OLEDB provider THe four part name is nothing else than the full declaration of the aquirering object: ServerName.DatabaseName.SchemaName.Objectname The identifiers may vary from source system to source system as there is something like a library in DB2 You probably would have to combine the dateparts to a complete date to keep the logic of comparing a date, so it would have to be something like: HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de ---- ...Show All
SQL Server Creating and Using SQL Server 2005 Compact Edition Databases
OK I think I am missing something here. I have installed the newly released SQL Compact Edition, Server Tools, and Tools for VS SP1. According to the documentation you can do the following to create a SQL Compact Edition DB: Creating a SQL Server Compact Edition database on the server In SQL Server Management Studio, open Object Explorer . In Object Explorer , click Connect , and then choose SQL Server Compact Edition . In the Connect to Server dialog box, select <New Database…> from the Database file drop-down list. In the Create New SQL Server Compact Edition Database dialog box, type a file path and file name for the new database file. You can optionally select the default sort order and choose whe ...Show All
Audio and Video Development NamedNodeMap Interface ( usage guidelines)
Hi everbody The DOM Level 2 Spec (page 44) defines NamedNodeMap Interface but it does not give a method to create a NamedNodeMap. So the only use of NamedNodemap is through the Node interface where we have a member variable : NamedNodeMap atributes; ie the attributes belonging to a node can be assumed to be stored in a NamedNodeMap. ------------------- The questions are : 1. Does all the attributes (specified or non-specified(ie those having default values)) belong to a node's NamedNodeMap 2 . The NamedNodeMap Interface has method item() (Refer Page 44 DOM Level 2 Core Specification ). Quoting the spec : The item() returns the indexth item in the map.If index is greater than or equal to number of nodes in the map ,this returns NULL ...Show All
Visual FoxPro Speed issue
Hi I have an open table in VFP. I am using vb.Net to get the records from the table. I use the following connection string to connect to the open table. Provider=vfpoledb.1; Data Source=\\Commercial\Data; Provider=Microsoft.Jet.OLEDB.4.0; Data Source= \\Commercial\Data;Extended Properties=dBASE IV;" The open table has more than 3,604,393 records in it. When I give the following sql statement Sql = “select * from ordDet where 1=1 and comp_code = ‘01’ and Itemcode =’02’” cmd = New OleDb.OleDbCommand(Sql, gconnMDB_I) Dim rdDept As OleDb.OleDbDataReader = cmd.ExecuteReader() Do While rdDept.Read() dr = dt.NewRow() dr(0) = rd ...Show All
Windows Forms how can i change the source code of a webpage with webbrowser control??
i want to add some source code to a webpage to add some functions for my own uses.... for example a webpage has a javascript function a(str){ ..... } i want to add an other function b to filter out some text.. so function a(str) {b(str); .... }.. In debug mode it gets rid of the script. But it's already too late. When I hit viewsource it is still there, but in step-thru debug mode it goes away as n element. I don't have Navigated event. I'm using the webbrowser com control in .net. This should not be this hard...anyone ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where to Find XNA Documentation, Including Tutorials and Samples!
Hey Everyone, The XNA Documentation team wants to let you know that in addition to Spacewar, some great tutorials and "how-to" type articles - including full working source code - are available for you to read and play with! You get them when you download and install XNA Game Studio Express (Beta) - here's where to find them: Start Visual C# Express, and click on "Help" in the menu bar. Select "Contents" from the menu that drops down. This will open up the help viewer. When the help viewer opens, you'll see an "XNA" category. Expand that category, then expand the "XNA Game Studio Express" category under that. You'll find: Frequently Asked Questions Getting Started (co ...Show All
Visual Studio Team System Team Foundation Server - Deleted project asks to unshelve...
Hello! From VisualStudio .NET, I right-clicked on an open solution and added the solution to source control. Then I deleted the folder from the TFS server b/c it was added in the wrong place in the tree. Then I right-clicked on the solution again to add it back, but the TFS server, but the option "Add to source control" is not there. Now there's an option "Unshelve Pending Changes...", but when i go there, there are no shelvesets to unshelve. How can I fix this problem so the solution can be added to the TFS server Thank you in advance, Richard Hello, From VisualStudio .NET, I right-clicked on an open solution and added the solution to source control. Then I delet ...Show All
Visual Studio 2008 (Pre-release) Column '' is not accessible through group-by
Hello, I'm having problems with LINQ to SQL: var gts = from t in Transactions where t.CreationDate == Today group t by new { t.TransactionDate, t.Type, t.Account, Sign = Math.Sign(t.Value) } into g select new { g.Key, Value = g.Sum(t => t.Value), NationalValue = g.Sum(t => t.NationalValue) } ; I'm getting an InvalidOperationException: Column '' is not accessible through group-by.If I change the t.Account in the group by for a t.AccountID I don't have the problem. I've also tried to use different sources that should be including the Account object to no avail. The only way I could make it work was by using Transactions.ToList(). Is this a known bug Regards, Pablo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Elapsed Timer Inconsistant?
In working on my game I developed a throttler that runs off of elapsed time to handle problems I was having using keyboard input. Basically update and draw were appearing to detect the keyboard keys multiple times for each keypress (I am using the Input code from the spacewars demo). The problem is about every 4-5 seconds or so the elapsed time apears about double the float value it does every other time. Tracing out the data it seems most changes to the elapsed time run around 0.0125 seconds, with the occasional 0.025 second spikes. I know we are talking fractions of a second here, but the reusult is every once and a while I still get multiple key presses detected, and upping the threshold doesn't help until I move up to 0.5 second ...Show All
Visual Studio Express Editions Visual Studio.Net new version
I currently have Visual Studio.net 2001. I downloaded the 2005 express edition of visual C# the primary language that I'm coding in. Can I use the Visual C#2005 without upgrading to the full Visual Studio.net 2005 beware however there are some limitations in the express editions. http://msdn.microsoft.com/vstudio/products/compare/ ...Show All
Windows Forms Switching between Console application and Windows Forms applications
I was hoping to write a single application that can behave as Console application if specific run parameters are specified and behave as Windows Forms application otherwise (of course without the Console). For example: public static void main(string[] args) { if(//check if args has specific run params) { //do stuff Console.WriteLine(//results); return; } else { //Show nice form and all that } } Couldn't find any pointers as to how to achieve this. Any pointers Mad.Earth Try this post http://forums.microsoft.com/msdn/showpost.aspx postid=640449&siteid=1 ...Show All
Visual C# Format String??? Help --->
I need to convert a string from bytes to megabytes. I have this so far: label1.Text = string.Format( ) but how do I format the string //Bytes to MB Conversion double MBytes = 0; double Bytes = Convert.ToDouble(label1.Text); MBytes = Bytes / (1024 * 1024); //Round to 3 decimal places MBytes = Math.Round(MBytes, 3); Hope this helps you ...Show All
Visual Studio Team System TFS stopped working after newest patches for w2k3
Hi My TFS server worked perfectly until the newest patches were installed yesterday, but suddenly i receive different errors (posted at the bottom) and I can't find a solution. Could it be related to the DCOM error showing that the account doesn't have any rights on the object Is TFS supposed to be using asp.net 1.1 now I receive errors like: [DW] [Error, PID 2492, TID 3316, 07:55:09.982] TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 2006-10-12 07:55:09 Machine: VS00 Application Domain: /LM/W3SVC/3/Root/Warehouse-2-128051133024399450 Assembl ...Show All
SQL Server Exit Stored procedures
Hello I have three stored procedures Sp1 calls Sp2 and Sp2 calls Sp3 as follows: Exec Sp1 Inserts, updates Exec Sp2 Inserts, upadtes Exec Sp3 If error Exit Exec Sp1 Can I end Sp1 if I catch an error in Sp3 Hi Use Transications in your SPs, and after executing an SP check @@error [I don't exectly remember the variable name so check it] and if there is an error then roll back ur transication.. Like SP1 Trans T1 Exec SP2 If error Roll_Back T1 Else Commit T1 SP2 Trans T2 Exec SP3 If error Roll_Back T2 Else Commit T2 SP3 Trans T3 Do Your Work .... If error Roll_Back T1 Else Commit T1 ...Show All
