15,896,318 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Fox536 (Top 18 by date)
Fox536
20-Feb-12 23:08pm
View
The end of the music, and or movie file should make it go back to the default state of unchecked, until the user presses it again.
Fox536
19-Feb-12 15:33pm
View
Hmmm, I didn't see a toggle button earlier, but I'll have a look again see if I can find it. Can you change the State using C# Code as well?
Fox536
25-Nov-11 23:26pm
View
Is there not a built-in reader in .Net v4? I'm trying to avoid including a whole dll, I just figured that there was a .Net v4 library?
Fox536
16-Nov-11 18:57pm
View
Well I dove into it, and besides hating the way they set it up with xml, it's definitely interesting. Some things that are a 30 second code in winforms are 2 hour projects, while somethings that take hours in winforms are as simple as setting a property, man if they could just learn to combined them, and take out the xml/Add a designer that outputted C# code for windows instead of xml, and make wpf a little more self explanatory, It'd be awesome. But until then I suppose we'll still just keep jumping through hoops, no matter what project type we use lol.
Fox536
15-Nov-11 1:18am
View
Have any tuts to view on WPF and how hard is it to convert a winform project to WPF?
Fox536
15-Nov-11 0:33am
View
I tried to use, all the png types .Paint allows, jpeg, jpg(I know these 2 should be the same), bitmap, but they all had the same result.
Fox536
14-Nov-11 19:56pm
View
It's a jerry-rig solution to the built-in gaping hole in the way Windows forces forms to work, but basically you have to loop through in whatever direction your going and paint the image to each pixel to keep from fading.
Here is the Jerry-rig Fix
http://pastebin.com/cVaFf6Xq
Fox536
14-Nov-11 19:29pm
View
Ya i was just trying to avoid having to rewrite the code in another language, but if I've got to rewrite it I might as well, just break down and use html/java to do it :( but thanks for the input it was very interesting.
Fox536
14-Nov-11 19:21pm
View
1. it's directionality dependent because you are only stretching in one direction.
a. it is a png but doesn't include any transparency, I tried changing it to bitmap which didn't help either.
b. the example was 4 different calls, as for whether that one was a control or just painted directly onto the form I do not know. I tried painting on the form, using a picture box, using a empty panel's paint method, ect. pretty much anything anyone said to try, I tried nothing seemed to work.
The only way I can fix the issue, is to loop through every pixel in whatever direction I'm going and paint the image. But doing this makes the startup slow and if you have to resize it later it's slow then as well.
The only work around I could find to that was to paint it to a very large size at startup, and save the output to an Image variable, then only add to it if I need to.
The only thing I can think of is the built-in method is flawed/"supposed to do that" either way it's very unhelpful.
Fox536
14-Nov-11 19:11pm
View
Deleted
here is a sample code demonstrating what is happening: http://pastebin.com/f95gYzxt
here is a sample image to go with the code:
http://imageshack.us/photo/my-images/405/testll.png/
run the program and you'll see how it fades to where it doesn't even show anymore.
Fox536
14-Nov-11 0:19am
View
I will make a simple code for you to look at but it's a very common problem, apparently, I pulled this off a search I did earlier with the same problem just to show what I mean until I can make a sample for you http://i765.photobucket.com/albums/xx291/JonCage1/StretchNotWorking.png
oh and ps the longer your form is the more it fades until it isn't even visible. And yes I know your thinking from the picture, that it's not truly 0 opacity, but let's not get into a battle of simatics over that fact that all default controls are not really transparent.
I'll post a sample tomorrow after work.
Fox536
14-Nov-11 0:15am
View
I'm sorry but that doesn't help for what I need but thanks for trying, I found a solution for the problem.
Fox536
13-Nov-11 20:08pm
View
I mean fading... as in going from an Opaque color (Opacity 255) to a transparent color (Opacity 0). But I've found a cruddy solution, which is to add a paint method then loop through and just repeatedly draw the image. It's not a simple task but it's the only thing that seems to work, as long as you don't need it to redraw or else it takes forever. I need a way to draw to an image thats in memory then if I need to I can stretch it further later, any ideas how?
Fox536
13-Nov-11 3:23am
View
I've tried drawing the image after setting the interpolation to nearest, I've tried just drawing the image in a picturebox with stretch turned on I've tried the CompositingMode settings and the pixelOffset as well. I've search for over an hour now trying different things but nothing seems to make the image stretch without fade. Any Ideas?
Fox536
1-Nov-11 23:20pm
View
well this isn't what I needed but thanks for trying. I'm betting it's not possible to do what I need but again thanks for trying to point me in the right direction.
Fox536
13-Oct-11 19:57pm
View
Well I need a game server base,
- that will use sockets to transmit binary data to any connected client, so I know it needs to be TCP/IP.
- that will be able to handle 200+ connected users without any speed problems.
- I need it to be highly configurable, and as easy to understand as possible.
I'm not necessarily going to use a third party server base (in fact I can almost guarantee it, I just need a solid base that I can learn from, because all the code I've seen either is horribly documented, or missing huge gaps of info, or is poorly coded.) I really just need a base that has all those features working so that I can see how it works and be able to toy with it so that I can figure it out better. I've googled, I've searched and read many articles here but can't seem to find what I need. Also I heard that using a new thread for each connected client causes the application to eventually hit the windows thread cap, so I'm trying to find a solution that avoids this.
Fox536
12-Oct-11 20:01pm
View
Ok I will look into the tutorials you posted, communicating through binary serialization is how I was going to send the update command for the C# clients as well lol. And yes the clients will be able to use the Sql Queries by themselves so that should be easy, unless you know a better way.
Fox536
2-Oct-11 15:54pm
View
Ya I suppose, it does thanks
Show More