Questions

WCF Performance localhost vs domain address

I have a WCF service serving image per request. Accessing the service via localhost is fast but accessing through ip or domain address (as other clients will) is very slow. Images are approximately 1MB in size. Any thoughts? ...

selecting rows in a dataGridView

  Hi, I have a program for finding some rows with the code below:   dw.Sort = textBox2.Text.Trim();           //sorting them at first because datas are not primarykey dataGridView1.DataSource = dw; DataRowView[] rows = dw.FindRows(textBox1 .Text .Trim());   but I can not select this rows i ...

Use javascript and php via ajax to run MySQL queries

I was looking through some code on a project of mine and thinking about all the php pages that I call with ajax that just run a simple update or insert query and it made me think. What if I could essentially run an insert or update sql query from javascript. assuming I am using the prot ...

help please

  Hi all, i have little bit knowledge in ssis(Integration Services). I did , programmatically import sqlserver database value to excel file.But i don't know how to programmatically import sqlserver database to sqlserver database in vb.net application using ssis package.Is anyone have knowledge ab ...

Copying metadata over a database link in Oracle 10g

Thanks in advance for your help experts. I want to be able to copy over database objects from database A into database B with a procedure created on database B. I created a database link between the two and have tweaked the get_ddl function of the dbms_metadata to look like this: crea ...

what is the difference between MySQL/PHP and SQL SERVER/ASP ????????????

Hi,we are doing our final year enginnering project in Windows mobile.in this project our users will have their own portals.they can access their own portals on mobile (but not on mobile browser) as well as on their PC browser like IE or Firefox.also we are going to use XML Web Services to transfer o ...

Store Procedure to Update 3 tables in MSSQL from XML file

Hi, how can I create a store procedure that update me 3 table from an XML file? Thanks ...

Transactional services => BeanNotOfRequiredTypeException, should be Advice, but is TransactionInterceptor

After following the great advice given in a thread about service beans I have made a Service that is listed under. I've tried putting @Transactional at the interface level, interface method level, class level and class method level. However I do it, I get org.springframework.beans.facto ...

Patient management workflow

  Hi,   How the windows workflow is ued to maintain the patients information. What are the stages in it. what events we can incorporate in to the workflow. what states are possible in workflow? how the events occur from the host application. Lets suppose we have the ASP.Net web application, throug ...

Criteria Querying question

how to select particular field using Criteria ? ...

New Tester Center Book Review: Risk-Based E-Business Testing

Is there a better way to decide what to test?  Tell folks outside the test team what test does?  Report the state of the product?  The book "Risk-Based E-Business Testing" argues that there is and it's by using a risk-based testing approach.  I found the argument compelling and the book in ...

MPMusicPlayerController and playing a bundled song

how can i play a song file bundled with the application using MPMusicPlayerController ? code that i tried, NSString *url = [[NSBundle mainBundle] pathForResource:@"song1" ofType:@"mp3"]; MPMusicPlayerController *myMusicPlayer=[[MPMusicPlayerController alloc] initWithContentURL:[NSURL ...

Restrict Characters in Datagridview Cell

I have a column which is of integer. when i edit this cell,i need to enter only numbers but not characters. Am not using datagridviewTextboxColumn.It is a cell. It should not allow typing characters just like a textbox_keyPress event where we give Char.IsDigit to restrict characters. Ho ...

Code to get the Screen resolution of the Monitor

I am using vs 2005 and developing a program and would like to get the Screen resolution of the Monitor. Could I have the code Pls. Thanks for your help ...

ASP.NET Manipulating Dataset object

I have a users table where there are two types of users in it, users a and users b. There is a page on my website that shows 20 of each type based on querystring parameter. I want to cache these for 6 hours as their order is not that important. My question is is it better to have two d ...

Can not open .XAML file created in VS 2008 using MS Blend.

I have visual studio 2008 and silverlight 1.1 alpha installed. I have installed MS Blend. I am able to create projects in VS but when trying to open .xaml files in blend it shows me an error : - "The project file "C:\...... Page.xaml" is not valid. The element <Canvas> is un ...

How to get the response stream on a non 201 status code

I'm having some problem's grabbing a response stream from a request that returning status code 422. HttpWebResponse objResponse = (HttpWebResponse)wr.GetResponse(); The wr.GetResponse throws an webexception because the status code isnt 201. So i can never get the response stream from ...

Programmatic creation of a Visual Studio project

Is programmatic creation of a Visual Studio project possible?   I'd like the user to be able to enter some values into an interface then click a button which will create a new .net solution and project within the defined directory using the entered values for things like prject name etc.   Thi ...

Could i upgrade Team Test Load Agent from Trial Version to Retail Version?

Hi guys,   I have installed Visual Studio 2008 Team Test Load Agent with Trial Key. Could I upgrade Team Test Load Agent to Retail Version with applying the Retail key? I meant do the same behavior of upgrading VSTS Trial Version to VSTS Retail version against to Visual Studio 2008 Team Test Load ...

[APUE]Does parent and child share the same file offset after fork?

In APUE section 8.3 fork function, about file sharing between parent and child processes, It said: It is important that the parent and the child share the same file offset. And in section 8.9 Race Conditions, there is a example: both parent and child write to a file which is opened be ...

Prevent indexing fields in list elements and showing it contents in search result

Hi!   I have some issue with indexing lists.   I have Discussion Board. In Topic Content Type i have some hidden custom fields with system values. Users never see this fields.   But sometime the contents of this fields appear in search result summary, like: " .... this is a good blog. sys ...

How to save html page code in sql database?

I am working on sql server where i want to save html code into sql table. when i am trying to save data it only take till first close statement and left are missing. so how can i save all html at once. ...

Is Touching

Hello I am just getting into visual basic and I was wondering if anybody know how to do something where like If PictureBox1 Is Touching PictureBox2 Then Timer1.Enable = trueOr just a Is touching type of a command Thanks in advance! Kevin Carnahan ...

Have I overextended myself with this project?

I'm currently rewriting our company's database app, which is an Access-VBA frontend for a SQL Server (Express) backend. I've been managing the application for 4 years or so now and when I started here it was a single *.MDB-file on a network share (which got corrupt on a weekly basis). ...

Custom WebParts - Using SP Libraries?

  Hi guys,   Im having a play around with webparts for sharepoint today and i noticed that a webpart can interact with the sharepoint site...   The code im calling as a little demo is this:   SPSite site = SPControl.GetContextSite(Context);   nothing clever or fancy at all, but when i deplo ...

What is MACID?

I've recently found the HAppS and Happstack projects, and the latter notes that one of its missions is to "leverage use of MACID". What exactly is MACID ? ...

Compiled queries and DataLoadOptions

I am trying to write some code using LINQ to SQL, but I have run into a problem. I'm using compiled queries to improve performance (as these queries may be called hundreds of times per minute), but any time I try to set the LoadOptions property of a DataContext object, any query which has previously ...

Providing feedback to user during long actions

I've developed a web application in ASP.NET and one of the things the user can do is a long task. Basically, this task will collect all data in the database and convert it to a specific XML format. This XML is then stored in the database again as a "snapshot" of the data. (So, it doesn't ...

IDE Editor Options - The lines between methods and properties

  I feel like this is a dumb question and I'm embarassed.   About a year ago I took an option to turn the lines off between methods and properties. For the life of me, I can't find the option to turn it back on. Could anyone offer a suggestion?   renee ...

Any sense in marking an IUnknown-derived interface as dual in IDL?

Reviewing our code I've found a curious definition in one of .idl files: [ object, uuid(uuidhere), dual, nonextensible, oleautomation, hidden ] interface IOurInterface : IUnknown { //methods here }; How can an interface derived directly from IUnknown possib ...

Hot Tags