Drunkboat's Q&A profile
Visual Studio Express Editions Icons
This isn't really relevant but does anyone know any free software (downloadable) that lets you creat icons to save as the ico. format or atleast save jpegs to ico. The best one is probably microangleo , which works as free trial. Otherwise there are lots of runners' up in second place, as usual, google is your friend. ...Show All
Windows Forms Where's the documentation?
Does anyone know whether there is any documentation for this application. I would have that because it demonstrates the 'best practices for designing, developing and deploying smart client applications', that it would come with copius amounts of information. It's a lot of work to pull it all apart, and even then I might miss something important. I hope this iss ...Show All
Visual Studio Really Frustrated With VS 2005
I posted earlier about the fact you cannot get a copy of VS 2005 Pro even though the "launch" was 11/7. I have a Windows app I built using the VS 2005 Beta 2 that I need to update but since I downloaded the new Express editions (thinking they would work - wrong!) all the Beta 2 stuff is gone. OK, I went to my other system (Win XP SP2) and figured I'd install the VS 2005 Beta 2 there and use that until someone decides to "really" release VS 2005 Pro. No Joy. The install completed saying that it couldn't install all componets - it listed some like J# (which I never use) as failed installs. I deided to do a Repair/Reinstall - that al ...Show All
Windows Forms Why VisibleClipBounds not return with pagunit?
I put a breakpoint to the following code from a form method to see whenever I change GraphicsUnit from any one like inch,millimeter,pixel, It always return the sizef with pixel unit.why VisibleClipBounds should return rectangle with pageunit private void OnPaint(object sender, PaintEventArgs e) { Graphics grfx = e.Graphics; grfx.PageUnit = GraphicsUnit.Inch; SizeF sizef = grfx.VisibleClipBounds.Size; Pen pen = new Pen(Color.Black, 1 / grfx.DpiX); grfx.DrawRectangle(pen, 0, 0, sizef.Width, sizef.Height); } Help me.I am confused. The unit for Graphics.VisableClipBounds resulting a rectan ...Show All
Visual C++ I have a problem with SetDlgItemInt
int a; void CCALCULATOR01Dlg::OnBnClickedButton1() { // TODO: Add your control notification handler code here GetDlgItemInt(IDC_EDIT1, &a ,TRUE); SetDlgItemInt(IDC_EDIT2, a ,TRUE); } In VC++ When i compile it 1>------ Build started: Project: CALCULATOR01, Configuration: Debug Win32 ------ 1>Compiling... 1>CALCULATOR01Dlg.cpp 1>Linking... 1>Embedding manifest... 1>Build log was saved at "file://d:\Work Sheet\CALCULATOR01\CALCULATOR01\Debug\BuildLog.htm" 1>CALCULATOR01 - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 s ...Show All
SQL Server Derived Column Task failing with error 0xC0049067
I have a package that fails as soon as it hits the first Data Flow that contains a Derived Column task. The task takes three date columns and looks for a date of 6/6/2079. If it is there, it is replaced with a NULL. This task worked fine until I installed the Non-CTP version of SQL 2005 SP1, earlier today. (I went from RTM 9.0.1399 to SP1 9.0.2047)Does anyone have any ideas Here is the error I am trapping: An error occurred while evaluating the function . The "component " Update Max Date Value to NULL " (346)" failed because error code 0xC0049067 occurred , and the error row disposition on "input colu ...Show All
.NET Development WSE2 and ASMX
i've done a reasonable amount of work with ASMX, and some exploratory stuff with WSE, but what I want to know is, where are the resources for working with these two together anyone got any good links +1 as well on the Hassan book and the resource. I happen to think the Hassan book is the single best in this area IMHO ...Show All
Visual Basic Special Directories
Is there a way to find the path to a users start menu (in order to install shortcuts). I tried special directories but I couldn't find it. Thank you. The following will get you the user start menu Function ReturnUserStartMenu() As String Dim DirInfo As System.IO.DirectoryInfo = System.IO.Directory.GetParent(My.Computer.FileSystem.SpecialDirectories.Programs) Return DirInfo.FullName End Function This is using My.Computer.FileSystem.SpecialDirectories.Programs which gets you the users Start menu Programs Folder ...Show All
Visual Studio integrating with MSDN
Can I integrate my company's help into the MSDN I have several ways of generating the help, including the standard help compiler, NDOC and the VS help integration beta. I'd like to do this as the MSDN is the logical place to focus the developers attention. Is it possible/documented/recommended Thanks, Jason Hi Jason, We're still working out the details of how 3rd-party help can be integrated into VS 2005. See the post at http://forums.microsoft.com/msdn/ShowPost.aspx PostID=4867 for more info. Thanks, Molly ---- Molly Bostic Program Manager Developer Division User Education ...Show All
Visual C# setting a variable using a random number from x to y
How can I set a variable using a random number from 1 to 10 ------------------------------------------------------------------------------ For example if I have a variable named "a" in pascal , my code is : a := random(1..10); If I use this code in paccal "a" will be a number from 1 to 10(for example 1 or 4). ------------------------------------------------------------------------------ I need a code like that in c#. Hi, in c# you have to create an instance of Random class and call a method: Random MyRandom = new Random(); int num = MyRandom.Next(1, 11 ...Show All
Visual Studio 2008 (Pre-release) my pet project: AnimationBehaviors
I’ve been working on a project in my spare time called “AnimationBehaviors”. Now that I’ve got it working reasonably well I’d like to share it with the world. The animation system in WPF is really powerful, however it’s not always easy to create certain effects in XAML without falling down to code. Even when code is not required, it’s not always easy to create reusable animation effects. Enter AnimationBehaviors. AnimationBehaviors is a library that makes it easy to add common animations to elements in XAML with little effort. By utilizing attached properties I’ve created a system where adding (sometimes) complicated animations becomes ...Show All
Windows Forms Problems with custom Columns DataGridView
Hi all. I built a custom Column for the DataGridView. Now I have a problem, the column don't show up when I want to add it to the DataGridView. The new column is defined on the same project, and I don't understant why the columns dont appear Does anyone have some ideas about this issue, does it have anything to do with the same problems that we have on the designer when we create user controls Meaning they should show up automatically, however that's not what happens Thanks in advance for any help Best regards Luis Filipe de Sousa ...Show All
Visual C++ About DLL entry points
Hi! I recently had to write a simple C++ DLL (I had only been familiar with normal Windows applications and .NET DLLs). There is something, which caught my interest: Is every DLL required to have an entry point, like DllMain or are there some exceptions You are correct: DllMain exists primarily to initialize any global data in the DLL - if there is no global data in the DLL and you do not need to perform any other operations on DLL load or DLL unload then you can do without a DllMain function. ...Show All
SQL Server Can't uninstall Reporting Services
I need to reinstall Reporting Services but during uninstall I face the following error: "The setup failed to read IIsMimeMap table. The error code is -2147024893" Nothing seems to help with the problem. Regards, Ksenia I've got the same problem here unstalling the September CTP Reporting services - please do post if you found a solution, Thanks, Mike ...Show All
Windows Forms How to execute console application in Windows Form?
How to execute console application in Windows Form e.g. when the user press a button, a console application will be execute in a console window. Thanks. Here's the simplest way: using System.Diagnostics; ... ... Process.Start( "notepad.exe" ); It's really that simple. More examples here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemdiagnosticsprocessclassstarttopic3.asp ...Show All
