16,017,608 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 .NET 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 Victor Rene (Top 10 by date)
Victor Rene
30-Jun-13 6:50am
View
I have done this many times. Check network as sjelen stated. If connection string and network are OK, then you might have a permission problem. What you should test is to allow anyone to access the database/table. Once it works you can reduce permission levels. Also check this: http://wiki.phpmyadmin.net/pma/user_management.
Victor Rene
30-Jun-13 6:43am
View
Hmm... Difficult question. It is the default constructor that is launched at design time. If inside the constructor (of the Activity?) you add your method call, then something will happen. Is that what you need? I don't know.
Victor Rene
26-Jun-13 7:15am
View
If you don't have a lot of experience with the design patterns, my advice would be to PRACTICE them. Then, you will understand the subtleties and will be able to make better design decisions. You need to fail to learn. Now if I were to do something like that I would try to not over-engineer and Keep It Simple Stupid! Use separation of concerns for data and visualization, you should be able to evolve the GUI if you need to later on.
Victor Rene
26-Jun-13 6:58am
View
What is the scripting language of your server ? pHp, Python, Ruby, Perl ? Anything can work but it's not really possible to paste code if we don't know.
Victor Rene
14-Feb-13 4:53am
View
I'm happy to know that was helpful.
Victor Rene
8-Feb-13 20:29pm
View
That's true. Some things are missing:
- The property (which fires the event on update through the setter)
- EventArgs class
- Probably the syntax of the event is wrong. Either it's an anonymous function, or it's a regular function. Mixing things will not work.
Victor Rene
8-Feb-13 16:50pm
View
It should be working. You create a new row, copy the fields, delete first row, insert new row at first row and then increment row index.
But I'm a lazy person. I use LINQ.
// Cast to IEnumerable and sort
IEnumerable<datarow> dataRows = dt.Rows.Cast<datarow>();
var sortedRows = from DataRow r in dataRows
orderby r["in_website_id"]
select r;
// Put back in
dt = sortedRows.CopyToDataTable();
Victor Rene
8-Feb-13 16:37pm
View
What kind of graphical control do you use? Maybe you want to override a working calendar control? Or you want to create one from scratch?
Victor Rene
8-Feb-13 16:17pm
View
Using:
Obtaining Directory Change Notifications (Windows)
ReadDirectoryChangesW function (Windows)
FILE_NOTIFY_INFORMATION structure (Windows)
It would seem that you can only see if a file is renamed, removed, added or rewritten. But Windows is able to undo last Copy-Paste operation for example.
So Windows knows how where the file comes from, but maybe there is no public API.
Victor Rene
8-Feb-13 15:58pm
View
If using WebMatrix, maybe look at:
How to Publish WebMatrix site to Local File System?
and
How to publish a web application using WebMatrix
Show More