Answer Questions
BjornS access database question
Not sure if this is in the right spot on the forum but here is my question im using c# 2003 access database using ole and right now my code accesses the database directly, with I belive might cause problems so wanted to move it all over to datasets, I have never used datasets but with a quick glance at them it looks easy, my question is do I have to basicly whip out all my code if I move to them that I have now or can it be transfered over to ...Show All
yumbelie Another control instead of DataGrid
Hi!! I wonder if there's another control, I don't wanna use the data grid, I'm making a demo, so I try to put a grid with some data in HardCode; I dont want to bind to a database. Or, if there is a way to put hardcode to this dataGrid, somebody could tell me how to really thanks a lot!!! PLEEEEEEAAAAASEEEEEEEE :( You're probably stuck with using a datagrid, however ...Show All
Saurabh28686 timer problem
I've a timer (interval = 1000) in my app. When the timer is working parallelly a big loop is also working. but I found out untile this loop not finished the timer won't work. How can I force the timer to alwasy work every second Timers need a running message loop. I found this article about using threads in c# ( http://abstractvb.com/code.asp A=1028 ) but when I tried to compile this sample the com ...Show All
Sergey Vdovenko override static methods
Very simple question. Why is it impossible to override static method in C# I would like to be able to do the following: public interface IParent { object execute( object dataObject); } class C hild : IParent { public static override object execute( object dataObject) { return obj; } } What should I use instead Thx I have small business l ...Show All
aleex sending query via page other than msn.com
Hey guys, I was wondering if anyone could help me. I'd like to include a search form for WDS on my browser homepage and be able to submit the query from within that page, I'd like to see the results in the WDS. This works fine for msn.com (select desktop tab) but I cant seem to be able to get the code so I can use it with ANY page. any thoughts on this Tom, thanks a lot - this is just what I ...Show All
Camilo Andres Soto Montoya Where can I find a free ZIP compression library written by C# for .NET 2.0 ?
Where can I find a free ZIP compression library written by C# for .NET 2.0 The Xceed Zip for .NET in http://www.xceedsoft.com/products/ZipNet/ is good, but it's not free! Many Thanks! I've not used it myself but have you looked at the GZipStream in System.IO.Compression, I'm not sure how useful it'll be for your program. It's new in .NET 2.0 Chris Check this link: http://www.icsha ...Show All
pawan_atl C# Exception
when i open a sqlconnection i enconter with this exception: 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. Doesn't leave much to go on... Are you trying to access a remote SQL Server instance Can you connect with the designer and/or the server explorer ...Show All
Shel S SMS Creating collection with SMS SDK and C#
Hello, I am strugling already hours using the SMS SDK 2003 to create a new collection. // Use the Managed SMS SDK Interfaces using Microsoft.SystemsManagementServer.Automation; // SMSProvider instance that represents a connection to the provider private SMSProvider m_oProvider = null; m_oProvider = new SMSProvider(Program._SMSServer, "", ""); SMSCollection nCollection = m_oProvider.Collections.Create("TEST Collection&qu ...Show All
Allen Cheng HK How to get data out of an XML file in C#
Hi there, I'm a newbie to programming with C#, so please help in anyway you can Thanks. Using: MS Visual C# 2005 express edition on Windows XP. What I'm trying to do: I would like to extract just a couple of pieces of information from a data file, for example this XML created file: =======File starts======= < xml version="1.0" > <!-- created by the MBM 5 logger.dll --> <MBM_INTERVAL> <Log Date="05/ ...Show All
Joel Clipperton Hard to be a newbie: Type conversion problem.
I am writing a method to convert a string quad IP address to long as required by a socket.connect() method which accepts IP address as long values. There are many code samples out there but I do it for practice and also I could not really find a C# sample: all were in VB or C++ - it created different sort of problems for me although I tried to borrow from them. Anyway the procedure works but I cannot perform the final operation. Pl ...Show All
Jean-Denis Langelier Form Container
How (or where) can I get a form container like I want to place one or two forms on a master form Why is it impossible If you have a reference to a MDI-Child, you have (almost) full control of it. Sure, you can make it with panels, but that would be a big overhead (calculate all coordinates, sizes and so on...) The easiest way is to set your form as an MDI (property "IsMdiContainer") but you won't have full control let's say ...Show All
JohnArlen Dotnet 2.0 threading failed while it was fine with dotnet 1.0
Hi, I just found a problem with dotnet 2.0 thread programming. Hope someone can help me on this. My original threading code works fine with dotnet 1.0/vs2003. However, it fails with dotnet 2.0/vs2005. An example code is listed after my descriptions. The screen output of this code with dotnet 1.0/vs2003 and dotnet 2.0/vs2005 are also included. Basically, there are two threads in this program, one se ...Show All
hsa76 application setup
i want make setup for my application...how can i do i have visual c# express edition 2005 and in this version i cant find anything about creating a setup for the application... please help me! check out this http://search.msn.com/results.aspx q=wix&Form=MSNH there are plenty result for WiX - windows istaller in XML but this is not easy task ...Show All
Arun Narayan Adding Windows Media Player
I was looking in the References and seen i can add a Windows Media Player...So i was woundering what is needed to add it to my Project Other than the References http://msdn.microsoft.com/library/default.asp url=/library/en-us/wmplay10/mmp_sdk/samples.asp there is a sample here showing how to use the activex control in C#. Cheers, Greg Ok Thxs again Greg....Last Que ...Show All
Gregory English Adding link buttons to a Browser menu strip.
I am very new to c# and am working on my first real program. A web Browser. I have everything done but now I want to add some buttons to the menue strip that I can click and go to a specified web page. I know how to add the buttons to the form and then click them to get the click event. But what do I add for code to make them open the web url in the browser. private void fRTHomePageToolStripMenuItem_Click( object sender, EventArgs ...Show All
