Florian Struck's Q&A profile
.NET Development OracleCommand SQL / PLSQL lang
Hello, we are using VB2005 + Oracle 9.2 DB using Tableadapter for OracleConnection create the sql in sql 2005 lang, it doesn't work the Oracle need PLSQL Lang in place. were and how i can change the default to be PLSQL in place of SQL2005 avner You don't change the lanuage. PL/SQL mainly usded for stored procedure and other database objects. What is the actual error you are getting Oracle 9.2 supports the same inner join syntax as SQL Server so that shouldn't cuase a problem. If I create a TableAdapter againts my 8i database which doesn't support the inner join systax VS correctly adds ...Show All
.NET Development Remoting Security for .NET 2.0
Hi, I have been tried the remoting security but I have one question : In my server config file I did : < channel ref = " tcp " secure = " true " port = " 8080 " /> In my client config file I did : < channel ref = " tcp " secure = " true " impersonationLevel = " Identify " /> Now, in my SERVER code I tried this : internal class MyClass : MarshalByRefObject { string HelloWorld( string input){ string identity = Thread .CurrentPrincipal.Identity.Name; Console .WriteLine( "Hello World is being called by: " + identity); return "Hello to you too, " + identity; } } The "identity" is always remot ...Show All
SQL Server Service Broker: Cross DB, Same Instance
I'd like to set up a Service Broker queue in one database (dbRespond) on a server so that events in another database (dbEvent) on the same server instance can post messages to the queue. The problem I'm having is that: The BEGIN DIALOG CONVERSATION needs to reference a Contract that is in the current database, and I want to call BEGIN DIALOG CONVERSATION from dbEvent The target service is in dbRespond. Based on the "Hello World" Service Broker example that comes with SQL 2005, in dbRespond I need to specify the contract in the CREATE SERVICE call that creates the target service. Here, too, the contract must be defined in t ...Show All
Windows Forms Visual Studio 2005 Beta 2 released!
For those who don't read blogs and don't know yet: Microsoft released Beta 2 of Visual Studio 2005 this weekend: <a href="http://lab.msdn.microsoft.com/vs2005/">http://lab.msdn.microsoft.com/vs2005/</a> So far, it's only available to MSDN subscribers, but will be released to the general public later (for the European, Middle East and African area on April 25th). If you don't ...Show All
Software Development for Windows Vista Tiny question about MSDTC behaviour
Can MSDTC abort\rollback transaction if I create instance of COM-object (COM object marked as "Transaction - Not supported" in "Component Services" snap-in) during "transactioned" part of .NET code Which way MSTDC will act We cant trace where exactly BizObjException throwns because it's happend not everytime, when service call that code but occasionally one or two during hour, or maybe not happend at all. We didnt notice whether it affects our system or no because we have many of parallel requests to service. And we can't repeat it on our test server. I think it's happend some ...Show All
Smart Device Development DLLImport problems
i am trying to include the following P/Invoke function in a class: [DllImport("coredll.dll")] private static extern bool TerminateProcess(IntPtr hProcess, uint ExitCode); this is based on an MSDN article found here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/ProcessManager.asp the problem is when i try to compile, i get the error "The type or namespace name 'DllImport' could not be found (are you missing a using directive or an assembly reference " the project is a Pocket PC 2003 project. any ideas how to succe ...Show All
Visual Studio Team System What to download?
On our MSDN Subscriber download page there are four entries for Team Foundation Server. Which one(s) do we need You will want to download the Visual Studio 2005 Team Foundation Server Release Candidate (English). There are also 3 DVD disks for the MSDN Library if you would like them as well. ...Show All
Visual C# Get Random Row From Table
Hello. All other questions that was before i solve. Thank you all for ideas. Taday i have other problem :) i have Table "PLAYERS" i want receive only one row from it but it must be randomly choosed AND obey special createrias (Field1 equel to 1 , Field2 more than 76 something like this) before i used dataset and it was easy DataRow [] NotPlaying = dataSet11.Tables["PLAYERS"].Select(Creteria ); if (NotPlaying.GetLength(0) != 0) { Random d = new Random(); int number = d.Next(0,NotPlaying.GetLength(0)); NotPlaying[number]; // this was randomly choosed row in a set of valid rows } BUT now i do ...Show All
Visual C++ Code used to clear text boxes
im new to c++, and i would like to know the code that you need to use to clear text boxes. regthesk8r wrote: thanks.its a start.but now the problem i have is that the code that has been suggested does not work.keep getting a message saying 'Property Value is not Valid'. the code im trying is: textBox1->text = ""; It's T ext - the first T is in uppercase. ...Show All
Visual Studio Reordering items in compartments?
Hi, I have created a Shape that has compartments, and this works fine. How can I reorder the items in that compartment The persistence order seems to be the original creation order. Do I need to write custom code How Thanks. Hi Simon Your observation is correct. I'm afraid we don't make this terribly easy at present. There are essentially two ways: Firstly, by changing the redraw behaviour: The visual population of lists in ListCompartments is managed via the implementation of the IListFieldContainer interface on the ListCompartment class. You can override GetItemDrawInfo, on a derived version of ListCompartment to insert you ...Show All
Visual Studio disable the normal prompting process
I have a C#.NET project, where I am filling parameters. I need to disable the normal prompting process in the report. How could I do it (and how could it depends on VS version when I worked in Beta 2 everything was fine, but in RC1 version it's not) Hi bigRazoron, That did it. I used rptDoc.SetParameterValue function and I am not getting anymore prompts. Thanks ...Show All
SQL Server SQL Server 2005 SP1 - any know issues during installation??
Hi Does anyone know if there are any known issues to install SQL Server 2005 SP1. I want to do it on one of our production server and I want to find out if there are problems. I read some web articles that users have run into problems with the installation. Is there anything that I have to watch out for (or prepare) before I start the installation Can I back out or any way to roll back if I run into problem Thanks. Make sure that you also apply the Post SP1 hotfixes. SP1 had some issues with starting services, but the hotfix fixed that: http://support.microsoft.com/kb/918222/en-us HTH, Jen ...Show All
Visual Studio Tools for Office Shared Add-In VS2005
Hi! I have problems to get Shared Add-in done with VS2005 ("final" version) with Word 2003. I manage to make same test with old VS2003 shared add-in project type and it's working fine with Word 2000. Is there some issues why .Net 2.0 Shared Add-in won't work with Office 2003 Also what I actually trying to solve is that I need add-in or way to add new command bar to Word where users can use my .Net windows form program. On VS2003 it worked just as I though with Shared Add-in project. If I need to make this kind of 'add-in' for .Net 2.0 and Word 2003 should I install VSTO for this purpose or should shared COM Add-in method work I ...Show All
SQL Server Configuration failing: The path is not of a legal form.
When I push Add in the configuration dialog, I cannot even get to the first page of the configuration wizard, due to the following error, in several solutions (but not in several others). All have at least one existing configuration (necessarily, to get passwords for connections). ** An error occurred while a new configuration was being added. Additional Information: The path is not of a legal form. (mscorlib) ** PS: How have the rest of you been posting Passport hasn't been working much this week, so I've been unable to post. Is there a way to post without using passport Please tell me if so :) Hi, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. (DX 2.0.0.0 April 2006) couldn't create Device ( NotAvailableException )
Hi all, I have been using the february 2006 SDK 2.0.0.0 API in my app and really enjoyed the various changes since 1.*. However when upgrading to April 06 release, my code would still compile but wouldn't create my Device anymore... This is the code I successfully used to create my Device (within a windows Control Form, no FullScreen) with the february API : Hi, I'm also using MDX 2 and my code looks almost exactly the same. The only difference is that I set the PresentationInterval to PresentInterval.Immediate and the BackBufferCount to 1 (both properties of the PresentParameters class), hopefully that will help... ...Show All
