Guy_Dupre's Q&A profile
Windows Forms Save and restore Form position and DataGridView's configuration
My Application need to save and restore components when restart next time. Such as: - Change size and position of the form itself. - Change width, order of columns of DataGridView's columns. I want to save information configure into configuration file. Everybody have ideas, please show me way to do it or give some solution ...Show All
Visual C# Is it possible to Add Domain and Computers using DirectoryServices in .NET ?
Hai All, Sorry I can't find any forums for this. So i posted here. I'm Karhick. Doing my final year project. I want to know whether it is possible to add Domain and Computers using the Directory Services. I'm working in VS.NET2003. It's really urgent. Can anyone help me in this issue . If you provide a sample code, it will be more helpful. I'm working in Web Application. Thanks, Karthick Karthick, take a look a ...Show All
Visual Basic Minimum Permission Requests?
Using VS2005 RC1, every time I create a project and add a reference to a DLL or control that resides on a different drive I get the following error either when attemting to run the program or when I first attempt to add the reference: ... Could not load file or assembly ... Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417) I'm an administrator- equivalent user and have full create/modify/destroy on both my local ...Show All
.NET Development Async sockets, receive callback problem
Hi, I'm writing an async socket server that transport custom serialized objects. However, I ran into a problem when sending a lot of messages in a loop from the server to the client. To simplify matters I shortened my test code: Here I'm sending some data to the client... for ( int i = 0; i < 100; i++) { state.WorkSocket.BeginSend(b, 0, b.Length, SocketFlags.None, sendCallback, state); } The client receives the data and processe ...Show All
.NET Development Help with Event Handling
Hi all, I have understood how to manage events in VB.NET, but I can't figure out with this problem: I have a function, wich has to return me a string. When I call this function, some data is sent to a serial port, then I have to wait that the serial device processes it. To do this I have registered an event, managed by an eventhandler. The problem is that I don't know how to return the processed data. Once the event is catched, what have I ...Show All
Visual C++ 'static binding' with C++/CLI?
After asking this question in the VC++ Express forum and not receiving a single answer I gather this forum section might be a better place to search for answers. I have a C++/CLI solution I created in VS2005 Express consisting of a windows forms project (the main programm) and a few libraries - now I'd like to create a single executable instead of an executable and a bunch of dll files. As I can't create static C++/CLI libraries (or can I ) ...Show All
SQL Server Problem in bulk insert
Hi All, I am trying to perform Bulk Insert for an existing folder containing the data files into an existing destination table . I get the following error : [Bulk Insert Task] Error: An error occurred with the following error message: "Cannot bulk load because the file "C:\PD Data\PDDW_md_costs\Files_to_load" could not be opened. Operating system error code 5(Access is denied.).". Here Files_to_load ...Show All
Visual Studio Express Editions Visual Express and Workflow Foundation
Will Workflow Foundation work with VS Express 2005. Kitty Hi Kitty, Unfortunately, no. The designer (the graphical representation of the workflow) that Windows Workflow Foundation provides will not work with Visual Studio Express. However, you can certainly use the underlying code and markup to author workflows. Check out the Windows Workflow Foundation forums answers for any workflow related q ...Show All
Windows Forms populate datagrid with datareader in vb.net
hello everybody iam unable to populate datagrid with datareader object in vb.net i am not interested in using dataset the following code is not working datagrid1.datasource=datareader datagrid1.databind The Windows Forms DataGrid has a different requirement than the Web Forms one: you need to be able to get data at a given row (IList) instead of just read it through forward once (IEnumerable, which is wha ...Show All
Visual C++ msvcrtd.dll not found
Hi!!!!I'm not sure if this is a .NET problem and I'm not even sure that this thread belongs here.But when I try to run a compiled debug config of a C++ program on VS.NET 2003, I get the message: msvcrtd.dll not found I searched the internet and found that is a common problem,but I can't find where to download the .dll file from.Do you know Or at least do you know how to overcome the problem The msvcrtd.dl ...Show All
Visual Studio Team System Customize Project Creation Wizard pages
Is it possible to customize the pages in the Project Creation Wizard For instance, on the source control page, I would like to have the default on Branch from (the second radio button). Hello, It is not possible to modify the existing PCW pages. However, you can remove one of the existing pages and instead use a custom plug-in for all the custom actions you need. So, you could delete the Source control page from ProcessTempl ...Show All
Windows Forms fast question on datagrid properties
in a datagrid i don't want to see the first grey default column, the column of the selection where there is a black arrow how can i do this, want property i have to set or desect thanks a lot RowHeaderVisible is the property. You can also set the the width of the rowheader through RowHeaderWidth property ...Show All
.NET Development AspNetAccessProvider not working
Hi All, I'm trying to use the AspNetAccessProvider starter kit offered by MS for download, but I can't get it to work. I followed the instructions from this post ( http://forums.asp.net/898415/ShowPost.aspx ) to the letter but still I get errors. I compiled the dll with a pro vs2005 as SampleAccessProviders.dll (read somewhere that the c# express edition wasn't enough to compile it) but when running the website I get the following ...Show All
Windows Forms Switches in Console Application??
Can anyone tell me, what is the proper way of creating switches in a console application I want to have certain functions execute on a specific switch. Ex... c:\MyApp /start If you want them to run consecutively, <i>don't</i> create a&nbs ...Show All
Visual Studio 2008 (Pre-release) WCF and Windows 2000
Hello folks, Will it be possible to use install client application based relying on WCF on a Win2000 client workstation I understand that the server must be running at least win2003 server but I'm not sure about the client side requirement. I work in the Financial Software industry where many clients have not yet migrated to win xp on the desktop (at least in Montreal ;-) ) As far as client-side operating sys ...Show All
