After checking an Xps file i noticed that the string within the Xps file <> is converted to <>
So is there any built-in function in the .Net framework that could do this job for me?
If it does not exist what characters becides <> should i escape in myOwn function?
I try to implement a search within an xps file, but searching for ...
I have placed a button on MDI form , now when I open a child form , the button remains on top and distracts the child form , is there a way to solve it?
I have done following to send the button back when any child is activated.But I am wondering to call button1.BringToFront();
private void MDIParent1_MdiChildActivate(object sender, Even...
Hi
I have an excel with 8 columns. I'm trying to add a new column at the beginning of the worksheet. The existing columns should shift.
Below is the code which I tried:
OpenExcelWorkbook(@"d:\TLC\TLC3.xlsx");
_sheet = (Excel.Worksheet)_sheets[1];
_sheet.Select(Type.Missing);
_sheet.Co...
Where can I download the Tech Days 10 Sessions DVD?
...
I have to format a string ("00:10:08:10") into (10 weeks 08 days 10 hrs). So I used a converter and added it with the datagrid binding. My code:
Public Function Convert(ByVal value As Object, ByVal targetType As System.Type, ByVal parameter As Object, ByVal culture As System.Globalization.CultureInfo) As Object Implements System.Wind...
I'm creating a windows service that runs multiple threads.
Can I set the culture of my entire appDomain, instead of setting it to each thread separately?
...
I am working on a windows service that requires a specific VPN connection.
My problem is that the solution provided by the customer (Rainbow iKey usb stick) requires the user to enter a pin code for each time the VPN connection is initiated. This will happen at least every night, when there is a maintenance window.
As this is a windows...
Well, sorry about the confusing title but I'm having a slightly annoying problem with character encoding in C#.NET
I have a bunch of classes generated from WSDL files, these classes have methods which take string parameters which are then submitted to a remote web service. This remote web service expects all text input to be UTF-8 encod...
I am in the fairly initial stages of building an app which will hopefully be sold in the 1000's - more likely it'll be hundreds, but either way more than enough to cause a good sized headache for database schema changes.
I'm rather restricted to a windows / .net / sql server environment as a number of our customers will be self hosting ...
Hi,
As far as I understand to develop a SL 4.0 application I will need to upgrade VS 2010 because CoreCLR of SL 4.0 seems to use some parts of .NET 4.0.
Which means extra cost for me regarding to licensing of VS 2010 + Resharper 5.0.
But if I prefer SL 3.0 instead of SL 4.0 I won't need anything to upgrade and I can go on with my VS 2...
Possible Duplicate:
Datagridview doesnt work!
I have written code to show records in a datagridview but it shows nothing. I have tried to debug & when it step into GetData function following codes
Catch ex As Exception
returnData = Nothing
If connection.State = ConnectionState.Open Then
con...
When looking at some application designs for DDD, I see that the objectgenerated from the entity framework are only used to access the data store. Once the data is loaded it's mapped to another POCO object defined in the model of the application.
Is this just good design and is done for the sake of design? Or is there some added value ...
I have a repeater on which I bind a list with 3 items. The databind() is called once, I have checked this using the debugger. I have some strange behavior here because the Repeater seems to walk through this list of items twice. Instead of the 3 items, I see the repeater bind everything twice.
/// <summary>
/// Handles the Load ...
I wish to execute an EXE as a part of my post MSBuild tasks , once all the projects in my solution are build (The exe should get executed only after the complete build of my solution and not the individual projects).
Now how do i accomplish that ? I guess i need to add a post build task item in the MSBuild.
Can someone suggest a solut...
The click ,double click on mdi parent of the .net MDI form does not work is it a bug?
...
Hi,
What would you advice to a development team that is about to move to a new technology (Let's say from asp.net application to SilverLight where no one in the team has an experience so far on SL development, or for a similar case)?
How should be the learning, experiencing, planning, development and other phases should be orchestrated...
I am trying to extract an oracle column default value from user_tab_columns, using .Net.
It's data type is long, and when I read it using IDataReader i get an empty string. How do I get it's data?
select column_name,data_default from user_tab_columns where column_name='XXX'
...
Hi there,
I'm not sure if the title is adequate but here is my problem:
I have an app writtten in .NET 4.0 that uses some COM objects. When I set a breakpoint and examine my code too long, when I try to execute a line of code that is related to COM I get an exception. If I step through my code relatively quickly everything is fine.
Is...
How to take away fraction part while formatting decimal type in .NET? I need common syntax for both variants. Is there any gentle solution?
decimal a = 1.22M;
decimal b = 1.00M;
String.Format("${0}", a); // result is $1.22
String.Format("${0}", b); // result is $1.00, should be $1, HOW?
...
Trying to unit test a web application using mstest I have that problem with resources included in App_GlobalResources folder in the web applications.
Those resources are built at runtime and because of that they are not found when running the unit tests.
How are you solving this problem?
...