you should be able to merge the assemblies... but just wondering if you had a VB.net web app, and then had a C# project, how would you merge the aspx pages?
can it be done?
If you stick to managed code and standard coding (nothing that does unconventional things withe CLR) in .NET, is there any reason to manually invoke the GC or request to run finalizers on unreferenced objects?
The reason I ask is thaty I have an app that grows huge in Working Memory set. I'm wondering if calling
System.GC.Collect();
and
System.GC.RunFinalizers();
would help, and if it would force anything that wouldn't be done by the CLR normally anyways.
hello,
i need to freeze certain columns in listview so when the user scrolls horizontally the frozen columns will not be affected (like in excel) but there is no frozen(bool) property like that in datagrid. Can this be done in listview control? Thanks
I made some changes to an open source project without taking time to create proper patch files.
Now, the maintainer of the project released a new version, and among new and edited files, there are a bunch of renamed files.
Whats is the best way to apply my changes to the new version ?
I'm completely new to diff/patch use, and If I can get it done with git, it would be better.
What happens to a dataset when your done using it. For example if I create and fill a dataset for a grid, when the user leaves that page or logs out I assume the dataset is still in memory?
Does each user get their own instance of the dataset? In other words, if 2 users hit the same page that uses a grid are they each served their own instance of the dataset from server memory?
Hi!
Is there a method to build a balanced binary search tree?
Example:
1 2 3 4 5 6 7 8 9
5
/ \
3 etc
/ \
2 4
/
1
I'm thinking there is a method to do this, without using the more complex self-balancing trees. Otherwise I can do it on my own, but someone probably have done this already :)
Hello everyone
In one project, I hope to change UIBarButtonItem and style in runtime
editBarItemButton links to a UIBarButtonItem which original status are
style:UIBarButtonItemStyleBordered
title:Edit
if I press the bar item button, it will execute the codes below:
[editBarItemButton setStyle: UIBarButtonItemStyleDone];
[editTarBarItemButton setTitle:@"Done" ];
but neither the style nor title has changed.
Welcome any comment
Thanks
interdev
My classifieds website uses mainly PHP and MySql.
On error, (for example if a variable isn't found), I would like to have an error-page to show, is this possible? And I mean for every error to point to the same error-page.
I am thinking about htaccess, but maybe there are other ways also?
Same with MySql, how is it done there?
Thanks
The animate property is very loosely documented. And unfortunately for me, the way the W3 documents SVG is VERY difficult understand and cross reference.
Does anybody know if it is possible to animate a line from point A (x1,y1) to point B (x2,y2), and if so, how would this be done? (example code would put a really bright smile on my face)
I would like to use the EmailField in a form. However, instead of only storing
[email protected]
I want to store
"ACME Support" <[email protected]>
The reason is, that when I send email, I would like a "friendly name" to appear.
Can this be done?
Format is like:
CHINA;2002-06-25 00:00:00.000;5,60
CHINA;2002-06-26 00:00:00.000;5,32
CHINA;2002-06-27 00:00:00.000;5,31
and I try to use Python's CSV tools to parse it but cannot understand the paragraph, source:
And while the module doesn’t directly support parsing strings, it can easily be done:
import csv
for row in csv.reader(['one,two,three']):
print row
Could someone clarify the line ['one,two,three']? How would you use it with format A;B;C?
I saw a screencast where someone had gotten
git st
git ci
to work. When I do it I get an error asking me if I meant something else.
Being a git newb, I need to know what you have to do to get this done?
Chinese people do not like numbers with a digit 4 in it. I am going to implement a membership program with membership numbers not including the digit 4, say:
number = 3
number.next.has4?
=> true
how the has4? method can be done (efficiently)?
Hello
How to check a value IS NULL [or] = @param (where @param is null)
Ex:
Select column1 from Table1
where column2 IS NULL => works fine
If I want to replace comparing value (IS NULL) with @param. How can this be done
Select column1 from Table1
where column2 = @param => this works fine until @param got some value in it and if is null never finds a record.
How can this achieve?
I know how to add a listbox and create a plugin with TinyMce.
But the thing is I need to add a new listbox everytime a select an item with the previously added listbox in TinyMce.
Does anyone know how to do this?
Tried everything. Just wondering if anyone has done anything similar to this.
Can you tell me the meaning of this statement.I am using windows 2008 server OS
Log Problem must be changed so that it elevates privileges for a user executing the Problem.
its done by creating a manifest that indicates that Problem needs Administrator privileges.
Hi! I'm working on a program that shall have an "updates" module (online). I can't figure out how to do this. Initially i'm trying with a SVN repository. Any better idea? How is this normally done?
(I'm not asking for a concrete languague, i only want an general idea about the procces)
Thank you.
At
/questions/2000777/allocation-of-memory-in-variable-length-tables
NealB mentioned LE routines to allocate/deallocate memory in a non-CICS COBOL program.
I'd very much like to know how this is done: how the LE routine is called. (I'm familiar with the LINKAGE SECTION and with SET ADDRESS.)
Since I have no access to an IBM mainframe at the moment - meaning no access to online documentation - some code snippets could enlighten me.
We've all done them, the short fix that will get the system back up and running until we can Do The Right Thing.
What have you marked in your code with the dreaded //Hack comment?
What was an annoying programming situation you had that a little bit of knowledge could've solved? That after you struggled with something tedious/annoying/frustrating, you learned one small thing and said "oh, I could've done that?!"?
My example - I once suffered through an entire tedious semester of HTML in Notepad... only to discover Notepad++ (and DreamWeaver, IDEs, etc.) a couple of days after submitting the final project.
I work on a project that uses a reasonably large database, the live version weighing in at somewhere around 60-80GB. The live database is the only real definitive source of our schema, and because of its size duplicating this database is too slow to be done often. This means we have ended up developing our database schema in a pretty ad hoc way, using sql compare to migrate changes from dev dbs to the live system, and only wiping our dev dbs every month or two. I am hoping to get some pointers on how to improve our database development work flow so that we have a little more control.
Some things to think about:
Currently nobody is really in charge of the database schema, all developers can change it if they need to, though generally these decisions are talked about before they are done.
There are stored procedures, functions, and views in the database. These should probably be dumped to files so they can be reloaded on every build.
Schema changes should probably be checked in as scripts. We have started to do this recently. However all our scripts must then be numbered (because there may be dependencies between them), and must be re runnable (because our build script currently runs them all in order). This makes them hard to read because they are full of conditionals that check whether tables or columns already exist. This is a step that is often forgotten by developers.
Getting a new database should be quick and easy. This is currently a big problem, it takes several hours to get a copy of last nights backup and restore it onto a dev machine.
Some mechanism needs to be in place to allow developers to update static data. We have tables that contain data that is never updated through the application, but does potentially need to be changed when we do a new release (often this drives dropdowns).
The whole thing needs to be runnable as part of a build script.
Are there any tools that can be used to help to do this? Eventually I would like to be at a point where a new DB can be built from scratch without copying any data from the live system. I don't mind writing some scripts to glue all the steps together but each part should be easily editable so that we continue to use it rather than make changes directly on DBs.
I know that ASP.NET MVC 1.0 is bin-deployable as explained in Phil Haack's article.
Is ASP.NET MVC 2.0 also bin-deployable? Has anyone done this already that can point out potential pitfalls specific to version 2.0 if there are any?
I would like to deploy a relatively simple ASP.NET MVC 2.0 onto a Windows 2008 Web server that does not have ASP.NET MVC 2.0 installed. It is running .NET Framework 3.5 Service Pack 1.
Thanks!
Hi,
I'm trying to read a large file ( 2.0 GB).
The seeking is done by lseek64, then I tried to read using read(fileHandle, buffer, bufferLength)\ pread64(fileHandle, buffer, bufferLength, offset) - but both return with -1.
What could it be?
Thanks in advance!
Hi,
I've searched all over the net for this. Hope that someone's got something.
How would a record in a database be updated automatically after x time n coldfusion?
I know how to manually do it by writing an sql that performs an action to all records older than x time based on the timestamp.
How would this be done automatically?
Kind Regards,
Nich