Anjan Ghose's Q&A profile
.NET Development socket
Hi, how can i connect and send username and password to a socket I mean i'd like to write a pop3 control. Could anyone help me thnx You have asked a question that is not really something that can be easily answered in a short reply on a forum. You should probably read some books on network programming first. Once you have some understanding of socket programming, you will need to read the specifications for SMTP and POP3 (because they are very closely related and you have to understand SMTP before you can implement POP3). I hope this helps. ...Show All
.NET Development Installer error whit aspnet_regiis.exe
I get memory error memory when i'am using aspnet_regiis.exe -u to uninstalle .net 2.0 from the iis 6.0 and it's not being installet correct when i use aspnet_regiis.exe -i or -iru. It's making a error when it is installing the aspnet.mof. Here is the install log . ******************************************************************************** **** Starting ASP.NET Setup at: 2005-11-05 17:22:01 **** Registering ASP.NET isapi: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll **** Internal flags: 0x00000006 ******************************************************************************** 2005-11-05 17:22:01& ...Show All
Microsoft ISV Community Center Forums OUTLOOK When trying to open Outlook, I get the following:
Microsoft Visual C++ Runtime Library Runtime Error! Program:C:\Progra~1\Micros~3\Office10\OUTLOOK.EXE Any ideas Thanks These forums are generally for programming questions. I've not seen this forum before, so I've not locked the thread ( as I'm not sure ), but my guess would be that you need to find a forum that's focused on helping people use their computers, and this is not it. Have you tried to uninstall/reinstall ...Show All
Windows Forms Distribution Requirements
Wow -- I am very impressed with some of the Host Designer sample Applications I've come across. This looks like something I can use to help post some legacy C code. Question -- on machines I deploy my C# Exe (will be based on the MS DesignHost sample) what is required Does the destination machine have to have .NET 2003 or .NET 2005 installed or just the .NET Framework CLR I have found hundreds of replies: "Include dotnetfx.exe with your distribution." How exactly do you include dotnetfx.exe with a distribution. I have a C# program that works fine for me but everyone else complains that it gives a ...Show All
Windows Forms How do I use a Radio Button control to manage a column in a dataset? (Winforms)
What do I do If I want a radio button control the value of a column in a dataset. For example, I want to allow a column to have one of three possible values. The control should default it's display based on the value of the dataset column. When the user clicks a rb, the value of the dataset column should reflect the change. option1 (ds col=1) option2 (ds col=2) option3 (ds col=3) Thanks That's what I was kind of thinking of, but was hoping the datagridview would handle the minutia for me. Datawindow.Net for VS2005 is coming out, and it does this well. Currently only for VS2003. ...Show All
SQL Server error: 'Dts' does not exist in the namespace 'Microsoft.Sqlserver'
I tried to create a package from a C# program, and I copied this from SQL server online book: using Microsoft.Sqlserver.Dts.Runtime; But I got compilation error: The type or namespace name 'Dts' does not exist in the namespace 'Microsoft.Sqlserver'(are you missing an asssembly reference ) What am I missing Thanks a lot Hello, if you get this problem on your server. build your site in release mode and then you have this dll in your bin\release folder. Either find this DLL and upload that in your server bin directory manually ...Show All
Visual Studio 2008 (Pre-release) Canvas
Hi, I would like to know how do you get the position of elements without calling Canvas.SetLeft() etc. Canvas.GetTop, Canvas.GetLeft, etc. only seem to work when you have used Canvas.SetTop, etc., and not on elements that are positioned with Layouts like the stackpanel, gridpanel etc. I would like to know how do you retrieve the position of elements added within the .xaml file and not in the code-behind. Example: (Assume the code works) <Canvas> <Grid Height="30"> <Grid.ColumnDefinitions> <ColumnDefinition Width="20" /> <ColumnDefinition /> </Grid.ColumnDefinition ...Show All
.NET Development Reusable classes stored outside of the current solution.
Hi, I'm new to Visual Studio. I have the 2005 Beta 2, and am developing in C#. I have a folder called "TimsCommonObjects" where I store common Classes that a bunch of different solutions use. Each of the classes has a namespace of "TimsObjects". When I want to use the class I add "Using TimsObjects" to the source file that uses the class. The only way I can find for VS to know about "TimsObjects" is for me to add each of the classes in "TimsCommonObjects" to the VS Solution Explorer using the "Add" >> "Existing Item" menu. I select the class in the "TimsCommonObjects" folder and the file is added to the current solution. ...Show All
Visual Studio Tools for Office the working directory does not exist C:\program files (x86)\ Microsoft Visual Studio 8\Common7\ide\
Hi, I had created a Shared Add-In for MS Word, Excel and PowerPoint. Everything worked so good, but now i dont know what has happend when i click on F5 to start debugging i get following error: the working directory does not exist C:\program files (x86)\ Microsoft Visual Studio 8\Common7\ide\ any idea Hi, You will be able to get a much more effective and quick response if you post the question to the IDTExtensibility2 forum mentioned below. http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.com.add_ins&lang=en&cr=US Thanks. ...Show All
Visual Studio 2008 (Pre-release) Equidistant Items
Hi there, is there a native support in WPF for 'equidistant layout' I have a line (which length can vary - for the simplicity sake lets say it's either a vertical or horizontal one) and a number of items (let’s say rectangles) resided on this line. This line can be purely a virtual thing or a real one (moreover It can be more complex trajectory that just a straight line). What I want to do is to insure that the distance between those items will be the same regardless of the line length. Sure I can accomplish that by calculating this equal distance manually depending on a line length, but before doing so I'd like ...Show All
Windows Forms How To Insert Image To DataGridView Column Header
Hi All, I wonder if it's possible to insert an image to a DataGridView Column Header. Tanks In Advance Boaz Shalev. There isn't any Image property or such, but you can handle the CellPainting event and add the image to the column header. The RowIndex for the paint event will be -1 for column headers. -mark DataGridView Program Manager Microsoft This post is provided "as-is"-mark ...Show All
SQL Server Can't start master.mdf, etc....
I've installed SQLExpress on two machines. Both with no problems, except on one machine I noticed the following error w/in Events -Applications: FCB: : Removealternatestreams: Operating system error 6 (The handle is invalid) occurred while creating or opening file 'C;\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\mater.mdf" This message is for: Master, Model, Temp, etc..... Basically, it's telling me that they aren't starting Any Ideas ...Show All
Visual C# tableadapter query conversion failure message
I'm trying to set up a tableadapter query (using the wizard) to call an existing sql stored procedure that returns no value. I'm trying to pass data parsed out from an electronic data interchange (EDI) flat file into tables through the stored procedure. In the wizard results I get the following message: The wizard detected the following problems when configuring TableAdapter query "BWC148Claimrun"; Generated SELECT statement. Conversion failed when converting character string to smalldateime data type. Date data in the EDI is in the format yyyymmdd and are stored in string variables in my C# code. Ex. - string runda ...Show All
Visual C++ Redistribution of C runtime libraries without MSI installation
Hi guys, I'm trying to get an installer of our product working. I've finally gotten it compiling and running under VS2005. For various technical and political reasons, I have to use NSIS as our installation technique. This is where the problem begins. I can't quite see how to redistribute the relevant CRT libraries. I've been round and round in circles following the MSDN information, and various blog postings (e.g. http://blogs.msdn.com/martynl/archive/2005/10/13/480880.aspx ) but I've not been able to see how I can redistribute the CRT in this way. Obviously, merge modules aren't an option for me. I've tried pl ...Show All
Visual Basic Finding the internal Event IDs of a COM wrapped Custom Control?
Hi all! I have written a simple COM wrapper for the standard textbox control in .NET 2003 and exported it as a DLL. I have then embeded the component as an ActiveX control into another application (SAP ABAP) but this application (as do others ) requires the event IDs to be registered before they can be captured. The control loads and displays correctly - but just does not trigger any events. My problem is that I do not know how to find internal event ids of the events exposed by my custom DLL Do I have to explicitly declare or create the events to expose them to the calling application If I load the TypeLib file in the OLE/COM ob ...Show All
