15,881,738 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 loctrice (Top 67 by date)
loctrice
5-Jan-21 16:40pm
View
Deleted
I don't think your answer was helpful or correct, and the question is not only solved but it's 6 years old.
loctrice
5-Jan-21 16:40pm
View
I don't think your answer was helpful or correct, and the question is not only solved but it's 6 years old.
loctrice
17-Aug-16 8:38am
View
Despite this already being solved - the answer you linked to is Visual Studio 2015 on Windows 10 and my question is from 2014.
loctrice
7-Nov-14 8:54am
View
I gave it a shot. It caused a lot of errors that I can't work out now. I've been working on it for a couple of hours after updating my nuget packages. I'm not sure this is any better
loctrice
16-Jul-14 8:19am
View
You use jquery to get the values from the checked checkboxes similar to http://stackoverflow.com/questions/786142/how-to-retrieve-checkboxes-values-in-jquery . Then you take the values and put them in the data section of your ajax call. You will also need to add them to your mvc controller so it has a place to map them.
loctrice
2-Jul-14 15:17pm
View
I removed and re-added the user account I've been working with. I think the only problem I'm having now is the "keyset doesn't exit" error.
loctrice
19-May-14 9:43am
View
This code produces the exact problem the OP posted.
loctrice
30-Jul-13 10:59am
View
ChecksumAggregate takes IEnumerable of int so that one won't work
loctrice
30-Jul-13 10:48am
View
Linqpad gives me an invalid expression error. I don't think you can use .* in c#
loctrice
30-Jul-13 10:27am
View
I have figured that much out. The problem I am running into is how to do that over the whole linq collection. Or, if doing it one column at a time, to be able to do it without knowing the column name and type for the checksum.
loctrice
27-Feb-13 14:05pm
View
I'm saving this for proof that you can't do the things mentioned. I will use it against you in the lounge some day for sure.
loctrice
27-Feb-13 11:04am
View
You're going to have to post some of what you have. There isn't enough information in your question to help.
loctrice
27-Feb-13 10:57am
View
you should post your client side html and jquery code. If you know the data is coming from the server correctly, then that will help us trouble shoot it.
loctrice
27-Nov-12 8:47am
View
Please format your post.
loctrice
27-Nov-12 8:45am
View
Yeah, or map the network drive
loctrice
27-Nov-12 8:41am
View
This is a c# question, not a jQuery one. Also, you didn't give a lot to go on.
loctrice
26-Sep-12 14:09pm
View
I'm getting the alert box from the on error method.
loctrice
26-Sep-12 13:58pm
View
I'm not sure what the problem is with yours. When I linked jquery to the code you have here it worked.
loctrice
26-Sep-12 13:37pm
View
You needed that onError function still. put it back and it will run.
loctrice
26-Sep-12 13:22pm
View
did you remove the onError from your original code?
loctrice
26-Sep-12 13:05pm
View
see if the updated solution points you in the right direction
loctrice
19-Sep-12 13:30pm
View
Yeah, I expected it as a joke and took it that way.
loctrice
19-Sep-12 12:48pm
View
I don't know what would stop you. This reminded me to accept the answer though. All I was looking for was to make sure that there was an answer for later googlers.
loctrice
19-Sep-12 12:28pm
View
Yeah, not sure what happened. It worked itself out , but not before making me come in the office on my work from home day. Half hour drive too :doh:
loctrice
16-Sep-12 14:17pm
View
You need to make this a question. I'd include some more information as well.
loctrice
16-Sep-12 14:16pm
View
I think the entire JSON is wrapped because you specified that in your response type along with the web invoke specification. The student info looks like you are json encoding an array, which would cause it to be wrapped (very bottom of your second code block window you are manually encoding an array/list)
Hope that helps.
loctrice
22-May-12 14:53pm
View
I downvoted because you posted this yesterday
Repost
loctrice
22-May-12 9:35am
View
+5. I should have taken more time with my response. You're answer is so much better than mine :doh:
loctrice
22-May-12 9:06am
View
what database are you using? MySQL , for instance, can be set to sync up to a slave database. Either way, I would recommend a linux process rather than an application/coding one. (at least I think that would be easier).
loctrice
21-May-12 17:05pm
View
I'm not sure what you mean by "get data from Server A". Are you wanting to keep the data in sync so server B can answer when server A is down? Or are you wanting to use server B to get the data from server A (won't you have the same problem in this case if A is down?)
loctrice
21-May-12 17:02pm
View
is the post back actually happening though? Sounds like it works, just slowly (which leads to different answers)
loctrice
24-Apr-12 9:44am
View
That is why I posted the solution I did. You attach a function to each opening tag, closing tag, and data. It will execute the firs any time an opening tag is found, the data when it reads between, and the last whenever a closing is found. Play around with it a little bit, it will give you the control you are looking for.
loctrice
20-Apr-12 16:57pm
View
I gave example code. What specifically are you having trouble following? If you point it out, I'll be happy to expand.
loctrice
19-Apr-12 18:19pm
View
yeah, thanks. I didn't see it as an option.
loctrice
27-Feb-12 15:40pm
View
I agree with ryanb31. There are other options, but it depends on what you want to do. There is libre, using the xml from the spreadsheet instead of the excel object, using oledb (I think that will help), xfering it to a database, etc. Excel is probably not your best option for a client/server data source.
loctrice
26-Jan-12 15:56pm
View
yes, but "Fall item" is vague and does not convey what you want to do.
loctrice
26-Jan-12 14:57pm
View
This is true. Hard coding drive paths is usually not good. When I first started learning this stuff in college, that was how we were taught to do it. After we had the basics, then the hard coding went away.
loctrice
26-Jan-12 14:18pm
View
I tried to update my answer a little bit. You code tried to open a file that did not exist. It stops running when this happens, and dies. On it's way out it tries to tell you what happened, which is the message you saw.
loctrice
26-Jan-12 14:12pm
View
I had a problem with excel in the past. I built xml headers and an html table from the dt. Sent it back as text/xml with the string as an attachment with xls extension. Seemed to work well enough
loctrice
25-Jan-12 18:31pm
View
I agree with Espen and NeptuneHACK. My 5 as well.
loctrice
25-Jan-12 13:39pm
View
- built in file creation (which one I'm not sure)
- Didn't say it was related. He was asking if it could be used. Looks like he is fishing for some sort of solution to his problem.
I read from this that he is trying to use the built in file/stream/something to create a file, and since windows7 has different permission rules, is having trouble.
"what are you trying currently", "what is the specific problem", or something like that.
He probably finds your comment as useful as you found his question.
loctrice
24-Jan-12 15:09pm
View
Deleted
Reason for my vote of 5
Nice example
loctrice
24-Jan-12 15:08pm
View
Deleted
Very nice. It does not handle subdirectories (at least not in all cases). I put a simple change in and it worked perfectly. Thank you for the code
loctrice
24-Jan-12 10:01am
View
I found a solution by adding the sheet name only if it ends with $. That seems to work well. Thanks again for the push.
loctrice
23-Jan-12 13:41pm
View
You are correct, the template is what I meant. I don't think I need it, I just don't know another way to do it. This answer does address my problem/question perfectly. I will look for some sample code now that I have a better question for uncle google
loctrice
23-Jan-12 13:37pm
View
Yes, sorry. I said mono where I should have said MonoDevelop
loctrice
20-Jan-12 17:18pm
View
You need to post some of your code I think. Things to check that I am aware of right off, make sure that you are doing your databinding in the correct places (not just in the !postback)
loctrice
19-Jan-12 16:44pm
View
This got me searching in the right direction again. I wasn't getting anything back in google the ways I was trying to search. Thanks.
loctrice
19-Jan-12 13:23pm
View
I need to stick with OleDB.
loctrice
19-Jan-12 10:04am
View
I'm not entirely sure why my question deserves a down vote. I explained the problem I was having, gave the code I was using, and clearly stated a question.
loctrice
19-Jan-12 8:21am
View
I don't know how I could change it to be more clear, or I would. It doesn't just get worksheet1, worksheet2,etc... It gets other sheets with Print_Area appended. I just want the data/worksheets.
loctrice
18-Jan-12 22:48pm
View
I didn't read well enough aparently. I missed the attachments part >,<
loctrice
18-Jan-12 22:41pm
View
An iso is just a disc image on file. You can play it just like a cd/dvd, or you can unzip it with 7zip and view all the files you want. You can also burn it to a disc and then run the disc. Solution 1 is completely valid.
Solution 2 gives you exactly what you asked for given the detail of your question.
loctrice
18-Jan-12 19:30pm
View
Yes, if you have id as an auto increment field in your design, then it's best to let it auto increment.
loctrice
18-Jan-12 19:29pm
View
yeah. I usually wrap them all in those.
UPDATE [Users] SET [ID] = ?, [User] = ? WHERE [ID] = ?
loctrice
17-Jan-12 22:32pm
View
Access 2003 has 2GB limit, minus the space for system objects. Compact and repair should help, as thatraja said. If you aren't at the limit, chances are it will fix it.
I third "what errors/exceptions do you get"
loctrice
16-Jan-12 19:24pm
View
Windows visual c++ makes things relatively easy to get started on gui applications. You can just do some projects and keep an eye on the source code.
With dev, you can use opengl/glut, fltk, gtk, etc. All of which are freely available and have excellent documentation at their respective web sites. fltk and gtk both have online books for tutorials.
loctrice
16-Jan-12 19:20pm
View
postgresql,drizzle,etc.. has public source code. You cant beat that for information.
loctrice
16-Jan-12 19:13pm
View
I can't find good motherboard specs on this computer. As long as the board handles that type of memory there should not be a problem. Do any lights come on? Is there any beeping?
I found one solution through googling that said to unplug the battery and plug the box in. If it comes on, then try setting the power settings to never shut off the laptop.... his was going into hibernate mode after changing the dim (wierd enough for me!)
Another would be put one ram in. If it does not come on, take it out and put the other one in.
It could be a number of things, including bad dim slots on your board. If it gives any lights or beeps you can find out what those mean in your manual.
Hope this helps.
loctrice
16-Jan-12 18:56pm
View
Protected
loctrice
16-Jan-12 18:42pm
View
He means have you written any code or attempted anything for this. If you provide something you have done towards the problem, people tend to respond better. Also, it helps people walk you through your homework instead of doing it for you.
loctrice
16-Jan-12 12:15pm
View
Google shows links to this specific problem, and ways to debug it via the call stack. The quickest solution I could find (less than 5 minutes) was " It is the version of MFCO42D.DLL"
loctrice
15-Jan-12 23:49pm
View
Yes, it was my mistake in not seeing the language in the post. I am new to answering questions on cp, and I was just viewing all unanswered questions.
.Net , it does not matter if you use == vs. .Equals(). Java, it matters.
loctrice
15-Jan-12 23:30pm
View
Yeah, I should have paid more attention to the language in the title... the language does in fact matter for string comparisons. Even if it 'should' be an enum, it 'is' a string
loctrice
15-Jan-12 23:17pm
View
@SAKryukov - English is not everyone's first language. It's easy enough to get by the typo.
Some more information would make things easier.
Do you have access to change the existing applications?
loctrice
15-Jan-12 23:08pm
View
I usually use a base object that any "connected" object extends, or write a wrapper for database connections and have that as a property. You have to create a new connection every time though, and there has been one ocassion I had to change that for an Access database because it was too slow.
loctrice
15-Jan-12 23:01pm
View
What language is this? If you can use .Equals() for strings, then it's probably not a bad idea. I've had string matching issues before because of this.
Show More