The question I always wanted to ask and was afraid to, actually - what language is .NET Framework written in? I mean library itself.
It seems to me that it was C and C++ mostly. (I hope Jon Skeet is reading this one, it`ll be very interesting to hear what he thinks about it)
Hi Folks,
has anybody managed to get Djangos site map framework to run on Google App Engine?
I receive the following exception:
ImproperlyConfigured at /sitemap.xml
You haven't set the DATABASE_ENGINE setting yet.
Request Method: GET
Request URL: http://127.0.0.1:8080/sitemap.xml
Exception Type: ImproperlyConfigured
Exception Value: You haven't set the DATABASE_ENGINE setting yet.
Exception Location: D:\Program Files\Google\google_appengine\lib\django\django\db\backends\dummy\base.py in complain, line 13
Is it possible to develop Web Parts using the 4.0 framework and use them in WSS 3.0? I've searched all over the place and can't find anyone else asking this question which makes me think the answer is an obvious "no".
I'm looking for logging framework for C++ project.
My best shoot was log4cxx, but it seems that it's abandoned project, with development stopped ~4 years ago, with only one update in last 4-5 years.
Anything better that log4cxx?
(log4c & log4cpp are also totally out-of-date)...
Does anyone know of any node.js style webserver framework for java?
I realized that having nonblocking callback behavior while handling a web request will require deep support at the webserver level. I am interested in node.js, but when I have a web server that ends up persisting data, I would like to take advantage of the static type system that Java offers. However, I want the scalability of non-blocking io.
I did ask whether this was possible in 2008 which was answered in http://stackoverflow.com/questions/1296840/read-and-step-into-net-framework-source-code.
However my problem is that I am using 2005 and not 2008.
Does anyone know whether this is possible please??
The reason I want to do this is to better understand C# paradigms.
With Java this is possible and I learnt a tremendous amount by being able to read code written by engineers
Hi all ,
I have to send a mail from the struts2 application using the Spring Framework email library how can i do that
any help can be appreciated ..
Thanks
Just finishing off an update to an application written in VB.NET that used to run fine under CE.NET 4.2. Deployment platform is now Windows Mobile 6.1.
The application runs in full screen, however whenever a new form is opened, the task bar, i.e. the bar with the start button comes to the fore and then the new form takes over. This is particularly annoying as I have a form that has many sub forms which are 128,128 and still the task bar flashes and obscures part of the user input screen.
Has anyone comes across this? Any known workarounds?
Has anybody used the ATK Framework? It is claimed to be geared toward developing apps for business use. Manipulating data, knowledge bases, etc... This is what I primarily develop (on the side-for my own use). The site hasn't given me a great overview of why it may be better than other frameworks.
What are your thoughts / experiences with this product?
Hello everyone, I am trying to figure out the best way of getting the record and update in to gridview using ado.net entity framework in C#. I need implement Next & Previous button in gridview and based on pagesize i want to navigate records using Next&Back button. Any one give simple example for this context.
public partial class Form1 : Form
{
[DllImport("coredll.dll")]
static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong);
const int GWL_WNDPROC = -4;
public delegate int WindProc(IntPtr hWnd, uint msg, long Wparam, long lparam);
public Form1()
{
InitializeComponent();
WindProc SampleProc = new WindProc (SubclassWndProc);
SetWindowLong(this .Handle , GWL_WNDPROC,
SampleProc.Method .MethodHandle.Value.ToInt32());
}
public int SubclassWndProc(IntPtr hwnd, uint msg, long Wparam, long lparam)
{
return 1;
}
Here is the sample which i was trying to take the window procedure of a form, this is how i do in C++ i get the windwproc easlily if i try the same in C# .net 3.5 i am unable to get the window proc,, after calling SetWindowLong API application hangs and it pops up some dont send report... i have read this is the way to get the window proc.. please let me know were i am making mistake...
I have a mobile application. My client has a large data set ~100.000 records. It's updated frequently.
When we sync we need to copy from one database to another.
I have attached the second database to the main, and run an insert into table select * from sync.table.
This is extremely slow, it takes about 10 minutes I think.
I noticed that the journal file gets increased step by step.
How can I speed this up?
EDITED 1
I have indexes off, and I have journal off.
Using
insert into table select * from sync.table
it still takes 10 minutes.
EDITED 2
If I run a query like
select id,invitem,invid,cost from inventory where itemtype = 1
order by invitem limit 50
it takes 15-20 seconds.
The table schema is:
CREATE TABLE inventory
('id' INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
'serverid' INTEGER NOT NULL DEFAULT 0,
'itemtype' INTEGER NOT NULL DEFAULT 0,
'invitem' VARCHAR,
'instock' FLOAT NOT NULL DEFAULT 0,
'cost' FLOAT NOT NULL DEFAULT 0,
'invid' VARCHAR,
'categoryid' INTEGER DEFAULT 0,
'pdacategoryid' INTEGER DEFAULT 0,
'notes' VARCHAR,
'threshold' INTEGER NOT NULL DEFAULT 0,
'ordered' INTEGER NOT NULL DEFAULT 0,
'supplier' VARCHAR,
'markup' FLOAT NOT NULL DEFAULT 0,
'taxfree' INTEGER NOT NULL DEFAULT 0,
'dirty' INTEGER NOT NULL DEFAULT 1,
'username' VARCHAR,
'version' INTEGER NOT NULL DEFAULT 15
)
Indexes are created like
CREATE INDEX idx_inventory_categoryid ON inventory (pdacategoryid);
CREATE INDEX idx_inventory_invitem ON inventory (invitem);
CREATE INDEX idx_inventory_itemtype ON inventory (itemtype);
I am wondering, the insert into ... select * from isn't the fastest built-in way to do massive data copy?
EDITED 3
SQLite is serverless, so please stop voting a particular answer, because that is not the answer I'm sure.
Is there a way to change the skin you see in Visual Studio from the standard form?
I have a skin I use for my emulator. I would like to see that skin in my Visual Studio designers.
Anyone know a way to do that?
Hello,
I have developed a browser using the standard WebBrowser control in my application that is built against CF 3.5. Google search is not working in the browser. That is when i navigate to www.google.co.in and type a keyword and click on the serach button nothing is happening. Outside the application from the device if i try the same thing in IE am getting a security warning dialog box and if ok is clicked search results are shown.
So in my case do i need to set property on the webbrowser control.
Thanks in advance
Hi!
I have a large panel with lots of pictureBoxes inside it.
Is it possible to draw on these pictureboxes by drawing on the panel?
What i want is that the actual drawing is on top of the panel.
Is this possible to do, if so, how?
Thanks in advance
I need a language and web framework that is really easy to use, that only has 12 or so commands, that is in one language all the way through (front/middle/back) and takes 15 minutes to master. Something like this:
10 CreateWEBFormAndCreateRequiredDBTablesAndSaveToDatabase("First Name", "Last Name")
20 CreateWEBPageThankingUser()
30 MakeAllWEBPagesPrettyByExaminingWebSitesOnTheInterWebAndMakingADecision()
40 GOTO 10
Oh, and it has to be written in C#
Is it me or is the documentation for the argotic framework API impossible to find..?
The source is available so surely the documented API should be ..
Anybody know where this is?
Thanks alot,
Is there any good framework for comparing whole objects?
now i do
assertEquals("[email protected]", obj.email);
assertEquals("5", obj.shop);
if bad email is returned i never get to know if it had the right shop, i would like to get a list of incorrect fields.
Hi!
I'm making an application which uses MANY images. The application gets the images from a server, and downloads them one at a time.
After many images the creation of a bitmap returns an exception, but i don't know how to solve this. Here is my function for downloading the images:
public static Bitmap getImageFromWholeURL(String sURL)
{
HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(sURL);
myRequest.Method = "GET";
// If it does not exist anything on the url, then return null
try
{
HttpWebResponse myResponse = (HttpWebResponse)myRequest.GetResponse();
System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(myResponse.GetResponseStream());
myResponse.Close();
return bmp;
}
catch (Exception e)
{
return null;
}
}
Can anyone help me out here?
Thanks in advance!
Hello,
I'm developing an application for windows mobile 6.5. Im writing the code in c#.net and want to send sms due to my app.
I checked out the POOM and sms sending worked fine.
Code:
SmsMessage msg = new SmsMessage();
msg.To.Add(receiver);
msg.Body = messageText;
msg.Send();
But there's one problem. I want that the messages will be saved/copied to the "send messages" folder, after my program has sent them.
How can I realize that. Is it possible with the POOM, oder should I work with MAPI and generate a converted copy of the msg-Object in the "send messages"-folder?
greets,
raffi
Hello,
How can I call Synchronize method on an agent but only when connection to remote db
exists?
I'm very new to sync framework so forgive me my ignorance.
Thanks in advance :)
I've been given a Windows Mobile app written in .Net CF 3.5 to fix, and one of the problems is to do with storage.
The message 'Not enough storage is available to complete this operation' has appeared a few times - it's logged in the SQL CE database, and always happens during data access (but not the same bit of data access).
The thing I'm slightly confused about is whether this refers to Program Memory (e.g. RAM) or Storage Memory (e..g permanent storage). It would appear to be storage memory, but the devices seem to have plenty free. While there are some OutOfMemoryExceptions, these appear totally unrelated to this problem (in that that happen at a different time due to an image-related issue).
We're using SQL CE 3.5 with a single connection, which is stored along with the app on the device (as opposed to the storage card). The device is a Motorola MC75 running Windows Mobile 6.1.
Any thoughts?