Avner Kashtan's Q&A profile
Visual C# Newbie Question
Okay, I have decided to learn C#, so I created a basic form in Visual Studio C# 2005 (Not Express). What is the code to show Form2 For example Form1 has a button when the user clicks the button in Form1 it shows Form2. What is the code to do that I do something like, FormClassName frmstart = new FormClassName(); frmStart.Show(); Jeff ...Show All
Windows Search Technologies WDS 2.6 EID Encoding
Hi out there- I would like to find out how to decode the mapi: url -- with the new funking data embedded into the unicode string. Hello pweyzen1, I have attached the scheme for decoding below. I hope this helps. Paul Nystrom - MSFT // // convert the string rep to the eid for it // void CEntryId::FromString(__in CString &strEIDU) { //----------- Decode with YEnco ...Show All
Visual Studio 2008 (Pre-release) System.Windows.Media.Typeface: Symbol property is internal!
I'd like to be able to determine if a given FontFamily uses a symbol font or not. From a FontFamily, I can get its list of Typefaces. But there are no public properties or methods to determine if a given Typeface uses a symbol font or not (e.g., Wingdings). Reflector tells me there is an internal property of Typeface named Symbol; this appears to be what I want. Why is it internal and not public Is there some other way to do this I real ...Show All
.NET Development Problems calling oracle stored procedures in .NET 2.0
Calling oracle procedures seems a little spotty to me so far in 2.0 For example: the following code sample works for me in 1.1, but in 2.0 it hangs on the ExecuteNonQuery command.... without even returning an exception or anything Is there a problem with the Oracle routines in 2.0 private Boolean GetMasterSiteInfo(String PimsCaseNumber) { OracleConnection myConnection = new OracleConnection("Data Source=xxxxx;uid=xxxxx;pwd=xxxxx;"); ...Show All
Visual C# C# Express vs. Visual Studio
What limitations are there in C# express (Free) vs. Visual Studio ($$$) What are the main things that VS does that C# express cannot do Thanks hi, you will find them all in this webpage http://msdn.microsoft.com/vstudio/products/compare/default.aspx hope this helps ...Show All
SQL Server How to retrieve data from query and link the data to a data number?
i'm doing a project on SQL Server 2005, i'm stack in searching the data and can't link the data in the data number.. can someone help mi with the programming code as i can search for the words in the table but i can't link with the data number.. first thing is how to search the keywords from the tables Second thing after u search the result ,how to link the result to a number related to the result ...Show All
Windows Forms The use of the .NET Framework Printing classes is not supported from a service
The use of Printing classes is not supported from a service in Framework 1.0, is this fixed on Framework 2.0, where can I fin information about it thanks I have a Windows Service that uses printing classes (System.Drawing.Printing), it works fine but I found this article http://support.microsoft.com/default.aspx scid=kb;en-us;324565 where it says that printing from a windows service is not supported using ...Show All
SQL Server Shading By Value
Currently in my reports I am shading every other row by using an expression in the background color property. This works fine. Is there any way to shade by other options I have a report with a non-unique id as the first column. I would like to be able to alternate the background color based on these id's. For instance I might have three rows of white background (id = 1), five rows of grey background (id = 2), and two rows of white background ...Show All
.NET Development Using VB with the Common Language Runtime profilling API
I want to implement a profiler dll for Rotor using Visual Basic 6.0 dll. I am planning to simply implement ICorProfilerCallback and register the GUID of that class with Rotor. Can anybody think of a reason why this approach would not work Does anybody know where I can find a typelib (.tlb file) for the Profiling API COM interfaces --------------------------------- <angry comment>In a moment of hubris, somebody moved my previous ...Show All
Windows Forms Windows Media Player Like Interface...
Folks: Most windows applications that I have built or seen look like the traditional drab and dull Office style applications (no offense to those who love them). However, I just downloaded the new Windows Media Player v9 and I love the interface.& ...Show All
Microsoft ISV Community Center Forums Left Joins with Multiple Conditions in VBA
Hello, I am trying to run a query in Excel VBA. The query has a left join with a two conditions -- every time I run it excel crashes. If I remove the brackets enclosing the two conditions, the query fails. The query itself is correct because if I run it directly in Oracle it works. Also I can run it thru excel via Date->Import External Data but not thru VBA. Also if I restrict myself to one condition instead of two it works thru VBA. Any one ...Show All
Windows Forms VB.net Database Books
Hi I'm looking for a good win forms book that concentrates on vb.net and database applications. What I would really prefer is that the database work is done by hand in code not using the VS.net wizards. If anyone can recommend such a book& ...Show All
Windows Forms Porting global.asax to WinApp
I've got some code in the Application_Start method of a global.asax file that I want to use in a Windows Application. What is the WinApp equivalent of a WebApp global file I also used the global file for building an array of user roles, using& ...Show All
SQL Server Is there any way to relocate the data and log folders?
Is there anyway to move the data and log folders to another drive without having to reinstall SQL 2005. I have limited space available on the drive where the program files are installed and need to move these folders to another drive with adequate space for growth. Thanks If you have to just move the standard folder (where new databases are created) you can do it through the GUI (just have a look at the server ...Show All
Visual Studio Express Editions Formless Application?
Is there anyway to create an application that (when created) doesn't have a form For example, I would like to create an application that has an icon in the notification bar and have it so that when I double click it a settings form is created. I would prefer not to have the form exist all along and just have it invisible because to my understanding that uses more memory then creating it on demand and the goal of this application is to make it a ...Show All
