Hi
I have an asp.net mvc site and a asp.net web service. I am wondering if it is possible to have them in the same root(wwwroot) folder?
Like could I have
wwwroot -> all mvc files
wwwroot -> webservice folder -> webservice files
Would this work?
I don't want them all mixed together and I am sure having 2 web configs in the same roo...
Having a problem when using the getAlbums method... I have passed in the correct long uid to the method but it gave me an error: Input string incorrect exception stuff. I sure that I passed in the correct facebook user id.
Does anyone has the same issue?
...
I'm developing in VB.NET with Visual Studio 2005.
I have a ComboBox (myCombo) on a form that gets populated within the Load method.
I also have handled myCombo.SelectedIndexChanged to change a label on the form.
Edit: The way I added the event handler was by double-clicking on the combo box on the designer. Skeleton code then came up...
I have a Form and a UserControl. The UserControl has a menu, and the form has a tabstrip (General, Food, Vitamins etc).
In the UserControl, I have the following code: (Form name is frmForm, the tab names in the form are tabGeneral,tabFood, tabVitamins)
frmForm fm=new frmForm();
fm.tabMain.Selected=tabVitamins;
I call these line f...
I have a program that executes another program and the main program continues when that program is finished.
Process p = Process.Start("program2.exe");
while (!p.HasExited)
Thread.Sleep(10000);
if (p.HasExited)
{
// Execute more code
}
This works great as when I run the program. But does not work when it is used as a schedule...
I would like to close all idle connections in the SqlClient connection pool. Is there a documented method for doing this?
The issue is that as part of the normal processing of this application (A testing harness) I need to drop the database and recreate it at the start of each test scenerio. Obviously I can't drop the database with ac...
I'd like to log or record every time I start an application to gain insight into which applications I use most on my Windows system. I was thinking I could create an event in the event log and listen for it in a .Net program.
Questions:
Is this the best way to solve this problem?
If so, which .Net library should I use?
I am also ope...
I have a client who saves a lot of newsletters in Microsoft Publisher 2007. They want to be able to archive these in pdf format on a website which I'm building. Aside from having them be forced to export the file to pdf from Publisher then upload it to our site for archival, is there any library out there that can help me convert Publi...
Let's imagine I start to develop a project. So must I seriously care about possibility of changing ORM in future?
Or, more precisely:
Would you like to change the ORM you use in your current project to some different one. If yes, what are the reasons?
Have you ever practically did this? If so, what were the reasons?
Speaking pract...
hi,
how to replace a hypen (-) with a slash (\) in javascript?
for example, i need to replace
C-MyDocuments-VisualStudio2008-MyProjects
with
C\MyDocuments\VisualStudio2008\MyProjects
i tried replace function such as variable.replace("-","\") but it showed me error of unterminated string constant
i am working in VS 2008
...
in my project i have a requirement like "**Set the version to something like 0.0.0.0 if the method cannot get the version from the environment variable**"
and the coding where i need to look is like this array,,any one have idea about this on
string[] sade = new string[6];
.
.
.
.
sade [5] = Registry.GetValue(@"HKEY_LOCAL_MACHI...
hi,
i am passing a path as an argument in a javascript.
for example i am passing a path as c:\my documents\user\aa.jpg when registering javascript in client side.
but when calling this in a function say, function js(d) then the slash goes missing..hence the value of 'd' becomes c:mydocumentsuseraa.jpg
what to do?
thanks
...
Hello all,
I am making a medium sized standard LOB application. Currently its a web application but I am formulating a proposal to revamp it into a Desktop remote application. By this I mean that the database and the application server will be hosted in a remote location. The client application will communicate with the server via the i...
I am using a software named Daisy 2.02 Validator and it is with GUI but i want to access it programatically so that i can control all the validation process through my C# project. I am unable to find any help about it's libraries, any .net Api or any DOS command for controlling it. Please provide me help.
Thanks,
Regard,
Muhammad Waqas
...
I have an unmanaged code that calls an asynchronous managed method that returns a handle, and then the unmanaged code use that handle to wait, reading a little documentation I found out that SafeWaitHandle provide 2 other methods (DangerousAddRef and DangerousRelease ).
Should I use these methods in order to prevent the Handle from not b...
Are there any .NET apllication servers (like JEE ones - JBoss, WebSphere and alike) ?
...
Hi!
I have a question about deserialization.
It's a part of xml file
<N Name="MyName">Number of MyName</N>
and class in c#:
MyN
{
[XmlAttribute(AttrName='Name')]
public string Name {get;set;}
public string Number {get;set}
}
I want to make that value of N in xml file (in samle - "Number of MyName") will deserialze in proper...
Hello,
I have a recurring problem with a site that keeps giving me .Net Runtime 2.0 Errors in the Application Event Log, with Event ID 5000. The event details are:
EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d691cc, P4 app_web_n93dosww, P5 0.0.0.0, P6 4b322f31, P7 37, P8 195, P9 pageerrorexception, P10 NIL.
Looking on the ...
Hi, the question is very straightforward: Good DAL library for PHP which has the similar .Net's feature: command.Parameters.AddWithValue("@demographics", demoXml).
mysqli extension is good but I want to have the aforementioned feature too. Putting many "?" does not look nice and rather confusing when a table has many fiends (>= 8). Than...
I'm trying to build a tool that can compare two WSDLs and their associated xsds to be able to automatically detect changes in a web service contract. Are there any tools out there that already do that and if not how should i approach this. Thanks for any pointers
...