Dot Net

Databound Control Focus Change Issue

Posted in Dot Net on March 16th, 2010 by Saba – Be the first to comment

Good morning,

I’m a newbie, so I fully expect that this is a simple issue.

I have a databound textbox that binds to an Access database field, Price (currency). The control works fine when nothing is entered into it at all, however if the textbox.text is changed whatsoever the focus can’t be changed unless a valid number is entered.

So, for instance, I entered “hello” into the textbox and pressed tab. The focus won’t change, that doesn’t surprise me at all, but then I erased the text and tried to tab out, and it wouldn’t allow it. If I then change the text to a number, I can tab or click out of the control.

Does anyone have any ideas?

The system cannot find the file specified

Posted in Dot Net on March 16th, 2010 by Saba – 2 Comments

I’m trying to run defrag.exe inside a vb.net console app and it’s giving me an error “The system cannot find the file specified” it used to work so i don’t get the problem. Here’s my code

Dim oApp As New ProcessStartInfo

oApp.FileName = “c:windowssystem32defrag.exe” oApp.Arguments = “/C” oApp.CreateNoWindow = True

Dim oProcess As Process = Process.Start(oApp)

I even tried using shell command and no luck but if I enter defrag in command prompt it works? It looks like the console app doesn’t see c: windowssystem32defrag.exe

Please Help !!!

is it possible to run c# application in unix

Posted in Dot Net on March 16th, 2010 by Saba – Be the first to comment

Virtualbox ;)

I’d go with Mono.

On Mon, Mar 15, 2010 at 9:47 AM, Sravan Lakkaraju wrote:

Image uploading problem.

Posted in Dot Net on March 16th, 2010 by Saba – Be the first to comment

Hmm…

1) Fire up your web browser 2) Navigate to the relevant page 3) Move the mouse over the page 4) Right Click 5) Choose “View Source” 6) In notepad, find the relevant tag 7) Copy and paste it here
:o )

On Mon, Mar 15, 2010 at 10:16 AM, Alen Alexander wrote:

is it possible to run c# application in unix

Posted in Dot Net on March 16th, 2010 by Saba – Be the first to comment

thanks any other possible ways of doing so !

On Mon, Mar 15, 2010 at 2:28 PM, Sunilsingh wrote:

Image uploading problem.

Posted in Dot Net on March 16th, 2010 by Saba – Be the first to comment

i think jamie is asking after rendering Image url hoping that may be file url format not a virtual url format i think. :)

On Mon, Mar 15, 2010 at 2:30 PM, Alen Alexander wrote:

Image uploading problem.

Posted in Dot Net on March 16th, 2010 by Saba – Be the first to comment

Sorry Jamie!! i am not getting what you are asking.. I gave u the code of Image tag.

On Mon, Mar 15, 2010 at 3:13 PM, Jamie Fraser wrote:

Rule for my querystring

Posted in Dot Net on March 15th, 2010 by Saba – Be the first to comment

Hii,

I want to know the ISAPI_Rewrite rule for my following query

my actual query is http://www.mysite.com/search.aspx?type=p&ct=xyz&txt=CMP

and I want to rewrite it with http://www.mysite.com/p_xyz_CMP

can anybody guide/tell me how to write rule to resolve this URL

pls its very urgent, i want to do it tomorrow

thank you

Garbage Collection, Memory Leaks and the Dispose() Method

Posted in Dot Net on March 15th, 2010 by Saba – Be the first to comment

Are there specific APIs that you are using which have been deprecated in .NET 2.0?

We went through a similar problem at work some years ago, and they net result was that we ported to .NET 2.0 – it was a much smaller job than the continual maintenance of the old code, and given than mainstream support for .NET 1.1 ended 2 years ago, it seemed like the right thing to do. Maybe not an option for you for some other reason, but the move isn’t always as difficult as you’d imagine.

Our process was essentially rebuilding and redeploying everything onto our DR servers and running side by side for some time until we were sure everything was in order.

On Fri, Mar 12, 2010 at 8:47 PM, mredmond wrote:

Image uploading problem.

Posted in Dot Net on March 15th, 2010 by Saba – Be the first to comment

Sorry – I’ll try and be really clear:

On the rendered page (in your Web Browser) what is the rendered HTML markup for the tag?

On Mon, Mar 15, 2010 at 9:00 AM, Alen Alexander wrote: