.net

Dial an IVR and send a DTMF string in windows mobile 6

Hello, I am new in moblie developmnet.in that application :- Application Should be able to dial an IVR and send a DTMF string 2. The DTMF string will either be 2a) A Phone number 2b) A string code like 210236661201# 3. Option to divert the phone 3a) When a phone number is entered, dial the IVR and send 21[phoneNumber]# could any one ...

How to disable shadowcopy for VSTO version 3?

According to this http://blogs.msdn.com/vsod/archive/2008/11/01/office-customization-creates-loads-dll-from-temporary-folder.aspx "Before VSTO version 3.0, there is no way to disable Shadow copy feature in VSTO." But how do I disable shadowcopy for VSTO version 3? ...

How should I create a good environment for .Net development for Sharepoint?

My company have used external companies for all software development and infrastructure but now we want to move it inhouse. The company uses Microsoft products where applicable to standardize the enviroment. Sharepoint will be used as a portal to all tools needed by management, sales personal etc. Sharepoint runs on one server and our da...

WCF, changing the baseAdress of an endpoint

Hi there, i have a few questions about the below config file: <system.serviceModel> <bindings /> <services> <service behaviorConfiguration="WcfReporting.Service1Behavior" name="WcfReporting.Service1"> <endpoint address="" binding="basicHttpBinding" bindingConfiguration="" cont...

How come my code works when I use a MessageBox.Show() in between, and does not work without it?

...

What version of .NET ships with what version of Windows?

Looking for a list of Windows versions (service packs included) and what version of .NET is natively1 available. Example: Windows A - .NET Framework Z Windows A Service Pack 1 - .NET Framework Z Windows A Service Pack 2 - .NET Framework Y 1 - Natively means that is there with no installs done. ...

How can I get the assembly file version

Hi Folk, The assembly version I can get with following loc: Version version = Assembly.GetEntryAssembly().GetName().Version; But how can I get the assembly file version? Thanks for help. ...

Why doesn't my first radiobutton get checked?

I got the following Html: <div class="horizontalRadio"> <label for="SearchBag.DisplayTypeChips" id="DisplayTypeChipsLabel"> <%=ViewData.Model.T9nProvider.TranslateById("CommonWeb.Chips")%> </label> <%=Html.RadioButton("displayType", DisplayTypes.Chip, Model.DisplayType.Equals(DisplayTypes.Chip.ToString(), StringComparison.Invaria...

.NET Client Profile on x64

I know that the .NET Client profile does not target x64 or ia64. However I do not know what that means? There are two parts that it affects If I set my application to use the .NET Client Profile in VS, and it is run on x64 will it work? If I set my setup project prerequisites to need the .NET Client Profile rather than the .NET Fram...

Custom Designer class for a .NET Windows Form issue

Hello guys, I have implemented a custom designer class which inherits from DocumentDesigner. The standard Form class in the .NET Framework uses the FormDocumentDesigner class (also inheriting from DocumentDesigner) but since this class is internal it is not possible to inherit from it and customize its behavior I copied the logic in thi...

What is the difference between app.config file and XYZ.settings file?

I am actually in the learning phase of .NET related stuff and I was exploring how to save the application. I ended up writing my own class which saves the settings in an XML file and then I found that .NET itself supports saving application settings. But I found 2 ways to do that. When I open add new item dialog in Visual Studio 2008, i...

How to change default view location scheme in ASP.NET MVC?

I want to change view locations at runtime based on current UI culture. How can I achieve this with default Web Form view engine? Basically I want to know how implement with WebFromViewEngine something what is custom IDescriptorFilter in Spark. Is there other view engine which gives me runtime control over view locations? Edit: My U...

Can I invoke routed WPF command from WinForm control

In windows form I have a reference to WPF wrapper which wraps WinForm control. I would like to handle events in WinForm control as usual and then invoke apropriate routed commands from WPF wrapper. Can it be done? ...

Why does the read of StandardOut fail here?

I am currently trying to write a little wrapper around post-review to automatically post however this function fails when it comes to Dim results As String = sOut.ReadToEnd() and I can;t suss out why, Edit: It doesn't produce an error it just seems to go into ReadToEnd() never to return Am I just missing something obvious? Function p...

What is the most secure way to retrieve the system Drive.

I know that the following should work: Environment.GetEnvironmentVariable("windir", EnvironmentVariableTarget.Machine) My problem with this call is that if for some reason someone decided to remove the "windir" Env Var , this won't work. Is there an even more secure way to get the System drive? ...

Auto size row in datagrid view

hai sir , how to Increase height of the row in datagridview by automaticaly, when the text (character) should wrap in the same row.Then the row height should be increase automaticaly. for example ---------- this is column width column1 ---------- abcdefghijklmn ---------- here "klmn" come next line. But we manualy increase the...

Dynamic Data Entities ID Column visible false?

There are Two kind of template in asp.net 3.5 1) Dynamic Data Web App. 2) Dynamic Data Web App. Entities My SQL database has got Customer Table ; Columns : ID, Name,Surname vs. if you use first one(Dynamic Data Web App); you can not see ID column(Customer Table) (Linq to Sql) But if you use second one(Dynamic Data Web App. Entities)...

Allow only alphanumeric in textbox.

I have a textbox and it need the user not allow to enter any specialcharecters He can enter 1. A-Z 2. a-z 3. 0-9 4. Space. How can I make the KeyDown event to do this? ...

How to separate model, view and controller in an ASP.NET MVC app into different assemblies

Hi, At the moment I am trying to get into the ASP.NET MVC framework. For most of my test applications I used a single assembly/project. This worked fine for some smaller applications. Then I wondered how I could place my model, controller and view classes into separate assemblies? In really big web-applications it is not very realistic ...

.NET: How to query the NT/Users database or record?

Hi guys, how can we query the NT/Users database for all users on the machine? ...