Rune Gulbrandsen's Q&A profile
SQL Server how to access named instance throug ip address
I installed Named instance in SQL 2005 Server ( TESTAV\TESTNETAV ), now i am not able to acces this instance in SQL Query Ana.throug IP Address. i am able to access this instance through name How can i resolve this issue please help me out Thx for the info. I guess I unable to connect it due to the port settings. Now it works fine with me. :) Best Regards, Hans ...Show All
.NET Development SoapException throws differently by server
I have a ASP.NET 1.1 web site calling a ASP.NET 1.1 web service on the same server and the SoapExceptions being thrown between the service and the site are different between two of our servers. This application has been working fine on Windows 2000 and on the first Windows 2003 IIS 6 implementation but when we began the migration we started having issues. Are there any settings in IIS 6, .NET, or WIndows 2003 that impact how SoapExcpetions are thrown/handled between a .NET web site and a .NET web service Thanks for the help! The problem server throws SoapExceptions with a message of System.Web.Services.Protocols.SoapException: 10003 The message we are looking for is: 10003 . We take the num ...Show All
Visual Studio Express Editions Numeric Textbox
Numeric TextBox Like In visual foxpro that has fixed 0.00 we set the mask "9999999.99" and set value =0 the textbox has fixed 0.00 but in how can i do this in vb.net 2005 is this not the same question as this http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=669951&SiteID=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. if my graphic cards...
My graphics card doesn't support Pixel Shader and Vertex Shader, can i work with xna GSE anyway The XNA Framework graphics API only exposes a programmable pipeline. If you graphics card doesn't support at least pixel shader 1.x, you won't be able to do anything interesting with the graphics API. ...Show All
SQL Server Can anyone explain what the pre-execute phase is doing for OLE DB data sources using sql commands?
I have a project which spans multiple servers and aggregates literally billions of rows of data into a much smaller and manageable result set which I store on another server. There are two stored procedures which take up 99.9% of the processing time. Each one of these SPs are estimated to run over 3 hours a piece (gives you an indication of how much data there really is). With in this SSIS package, I have two control flows, one for each SP. When I run the SSIS package from VS2005, I can see that there is a pre-execute phase which takes about an hour abnd a half to complete, and then move on to executing. My question is, what the heck is this, and what is it doing I know it validates the sql in the procedure, but does it actually run the S ...Show All
Visual Basic P2P application
Hi all, I need to develop a p2p application that will allow peers to transfer files amongst them. It's not actually a pure p2p app. The client will connect to a server db, register its files for other clients to see. Other clients query the server db for available files, and downloading will be done between the clients themselves. I'll be using VB.NET2005 to develop a dll that will be consumed by a VB6 GUI. My questions: Is VB.NET the way to go or should I do it in C# Are there any P2P libraries available that I can use Do I need to use WebServices or can I do without them Should I do everything using the TcpListener and TcpClient classes Thanks, Ivan Hi there, I'll try to o ...Show All
Visual Studio Express Editions data query
hi all im trying to find out how to pass a value to a query to use as part of the search something alomg the lines of WHERE (Customer_lastname LIKE textbox1.text & '%') the value im trying to pass is from the textbox any ideas would be apreaciated Hi there, or try these. It's not so professinal like to work with parameter (which I would prefer). Dim Query as string Query = "SELECT * FROM MyTable WHERE Customer_lastname LIKE " & Chr(39) & textbox1.text & chr(39) & chr(37) ...Show All
Smart Device Development wince 5.0
Hi, I have a program writen in C# Visual studio.net 2005. Can I run this program on a Handheld that run winCE.net 4.2 OR the handheld need to be with winCE 5.0 or Mobile 5.0 Jeanet Jeanet. Windows CE 5.0 supports .NET compact framework 2.0, but currently Windows CE 4.2 does not. It is currently in progress with the recent release of Service Pack 1 for the framework. If your application is written in .NET 1.0 then it should work, otherwise you will have to wait for the update to the service pack. ...Show All
Visual C# Urgent help
i have created a windows form as main form. I also created another form as close confirmation dialog. So when i click on the close button which locates on the top right corner of my main form, it should display the close confirmation dialog. And there are two buttons on the confirmation dialog, "yes" and "no". Then click "yes", exit the whole application, or click"no", only close the confirmation dialog and focus back to the main form. However, when i click "no", it close (or may just hide) both of the forms, but not exit the whole application, which means the application is still running, but i couldn't see it. why's that I also created a menuitem called "exit", when click o ...Show All
Visual C# Port Number of VS 2005
Hi, I am using Visual Studio 2005 Team Edition for Software Developers. While running the web application, its running like http://localhost:3232/ProjectName/default.aspx I don't want any port number to be used.. just I need to run as http://localhost/ProjectName/default.aspx How to configure this Thanks AFAIK the port number is assigned itself since VS2005 has its own webserver I think, im not sure. Best place to ask this one would be the ASP.NET forums: http://forums.asp.net since they will be able to deal with this issue better than here, especially in the IDE Forum since its not a C# IDE related query ...Show All
.NET Development .Net Remoting And ReaderWriterLock
Hi, I am working on a .Net Remoting program. In side the remoting class, I need to use a ReaderWriterLock object. But it seems that all method calls from remoting client can easily acquire the writer lock on that object regardless the lock has been acquired before. Here is the code sample public class RemotingExampleService : MarshalByRefObject { private ReaderWriterLock lockObj = new ReaderWriterLock(); public void LockObject() { Console.WriteLine(lockObj.IsWriterLockHeld); //return true except the first call lockObj.AcquireWriterLock(-1); } } I used Singleton r ...Show All
SQL Server combine separate date & time fields into one datetime field?
Good morning. I am importing an XLS file into one of my tables. The fields are: Date Id Time IO 12/22/2006 2 12:48:45 PM 9 12/22/2006 16 5:40:55 AM 1 12/22/2006 16 12:03:59 PM 2 When I do the import, I get the following: Date Id Time IO 12/22/2006 12:00:00AM 2 12/30/1899 12:48:45 PM 2 12/22/2006 12:00:00AM 16 12/30/1899 5:40:55 AM 1 12/22/2006 12:00:00AM 16 12/30/1899 12:03:59 PM 2 Here are my doubts: 1. Is it be better to combine the Date & Time fields into one column Advantages/Disadvantages 2. If I don't combine them, should I use varchar or datetime data type 2. What issues or problems might I have when I program SQL reports, if I leave the fi ...Show All
Visual C# Help on deciding a training institute
Hello, I am not sure if this is the right place to post this, but anyway here goes. I am planning on doing a course on .net, a friend of mine suggested a training institute, but I am not too happy with what I have seen I would like some help trying to figure out if I have to invest in this course or not. I had a look at the course material and I saw that they were dealing with Delgates for the first time after they finished teaching Multithreading and Events Is this right My understanding led me to believe that delegates forms the basis of Events and Multithreading in .net Another factor that did not sit well with me that, their site does not work with Firefox at all I mean these people are supposed to be teaching web development but the ...Show All
Visual Studio 2008 (Pre-release) Upgrading Web Services Client
Hi, I'm researching a possible scenario as follows: I have a web service running on top of ASP.NET 2.0. I have a client consuming that web service using the Add Web Reference menu. I'm now building the same web service on top of WCF. Means that I have the same signatures implemented in Service/Operation Contract, and the codes are moved into the single implementation. The question is, is is possible for the client to use the new web service on top of WCF without recompiling/changing the code Assume that the address of the endpoint is modifiable via the configuration file. I have tried changing the address directly to the WCF endpoint address, but receives an error 415: Media Type Unsupported. Anyone have done doing thi ...Show All
Visual C# Change resolution
To change the resolution you can call the ChangeDisplaySettingsEx Windows API, I don't know if it is exposed in .NET. ...Show All
