Software Development Network Logo
  • Smart Devicet
  • Visual C++
  • Windows Forms
  • Visual Basic
  • Visual FoxPro
  • Windows Vista
  • .NET Development
  • Game Technologies
  • SharePoint Products
  • VS Team System
  • Microsoft ISV
  • Audio and Video
  • SQL Server
  • Visual C#
  • Visual Studio

Software Development Network >> Pavel Burianek's Q&A profile

Pavel Burianek

Member List

NoEgo
Malcolm McCaffery
iosys
StephenWalker
Anton Dimitrov
nishanttheone
Young_Bai
Matias Saguir
kenre
DKB
Philipp Konradi
Divermarv
ekb0211
Sylvain in Ottawa
Atul Bahl
Octopus384
EricBrown
Chrisull
MohanAR
Jagdeep Sihota
Only Title

Pavel Burianek's Q&A profile

  • Visual Studio 2008 (Pre-release) Don't Forget MARS

    If you are triyng to do lazy loading direclty with the objects, you'll get an error when you try to load children cust.Orders.Load You'll need to edit the connection string to turn MARS on MultipleActiveResultSets=true Note - I have only tested scenarios with direct object context access, not queries, so I am not saying you have to do this with queries (yet) But I have to bolt, so thought I'd put this here. Yep. I changed my connection string entry in the app.config to include MARS and I stopped getting errors when trying to Load the Orders. <add name="NorthwindEntitiesWithMARS" connectionString="metadata=.\Model1.csdl|.\Model1.ssdl|.\Model1.msl;provider=System.Data.Sq ...Show All

  • Visual Studio Team System putting lib files in another directory

    Hi How do I put my generated lib files in a subfolder, and use them in the next projects using tfsbuild in my lib project i set Output directory to $(SolutionDir)$(ConfigurationName) librarian output file to $(OutDir)\lib\$(ProjectName).lib And the lib files end up in the correct folder \lib But my C++ project then fails because it looks in $(OutDir)\$(ConfigurationName) and fails beacause it cannot find the lib. Im using project reference to the lib project. I have an environmentvariable LIBPATH the includes the correct lib folder. If I just put the lib files in the outdir there's no problem, but how can I move them regards Kim Carlsen Hi Thanks, bu ...Show All

  • Visual Studio 2008 (Pre-release) List questions

    Hello, I would like to create a list of custom controls with databinding and I would like to place them within a canvas with each control having a different position. I tried it with a ListBox, but it didn't work, so now I'm a bit lost. Any suggestions Greetings, Arnoud You need to replace the ItemsPanel. Here's a quick XamlPad ready sample: < Grid xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " > < ListBox ItemsSource = " {Binding XPath=//item} " > < ListBox.DataContext > < XmlDataProvider > < x:XData > < items xmlns = "" > ...Show All

  • Visual Studio Tools for Office Word 2003 customization load time

    Hi, I created a VSTO 2005 customization DLL for WORD 2003. This customization DLL is attached with various WORD templates on users machine. My problem is that sometimes this DLL takes a lot of time to load. I have noticed that this happens when a template with customization is opened for the first time after reboot i.e. on the cold startup, not when the templates is opened subsequently i.e. on the warm startup(except for few cases where it takes the same time as of the cold startup, even when some of the templates are already opened). The load time at cold startup is large. This might be because it performs various steps before exceuting customization assembly, such as 1) Loading of VSTO runtime 2) Creation of app domain ...Show All

  • Visual Studio Report Viewer returns Object reference not set to an instance of an object.

    Hi, I'm having a problem using the report viewer with a remote report on a server. Whenever I try to load a report in the report viewer control or from the Report Manager website I get a " Object reference not set to an instance of an object" error where the report should be. The parameter bar shows up with the right parameters, but no report. If I use the ReportExecution Web service I can get the report to output to pdf or whatever format I want and save it, but those same reports won't display in the reportviewer. This happens with any report even if all the report contains is a static textbox. I can use the reporting serivces on my development machine and everything works fine, I just can't get the reports from the other se ...Show All

  • SQL Server In-memory database in SQL Server 64-bit

    Hi, I am sorry if this question has been asked before, but I don't seem to be able to find any online documentation on it. 1) Do all 64-bit versions of SQL server allow database tables to reside in memory 2) How do I enable this feature of having my tables reside in-memory 3) Is there a way to choose which tables are in-memory and which reside on disk Any tips or documentation on this "in-memory" feature would be appreciated. Ivan There used to be a command DBCC Pintable that is no longer supported in SQL Server 2005. Our experience shows that this feature caused more harm than good. First off you needed to physically load the table and all associated indexes to that t ...Show All

  • Windows Forms DataFormatString in GridView

    I wonder if someone else is suffering the same problem. I found DataFormatString in GridView not work very well when I try to display currency. In VS 2005 Beta version, it works fine, but after I use stardard version, it never display correct. For example: integer 3 always display like 3.0000 but in the beta version, it display like $3.00 which is what I would like. By the way, I assigned datasource, dataadapter and sqlcommand manually, everything else is good, even date format string works, but currency format just NOT work. Not sure if this is a bug DataFormatString  {0:c2} Yes, I, too, have encountered the same thing.  Though I didn't work with the beta edition(s), I've been migrating some of my older datagrids to gr ...Show All

  • Visual Studio Tools for Office Cannot create VSTO Word 2003 document or template - error library not registered

    Hi everyone, When I try to create a new VSTO project selecting either Word document or Word template from the Visual Studio installed templates choices, I am unable either to create a new document or to copy an existing document. In both cases I get this error message: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) I'd be grateful for any advice on how to resolve this. Thanks, Louise Hi Louise Which version of Visual Studio / VSTO are you using Which version(s) of Office are installed on your machine Have you tried uninstalling then reinstalling VSTO ...Show All

  • Visual C# Use WinAPI SetWindowPos in a C# program

    Hi, I'm making a small program that (amongst more thing) changes the position of a running program. I found SetWindowPos in the WinAPI. Now I noticed it's not really simple to get this working in C#... I already found out I have to use Dllimport and that's about it. My overall programming skills are quite good, but my C# knowledges is very low. So could anyone help me out (a lot ) here Greetz You are using the process handle when it expects a window handle. Instead of MCProcess.Handle, try MCProcess.MainWindowHandle. If that doesn't work, you may have to use FindWindow. ...Show All

  • SQL Server how can I get which columns were updated in trigger on update

    Hi, I'm using sql-2005. I want to update several columns in different tables whenever an update is happend on specific table. I have a trigger for that which update all the relevant places when it fires. I want to do this update only if certains columns were changed, otherwise - do anything, to reduce performance. How Can I know which columns were updated inside the trigger The tables has many columns and only if 2 of them were changed then I need to update other tables. Many thanks, Nira. Many thanks for you quick response Though maybe there is some build-in way to do that but that's definitely a simple good way. Thx ...Show All

  • SQL Server Need Help on this SQL Statement

    Hi All, sqlLstProds="Select * From PRODUCT_DEF "&_ "WHERE productID IN(Select productID From PRODUCT_DEF WHERE (IDProductCriteria = 5) AND ([Value] = '"&getSession("ModelID")&"')) "&_ " Order By IDProduct, IDProductCriteria" I have the above SQL Code in an ASP page. This queries the Product_Def table, however there is also a table called Product_sType, the primary key in that table is productID which corresponds to productID ub the Product_Def table. I need to add to the query a where clause, where active = 1 active 0 is obviously discontinued products, how would I do this So basically, it's somewhat of a join of some sort, like select * from Produc ...Show All

  • Visual Studio Express Editions error apawning cmd.exe

    hi! I am facing an error in C++ express edition. I have already followed the following solution, but failed to overcome the same: In the Options go into Projects and Solutions -> VC++ Directories page and place this rows: $(SystemRoot)\System32 $(SystemRoot) $(SystemRoot)\System32\wbem Please let me know the permanent solution. Regards, hello Re: error apawning cmd.exe I am going to mark this thread as answered since you have not followed up with any further information on your problem as requested for over a week - I assume you solved the problem yourself or one of the suggestions in this thread helped you solved the problem. If you have a solution you could post it so others can find it. If you do not h ...Show All

  • Visual Studio Express Editions I need help with DataGribView to put bound to multidimensional array

    Yes, i accept.. im a newbie. So, since like i accepted the fact that im a newbie, i need little help from some Pro here. I dont know how to put a DataGridView control bound to multidimensional array. All the samples that i found only have references to unbound uses, and bound using a dataset, none have how to put the control bound to a array. I will appreciate any help. Thanks. ...Show All

  • Smart Device Development Pocket PC Phone WM 5.0 Device emulator Internet Setting "Automatically detects setting"

    I am working on a Pocket PC WM 5.0 application.Application is working fine in the Pocket PC Phone WM 5.0 Device emulator. No In My application I have to connect to internet. My system is on LAN.On my Internet connection setting Automatically detects setting check box is check. In the device emulator I don't know how to configure setting so I can able to browse in the deve emulator. Please Could Any body help Hi, If I understand your question correctly, you are trying to access Internet via PPC or SP Emulator. You will need to setup the Virtual Machine Network Driver available at http://www.microsoft.com/downloads/details.aspx familyid=DC8332D6-565F-4A57-BE8C-1D4718D3AF65&displaylang=en#AdditionalInfo ...Show All

  • SQL Server Windows integrated logins across machines

    HI, I've got the folloing scenario: Client app is a windows forms app on client machine. Web Service on a dev machine (Windows 2003 standard), SQL Server 2000 on a seperate machine. The user logs on to the using their windows login. I'd like to pass these credentials to the web service, have the web service impersonate the user and access the SQL Server with these credentials... not a problem I thought. Setup windows integrated login on IIS for the web service, impersonate="true" in the web.config, Mixed mode on the SQL server. Passed the network credentials through to the Web Service, and this works correctly, however when the web service (impersonating the user) tries to access the SQL Server, I get the message about a ...Show All

©2008 Software Development Network