15,892,965 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 SASS_Shooter (Top 97 by date)
SASS_Shooter
11-Jul-12 18:03pm
View
From my discussions with Vitaly he needs the client to bind to the service and pick up the maxStringContextLength for communication to the WCF service. In his configuration he only has the protocol binding defined and not the behavior which I posted the reply for.
SASS_Shooter
11-Jul-12 15:35pm
View
Have you also debugged your code to confirm that the UnlockUser method is being invoked as Administrator???? Only administrators can unlock user acccounts!
SASS_Shooter
11-Jul-12 14:41pm
View
I'm sure it is possible, but only with you programming it to perform that way. As to the rest of your stuff I do not see what this question has to do with postbacks or AJAX. Poorly phrased question.
SASS_Shooter
11-Jul-12 14:36pm
View
you can use svcutil to generate the proxy code. In the proxy you would then make sure that when the connection is constructed that the parameter size is set correctly. The client would not create a reference but utilize your proxy. The proxy handles the connection to the service.
SASS_Shooter
11-Jul-12 14:30pm
View
Answer the other questions! How many controls are on this form? Are they static or are you programmatically placing them there? Since you're doing double buffering I assume this is a Winform application?
Also -- are you populating the form when it loads? If so have you suspended the form before loading the data then unsuspend it's drawing?
SASS_Shooter
11-Jul-12 14:28pm
View
No one else gave you a -1 so I did. Your question is very poorly phrased for people to understand. If you are creating categories and you want items listed as children of the topic, then you are choosing the wrong control to begin with.
SASS_Shooter
11-Jul-12 14:26pm
View
If the client code, and the configuration, is so important to use of your application then have you looked at providing a proxy that programmatically sets your values for your consumers?
SASS_Shooter
11-Jul-12 14:24pm
View
....and then post a question as to what you understand, do not understand, and specific questions as to what isn't working for you. Implementation of ICommand is really very simple to do.
SASS_Shooter
5-Jul-12 17:36pm
View
I think something like that would
a) require an API from each vendor for the adapter
b) would change from vendor to vendor
SASS_Shooter
5-Jul-12 17:13pm
View
Kindly get off your lazy, fat, butt and write the code yourself or find another career.
SASS_Shooter
5-Jul-12 17:04pm
View
-1 on both questions for posting duplicates
SASS_Shooter
3-Jul-12 12:19pm
View
If I understand your question then what you are asking is this:
You have an image in your program.
You want the image shown in a Tooltip.
You want that shown when you mouse over an entry in the datagrid.
You are displaying a very small snippet of what looks like XAML to me. Is this a WPF application, a Silverlight application, or just a web page?
SASS_Shooter
2-Jul-12 17:29pm
View
Hope you have an electrical engineer degree as well as a computer science degree.
SASS_Shooter
2-Jul-12 17:20pm
View
With such a big jump, have you checked your output to confirm that you are not using any Obsolete methods in the framework?
SASS_Shooter
27-Jun-12 14:00pm
View
This question has nothing to do with C#
SASS_Shooter
26-Jun-12 13:04pm
View
Actually I've seen many profiles with no country set at all which I think is the default. But then it has been so long since I signed up I really do not remember. So not a bad assumption, really.
SASS_Shooter
26-Jun-12 13:03pm
View
Deleted
Actually I've seen many profiles with no country set at all which I think is the default. But then it has been so long since I signed up I really do not remember. So not a bad assumption, really.
SASS_Shooter
26-Jun-12 12:52pm
View
Your profile shows that you are here in the U.S. Yet I've seen foreign nationals use better English in asking questions. Please clarify what it is you are asking as your question makes not sense in relationship to WCF.
SASS_Shooter
22-Jun-12 15:33pm
View
My reason for a 1 vote -- you ask about KyneticORM which is right here on CodeProject. Download the source code and learn it. That will answer your questions.
SASS_Shooter
22-Jun-12 15:31pm
View
This sounds like school homework, and we don't do homework here.
SASS_Shooter
22-Jun-12 15:20pm
View
What have you done so far?
SASS_Shooter
22-Jun-12 15:19pm
View
Is there a reason you kept the questions in source code instead of externalizing them into a file or database?
SASS_Shooter
7-Jun-12 18:00pm
View
The reason for all of the questions is the answer changes dramatically based on what you use if for. For example, if this is just the background of the form, then you just set the gradient brush in the background property. And if you have Blend, it is even easier and more flexible. Also you can do a styling for almost any form and implement a form of gradient brush without the need for creating a rectangle.
SASS_Shooter
7-Jun-12 17:11pm
View
Looks like that was the issue!
SASS_Shooter
7-Jun-12 16:11pm
View
The binding is listed up above! Can you see where I screwed the pooch?
SASS_Shooter
7-Jun-12 10:48am
View
Found the offender and it is with a custom ListView design. But still cannot figure out why my template is causing issues.
SASS_Shooter
7-Jun-12 10:36am
View
Well first I tried the "fix Microsoft" approach.....deleted the form and recreated it. No good. And in answer to your question, I have to remove all bound forms leaving just the Title view in order to get the application running. Grrrr. But I did find some binding issues in the output window so now I'm working on eliminating all binding errors and see what happens. I am also thinking of eliminating ViewModel injection and just do the binding in XAML.
Secondary note: Ahhh added the search menu back in and guess what....that works! So it is one of the other forms that is giving me a pain in the arse.
SASS_Shooter
6-Jun-12 18:16pm
View
I'm using Prism and it is bound to the correct region. It was even working without issues!!! I did some work on another control trying to format items on the ListView in another region and ran my app to see how it looked when I did my search. That is when the errors began. I've backed out tons of xaml to try and fix it and yet even in it's simple state as shown I get the exception. Driving me NUTS!!!!! It should not happen.
SASS_Shooter
6-Jun-12 18:00pm
View
No I have no formatting or template for the combobox. that was next. I'm befuddled by this. I don't even remember changing this before it started breaking. Now I cannot stop it from breaking. :( This version is my stripped down control where I'm trying to eliminate all possible sources of malformed XAML.
SASS_Shooter
6-Jun-12 15:29pm
View
These two lines of code are not even related. You create one gradient brush that fills a rectangle and the other fills a rectangle but with a completely different brush. Both do the job. Why change? What are you planning on changing these to and why?
SASS_Shooter
6-Jun-12 15:16pm
View
Yes...DHCP is THE solution.
SASS_Shooter
5-Jun-12 10:59am
View
You need to change the timeouts on the server. Look in the web.config for the server behavior.
SASS_Shooter
5-Jun-12 10:57am
View
Oh yes...almost forgot...open your svc file in the browser and make certain that you are able to actually view your service. If you cannot open your svc file in the browser, you cannot talk to it from your client.
SASS_Shooter
5-Jun-12 10:56am
View
The unexpected response is when an exception, thrown by the communication stack, is returned to the client. Can you click on 'Improve Question' and include the exception with the stack trace?
SASS_Shooter
1-Jun-12 11:57am
View
Are you kidding me???? Are you fracking serious???? How the heck can ANYONE on this board tell you what type of query to do when YOU have the fracking database schema and YOU have the tables. Jeez man, engage your brain before asking questions!!!!
SASS_Shooter
1-Jun-12 11:55am
View
...and your question is?????
SASS_Shooter
1-Jun-12 11:55am
View
Providing some code that you've implemented will help you get a faster answer. Include the gridview showing how your binding the data now. Also include what UI style you are using as the answer can change if it is web vs. silverlight. Update your question using the Improve Question button.
SASS_Shooter
31-May-12 15:17pm
View
Right now the ListView shows as a stark, white rectangle inside the very pretty floating control. I want the Listview to basically be 100% opaque (and my ListViewItems to also have an opaqueness to them) so that the control they are contained in appears to be holding the data instead of a control obviously sitting on top of it.
SASS_Shooter
31-May-12 12:23pm
View
Listen to your supervisor.
SASS_Shooter
31-May-12 12:20pm
View
My reason for a 1 vote: you did not specify anything about your application as to what type of application it is. You did not specify what you have tried so far.
Obviously you've not looked at the toolbar for controls for you application because then you'd see that you have a web browser control in there and that is all you can use.
SASS_Shooter
30-May-12 11:12am
View
Thanks. I'll post the question there.
SASS_Shooter
30-May-12 10:13am
View
Why in God's name would you ever want to do that????
SASS_Shooter
23-May-12 11:56am
View
have you looked here: http://code.google.com/p/ocropus/
SASS_Shooter
23-May-12 11:46am
View
Your question has nothing to do with the subject line!
SASS_Shooter
23-May-12 11:34am
View
Just what is your question?
SASS_Shooter
23-May-12 11:27am
View
Whoopee you have a wcf service at a url. That does not tell anyone anything.
How did you design your service? Are you using Entity Framework for data access? Are you using the repository pattern against EF?
Just asking people to tell you how to test some unknown piece of code will not get you an answer to your question.
SASS_Shooter
23-May-12 11:24am
View
Okay you listed what you are doing and what you coded. Now ask the question as to what your problem is and what you've tried. Did you google using oledb to read an excel spreadsheet to see if articles can point out your problem? If not then try that first.
SASS_Shooter
23-May-12 11:20am
View
I suggest you read "How to get your question answered" that is at the head of every forum on Code Project. This post seriously fails on that.
SASS_Shooter
18-May-12 11:55am
View
What research have you done so far on MSDN? There should be a chunk of docs there that should help you.
SASS_Shooter
18-May-12 11:53am
View
Best way to start is to contact the manufacturer of the USB modem to see if they provide an API for accessing the protocols.
SASS_Shooter
18-May-12 11:50am
View
WCF is part of the 3.5 framework of .NET and so you do not need to "install it" as long as you are targetting the correct version of the framework.
SASS_Shooter
18-May-12 11:43am
View
Just wondering....why are you doing all of the networking manually? If you just build your server as a WCF service you save yourself a ton of network programming and the client connection will just work!
SASS_Shooter
17-May-12 17:07pm
View
Do you mean you want to display hierarchical data in a gridview? If that is what you are asking, you need to use a custom control for that. I believe Telerik provides a gridview that does hierarchical data display.
SASS_Shooter
16-May-12 9:50am
View
You may want to either type your question into a translator then translate it to English. Or find someone here that speaks your language as well as English. What you have asked here makes no sense as written.
In general an error like this means that you do not have the table's primary key defined correctly or it isn't populated. You also need to ensure that your foreign key is matched correctly. Essentially based on the way you describe it, your non-master tables have 2 keys?
SASS_Shooter
14-May-12 17:21pm
View
For the InsertOnSubmit and SubmitChanges issues, did you look to see if you have
using System.Data.Linq
?
SASS_Shooter
14-May-12 16:59pm
View
What have you written so far?
SASS_Shooter
14-May-12 16:51pm
View
what is your question? Are we supposed to read your mind as to what you want?
To me this sounds like a school question so expect no help with this.
SASS_Shooter
14-May-12 10:50am
View
Is there a reason you don't use existing API's out there to simplify the SNMP coding? I think API's like SimpleSNMP can help. I think it is as simple as sending the request to device 0 in the chain and it is treated as a query for all settings, but cannot remember it exactly.
SASS_Shooter
14-May-12 10:45am
View
So what you are saying is this:
a) you are NOT using a component but rather a custom control
b) you are trying to change the skin on a button.
so therefor I suggest that you do C) read the fracking manual
SASS_Shooter
14-May-12 10:42am
View
Okay. So you are using WMI to access a remote computer. So as a developer what does that tell you? Like maybe you do not have access to the remote machine? Follow John Bartels suggests and you may actually see differences.
SASS_Shooter
14-May-12 10:37am
View
My reason for a vote of 1:
You basically are starting a new job. You're given your first assignment. And you are asking us to help you do your job???
SASS_Shooter
14-May-12 10:09am
View
Is there a reason you are posting test questions here? Do you really think someone will help you take your school test?
SASS_Shooter
11-May-12 12:36pm
View
In Silverlight you are in a very small sandbox that limits your access to files.
Typically when accessing a directory for files, you are required to use the OpenFile dialog and use whatever the user selects. I do not think you can browse an entire folder grabbing files.
SASS_Shooter
8-May-12 12:26pm
View
how to add textbox to data grid: Have you Googled this question? You will find an answer!
SASS_Shooter
8-May-12 12:20pm
View
Depending on your UI design, wouldn't a simple sticky note control do the job? I think you can get those for WPF in the framework.
SASS_Shooter
7-May-12 15:22pm
View
in addition to the sql config for client protocols you also want to confirm what context the batch file is running under.
SASS_Shooter
7-May-12 15:20pm
View
Did you review the output to see if it threw errors? Are you running the util against the running services, a metadata file, or a config file?
SASS_Shooter
2-May-12 10:58am
View
Erik, if you have a good network guy that can work with you there may be a quick answer to your question. In 95 I had a horrible time with my internet provider. Working with Microsoft at the time they signed in as me and came back to tell me the provider was not following RFC. I pointed out the issue to them and they acknowledged the failure but blamed MS for it!!!! I dropped them and went to a new provider and had a fast connect (for what was available at the time).
Once you can see the packets it will be much easier to see exactly what is happening and then you can find your answer.
SASS_Shooter
1-May-12 11:05am
View
You should read the top post How To Get Your Question Answered
First, is there a question here somewhere? What have you tried to do so far?
Second for touch devices: Are you targeting an Android or IPad device? Are you targeting phones? Or are you just targeting Microsoft Surface or touch-enabled computers? The answer would drastically change based on your target!!!!
SASS_Shooter
1-May-12 10:48am
View
Reason for my vote of 1
Never even did a search or google to find his own answer that was right here in Code Project!
SASS_Shooter
1-May-12 10:42am
View
What have you tried so far to enumerate through your repeater control?
SASS_Shooter
30-Apr-12 17:03pm
View
Reading the documentation on this property, the first thing it states is you must call Page.Validate(). Did you do this?
SASS_Shooter
30-Apr-12 16:59pm
View
Even there your verbiage of the problem does not match the pattern you're now displaying. I suggest you improve your question as follows:
I have data in a database with sequences of numbers. There are breaks in the contiguous stream of data. I need a query that returns the first and last number for each contiguous stream of values. For example
1,2,3,4,5,10,11,12,13 will return 1,5 10,13 etc.
SASS_Shooter
30-Apr-12 16:36pm
View
The website you linked to pretty much answers your question:
The API is based on simple POST-Actions. See the single actions for paramters, return results and documentation. Please find the general message structure below.
So everything is done with a HTML page post.
SASS_Shooter
30-Apr-12 16:29pm
View
You can just copy your code, click on the orangish box marked code and choose C# then when the xml tags are created just paste between the open and close tag.
SASS_Shooter
30-Apr-12 16:27pm
View
Is this directory on the network? I've found frequently when a DIR directive takes so long it is on a network drive. If so you may then need to run a sniffer to see what kind of communications goes on between your machine and the server that the directory is on.
SASS_Shooter
30-Apr-12 16:21pm
View
What you are providing makes not sense from a database standpoint. To have records 1,3,7,9,11,12 returned, you need some secondary data that is common among just those records. It is the basic principles of databases and relational data. Also it isn't realistic that you would have a table that just contains a single row of numbers. What else is in the table? What have you tried so far?
SASS_Shooter
30-Apr-12 16:19pm
View
Reason for my vote of 1
Incomplete information provided and no indication of what has been tried so far.
SASS_Shooter
24-Apr-12 17:54pm
View
Have you tried asking what the problem is over on the Tao Framework forum which is under the developers home page for the framework?
SASS_Shooter
24-Apr-12 17:49pm
View
Yes -- read books, and also get the Express version of C# and then write code for small projects to help speed up your learning. That way you can try "what if I change this command....." and you will find out right away what happens.
SASS_Shooter
24-Apr-12 17:15pm
View
You will never get the keydown event while the program is at the system tray unless you do what vquangchung indicated: hooking into the GetAsyncKeyState or one of the other kernel level commands. You cannot do it with just your own code.
SASS_Shooter
24-Apr-12 16:49pm
View
Personally -- this sounds like a school project. Do it yourself. We left school a long time ago and don't do other people's homework.
SASS_Shooter
24-Apr-12 16:47pm
View
Yes
SASS_Shooter
23-Apr-12 12:56pm
View
You state that when you click the button the increment isn't happening? Where is your code? We cannot see why it isn't incrementing if you do not show us what you are currently doing in your code!
SASS_Shooter
23-Apr-12 12:54pm
View
Did you include your crossdomain definition file? When accessing the service who is trying to do so? Another WCF service? A WPF application? Silverlight? Asp.NET? Provide more information please.
SASS_Shooter
23-Apr-12 12:50pm
View
You show everything but your actual linq statement!!! How can we answer your question without
a) knowing your query you tried
b) what you are getting instead of the desired results.
Know also that if this is a school question (which this smacks of) we will not do your school work for you.
SASS_Shooter
23-Apr-12 12:42pm
View
hmmm...it took me no more than 5 seconds to find the answer to this question using Google. Maybe you should try that too.
SASS_Shooter
23-Apr-12 12:40pm
View
What have you tried so far to solve this problem?
SASS_Shooter
23-Apr-12 12:35pm
View
I would agree with the others that if you update your code into all English, then improve your post with the new code will make it easier to read.
It seems from what little I read that you have a target for your swarm? The image does not show that clearly. (Make your target bright red!!!) Your image doesn't help to understand if the swarm is just swimming around, if each member of the swarm has a range of detection, if any of them are actually moving towards the target.
I'd suggest starting with a swarm of 1 particle. Put tracing into your code and stop at each iteration waiting for a button click. At times that is the only way to see if you AI is working or whack. Use tracing to determine why you are computing the new values. Your values should become a linear graph from point of detection to attack of the target...unless the target is moving all the time.
SASS_Shooter
23-Apr-12 12:25pm
View
Based on what little you have provided, it sounds like you are writing code that is equivalent to what viruses do. You would have to 'hook' into the operating system to know when someone is opening a file, verify it is the type of file you want, then do your thing on the web server. This, IMHO, is a bad idea!
SASS_Shooter
23-Apr-12 12:14pm
View
You are making at least 3 method calls in the snippet of code.
Where do you get the error of invalid expression?
SASS_Shooter
23-Apr-12 12:07pm
View
Have you confirmed that your 'find biggest object' is finding the human in the camera? If not, what is it finding? You may have to apply some limitations to your process so that if a webcam is viewing a person, by a window, with a large clear sky overhead, you don't end up picking the sky as the human. In fact you may have to use much more complex algorithms' than just the biggest blob on the camera. Keep in mind that unless that human is naked and totally untanned from head to foot, even the human body will be more than a single grayscale color!!!
SASS_Shooter
23-Apr-12 12:03pm
View
You won't get resolution to your problem until you answer the question on what you've tried so far. Have you used Blend? If so, what animation have you created using Blend? If you did not use blend, what did you use to develop your animation?
SASS_Shooter
23-Apr-12 12:02pm
View
I assume from this code that you are not using the .NET framework to access the Exchange server? Why not use what the framework provides. This exposes such enumerators such as WellKnownFolderName.Inbox
SASS_Shooter
23-Apr-12 11:45am
View
What have you tried to do so far?
SASS_Shooter
23-Apr-12 11:40am
View
In the future, please do not hit the enter key in the middle of your text. It would be easier to read your question if you just type it out without trying to do your own formatting.
SASS_Shooter
23-Apr-12 11:38am
View
It would be great if you showed what you've tried so far.
It sounds like you're trying to do too much with one control.
Show More