zumrut's Q&A profile
Visual Basic Making a picturebox have a transparent background
I have a picture of a panda with a pink background (panda_down.bmp) and I was wondering: how do I get that pink background to be transparent Draw the image yourself in a paint handler, and use the imageattributes class to make 255/0/255 ( magenta ) transparent. ...Show All
Visual Studio Migrate a report created in Crystal Reports 9 into C# windows app
Is it possible to create a report using Crystal Reports 9 and implement it into my C# windows application I know I can create the reports in .NET, but the people who will be creating the reports do not have .NET and only have Crystal Reports 9 on their computers. Thanks In Advance Thanks Keith, Just so I am clear, All I have to do is in my .NET application point the Crystal Reports engine to the .rpt file ...Show All
Windows Forms How to assign a shortcut key to a ToolStrip Button?
Does anyone know how do I set shortcut keys to buttons on a ToolStrip I need that when the user press "Ctrl+S" on the keyboard the "Save" button gets pressed. I expected to be able to asign a shortcut key to the button, but there is no shortcut key property! Does anyone know why is this I think eligazit is on the right track. I did what he suggested, and it worked for me. (Of course I also had to hook up an event handler to the men ...Show All
Windows Forms .Net 2 Progressbar not working in Win2000?
Hi all, Hope you can help me. I've ported a Windows Forms app to .Net2 and VS2005. In one form, I am using the progressbar control in Marquee style with animation speed set to 200. In this form, I'm running a backgroundworker. As soon as the backgroundworker completes, the form closes itself. Everything works just fine on Windows XP. On Windows 2000, the actual processing does work, but the progressbar is not animating! It's just empty. ...Show All
Visual C# convert help
I have a dll with a method that reads from a pdf file. It needs a byte array parameter. I read from another pdf and i get a string (or a char array). Now i want to convert from string to byte array. I tried Encoding.UTF7/8/ASCII/Unicode.getBytes(string) but they don't work properly (\n\r not converted) I also tried to convert char by char in byte but i have also a perthousand ( %o ) that creates problem Help! Thx A char i ...Show All
SQL Server VS2k5 ReportViewer: Can it show report snapshots and it's list?
Dear Anyone, I have a question about the new report viewer control. Can it show report snapshots as well as a list of all available snapshots of a report just like in report manager Thanks, Joseph ...Show All
Windows Forms DataBinding to a SQL Field of type money
Has anyone ever had a problem DataBinding to this field type I have a method that sets up all my DataBindings for my controls on the form and when I run it I get this error: "DataBinding could not find a row in the list&nb ...Show All
Visual Studio How to support the Web Site
Hi Everyone We think that there is no document in SDK though we want to support the Web Site for my own language Can you support the web site for my own language The Web site is not supported in C++. Is the support of the Web site possible in the languages other than C#, VB, and J# Best Regards. Shinya Watanabe Supporting languages other that VB, C# and VJ# is supported, though there is not a lot o ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to make a trainer.
Does anybody on this forum know how to make a video game trainer in c++ (using visual c++ express) I would like to know how to do this. I know it is not impossible. I have searched the internet and all the examples I could find are either extremely old or they are for asm (which I do not know). I am fluent in vb and vb.net, if that matters. If someone would be nice enough to explain the process to me, it would be great. Thank you. This is ...Show All
.NET Development Opening Images
Hi this is a very silly question but how do load an image wthout using a full file path e.g. Dim fs As New IO.FileStream("flower.gif", IO.FileMode.Open) If you want to open a GIF, why not use Image.Load Either way, you can specify a full path, or a relative path to the location of your exe. You can't just find a file anywhere on your system without giving a path. Anything that's in the PATH vari ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I need some spiritual DirectX guidance.
I've been learning from a book titled Tricks of the Windows Game Programming Gurus by Andre' Lamothe. It's outdated using DirectX 7.0a SDK, and I believe his second volume creates software rasterization with DirectX 8.0 SDK. I really enjoy his books because it is very in depth and low leveled. My question is should I continue reading it if I'm geared on becoming a professional in graphics Since 60% of our life is maintaining and upgrading previo ...Show All
Visual Studio Unable to link MSDN with Visual Studio 2005
Hi, I recently started using Visual Studio 2005 professional and was using the online help when I needed it. I found this to be very slow and regularly not returning the search results I would expect. I therefore downloaded the April 2005 edition of the MSDN library and successfully installed it. The problem I have is that when I press F1 in VS, I am still getting the online document viewer rather than the newly installed MSDN library. I h ...Show All
Visual C++ fatal error LNK1104: cannot open file 'LIBC.lib'
I'm trying to compile a C source code project with Visual Studio 2005. I'm linking in 2 libraries that were built using Visual Studio 2003. When I build my project, I get 1 error: fatal error LNK1104: cannot open file 'LIBC.lib' I know libc.lib is not included with Visual Studio 2005. How can I overcome this problem Thanks, Mike You might still have one of your older libs that weren't rebuil ...Show All
Windows Forms How to change mouse cursor during a drag & drop operation
Hi all.. I have a TreeView control that allows to reorder items inside it by only dragging and dropping the nodes. The fact is that not all destinations are valids. For example, target node cannot be the node that is being dragging, and nodes can be ordered only inside the same level. For instance, in the next figure, node2 can only be placed at positions of node 1 or 4, and not at position of node 5 nor 6. NodeX Node 1 Node 2 ...Show All
SQL Server FTP task
I am trying to set up an FTP task to download files on a daily basis. The files are in .tar format. the name usually includes the date. Is it possible to set up the task to download all files after a certain date for example all files that are dated the system date ...Show All
