CEO-Match's Q&A profile
Visual Studio system.OutofMemory
When I try to run a report from a database , I am getting an error saying "An error occurred during local report processing System.OutofMemory was thrown". funny thing when I run the sql in the dataset runs fine. I cleaned up my hard disk (just in case)..I only have 5GB free.. I have been reading documentation everywhere and I can't find anything. I haven't even tried to do the fancy things in the report yet I have only been trying ...Show All
Windows Forms ComboBox.SelectedIndexChanged event
When this event fires I need to display a message and if the user presses cancel or no, reset the combobox back to it's previous index. I read that there is a ISelectionService Interface that exposes events that tell you the selectedindex is&nb ...Show All
Visual Studio Express Editions Full Install Images
hi, thank you MS for giving the XPress for free! is there any MS site from which i can order the XPress CDs/DVDs, becuase i can't download 500 MB X 3 = 1.5 GB FOR VB, C#, VWD does the full installation include MSDN http://msdn.microsoft.com/vstudio/express/support/install/ thanks, AB Hi chint, Downloading the CD image or using the web installer is the only way that you can take advantage of the one year fr ...Show All
Visual Studio Express Editions Can't download anything from Visual Studio 2005 Registration Benefits Portal!! WHY??!!
Hey all, when I click the download button on the different registration benefit pages, all I download is a downloaddetails.aspx page itself... not Corbis photos .zip file or any of the others. Am I doing something wrong or something Has anyone else had this problem Thanks for your help I had also that problem. I was using Firefox I couldn't download anything from Benefit Portal. Then when I downloaded Micfrosof ...Show All
Architecture Windows Zip
Hi Is it possible to use the windows zip function on the command line I want to incorporate this into my program. I know there is an add on for win zip but was wondering if its possible to do with the windows own version... Cheers I tried to play with this http://www.rondebruin.nl/windowsxpzip.htm once, but never could make it work in either JScript or VBScript besides listing the ZIP archive's cont ...Show All
SQL Server Connectivity issues
Hi, I get the following error message trying to connect locally to sql server 2005 dev edition on xp sp2 machine. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient D ...Show All
Visual C# SetWindowsHookEx
Spent all day get this one working... no luck .. Im trying to hook up to another window using SetWindowsHookEx but it just doesnt want to work from c# .. It doesnt throw an error.. just doesnt hook .. i tried to hook to the c# window and it hooked up.. but I need it to hook to another window .. btw, GetLastError returns no error .. WinAPI .SetWindowsHookEx( WinAPI . HookType .WH_CALLWNDPROC, hook, Marshal .GetHINSTANCE( System.Reflection. A ...Show All
SQL Server obtain the name and path of a report
how to save the name and the path of a report on my database when the user click save report Does this cover what you need http://msdn2.microsoft.com/en-us/ms155836.aspx ...Show All
Visual Basic How to create 32bpp icons
i've found lots os examples for a diferent kind of thing to do on vb.net, but now i'm trying to breate 32bpp icons from an image. the folowing example uses a simple way to get icons from a bitmap, "Alph.bmp" is in 32bpp with alpha chanel, but the result gives-me a white backround. Public Shared Function From32bppBMP() As Icon Dim bmp As New Bitmap("Alph.bmp") Dim HI As IntPtr = bmp.GetHicon Dim a A ...Show All
.NET Development How to recognise different paths refer to same file?
Two different paths may refer to the same file, e.g. C:\Temp\MyFile.txt, \\MyPC\C$\Temp\MyFile.txt . Is there a way of comparing such paths, and determining whether they actually do refer to the same file (in VB.NET) Hi! System.IO.Path.GetFullPath() can help when using relative paths. For true mapping including network and web servers - hmm, I don't know such method, but I think it shouldn't exist - different ...Show All
Visual Studio Team System Custom rule: skip analysis of Form Generated Code.
Hi all, I have made a rule to enforce some naming confentions of our company, public PrivateInstanceFieldsHaveUnderscorePrefixAndAreCamelCased() : base ( "PrivateInstanceFieldsHaveUnderscorePrefixAndAreCamelCased" ) { } public override ProblemCollection Check( Member member) { Field field = member as Field ; if (field == null || !field.IsPrivate || field.IsSpecia ...Show All
Visual C# open VS.net IDE inside c# form
I have a c# win form.on clicking a button i need to open a .cs file or solution in visual studio.net ide inside the form. It should not be open as a seperate window. it should be inside the windows form. pls help me, Thanks Vidhyaprakash(MCP) You're free to try. I don't believe it is a COM object, and I doubt that embedding it as a child window would go well, either. It would certainly make your ap ...Show All
Windows Forms Invisible ListBox & ComboBox Items
This is embarrassing, but here goes... I create a new C# Windows Form application, dragged a ListBox onto the form. No matter what I do, I cannot get the items to display their letters. I have used several methods to add items to the listbox: listBox1.Items.Add("my string") - no work. listBox1.DataSource = new string[]{"one","two","three"} - no work. The Items collection IS being updated with my items. I proved thi ...Show All
Visual Studio 2008 (Pre-release) Inheritance
Is it possible to change the base class for generated types using the DLinq designer (to MarshalByRefobject for instance) or add attributes(Serializable for example) . If not, how would one expose generated types as well known objects for the purpose of remoting You can do this using partial classes. Just create another code file and declare the class as partial. You can then put attributes on it, specify a base ...Show All
Software Development for Windows Vista PersistenceService in WebFarms and NLB
I implemented asmx web service that hosts workflowruntime with SqlPersistenceService. WorkfowRuntime hosts StateMachine workflows, that have eventdriven events with delay activities inside. Asmx web services are hosted in iis on multiple machines on nlb, and they all use same persistence database. My question is what will happen when workflowinstance goes idle and waits for delay activiti Is it possible that problem occurs when all web ser ...Show All
