Greg Lewis's Q&A profile
Windows Forms Lines and simple shapes on a form
Hello! I am trying to drow a line and a rectangle on a form, but I can find no control in the toolBox (Visual C#) for doing this.. Are them trully missing or is a problem with my computer IrimiaBC wrote: Hello! I am trying to drow a line and a rectangle on a form, but I can find no control in the toolBox (Visual C#) for doing this.. Are them trully missing or is a problem with my computer Yes they are non existent, to do this you can Build your own control to do this Override the paint sub or handle the paind event Search for GDI+ and all your questions wil be answerd. (You ...Show All
Visual C++ Download a file from http server
Hello I need to write a small download manager, which must support download resuming and downloading from multiple URL, but have no idea what api-s to use. anyone can help Thanks in advance You have two choices: winsock or MFC winsock Check out MSDN. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnanchor/html/ntwrkprot.asp http://www.tangentsoft.net/wskfaq/ Kuphryn ...Show All
Windows Forms DataGridBoolColumn check/uncheck on one click?
Hi, Two clicks needed in order to check/uncheck a check box cell in data grid. I need to make this only in one click. With one click, both focus & check/uncheck the cell. I already saw this thread but couldn't find it again. Please advice if you know the thread or any idea on this. Thanks The solution provided by Daniel Herling&nb ...Show All
SQL Server RS 2005 and CSS
I have hundreds of reports that I am developing in RS 2005 using the reportviewer control within aspx 2.0 pages and need to clarify if it is possible use a single css/stylesheet to control the apperance for all reports - (i.e alt row colors, font sizes, header and footer colors, table borders, padding etc..) If the answer is no, can anyone suggest a work around Thank you. Devon Kyle Hi, I found ReportingServices.css in C:\Program Files\Microsoft SQL Server\MSSQL.1\Reporting Services\ReportManager\Styles. I just modified that one and it worked. Thanks, DD ...Show All
SQL Server SSIS urgent help!
Hi, I am new to SSIS. I have been searching for some examples to use Expression Builder in SSIS to use derived columns transformation...I basically want to perform tasks like - 1. Add a new column to my flat file data source (also, next Excel datasource) on the run (which simply contains a constant string ex: "TXT") and add this column as the 2nd column before loading into destination. (SQL Server DB table) 2. Rearrange my datasource columns according to my destination columns. 3. Not include some unwanted columns existing in the datasource while loading into destination. How can I achieve these Plz help. Is there a link w ...Show All
Software Development for Windows Vista Activity Binding
hi all, i wonder, how it would be possible, to bind properties of type collection. i tried two ways: 1) i declared properties of type arraylist and tried to bind them in the designer, which leads me to the "Object Collection Editor", which is not right... 2) i used a typeconverter on the activity property: [TypeConverter(typeof(ActivityBindTypeConverter))] this would lead me to the correct binding dialog, but creates an error, when trying to bind the properties: Object of type 'System.Workflow.ComponentModel.ActivityBind' cannot be converted to type 'System.Collections.ArrayList'. any ideas, how this ...Show All
Visual C++ looking for catopen, catgets, catclose
Hi, If anyone can point me towards catopen / catgets / catclose for WIN32 (I'm using Visual Studio 2005 Express Edition for C++), I'd appreciate it! thanks, Stan sieler@allegro.com Hi, Thanks...looks interesting. I'll have to research if it is (a) redistributable in binary form with/inside my application, and (b) how to link / merge the catopen/etc in Interix into my application on Windows. Stan ...Show All
Visual C# Control class and Controls.
Hi everyone, I do not exactly understand the usage and purpose of Control class and Controls. Would any of you please explain their usage to me Hi, Control is the base class for controls which with visual representation in dot net and it lies in following name space. System.Windows.Forms. Control Controls is collection of controls as some controls can have collection of some controls in it, for example form, panel etc. You can add control to a class collection like this… this .Controls.Add(textbox); And remove like this… this .Controls.Remove (te ...Show All
Visual Basic AnalogTVTuningSpace and MSVidCtl
I´m trying to develop a decent tv tuner/capture application (since there are no such apps, nowhere, I say) in Visual Basic 6.0. I´m using the MSVidCtl component together with the AnalogTVTuningSpace and IChannelTuneRequest object to achieve this, as described here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/directX/htm/hostingthevideocontrolinavisualbasicform.asp and here: http://msdn.micro ...Show All
Visual C# unhandeled exception error pls help......
hi, iam getting an exception unhandledexception additional infromation: instance of an object not defined" some thing like this... could u pls checkthis code and pls help me. as a whole there r 3 thread for normal drawing of lines , fast farward drawing thread, fast reverse thread. i call this 3 as of my requirement in main class. when i call fast farward thread normal threas will be suspended and fast farward thread will be run up this ok. when i resume normal threadit giving exception as shown below goto *********** exception ********** format below. pls help ------------------------------------------------------------ ...Show All
Visual Basic Visual Basic Visual Studio 2005 Debug.Write doesn't work
I recently purchased Visual Studio 2005, and am trying to learn Visual Basic .net via an on-line class. Most of the less on s are very simple short programs to write messages to the Debug Output Window. For example: Public Class Form1 Private Sub Form1_MouseMove( ByVal sender As Object , ByVal e _ As System.Windows.Forms.MouseEventArgs) Debug.WriteLine(e.X & "," & e.Y & " " ) End Sub End Class However, when I run it in Debug/Start Debugging, I see nothing at all appear in the Debug Output window. I asked the instructor about it, and he has no clue, but says the c ...Show All
Windows Live Developer Forums help
i've download the new beta messenger but i just cannot sign in... can anyone teach me how to make the msn messenger 8.0 (beta) work i really need help as in i like the design of 8.0 ...Show All
Visual Studio Team System ASP.Net Unit Test produces 500 Internal Server Error
Hi there, I am running ASP.Net unit tests using IIS (with the HostTpe and UrlToTest attributes). The tests occasionally work but fail most of he time. When I load the page in question manually it loads fine every time. I did find an old web link that talked about this error being caused by the test case inserting and xmlns tag in web.config but it was talking about a beta and didn't have anything about a solution. The test case code was: [ TestMethod ] [ HostType ( "ASP.NET" )] [ UrlToTest ( http://localhost/webapp/page1.aspx )] public void TestPageLoad() { Page page = m_testContext.RequestedPage; } This pr ...Show All
SQL Server Can't create SSIS project in BIDS on workstation with Client tools only installed
I have the June CTP SQL 2005 client tools only installed on my workstation. All has gone well until I tried to create a SSIS project in BIDS. I receive this message TITLE: Microsoft Visual Studio ------------------------------ Error creating package ------------------------------ ADDITIONAL INFORMATION: Failed to save package file "D:\Documents and Settings\SuzMSDN\Local Settings\Temp\tmp13E.tmp" with error 0x80040154 "Class not registered". ------------------------------ Failed to save package file "D:\Documents and Settings\SuzMSDN\Local Settings\Temp\tmp13E.tmp" with error 0x80040154 "Class not registered". ...Show All
.NET Development Unable to drag/drop strong-named assembly in to the \Windows\Assembly folder with Beta2
I've got Visual Studio Team Suite installed on a fresh install of Windows XP Pro and I'm running as a member of the Administrators group. I have a strong-named assembly that I can not drag-and-drop in to the \Windows\Assembly folder. When I try it I get the universal sign for No (circle with a line through it). I can drag-and-drop the same assembly to the \Windows\Assembly folder on any other machine that doesn't have VS2005 installed. Also, if I view the properties of the \Windows\Assembly folder the Read-only attribute is checked. I can uncheck it and say OK on the dialog only to turn right around and vie ...Show All
